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

OE0-11: Add routes if modules are used #24

Merged
merged 4 commits into from Jul 2, 2021
Merged

Conversation

sniedzielski
Copy link
Contributor

TICKET: https://openimis.atlassian.net/browse/OE0-11

According to:
"if it is not part of openimis.json in assembly then it is not used but if not used it should not be displayed in the REST API available endpoints"

I imported 'openimis_apps()' so as to have the list of imis modules. Then I checked if module is included in list. If yes - then I can register endpoint related to this module.

@sniedzielski sniedzielski marked this pull request as ready for review July 2, 2021 14:08
@dragos-dobre dragos-dobre merged commit b9f16b6 into develop Jul 2, 2021
@dragos-dobre dragos-dobre deleted the feature/OE0-11 branch July 2, 2021 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants