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

ui chassis: gradle build invalid #7129

Closed
planetf1 opened this issue Nov 22, 2022 · 1 comment · Fixed by #7131
Closed

ui chassis: gradle build invalid #7129

planetf1 opened this issue Nov 22, 2022 · 1 comment · Fixed by #7131
Assignees

Comments

@planetf1
Copy link
Member

When testing the egeria 4.0 build, I noticed that the ui server chassis fails to start:

➜  etc kubectl logs lab-odpi-egeria-lab-ui-54c5bdbbb4-w4vth --previous
INFO exec  java -XX:MaxRAMPercentage=80.0 -XX:+UseParallelGC -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=20 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -XX:+ExitOnOutOfMemoryError -XX:MaxMetaspaceSize=1g -cp "." -jar /deployments/user-interface/ui-chassis-spring-4.0-SNAPSHOT.jar
no main manifest attribute, in /deployments/user-interface/ui-chassis-spring-4.0-SNAPSHOT.jar

The same occurs direct in the build

➜  libs git:(40builda) ls
ui-chassis-spring-4.0-SNAPSHOT-javadoc.jar ui-chassis-spring-4.0-SNAPSHOT-sources.jar ui-chassis-spring-4.0-SNAPSHOT.jar
➜  libs git:(40builda) java -jar ./ui-chassis-spring-4.0-SNAPSHOT.jar
no main manifest attribute, in ./ui-chassis-spring-4.0-SNAPSHOT.jar
➜  libs git:(40builda) pwd
/Users/jonesn/src/egeria/v4/open-metadata-implementation/user-interfaces/ui-chassis/ui-chassis-spring/build/libs
➜  libs git:(40builda)

This will be due to an issue in the build.gradle for the ui server chassis

planetf1 added a commit to planetf1/egeria that referenced this issue Nov 22, 2022
@planetf1
Copy link
Member Author

This was due to missing spring plugin/springboot setup in the ui chassis gradle build.

Fixed, and corrected gradle dependencies

Tested chassis launches correctly (but not all function)

This is now fixed for v4 under 6e5b08e
I will cherry-pick this for v3

planetf1 added a commit to planetf1/egeria that referenced this issue Nov 22, 2022
planetf1 added a commit that referenced this issue Nov 22, 2022
#7129 correct ui chassis gradle build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

2 participants