Some key use-cases
Production
- Upgrade to latest or given
- point-release
- major release
- snapshot (should not break if fail)
- restart.service (with or without point-upgrade if available)
- IAM_MODE and config-override
- Explicit and detailed feedback to the user
Integration
- Upgrade to latest or given
- point-release
- major release
- snapshot
- restart.service (with point-upgrade if available)
- IAM_MODE and config-override
- Explicit and detailed feedback to the user
Development
- Getting ready to develop:
- clone all whydah repos (https://raw.githubusercontent.com/Cantara/Whydah/master/getSource.sh
)
- build all modules on local machine (https://raw.githubusercontent.com/Cantara/Whydah/master/buildFullWhydah.sh
)
- start all built modules (TEST_LOCALHOST) (https://raw.githubusercontent.com/Cantara/Whydah/master/startFullWhydah.sh
)
- verify that it is working before starting to develop (http://localhost:9997/sso/welcome
u:admin pw:admin)
- clone all whydah repos (https://raw.githubusercontent.com/Cantara/Whydah/master/getSource.sh
Process management - generic script for management of java applications deployed as single jar files.
- Start
- Stop
- Restart
- Status
- Upgrade
- upgrade snapshot
- Download latest always and always restart
- Need to know which version is running
- Keep the 3 most recent (file timestamp) jar files, delete any older
- upgrade release
- Check local download first, then Nexus, download and restart (only if new version), do not restart if jar file is not changed
- Need to know which version is running
- Keep the 3 most recent (file timestamp) jar files, delete any older
- upgrade snapshot
Implement first version using upstart. Verify that the script is compatible using systemd.
- One generic sh file
- Generic script will su to user if run as another user. RunAsUser defined in config file.
- Config file
- mvn repo url, username and password
- groupId, artifactId, version
- RunAsUser
Labels:
None