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

initial version of java custom handlers #5

Merged
merged 73 commits into from
Oct 26, 2021
Merged

initial version of java custom handlers #5

merged 73 commits into from
Oct 26, 2021

Conversation

rjayasinghe
Copy link
Member

this is work in progress

@rjayasinghe rjayasinghe requested a review from stewsk May 27, 2021 19:43
@rjayasinghe rjayasinghe marked this pull request as draft May 28, 2021 11:33
now also works in active and draft mode
this fixes handling of virtual elements in projections
this speeds up Java builds (or mvn spring-boot:run) in case no CDS
files were changed.

use it like this: `mvn spring-boot:run -Pno-cds`
not going via the starter as we need to avoid security for now.
normally one would do this via recalculating the values but this does not
work as the value is not calculated but triggered/written by a custom handler
during the lifetime of the draft. There's no way to recalculate this.
rjayasinghe and others added 26 commits August 19, 2021 17:34
Required loginwith user/pw admin/admin.

Middleware in ui5.yaml should use admin for basicAuth but this
is not working yet:

Routes
/travel_processor/webapp/index.html
and
/travel_processor/webapp/test/integration/opaTests.qunit.html
are still opening logon dialog.
(1) start the Java or Node.js server
(2) start the UI5 server (cd app/travel_processor && npm start)
# Conflicts:
#	app/travel_processor/package-lock.json
The MTA build (currently for the Node.js version only) comes up with a build profile for the Java stack by default, which does not work of course. This change defines build settings in package.json for the Node stack explicitly, and selects the corresponding profile in the mta.yaml file.
since we have introduced security model-wise it does not make
sense anymore to exclude security modules. re-introduced them
and also use @WithMockUser in the smoke tests.
those dates will change in the future.
In order to update the traveStatus_code we need to update
through the PersistenceService.
some how the method for that lost it's annotation and
was not called anymore.
@@ -15,7 +15,7 @@
},
"dataSources": {
"mainService": {
"uri": "processor/",
"uri": "/processor/",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this will break the node (and probably also the java) version of the app when deployed to CF
is there a way to run without the leading / ?

@rbrechter rbrechter merged commit 04b2d17 into main Oct 26, 2021
@rbrechter rbrechter deleted the add_java_stack branch October 26, 2021 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants