Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add unit tests for environment variable injection in RecipientList endpoints #81

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

n-jay
Copy link
Member

@n-jay n-jay commented Mar 20, 2023

Purpose

Add unit tests for variable injection capability in RecipientList endpoints.

Approach

Added new unit test to RecipientListEndpointSerializationTest class. It builds on the work amending AddressEndpointFactory class to extract environment variables via System.getenv() based on $SYSTEM prefix presence in the Synapse config XML URI elements.

Automation tests

  • Unit tests
    Covers related code written in abstract class EndpointFactory.
  • Integration tests
    N/A

Related PRs

Builds on the work done on PR #55

Test environment

  • Java version 1.8.0_141
  • Ubuntu 20.04

@n-jay n-jay requested a review from isudana March 20, 2023 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant