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

Updated readme #101

Merged
merged 3 commits into from
May 25, 2022
Merged

Updated readme #101

merged 3 commits into from
May 25, 2022

Conversation

RonnyFrayRegato
Copy link
Collaborator

No description provided.

.gitignore Outdated
/jacoco-reports
/rfray.sh
Copy link
Collaborator

Choose a reason for hiding this comment

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

We should just leave this out since this is a public repo

Copy link
Collaborator

Choose a reason for hiding this comment

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

You can change your script name to personal_dev.sh and then you don't have to worry about it listing in your git status.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Implemented change

README.md Outdated
`__DB_NAME__` and `__ROOT_PW__` must match parameters set in script file: `<personal-dev>.sh`

Directly access mariaDB with:

```
mysql -h 127.0.0.1 -u root -p
```
Enter the password above when prompted.

_CWS must have been built prior to directly accessing mariaDB with the MySQL monitor_
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can you clarify this a little more? Not sure I understand what you mean here.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Added context to the statement. Intention was to prevent someone from trying to directly access mariaDB immediately after running docker container using MySQL

Copy link
Collaborator

Choose a reason for hiding this comment

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

@RonnyFrayRegato
I think you could clean this up a little. Maybe re-write it:

In order for CWS to establish a connection during the installation process, the database must be accessible with the given DB host, username, and password. The development build script will use the above DB configuration. See the Building CWS section for an example build script.

.gitignore Outdated
/jacoco-reports
/personal_dev.sh
Copy link
Collaborator

Choose a reason for hiding this comment

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

personal_dev.sh is already in here. You won't need to update this file

@jamesfwood jamesfwood requested a review from voxparcxls May 23, 2022 20:39
@jamesfwood jamesfwood merged commit 36ba06a into main May 25, 2022
@jamesfwood jamesfwood deleted the update-readme branch July 13, 2023 18:43
voxparcxls added a commit that referenced this pull request Aug 22, 2023
* update configure script for repeat run case

* formatted the backup date YYYY-MM-DD_HH:MM:SS

* removed file copying process from being printed in console

* created backup dir for already run cws

* set backup_ to . dir and maintain root bpmn directory

* included subdirectory for backups and sorted clean folder

* remove commented code

* fixed issue of copied CWS-resources folder to clean_

* changed Re-running CWS statement. Included configuration.properties to clean_ exception to maintain config settings.

* removed dot files from cws root: databaseCreated and installType

* update configure script for repeat run case

* formatted the backup date YYYY-MM-DD_HH:MM:SS

* removed file copying process from being printed in console

* created backup dir for already run cws

* set backup_ to . dir and maintain root bpmn directory

* included subdirectory for backups and sorted clean folder

* remove commented code

* fixed issue of copied CWS-resources folder to clean_

* changed Re-running CWS statement. Included configuration.properties to clean_ exception to maintain config settings.

* removed dot files from cws root: databaseCreated and installType

* now using rsync to copy clean_ --> cws_root

* direct rsync output to /dev/null

* preliminary removing of simple db connection source

* set backup date format to: backup_YYYYMMDD_hhmmss. And remove dot from subdirs of .backups

* changed copy command for BACKUP_DIR

* update root cws remove cmd to, find grep

* updated info about keystore/truststore paths

* Using linux epoch timestamp in name of worker

-

* preliminary removing of simple db connection source

* 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

* Finalize logic for configure script re-runs.

* Update WorkerMonitorBackgroundThread.java

* added http unsecured y/n logic to CWSInstaller

* added unsecured ES prompt in interactive mode

* Switch connection pool from Tomcat to HikariCP

* installer update host variable

* reset validation

* set SSL connection as default

* add https & http endpoint conditions

* init

* reversed branch changes

* ES host https/http condition

* set urlString with full ES endpoint value

* ES authentication curl fixes

* cleared unnecessary indentation in code

* typo fix

* updated procedure

* ES config edited

* init

* added condition for console only to block duplicate

* set condition for console_only number of rows as Max, 1 row

* type fix

* init

* changed name to worker0000

* set default num days to 1

* added workerDeadTimeMillis var

* added threshold for abandoned worker

* use debug log instead of warn log

* add log debug message for detected abandoned workers

* remove FileWriter

* set dev script worker parameter to WORKER_ABANDONED_DAYS

* set log to ERROR

* Added new cmdline task out variable and test model 'test_out_var'

* Better sanitization on worker_abandoned_days input to avoid crash on Integer.parseInt().

* Logging cleanup / overhaul (#81)

* Complete logging overhaul:
 * Upgrade to log4j2 v2.17.1
 * Switch from Tomcat's JULI to log4j2
 * Split logs between catalina.out and cws.log
   * catalina.out is tomcat's stdout stream
   * cws.log is CWS application logs
 * Various updates install scripts to handle/facilitate the above

* * Update logstash configuration for new logging pattern
* Update start_cws.sh to wait for cws.log to be created

* Bug fix: elasticsearch_host (#82)

* bug fix for elasticsearch_host to be set in CWSInstaller

* Updated docker to work with 2.2.0 (#83)

Also updated to version 2.2.0-pre

* fixed Elasticsearch http https validation (#80)

* fixed with interactive prompt for ES auth (#85)

* README: Update logstash and elasticseach versions to 7.16.2 (#84)

* updated logstash and elasticseach versions to 7.16.2

* Update docker for 2.2

* Updated version to 2.2.0-pre.1

* Fixed issue in docker image build script

* FIX: Add rsync linux package to Dockerfile (#90)

* added rsync package to cws image. In Dockerfile

* including which command to Dockerfile

* Updated Version to 2.2.0

* Fix: Modeler Install elements.json (#92)

* init

* add find command to add elements.json

* moved elements.json to /install/modeler

* Reconfig: preserve user's passed props file when used in `/cws` (#93)

* add find and sync command to config properties file

* preserve used configure arg props file inside cws

* sync config file back to cws root

* save config props using config_file_dir

* ignore copying config props if already exists in root

* Feat: Create Elasticsearch `elasticsearch_protocol` Setting (#97)

* check for https or http in es host variable
* added ES protocol and hostname mismatch check to validator
* CWS installer prompt update
* readme: protocol options HTTP or HTTPS
* using elasticsearch_host_init for initial user input

* Add note about JDK8 being required. (#72)

Co-authored-by: Galen Hollins <[email protected]>

* update ES logstash host (#98)

* Update cws-test: Integration and Unit Tests (skipped) (#91)

* modified cws-test UT and IT skipped
* remove ci/aws from cws-os
* Modified ci conf files
* modified ci/ci_local_core.sh
* clean up ci/ci.sh
* add UT/IT tests
* clean up Jenkins
* edit Jenkinsfile
* set cws unit and integration test files to - skip
* update README.md with cws-test test.sh script step
* edit .gitignore for hostname.txt
* update .gitignore

* Allow custom adaptation actions to be added to the actions dropdown (#99)

* Allow custom adaptation actions to be added to the actions dropdown

* wording to make explicit default behavior

* Minor word change

* Added documentation on how to create and invoke actions in an adaptation project

Co-authored-by: zef <[email protected]>

* Updated readme (#101)

* Updated readme

* Fix: Double Log Output (#102)

* set log4j2 additivity to false

* update log4j2 properties

* Fix: SMTP Email Error (#95)

Fixed SMTP Email "From" Error

* Added to explicitly call the history service cleanup (#106)

Co-authored-by: James Wood <[email protected]>

* Added warning to process that complete on different worker (#107)

* CIGitHubActions (#105)

* Create maven.yml

* CI test.sh update

* CI test.sh update

* CI test.sh update

* Updated yml file.

* Updated yml file.

* Updated yml file.

* Updated yml file.

* Updated yml file.

* Updated yml file.

* Updated yml file.

* Updated yml file.

* Updated yml file.

* Updated yml file.

* Updated yml file.

* Updated yml file.

* Updated yml file.

* Updated yml file.

* Updated yml file.

* Updated yml file.

* Updated yml file.

* Updated yml file.

* Updated yml file.

* Updated yml file.

* Updated yml file.

* Updated yml file.

* Updated yml file.

* Updated yml file.

* Updated yml file.

* Updated yml file.

* Updated yml file.

* Updated yml file.

* Updated yml file.

* Updated yml file.

* Updated yml file.

* Updated yml file.

* Updated yml file.

* Updated yml file.

* Updated yml file.

* Updated yml file.

* Updated yml file.

* Updated yml file.

* Updated yml file.

* Updated yml file.

* Updated yml file.

* Updated yml file.

* Updated yml file.

* Updated yml file.

* Updated yml file.

* Updated yml file.

* Updated yml file.

* Updated workflow.

* Updated yml file.

* Updated yml file.

* Updated yml file.

* Updated yml file.

* Updated yml file.

* Updated yml file.

* Updated yml file.

* Updated yml file.

* Updated yml file.

* Updated yml file.

* update-tests (#103)

* Fixed location of configuration.properties file used in installerTest.sh
* Restored WebTest and subtests
* Fixed integration tests
* Updated InitiatorsTestIT

* fix tasklist start issue, added UUID (#108)

* update-tests-and-CI (#109)

* updated ci file.
* created open-source certs.
* updated yml file.
* set chromedriver to headless.
* upload Jacoco report as an artifact.
* updated CI workflow.

* Docker improvements (#110)

* Updated docker setup
* Separated console and worker.  Now console only
* Works with cws 2.3 now
* Worker-only waits for console to startup before running configure.sh
* Updated worker-ls to default connect to console-db-es-ls-kibana setup
* Updated README.md

* Bumped version to 2.3.0-pre.1

* update-webtests (#111)

* run Google Chrome.
* updated WebTestUtil.
* upload test screenshots for debugging.
* updated webtests.
* Updated Test Logs Page BPMN file.
* All webtests updated and working.
* Updated test_workers_page BPMN file.
* Set workflow to run daily at 5 AM PST.
* Updated WorkersTestIT.
* Send Slack message to CWS Dev Team.
* Create LoadTestIT.
* Update unit tests.
* Update Maven dependencies for asserts.
* Updated workflow file.

* Add ability to invoke adaptation js code to the workers page (#113)

Co-authored-by: zef <[email protected]>

* OpenLDAP: open source docker ldap (#115)

* add openldap Docker setup
* update to cws-opensource-ldap and cws-certs
* test ldap server from inside Docker container
* clean up readme files
* re-title certs readme

* update-unit-tests (#114)

* Update InstallerTest for CI.
* Enable run of workflow using the Actions tab.
* Test sending workflow failure message.
* Add webhook payload variable.
* Test sending workflow failure message.
* Show webhook payload.
* Add workflow job URL to Slack message.
* Run Unit and Integration Tests Separately.
* Add processEnginePlugins property to camunda.cfg.xml
* Restore EmailTaskTest
* Update workflow file.
* Display actual JSON data in history page

* Update cmdline log msgs (#117)

* Cleaned up cmdline log messages
* Changed Cmdline output so need to update test

Co-authored-by: James Wood <[email protected]>

* Bumped version to 2.3.0 Final

* Create LDAP CI test (#116)

* Create ldap.yml
* Create a continuous integration pipeline for CWS using LDAP security and associated tests.
* Test security env variable.
* Configure open source LDAP for CI.
* Adjust wait time for web elements
* Create WebTestLdap
* Publish CWS Docker image
* Adjust WebTestUtil for timeout error
* Run WebTestLdap
* Update WebTestUtil
* Update workflow files
* Update web elements for integration tests

* Create ReadMe for CI (#118)

* Create ReadMe for CI
* Update ReadMe for CI

* init: slack notif success build (#119)

* cron job set to sundays

* Update: Github actions Ldap weekly build (#120)

* ldap set to weekly build on sunday

* Update ldap.yml

Changed from running Sunday to Monday

* History json output (#122)

* Pretty up json output

* Fixed to work in Docker.  Doesn't seem like proper open/close tagging, but it works...

Co-authored-by: James Wood <[email protected]>
Co-authored-by: Josh Haile <[email protected]>

* Update maven.yml

Changed to run on Monday morning

* Restore LoadTestIT (#124)

* Restore LoadTestIT
Update SystemLevelTestIT
Configure CI to allow multiple workers

* Update ReadMe for CI
Change trigger for CD component to tag
Update webtests for multiple workers

* Update ci.sh

* Update WebTestUtil

* Update InstallerTest
Revert CI to one worker for testing

* Revert CI to three workers

* Configure CI to two workers

* Create MariaDB service container

* Revert CI to three workers

* Revert CI to three workers

* Configure CI for two workers
Update ReadMe for CI

* Update workflow files
Update ReadMe for CI

* Update WebTestUtil

* Update ReadMe for CI
Update workflow files

* Update WebTestUtil

* Create advanced-test job for CI
Add workers environmental variable
Update LoadTestIT

* Update camunda.yml

* Update LoadTestIT
Update SystemLevelTestIT
Skip LoadTestIT when running integration tests

* Update camunda.yml

* Update LoadTestIT
Update camunda.yml

* Update LoadTestIT

* Update LoadTestIT

* Upload screenshots always after successful build

* Check for idle browser during testing
Update LoadTestIT

* Check for idle browser during testing
Update camunda.yml

* Update LoadTestIT

* Update ReadMe for CI
Refactor Test Suite

* Refactor Test Suite

* Refactor Test Suite
Update workflow files

* Update Slack message with Camunda workflow results

* Update Slack message with detailed job results

* Update Slack message with Camunda workflow results

* Update Slack message with Camunda workflow results

* Update Slack message with detailed job results

* Show webhook payload
Update workflow files

* Test sending Slack message based on user
Update workflow files

* Test sending Slack message based on user

* Test sending Slack message based on user

* Test sending Slack message based on user

* Test sending Slack message based on dev team list

* Test sending Slack message based on dev team list

* Test sending Slack message based on dev team list

* Test sending Slack message based on dev team list

* Verify if a user belongs to the team

* Verify if a user belongs to the team

* Send Slack message only if workflows are triggered by the dev team

* Update ReadMe to reflect new workflow file (#128)

* IDS-9547: Max Processes Per Worker  (#126)

* add max process per worker config

* modify cws_worker in core db

* modify core sql

* rename new proc variable worker_max_num_running_procs

* MaxNumForProcsOnWorker variable for current Running processes

* remove added totalNumOfProcDefKeysOnWorker var

* clean up workerservice commit

* set cap on queryLimit for claiming a process start

* rename variables

* add upgrade script for DB

* working but needs clean and optimization

* clean up logs

* clean up CWSInstaller

* worker_max_num_running_procs changed to default 16

* variable description update

* removed limitProcDefKey condition in claimWithCounter

* set limit param to null. All enabled procs have opporunity to be claimed. update README

* claim query

* Bumped version to 2.4.0pre.1

* remove log lines (#142)

* IDS-9777: Upgrade schema CWSv2.4 (#129)

* upgrade schema for cws2.4 - script

* script and sql file

* upgrade script for CWSv2.4 database

* edit create_server_dist

* update the readme

* fix upgrade_core_db column name - max_num_running_procs

* fix script - insert default CORE to new column

* clean up script alter command

* update to README file

* change readme versions text

* add warning

* add delete worker rows to mysql commands

* add upgrade script for 2.1 and 2.2

* add 2.2 and 2.3 to dist

* rename

* revert to 1 upgrade script

* fix var (#146)

* Bumped version to 2.4.0

---------

Co-authored-by: Galen A Hollins <[email protected]>
Co-authored-by: Zachary Taylor <[email protected]>
Co-authored-by: Galen Hollins <[email protected]>
Co-authored-by: James Wood <[email protected]>
Co-authored-by: jamesfwood <[email protected]>
Co-authored-by: David Cuthbert <[email protected]>
Co-authored-by: zonagit <[email protected]>
Co-authored-by: zef <[email protected]>
Co-authored-by: RonnyFrayRegato <[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