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

[Enhancement] Add Gradle support for building the platform with equivalent of -DadminChassisOnly (Document) #675

Closed
mandy-chessell opened this issue Jan 9, 2023 · 3 comments · Fixed by odpi/egeria#7316 or #733
Assignees
Labels
enhancement New feature or request

Comments

@mandy-chessell
Copy link
Contributor

Existing/related issue?

No response

Please describe the new behavior that that will improve Egeria

The egeria.git Maven build has a profile called -DadminChassisOnly that builds the OMAG Server platform so that the registered services are optional. The platform only loads the services it finds in the classpath.

This option is used for creating cut-down platforms for specific deployment environments.

Alternatives

The Maven build is retained to continue to provide this option.

Any Further Information?

No response

Would you be prepared to be assigned this issue to work on?

No response

@mandy-chessell mandy-chessell added enhancement New feature or request triage labels Jan 9, 2023
@planetf1 planetf1 removed the triage label Jan 9, 2023
@planetf1
Copy link
Member

planetf1 commented Jan 9, 2023

Thanks for spotting. this should be added as part of the v4 (or earlier). Should be simple to add equiv function

@planetf1 planetf1 self-assigned this Jan 9, 2023
@planetf1
Copy link
Member

Implemented, to invoke:

./gradlew build -PadminChassisOnly

-P defines a property in gradle . There are no specific profiles, but being a programming language it's easy to add code.

We could source the option from another place, but this seems the most conventional

See PR for details

planetf1 referenced this issue in planetf1/egeria Jan 12, 2023
planetf1 referenced this issue in odpi/egeria Jan 16, 2023
#7309 add support for building lightweight chassis
@planetf1
Copy link
Member

Re-opening to ensure we update the docs

@planetf1 planetf1 reopened this Jan 16, 2023
@planetf1 planetf1 transferred this issue from odpi/egeria Jan 16, 2023
@planetf1 planetf1 changed the title [Enhancement] Add Gradle support for building the platform with equivalent of -DadminChassisOnly [Enhancement] Add Gradle support for building the platform with equivalent of -DadminChassisOnly (Document) Jan 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
No open projects
Status: No status
2 participants