-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[KOGITO-9940] Add Job Service to SonataFlowPlatform CRD (#311)
* [KOGITO-9940] Added job service field in platform CRD Signed-off-by: Jordi Gil <[email protected]> * Add reconciliation logic for Job Service Signed-off-by: Jordi Gil <[email protected]> * Added ServiceType enum type and changed the image tag based on operator version Signed-off-by: Jordi Gil <[email protected]> * Make generate-all * Add application.properties entry for jobService URL Property Signed-off-by: Jordi Gil <[email protected]> * Renaming serviceSpec field 'job' to 'jobService' Signed-off-by: Jordi Gil <[email protected]> * Add missing job service properties Signed-off-by: Jordi Gil <[email protected]> * Add reactive property when postgreSQL is configured as persistence for jobs-service Signed-off-by: Jordi Gil <[email protected]> * Refactor to use interface Signed-off-by: Jordi Gil <[email protected]> * Refactoring services to extract from profiles/common Signed-off-by: Jordi Gil <[email protected]> * Moved platform services and reconciliation constants to common/constants and avoid duplications between packages Signed-off-by: Jordi Gil <[email protected]> * Updated golang doc function description for GenerateJobServiceApplicationProperties and GenerateDataIndexApplicationProperties Signed-off-by: Jordi Gil <[email protected]> * Updated ginkgo to v2.13.0 and gomega to v1.30.0 Signed-off-by: Jordi Gil <[email protected]> * Added unit tests for data index and job service application properties * Changes based on feedback from Walter Signed-off-by: Jordi Gil <[email protected]> * Revert "Changes based on feedback from Walter" This reverts commit 2b3638a. * Check for not dev profile instead of production one for condition to generate the application service properties. Reactive URL for job service won't include a default schema if it's not provided in the JDBC URL for PostgreSQL Hardcoded Job Service replica count to 1. Signed-off-by: Jordi Gil <[email protected]> * Include the platform service application properties in each service's configmap Signed-off-by: Jordi Gil <[email protected]> * Fix sonataflowplatform_controller_test.go failing due to invalid postgresql port value Signed-off-by: Jordi Gil <[email protected]> * Fix tests due to changes in schema and additional properties for the job service Signed-off-by: Jordi Gil <[email protected]> * Extended logic in Job Service for application property generation to cover the two cases of deploying the service with its unique properties and the ones generated specific for workflow deployments Signed-off-by: Jordi Gil <[email protected]> * Updated generated properties based on feedback Signed-off-by: Jordi Gil <[email protected]> * Refactored unit tests for properties and rebased to fix e2e test Signed-off-by: Jordi Gil <[email protected]> * Add JS generated property for deployment and cleaning chores on property tests Signed-off-by: Jordi Gil <[email protected]> --------- Signed-off-by: Jordi Gil <[email protected]>
- Loading branch information
Showing
46 changed files
with
25,824 additions
and
619 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.