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

feat(services): allow local config to be used instead of redirecting to a URL #62

Merged
merged 4 commits into from
Oct 6, 2021

Conversation

lewisdaly
Copy link
Collaborator

We're having trouble getting the thirdparty charts integrated into the mojaloop/helm charts because of the added complexity and flakiness of using a TTK to mock out the /services resource.

This PR adds the ability to specify PARTICIPANT_LIST_LOCAL, a list of participantIds that will be used in a PUT /services callback instead of forwarding the GET /services request to another service.

It's fully backwards compatible, so if you don't set PARTICIPANT_LIST_LOCAL, the existing behaviour (forwarding that request to some other API) will be used.

@lewisdaly lewisdaly merged commit 717503d into mojaloop:master Oct 6, 2021
@lewisdaly lewisdaly deleted the feat/local-services-list-2 branch October 6, 2021 04:54
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.

2 participants