- Notifications
You must be signed in to change notification settings - Fork1
Ocopea Extension for Cloud Foundry
License
ocopea/cloudfoundry
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Ocopea is aCloud Foundry extension allowing developers to take application copies oftheir deployments.
Note
The initial data service and copy service broker components are targettingPivotal Cloud Foundry implementation, but can be easily extended to other Cloud Foundry implementations by minor tweaks.
Ocopea Cloud Foundry (CF) extension simplifies the development process of complex multi-microservice apps in multi-site multi-spaceenvironments. Untangling the complexity of orchestrating the restoration of production copies for debugging andautomated tests are two of the most common tasks our rich API and UI offers.
Learn More
- mvn : 3.2.5 or greater
- jdk : 1.8 or greater
- Dependencies listed in master POM have been built and exist either in artifactory or local maven repository
Once the pre-requisites have been met, simply run the following command:
mvn clean installThis will build the artifacts after validating all checks including unit tests and place it in thedeployer/target directory.
- cf cli is installed. We have tested it with version cf version 6.35.0+5c7de3e32.2018-03-08.Note that with updates to cf cli, if its output changes the deployment script might fail if dependencies are not met.
- Ensure a Postgres service exists in the selected space. RunHere is a sample output:
cf sname service plan bound apps last operationpostgres user-provided - Ensure the following java buildpack is available in your pcf deployment:
cf create-buildpack java_buildpack_offline https://github.com/cloudfoundry/java-buildpack/releases/download/v3.10/java-buildpack-offline-v3.10.zip 1 --enableIf you don't want to push and host the above buildpack in your PCF, modify the JAVA_BUILDPACK variable deploy.sh mentioned in the next section with the git URL. For more detail refer to cloud foundary docs on how to push apps with custom buildpacks.
Build the project.
Issue "cf login" and select the space that Ocopea will deploy to.
From the deployer/target/classes folder, execute deploy.sh script:
cd deployer/target/classes./deploy.shIf you want to tag the deployment with an identifier, pass it as an argument:
./deploy.sh <identifier>By default the username is used as an identifier to tag the deployment.
Note: You may need to change the permissions on deploy.sh file so as to execute it.
Log into the Ocopea GUI using the link printed out at the end of the deploy.sh script execution. For example,
http://ocopea-orcs.cf.isus.emc.com/hub-web-api/html/nui/index.htmlThe login credential is admin/nazgul.
About
Ocopea Extension for Cloud Foundry
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Contributors4
Uh oh!
There was an error while loading.Please reload this page.