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

added migration script and code changes for action and actionResultNa… #2069

Merged
merged 6 commits into from
Oct 10, 2023

Conversation

chengjie8
Copy link
Contributor

What was the problem?

Associated tickets or Slack threads:

How does this fix it?1

How to test this PR

  • run e2e sve-bie-kafka integration test

Footnotes

  1. Pull-Requests guidelines. If PR is significant, update Current Software State wiki page.

@github-actions
Copy link
Contributor

github-actions bot commented Oct 3, 2023

Test Results

100 tests  ±0   100 ✔️ ±0   49s ⏱️ +6s
  34 suites ±0       0 💤 ±0 
  34 files   ±0       0 ±0 

Results for commit 8f57cbf. ± Comparison against base commit bd8530a.

♻️ This comment has been updated with latest results.

@github-actions
Copy link
Contributor

github-actions bot commented Oct 3, 2023

JaCoCo Test Coverage

File Coverage [95.16%] 🍏
BieMessagePayloadFactory.java 95.16% 🍏
Total Project Coverage 68.1%

@chengjie8 chengjie8 marked this pull request as ready for review October 4, 2023 15:21
@chengjie8 chengjie8 requested a review from a team as a code owner October 4, 2023 15:21
@tejans24
Copy link
Contributor

tejans24 commented Oct 4, 2023

@chengjie8 you'll need to add pass those fields into

so they data is allowed into rabbitmq channels through BieMessagePayload

@chengjie8 chengjie8 requested a review from tejans24 October 4, 2023 20:21
Copy link
Contributor

@tejans24 tejans24 left a comment

Copy link
Contributor

@msnwatson msnwatson left a comment

Choose a reason for hiding this comment

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

lgtm with @tejans24 approval since i think he better understands the pipeline in how things are getting logged to the DB

@@ -0,0 +1,3 @@
ALTER TABLE "bie_contention_event"
Copy link
Contributor

Choose a reason for hiding this comment

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

note that right now, we'll have to re-deploy the vro-app with the latest db-init container to actually run these migration updates

@chengjie8 chengjie8 requested a review from tejans24 October 10, 2023 15:15
Copy link
Contributor

@tejans24 tejans24 left a comment

Choose a reason for hiding this comment

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

LGTM!

@chengjie8 chengjie8 merged commit e911514 into develop Oct 10, 2023
2 checks passed
@chengjie8 chengjie8 deleted the chengjie8/issue-2049 branch October 10, 2023 15:56
agile-josiah pushed a commit that referenced this pull request Oct 18, 2023
Added migration script and code changes for action and actionResultNa… (#2069)

* added migration script and code changes for action and actionResultName changes

* added ActionName and ActionResultName to the builder method

* added unit test for 2 added fields
agile-josiah added a commit that referenced this pull request Oct 19, 2023
* migrating to spring6 boot 3

* work toward spring6

* use jakarta

* fix hypersistence issue

* rebase and upgrade openapi gradle plugin

* Changed dependencies in some files to satisfy the spring/camel/springboot upgrade

* Added MockEndpoint method to replace     assertMockEndpointsSatisfied();
* Removed remaining javax imports and replaced with jakarta
* Updated the SecurityConfig class to use new lambda functions instead of the currently implemented method calls

* Formatting change

* More test fixes to update dependencies for the spring upgrade

- Changed postgres dialect for tests to PostgreSQLDialect
- Changed camel-rabbitmq version to spring...-rabbitmq
- Bumped the h2_version, and hibernate_types_version
- Updated various jakarta class dependencies
- Added DuplicatesStrategy.EXCLUDE to bootJar tasks to prevent xample-workflows tests from failing

TODO: Change GenericGenerator strategy to type in the Persistence models

* Added test-code java step to test-python

* Updated mocks api code to include jakarta spring changes.

- Updated the jsonwebtoken:jjwt version
- Changed the jwtprops secret to a secret key based on the HS256 signature algo
-

* Change HttpStatus to match the exception type statusCode

* More Jwt test fixes

- Updates the props secret to use a key for the SignatureAlgorithm.HS256

* Spotless Apply check

* Trying new AntPathRequestMatchers to manage securityConfig requests to the api

* added actuator urls to spring security request matcher

* SpotlessApply on mock-bip-claims/ce SecurityConfig

* Testing if removing SecurityFilterBean fixes 401 issues in pipeline tests.

* Changed to use the new springdoc libraries for vro-app and other openapi usage.

* reverts the @EnableWebSecurity removal test

* Changed to use the new springdoc libraries for vro-app and other openapi usage.

* reverts the @EnableWebSecurity removal test

* Adding version number to openapi dependencies

* testing an add to v3_urls

* adding more dependency changes to springdoc dependencies

* Testing adding securityMatcher() to authorizeHttpRequests().

* Experimenting permitAll()

* Experimenting adding the requestMatchers back

* Experimenting with removing anyRequest()

* Testing more spring stuff with securityMatchers->requestmatching

* Add antPathMatchers to the requestMatchers fields on authorizeHttpRequests. This should help define our routes so they are clearly using AntMatchers.

* Adding more camel springboot rabbitmq dependencies

* Updates to camel routes
* updated endpoint prefixes to be spring-rabbitmq:
* change the queue -> queues
* added some camel config formatting/additions

* Added CamelQueue and TopicExchange Beans so they are explicitly created by the app.

* Add Queue and FanoutExchange beans for the bie-events-contention queues.

* Change durable flag to true on all queues

* Tweaked some fields so they don't conflict with existing definitions.

* Was deleted somehow during previous merge (@cheng)

Added migration script and code changes for action and actionResultNa… (#2069)

* added migration script and code changes for action and actionResultName changes

* added ActionName and ActionResultName to the builder method

* added unit test for 2 added fields

* Bump version to where they are on develop to address comments.

* Fix formatting

* Change assertIsSatisfied to the new method

* Change assertIsSatisfied to the new method

* Formatting Changes

* Chengjie8/issue 230 (#2112)

* update tomcat embed core library version

* more library version upgrades

* fix minor format issue

* Automated commit: Unpin versions of updated images

* update uri version in bgs service

* update to 10.1.14'

* upgrade lib version

---------

Co-authored-by: VRO Machine User <[email protected]>

* revert back the gem upgrade

---------

Co-authored-by: josiahjones <[email protected]>
Co-authored-by: Josiah Jones <[email protected]>
Co-authored-by: Chengjie Yin <[email protected]>
Co-authored-by: VRO Machine User <[email protected]>
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.

3 participants