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

Create new configuration models #39

Closed
Tracked by #7
RakhithaRR opened this issue Oct 25, 2022 · 0 comments
Closed
Tracked by #7

Create new configuration models #39

RakhithaRR opened this issue Oct 25, 2022 · 0 comments
Assignees
Milestone

Comments

@RakhithaRR
Copy link
Contributor

RakhithaRR commented Oct 25, 2022

A new configuration model will be introduced for the domain service since the previous carbon dependencies will no longer be used with new services.

Proposed Approach

  • Single toml file to contain all the configurations. According to the call with the ballerina team, we can use the Config.toml for this purpose.
  • Record mappings on the ballerina side (similar to api-manager.xml).
  • Startup service to start all internal components related to apimgt (similar to APIMStartupComponent). Need to use ballerina interops for this too to call as a function from the ballerina code.
  • Use an object mapper from the Java side to map the configurations in runtime.
@RakhithaRR RakhithaRR self-assigned this Oct 25, 2022
@CrowleyRajapakse CrowleyRajapakse added this to the 0.0.1-m1 milestone Dec 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done/Done
Development

No branches or pull requests

2 participants