1.5 KiB
1.5 KiB
Migration to Spring Cloud Pipelines
- Added Maven wrapper
$ mvn -N io.takari:maven:wrapper
$ git add .
$ git add -f .mvn
$ git commit -m "Added maven wrapper"
- Updated
manifest.yml - Added
sc-pipelines.yml- provided which module is the main one
- added database as a required service
- Created cloud foundry spaces
$ cf login -o ... -a ...
$ cf create-space sc-pipelines-test-dddbyexamples-factory
$ cf create-space sc-pipelines-stage-dddbyexamples-factory
$ cf create-space sc-pipelines-prod
- Added
<distributionManagement>section for all projects - Added contract tests (
shortages-prediction-adapters/src/test/groovy/io/dddbyexamples/factory/shortages/prediction/monitoring/persistence/ShortagesDaoTest.groovy) - Added stub jar generation in
app-monolith(in the output stubs jar each module has its own folder) - Added
<profiles>for all types of tests for all projects- that way we can control the whole project from root
- Added base class for rollback tests (for
shortages-prediction-adapters) - Configured rollback tests via
sc-contractplugin underapicompatibilityprofile (forshortages-prediction-adapters) - Added
smoketests (just pining health initially) (initially only forshortages-prediction-adaptersbut could be added for more) - Added
e2etests (just pining health initially) (initially only forshortages-prediction-adaptersbut could be added for more) - Added
ServiceConfigurationforcloudprofile