-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Proj a testing to main v2.4.0 testing (#177)
* preliminary removing of simple db connection source * Using linux epoch timestamp in name of worker - * decreasing starting connections to 1, in pool * splitting out CWS and Camunda to two different JDBC pools and also setting removeAbandoned timeout value to be 15 minutes * Update WorkerMonitorBackgroundThread.java * Merge pull request #70 from NASA-AMMOS/issue-41-hikaricp Switch connection pool from Tomcat to HikariCP * making pool half the size * Allow custom adaptation actions to be added to the actions dropdown * Add ability to invoke adaptation js code to the workers page (#121) Co-authored-by: zef <[email protected]> * Allow customization of the workers modal * External Adaptation DB Support (#127) * add adaptation jdbc connectors and configs * adaptation installer and server xml update * installer and configure script edit * cleaned Cwsinstaller adapt configs * remove log * new server adaptation plugin resource * change pool name for external db server * add qualifier for jdbc adaptation template * add cws-engine and cws-ui jdbc adapt template * empty commit * empty commit 2 * clean up xml file and naming convention * clear webdriver cache - update to 5.5.0 (#179) --------- Co-authored-by: Galen A Hollins <[email protected]> Co-authored-by: Galen Hollins <[email protected]> Co-authored-by: zef <[email protected]> Co-authored-by: Josh Haile <[email protected]>
- Loading branch information
1 parent
e09842c
commit 89ded7b
Showing
15 changed files
with
208 additions
and
16 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
// override with js code file in your adaptation project for example like this | ||
// cp your-cws-adaptation/src/main/resources/cws-ui/adaptation-deployments.js common-workflow-service/cws-ui/src/web/main/webapp/js/adaptation-deployments.js | ||
// This adaptation allows extra information to be added to each worker. The particular use case that | ||
// drove this need is a request to add the aws scaling class each worker belongs to | ||
function addAdaptationWorkersInfo(dataProcKey, listWorkers) { | ||
return; // Common workflow behavior is to do nothing | ||
} | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,3 @@ | |
function adaptationWorkersReady() { | ||
return; // CWS core behavior is to do nothing here | ||
} | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<!-- override with adaptation actions | ||
adaptation workers-div modal custom html | ||
In your adaptation project override this file with | ||
cp your-cws-adaptation/src/main/resources/cws-ui/adaptation-workers-modal.ftl common-workflow-service/install/cws-ui/adaptation-workers-modal.ftl | ||
This adaptation allows for enhancements of the workers modal. The particular case driving this is the | ||
need to add a filter box next to the select all checkbox to be able to filter workers by | ||
scaling class (see the comments in adaptation-workers-modal.js for more info) | ||
--> | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<Resource name="jdbc/cws_adaptation" | ||
auth="Container" | ||
type="javax.sql.DataSource" | ||
factory="com.zaxxer.hikari.HikariJNDIFactory" | ||
poolName="cws-adapt-pool" | ||
|
||
maximumPoolSize="5" | ||
connectionTimeout="300000" | ||
|
||
driverClassName="__CWS_ADAPT_DB_DRIVER__" | ||
jdbcUrl="__CWS_ADAPT_DB_URL__" | ||
username="__CWS_ADAPT_DB_USERNAME__" | ||
password="__CWS_ADAPT_DB_PASSWORD__" /> | ||
|
||
<Resource name="jdbc/cws" |