├── .env ├── .gitignore ├── .gitmodules ├── .travis.yml ├── Jenkinsfile ├── LICENSE ├── README.md ├── appveyor.yml ├── bootstrap ├── default.properties ├── gateway.properties └── staging.properties ├── build.xml ├── clients ├── default.properties ├── docker.properties ├── gateway.properties ├── staging-linux.properties └── staging-windows.properties ├── docker-compose.yml ├── environments ├── appveyor │ └── env.properties ├── default │ └── env.properties ├── docker │ └── env.properties ├── gateway │ └── env.properties ├── staging │ └── env.properties ├── travis-ci │ └── env.properties └── tutorial │ └── env.properties ├── images ├── fixes │ └── readme.txt └── products │ └── readme.txt ├── licenses └── licenses.zip ├── templates └── hello │ └── template.yaml └── tests ├── performance.yml ├── remotesync.txt ├── test-basics.xml └── test-masters.xml /.env: -------------------------------------------------------------------------------- 1 | CC_REG=store/softwareag 2 | CC_TAG=10.5.0.0 3 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | build/* 2 | environments/test/* 3 | bootstrap/test.properties 4 | images/**/*.zip 5 | licenses/**/*.xml 6 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "antcc"] 2 | path = antcc 3 | url = https://github.com/SoftwareAG/sagdevops-antcc.git 4 | [submodule "library"] 5 | path = library 6 | url = https://github.com/SoftwareAG/sagdevops-templates.git 7 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | git: 2 | depth: 100 3 | 4 | matrix: 5 | include: 6 | - os: linux 7 | dist: trusty 8 | fast_finish: true 9 | 10 | env: 11 | global: 12 | - CC_ENV=travis-ci 13 | - CC_PASSWORD=manage123 14 | - CC_TAG=10.5.0.0 15 | 16 | services: 17 | - docker 18 | 19 | # before_install: 20 | # - docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD" 21 | 22 | script: 23 | # - docker-compose run --rm init 24 | # - docker-compose down 25 | # - docker-compose up -d cc 26 | # - docker-compose run --rm init ant waitcc test -Dbuild.dir=/tmp/build 27 | # - docker-compose down 28 | 29 | - antcc/bootstrap/install.sh 30 | - . $HOME/.bash_profile 31 | - antcc boot -Daccept.license=true 32 | - antcc up test stopcc 33 | 34 | cache: 35 | directories: 36 | - $HOME/Downloads 37 | -------------------------------------------------------------------------------- /Jenkinsfile: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env groovy 2 | 3 | // https://jenkins.io/doc/book/pipeline/shared-libraries/ 4 | // TODO: move to a Jenkins CC library 5 | 6 | // curl -X POST -F "jenkinsfile= IMPORTANT: make sure you clone the repository with submodules by using `--recursive` switch: 46 | 47 | ```bash 48 | git clone --recursive -b release/105oct2019 https://github.com/SoftwareAG/sagdevops-cc-server 49 | cd sagdevops-cc-server 50 | ``` 51 | 52 | Perform default setup: 53 | 54 | > IMPORTANT: by setting ```accept.license=true``` property 55 | you are accepting [End User License Agreement](http://documentation.softwareag.com/legal/general_license.txt) 56 | 57 | ```bash 58 | ant boot -Daccept.license=true 59 | ant up test 60 | ``` 61 | 62 | When the process completes successfully open 63 | [Command Central Web UI](https://localhost:8091/cce/web/) and login as Administrator/manage. 64 | 65 | For a customization process follow the steps below. 66 | 67 | ## How to customize setup process 68 | 69 | ### Fork the project 70 | 71 | Fork the project and clone it locally: 72 | 73 | ```bash 74 | git clone --recursive -b release/105oct2019 https://github.com/YOURCCOUNT/sagdevops-cc-server 75 | cd sagdevops-cc-server 76 | ``` 77 | 78 | ### Customizing version, installation directory, ports and Administrator password 79 | 80 | You can customize configuration for the bootstrap process. 81 | 82 | Copy [bootstrap/default.properties](bootstrap/default.properties) into a new YOUR_BOOT_NAME.properties file. 83 | Uncomment the following property to accept the license agreement: 84 | 85 | ```bash 86 | accept.license=true 87 | ``` 88 | 89 | Review and modify any other properties as needed. 90 | 91 | Run bootstrap process using the customized properties file: 92 | 93 | ```bash 94 | ant boot -Dbootstrap=YOUR_BOOT_NAME 95 | ``` 96 | 97 | The downloaded bootstrap installer file will be reused (not downloaded again). 98 | 99 | > NOTE: most of the properties are applicable only for a new bootstrap session. If you previously bootstraped 100 | Command Central they will NOT apply until you uninstall first 101 | 102 | ```bash 103 | ant uninstall boot 104 | ``` 105 | 106 | ### Configuring Proxy 107 | 108 | If you have direct connection to the Internet you can skip this step. 109 | 110 | If you have a proxy server copy [environments/default/env.properties](environments/default/env.properties) 111 | into a new environments/YOUR_ENV_NAME/env.properties file and update it with your HTTP/S proxy configuration: 112 | 113 | ``` 114 | proxy.http.host=YOURPROXYHOST 115 | proxy.http.port=8080 116 | proxy.http.nonproxyhosts=localhost|.my.domain 117 | ``` 118 | 119 | Then run: 120 | 121 | ```bash 122 | ant proxy -Denv=YOUR_ENV_NAME 123 | ``` 124 | 125 | or: 126 | 127 | ```bash 128 | export CC_ENV=YOUR_ENV_NAME 129 | ant proxy 130 | ``` 131 | 132 | ### Registering master repositories for products and fixes 133 | 134 | If this Command Central does not have access to the Internet you can skip this step. 135 | 136 | > IMPORTANT: Your _gateway_ or _development_ Command Central should have access to the Internet. 137 | 138 | To register master repositories Command Central needs your [Empower](https://empower.softwareag.com/) credentials 139 | with permissions to download products and fixes. 140 | 141 | Run this command to enter the credentials and store them in Command Central: 142 | 143 | ```bash 144 | ant credentials 145 | ``` 146 | 147 | Register all Software AG master repositories in Command Central: 148 | 149 | ```bash 150 | ant masters 151 | ``` 152 | 153 | Verify successful master repositories setup: 154 | 155 | ```bash 156 | ant test 157 | ``` 158 | 159 | ### Importing license keys 160 | 161 | If you can skip this step if you plan on adding your license keys for each individual project, 162 | however it is recommended to add all your license keys now. 163 | 164 | Replace sample licenses/licenses.zip with your licenses.zip archive. 165 | 166 | You can customize the location of the licenses archive in 167 | environments/YOUR_ENV_NAME/env.properties by setting this property: 168 | 169 | ```bash 170 | licenses.zip.url=http://url/to/licenses.zip 171 | ``` 172 | 173 | > IMPORTANT: the structure of the licenses.zip is not important. Command Central will introspect 174 | the archive and import found licences with auto generated aliases. 175 | 176 | Run this command to import license files: 177 | 178 | ```bash 179 | ant licenses -Denv=YOUR_ENV_NAME 180 | ``` 181 | 182 | You can run this command again any time to add upload new license keys. 183 | 184 | ### Adding product and fix images 185 | 186 | You can skip this step if you're planning to use only master and mirror repositories. 187 | 188 | Use of image repositories is discouraged. 189 | 190 | If you want to upload SAG Installer images to Command Central place the image 191 | .zip files under _./images_/products folder. 192 | 193 | If you want to upload SAG Update Manager images place the image 194 | .zip files under _./images/fixes_ folder. 195 | 196 | You can customize the location of the images folder in 197 | environments/YOUR_ENV_NAME/env.properties 198 | by setting this property: 199 | 200 | ```bash 201 | images.dir=/path/to/images/ 202 | ``` 203 | 204 | > IMPORTANT: the structure of the images.dir folder must be the following: 205 | 206 | ``` 207 | products\ 208 | my-9.12-products-lnxamd64.zip 209 | my-9.12-products-w64.zip 210 | fixes\ 211 | my-9.12-fixes.zip 212 | my-9.10-fixes.zip 213 | ``` 214 | 215 | Run this command to upload image files: 216 | 217 | ```bash 218 | ant images -Denv=YOUR_ENV_NAME 219 | ``` 220 | 221 | You can run this command again any time to add upload new images. 222 | 223 | ### Creating mirror repositories 224 | 225 | You should create mirror repositories to improve provisioning performance. 226 | 227 | > NOTE: this process may take a long time and requires up to 10GB of space on average per release 228 | if you mirror all products. 229 | 230 | You can customize which release and which products/fixes to mirror using 231 | environments/YOUR_ENV_NAME/env.properties 232 | by setting these properties: 233 | 234 | ```bash 235 | release=10.1 236 | # from 237 | mirror.repo.product=webMethods-${release} 238 | mirror.repo.fix=Empower 239 | # which products 240 | mirror.products=productId1,productId2,... 241 | # which platforms 242 | mirror.platforms=W64,LNXAMD64,OSX 243 | # hosting spm URL 244 | mirror.spm=http://CCHOST:8092 245 | ``` 246 | 247 | > TIP: To find out product ids, open Command Central Web UI, webMethods-${release} repository content view 248 | and tick _Show ID Column_ checkbox in the gear menu. 249 | 250 | To start mirrors create or update process run: 251 | 252 | ```bash 253 | ant mirrors -Denv=YOUR_ENV_NAME 254 | ``` 255 | 256 | > NOTE: fix mirror will download fixes only for the products in your product mirror 257 | repository. 258 | 259 | You can run this command again any time to pull the latest products/fixes from the upstream repos. 260 | 261 | ### Commit your changes to version control system 262 | 263 | > IMPORTANT: To ensure your entire customized setup runs cleanly perform end-to-end run: 264 | 265 | Adjust 'up' target in [build.xml](build.xml) with the targets that are applicable to your setup and run: 266 | 267 | ```bash 268 | export CC_BOOT=YOUR_BOOT_NAME 269 | export CC_ENV=YOUR_ENV_NAME 270 | 271 | ant uninstall boot 272 | ant up test 273 | ``` 274 | 275 | > NOTE: `uninstall` target is currently NOT supported on Windows 276 | 277 | The successful test run will end with something like this: 278 | 279 | ```bash 280 | [au:antunit] Environment configuration: environments/test/env.properties 281 | [au:antunit] ------------- ---------------- --------------- 282 | [au:antunit] Target: test-repos-master-prods took 1.103 sec 283 | [au:antunit] Target: test-repos-master-fixes took 1.092 sec 284 | [au:antunit] Target: test-repos-master-fixes-listing took 10.117 sec 285 | [au:antunit] Target: test-repos-master-prods-listing took 48.337 sec 286 | 287 | BUILD SUCCESSFUL 288 | Total time: 41 minutes 27 seconds 289 | ``` 290 | 291 | Commit your changes to your target version control system, e.g. forked project on GitHub or internal git repo. 292 | 293 | ```bash 294 | git commit -am 'customizations' 295 | git push 296 | ``` 297 | 298 | ## Setting up CI process 299 | 300 | Clone default or forked project from GitHub and perform identical fully automated setup 301 | of your customized Command Central server: 302 | 303 | ```bash 304 | export CC_BOOT=YOUR_BOOT_NAME 305 | export CC_ENV=YOUR_ENV_NAME 306 | 307 | export EMPOWER_USR=you@company.com 308 | export EMPOWER_PSW=***** 309 | 310 | ant boot 311 | ant up test 312 | ``` 313 | 314 | See examples of CI configuration files: 315 | 316 | * [Jenkins](Jenkinsfile) 317 | * [Travis CI](.travis.yml) 318 | * [Appveyor CI](appveyor.yml) 319 | 320 | ## Launching Command Central Docker container 321 | 322 | The fastest way to get Command Central up and running is to launch Docker container from the Docker Store. 323 | 324 | > IMPORTANT: Please see [sagdevops-hello-docker](https://github.com/SoftwareAG/sagdevops-hello-docker) for getting started instructions. 325 | 326 | ```bash 327 | EMPOWER_USR=you@company.com \ 328 | EMPOWER_PSW=**** \ 329 | docker-compose run --rm init 330 | ``` 331 | 332 | To setup mirrors run: 333 | 334 | ```bash 335 | docker-compose run --rm init ant mirrors 336 | ``` 337 | 338 | ## Creating staging environments on Software AG network 339 | 340 | You can setup pre-released software staging environments 341 | if you have access to Software AG network. 342 | 343 | On Linux and Mac OS: 344 | 345 | ```bash 346 | export CC_BOOT=staging 347 | export CC_ENV=staging 348 | export CC_VERSION=10.3-fix1 349 | 350 | export EMPOWER_USR=you@softwareag.com 351 | export EMPOWER_PSW=***** 352 | 353 | export SAG_AQUARIUS=aquarius-dae.eur.ad.sag 354 | export CC_INSTALLER_URL=http://aquarius-dae.eur.ad.sag/PDShare/cc 355 | 356 | # for clean boxes, bootstrap antcc 357 | # antcc/bootstrap/install.sh 358 | # . ~/.bash_profile || . ~/.profile 359 | 360 | ant boot 361 | ant up staging test 362 | ``` 363 | 364 | On Windows: 365 | 366 | ```powershell 367 | set CC_BOOT=staging 368 | set CC_ENV=staging 369 | set CC_VERSION=10.5-fix4 370 | 371 | set EMPOWER_USR=you@softwareag.com 372 | set EMPOWER_PSW=***** 373 | 374 | set SAG_AQUARIUS=aquarius-dae.eur.ad.sag 375 | set CC_INSTALLER_URL=http://aquarius-dae.eur.ad.sag/PDShare/cc 376 | 377 | # for clean boxes, bootstrap ant+antcc 378 | # .\antcc\bootstrap\install.ps1 379 | 380 | ant boot 381 | ant up staging test 382 | ``` 383 | 384 | On Docker: 385 | 386 | ```bash 387 | CC_REG=daerepository03.eur.ad.sag:4443/ccdevops \ 388 | EMPOWER_USR=you@company.com \ 389 | EMPOWER_PSW=**** \ 390 | CC_ENV=staging \ 391 | docker-compose run --rm init staging 392 | ``` 393 | 394 | ## Cleanup 395 | 396 | Uninstall Command Central. 397 | 398 | On Linux run: 399 | 400 | ```bash 401 | ant uninstall -Dbootstrap=YOUR_BOOT_NAME 402 | ``` 403 | 404 | > NOTE: `uninstall` target is currently NOT supported on Windows 405 | 406 | On Docker: 407 | 408 | ```bash 409 | docker-compose down 410 | ``` 411 | 412 | _____________ 413 | Contact us at [TECHcommunity](mailto:technologycommunity@softwareag.com?subject=Github/SoftwareAG) if you have any questions. 414 | ___________________ 415 | For more information you can Ask a Question in the [TECHcommunity Forums](https://tech.forums.softwareag.com/tags/c/forum/1/Command-Central). 416 | 417 | You can find additional information in the [Software AG TECHcommunity](https://tech.forums.softwareag.com/tag/command-central). 418 | ___________________ 419 | These tools are provided as-is and without warranty or support. They do not constitute part of the Software AG product suite. Users are free to use, fork and modify them, subject to the license agreement. While Software AG welcomes contributions, we cannot guarantee to include every contribution in the master project. 420 | -------------------------------------------------------------------------------- /appveyor.yml: -------------------------------------------------------------------------------- 1 | version: 1.0.{build} 2 | environment: 3 | CC_ENV: appveyor 4 | clone_script: 5 | - cmd: >- 6 | git clone -b release/104apr2019 --recursive https://github.com/SoftwareAG/sagdevops-cc-server.git 7 | 8 | cd sagdevops-cc-server 9 | install: 10 | - ps: antcc/bootstrap/install.ps1 11 | # - cmd: choco install ant 12 | cache: C:\Users\appveyor\Downloads 13 | build_script: 14 | - cmd: >- 15 | ant boot -Daccept.license=true 16 | 17 | ant up 18 | test_script: 19 | - cmd: ant test 20 | deploy: off 21 | -------------------------------------------------------------------------------- /bootstrap/default.properties: -------------------------------------------------------------------------------- 1 | ## 2 | ## Command Central server and/or client bootstrap configuration 3 | ## 4 | 5 | ### YOU MUST UNCOMMENT THIS LINE TO ACCEPT EULA 6 | #accept.license=true 7 | 8 | # latest installer file version without extension 9 | # installer=cc-def-10.5-fix4-${platform} 10 | # installer.url=http://empowersdc.softwareag.com/ccinstallers 11 | 12 | # where you placed downloaded installers 13 | # installer.dir=${user.home}/Downloads 14 | 15 | # where to install 16 | # Use forward slashes for Windows, e.g. C:/SoftwareAG 17 | install.dir=${user.home}/sag/cc 18 | 19 | # customize ports 20 | # cce.http.port=8090 21 | # cce.https.port=8091 22 | # spm.http.port=8092 23 | # spm.https.port=8093 24 | 25 | # customize Administrator password 26 | # password=manage 27 | # test for tracking remote changes/merge 28 | -------------------------------------------------------------------------------- /bootstrap/gateway.properties: -------------------------------------------------------------------------------- 1 | ## 2 | ## Command Central server and/or client bootstrap configuration 3 | ## 4 | 5 | ### YOU MUST UNCOMMENT THIS LINE TO ACCEPT EULA 6 | #accept.license=true 7 | 8 | # latest installer file version without extension 9 | installer=cc-def-10.5-latest-${platform} 10 | installer.url=http://empowersdc.softwareag.com/ccinstallers 11 | 12 | # where you placed downloaded installers 13 | # installer.dir=${user.home}/Downloads 14 | 15 | # where to install 16 | # Use forward slashes for Windows, e.g. C:/SoftwareAG 17 | install.dir=${user.home}/sag/ccgw 18 | # customize ports 19 | # cce.http.port=8090 20 | # cce.https.port=8091 21 | # spm.http.port=8092 22 | # spm.https.port=8093 23 | 24 | # customizing Administrator password can be done via environment variable CC_PASSWORD 25 | -------------------------------------------------------------------------------- /bootstrap/staging.properties: -------------------------------------------------------------------------------- 1 | #installer=cc-def-10.3-milestone-${platform} 2 | installer.url=http://aquarius-bg.eur.ad.sag/cc/installers 3 | accept.license=true 4 | -------------------------------------------------------------------------------- /build.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | -------------------------------------------------------------------------------- /clients/default.properties: -------------------------------------------------------------------------------- 1 | # You do NOT need this configuration if you have only one 2 | # Command Central server / client to work with. 3 | # Bootstrap installer creates ~/.sag/cc.properties file that is used by default 4 | 5 | # If you want an alternative Command Central server to work with by default 6 | # configure clients/default.properties 7 | 8 | server=https://localhost:8091 9 | username=Administrator 10 | password=manage 11 | 12 | # for CI on Windows!!! 13 | # must set this explicitly because Windows does not pick up env variables right away 14 | cc.cli.home=${user.home}/sag/cc/CommandCentral/client 15 | -------------------------------------------------------------------------------- /clients/docker.properties: -------------------------------------------------------------------------------- 1 | server=http://cc:8090 2 | -------------------------------------------------------------------------------- /clients/gateway.properties: -------------------------------------------------------------------------------- 1 | # You do NOT need this configuration if you have only one 2 | # Command Central server / client to work with. 3 | # Bootstrap installer creates ~/.sag/cc.properties file that is used by default 4 | 5 | # If you want an alternative Command Central server to work with by default 6 | # configure clients/default.properties 7 | 8 | server=http://localhost:8090 9 | username=Administrator 10 | # customizing Administrator password can be done via environment variable CC_PASSWORD 11 | 12 | # for CI on Windows!!! 13 | # must set this explicitly because Windows does not pick up env variables right away 14 | cc.cli.home=${install.dir}/CommandCentral/client 15 | -------------------------------------------------------------------------------- /clients/staging-linux.properties: -------------------------------------------------------------------------------- 1 | server=https://bgcctbp11:8091/cce 2 | -------------------------------------------------------------------------------- /clients/staging-windows.properties: -------------------------------------------------------------------------------- 1 | server=https://bgninjabvt06:8091/cce 2 | -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- 1 | version: '3.2' 2 | volumes: 3 | cce_data: {} 4 | spm_data: {} 5 | cce_conf: {} 6 | spm_conf: {} 7 | 8 | services: 9 | cc: 10 | image: ${CC_REG}/commandcentral-server:$CC_TAG 11 | ports: 12 | - 8091:8091 13 | - 8092:8092 14 | environment: 15 | - CC_PASSWORD 16 | volumes: 17 | - cce_conf:/opt/sagtools/profiles/CCE/configuration 18 | - spm_conf:/opt/sagtools/profiles/SPM/configuration 19 | - cce_data:/opt/sagtools/profiles/CCE/data 20 | - spm_data:/opt/sagtools/profiles/SPM/data 21 | 22 | init: 23 | image: ${CC_REG}/commandcentral-client:$CC_TAG 24 | volumes: 25 | - ./:/src 26 | # - ./clients/docker.properties:/root/.sag/cc.properties 27 | environment: 28 | - CC_SERVER=cc 29 | - CC_ENV 30 | - EMPOWER_USR 31 | - EMPOWER_PSW 32 | - CC_PASSWORD 33 | command: ant up test clean -Dbuild.dir=/tmp/build 34 | depends_on: 35 | - cc 36 | -------------------------------------------------------------------------------- /environments/appveyor/env.properties: -------------------------------------------------------------------------------- 1 | ### 2 | # For Appveyor CI testing 3 | ### 4 | 5 | # default release to use 6 | release=10.3 7 | 8 | licenses.zip.url=https://github.com/SoftwareAG/sagdevops-cc-server/blob/release/103oct2018/licenses/licenses.zip?raw=true 9 | 10 | # mirror only specific product ids 11 | mirror.products=NUMRealmServer,MSC 12 | 13 | # mirror specific platforms 14 | mirror.platforms=W64 15 | # connection mirror name suffix/extension, e.g. location? 16 | #mirror.name.suffix=_ext 17 | -------------------------------------------------------------------------------- /environments/default/env.properties: -------------------------------------------------------------------------------- 1 | #Thu, 26 Oct 2017 12:51:30 -0700 2 | ### 3 | # Command Central configuration properties 4 | ### 5 | 6 | # default release to use 7 | release=10.5 8 | 9 | # You can configure your Empower credentials here or use env variables 10 | # for one time credentials setup 11 | #empower.username=you@company.com 12 | #empower.password=yourpassword 13 | #cc.password=manage123 14 | 15 | # proxy configuration 16 | #proxy.http.host=proxyhost 17 | #proxy.http.port=8080 18 | #proxy.http.nonproxyhosts=localhost|.local 19 | #proxy.https.host=proxyhost 20 | #proxy.https.port=443 21 | #proxy.https.nonproxyhosts=localhost|.local 22 | 23 | # location of the root folder for products/*.zip and fixes/*.zip 24 | # to upload to Command Central 25 | #images.dir=${user.home}/sag/images 26 | 27 | # location of the licences/ folder with license files 28 | licenses.zip.url=https://github.com/SoftwareAG/sagdevops-cc-server/blob/release/103oct2018/licenses/licenses.zip?raw=true 29 | 30 | # mirror only specific product ids 31 | #mirror.products=MSC,acdl 32 | 33 | # mirror specific platforms 34 | #mirror.platforms=OSX,LNXAMD64 35 | #mirror.name.suffix=_ext -------------------------------------------------------------------------------- /environments/docker/env.properties: -------------------------------------------------------------------------------- 1 | ### 2 | # For Docker dev/testing 3 | ### 4 | 5 | # default release to use 6 | release=10.3 7 | 8 | licenses.zip.file=licenses/licenses.zip 9 | 10 | # mirror only specific product ids 11 | mirror.products=MSC,NUMRealmServer 12 | 13 | # mirror specific platforms 14 | mirror.platforms=LNXAMD64 15 | # connection mirror name suffix/extension, e.g. location? 16 | #mirror.name.suffix=_ext 17 | 18 | # docker test nodes 19 | nodes=dev1,dev2 20 | 21 | # oracle container 22 | db.host=devoracle 23 | -------------------------------------------------------------------------------- /environments/gateway/env.properties: -------------------------------------------------------------------------------- 1 | ### 2 | # For Jenkines CI testing 3 | ### 4 | 5 | # default release to use 6 | release=10.5 7 | 8 | licenses.zip.file=${user.home}/InternalKeys_wM_v10.5_exp_2020-10-31_Up2.zip 9 | 10 | master.repo.product.name=product-master 11 | master.repo.fix.name=fixes-master 12 | 13 | mirror.repo.product=${master.repo.product.name} 14 | mirror.repo.fix=${master.repo.fix.name} 15 | mirror.repo.product.name=primary-product-mirror 16 | mirror.repo.fix.name=primary-fix-mirror 17 | # mirror only specific product ids 18 | mirror.products=NUMRealmServer 19 | # mirror specific platforms 20 | mirror.platforms=LNXAMD64 21 | 22 | custom.library.dir=wba-project1/templates 23 | 24 | ldap.domain=sag 25 | ldap.host=sofldap.eur.ad.sag 26 | ldap.port=389 27 | ldap.url="ldap://${ldap.host}:${ldap.port}" 28 | ldap.principaldn="CN=BGQATest,OU=Generic,OU=Bulgaria,DC=eur,DC=ad,DC=sag" 29 | #qatest123 30 | ldap.password=${env.LDAP_PASSWORD} 31 | ldap.group.viewer=CommandCentral-Swat 32 | ldap.group.operator=RnD-wM-CommandCentralWorkgroup 33 | ldap.group.admin=RnD-wM-BPMS-CodeNinjas 34 | 35 | guest.password=${env.CC_GUEST_PASSWORD} 36 | viewer.password=${env.CC_VIEWER_PASSWORD} 37 | operator.password=${env.CC_OPERATOR_PASSWORD} 38 | 39 | credentials.username=${env.CC_SSH_REMOTE_USER} 40 | credentials.password=${env.CC_SSH_REMOTE_PASSWORD} 41 | 42 | 43 | spm.memory.init.size=32 44 | spm.memory.max.size=512 45 | 46 | cce.memory.init.size=256 47 | cce.memory.max.size=512 48 | 49 | 50 | ssh.credentials.username=${env.CC_SSH_REMOTE_KEY_USER} 51 | ssh.credentials.key.path=${user.home}/id_rsa 52 | ssh.credentials.key.password=${env.CC_SSH_REMOTE_KEY_PASSWORD} 53 | 54 | spm.https.port=8093 55 | spm.http.port=8092 56 | spm.https.keystore.location="${user.home}/secure/KEY-CCE-SPM.jks" 57 | spm.https.keystore.password=${env.SPM_KEYSTORE_PASSWORD} 58 | spm.https.key.alias=${env.SPM_KEYSTORE_ALIAS} 59 | 60 | spm.truststore.location="${user.home}/secure/TRUST-SPM.jks" 61 | spm.truststore.password=${env.SPM_TRUSTSTORE_PASSWORD} 62 | 63 | cce.https.port=8091 64 | cce.https.keystore.location="${user.home}/secure/KEY-CCE.jks" 65 | cce.https.keystore.password=${env.CC_KEYSTORE_PASSWORD} 66 | cce.https.key.alias=${env.CC_KEYSTORE_ALIAS} 67 | 68 | cce.truststore.location="${user.home}/secure/TRUST-CCE.jks" 69 | cce.truststore.password=${env.CC_TRUSTSTORE_PASSWORD} -------------------------------------------------------------------------------- /environments/staging/env.properties: -------------------------------------------------------------------------------- 1 | ### 2 | # For Jenkines CI testing 3 | ### 4 | 5 | # default release to use 6 | release=10.3 7 | 8 | licenses.zip.url=http://irepo.eur.ad.sag/projects/DEVOPS/repos/command-central/raw/licenses/sag10-rnd-all-licenses.zip?at=refs%2Fheads%2Frelease%2F101oct2017 9 | 10 | mirror.repo.product=webMethods-${release}_GA 11 | mirror.repo.fix=GA_Fix_Repo 12 | # mirror only specific product ids 13 | mirror.products=NUMRealmServer,MSC 14 | # mirror specific platforms 15 | mirror.platforms=LNXAMD64,W64,OSX 16 | 17 | # installers=cc-def-10.3-fix1-osx,cc-def-10.3-fix1-lnxamd64 18 | 19 | # vSphere VM lab 20 | vm.server=daevc 21 | vm.names=bgcctbp11,bgninjabvt06 22 | #,bgninjabvt22 23 | vm.domain=.eur.ad.sag 24 | vm.wait=30 25 | -------------------------------------------------------------------------------- /environments/travis-ci/env.properties: -------------------------------------------------------------------------------- 1 | ### 2 | # For Travis CI testing 3 | ### 4 | 5 | # default release to use 6 | release=10.3 7 | 8 | licenses.zip.url=https://github.com/SoftwareAG/sagdevops-cc-server/blob/release/103oct2018/licenses/licenses.zip?raw=true 9 | 10 | # mirror only specific product ids 11 | mirror.products=CustomInstall 12 | 13 | # mirror specific platforms 14 | mirror.platforms=LNXAMD64 15 | # connection mirror name suffix/extension, e.g. location? 16 | #mirror.name.suffix=_ext 17 | -------------------------------------------------------------------------------- /environments/tutorial/env.properties: -------------------------------------------------------------------------------- 1 | ### 2 | # For Travis CI testing 3 | ### 4 | 5 | # default release to use 6 | release=10.3 7 | 8 | licenses.zip.url=https://github.com/SoftwareAG/sagdevops-cc-server/blob/release/103oct2018/licenses/licenses.zip?raw=true 9 | #licenses.zip.url=http://irepo.eur.ad.sag/projects/DEVOPS/repos/command-central/raw/licenses/sag10-rnd-all-licenses.zip?at=refs%2Fheads%2Frelease%2F101oct2017 10 | 11 | mirror.repo.product=webMethods-${release} 12 | mirror.repo.fix=Empower 13 | # mirror only specific product ids 14 | mirror.products=integrationServer,NUMRealmServer,MSC 15 | # mirror specific platforms 16 | # mirror.platforms=LNXAMD64,W64,OSX 17 | -------------------------------------------------------------------------------- /images/fixes/readme.txt: -------------------------------------------------------------------------------- 1 | place your fix images here -------------------------------------------------------------------------------- /images/products/readme.txt: -------------------------------------------------------------------------------- 1 | place your product images here -------------------------------------------------------------------------------- /licenses/licenses.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SoftwareAG/sagdevops-cc-server/754ee88ecc72bc2640c5b986292dd06bddbdf7c5/licenses/licenses.zip -------------------------------------------------------------------------------- /templates/hello/template.yaml: -------------------------------------------------------------------------------- 1 | ############################################################################### 2 | # Copyright 2013 - 2018 Software AG, Darmstadt, Germany and/or its licensors 3 | # 4 | # SPDX-License-Identifier: Apache-2.0 5 | # 6 | # Licensed under the Apache License, Version 2.0 (the "License"); 7 | # you may not use this file except in compliance with the License. 8 | # You may obtain a copy of the License at 9 | # 10 | # http://www.apache.org/licenses/LICENSE-2.0 11 | # 12 | # Unless required by applicable law or agreed to in writing, software 13 | # distributed under the License is distributed on an "AS IS" BASIS, 14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | # See the License for the specific language governing permissions and 16 | # limitations under the License. 17 | # 18 | ############################################################################### 19 | 20 | alias: hello 21 | -------------------------------------------------------------------------------- /tests/performance.yml: -------------------------------------------------------------------------------- 1 | --- 2 | execution: 3 | - concurrency: 10 4 | ramp-up: 10s 5 | hold-for: 30s 6 | scenario: simple 7 | 8 | scenarios: 9 | simple: 10 | think-time: 0.75 11 | requests: 12 | - https://localhost:8091/cce/web 13 | 14 | services: 15 | - module: passfail 16 | criteria: 17 | - avg-rt>100ms for 10s, stop as failed 18 | - hots or reserve 19 | 20 | reporting: 21 | - module: console 22 | - module: junit-xml 23 | filename: build/tests/performance/TEST.xml 24 | data-source: pass-fail 25 | -------------------------------------------------------------------------------- /tests/remotesync.txt: -------------------------------------------------------------------------------- 1 | # Please ingore this file 2 | # this is use for tracking remote synch -------------------------------------------------------------------------------- /tests/test-basics.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /tests/test-masters.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | --------------------------------------------------------------------------------