You should create a dedicated Organizations service if you want to:
- Limit access to the organizations you've previously defined in the Moderne Agent OR
- Customize commit messages by repository (e.g., adding a JIRA ticket to your commit messages based on the repository)
This repository is a template for a service that will do the above two things.
The GraphQL schema for this service is defined in moderne-organizations.graphqls, and serves as the contract for what Moderne expects a customized Organization service to provide.
- Either fork this repository or create a new repository using this as a template.
- Clone the repository locally.
- Run
./gradlew bootRun
to start the service locally. - Go to http://localhost:8080/graphiql to explore the GraphQL API.
You are free to customize the implementation in any way as long as the API contract is implemented correctly.