Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Ocopea Extension for Cloud Foundry

License

NotificationsYou must be signed in to change notification settings

ocopea/cloudfoundry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.

Description

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

How to build

Pre-requisites

  • 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 install

This will build the artifacts after validating all checks including unit tests and place it in thedeployer/target directory.

Installation

Pre-requisites

  • 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. Run
    cf s
    Here is a sample output:
    name        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 --enable

If 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.

How to install

  • 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.sh

    If 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.html

    The login credential is admin/nazgul.

Usage Instructions

How-to-use

Contribution

About

Ocopea Extension for Cloud Foundry

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors4

  •  
  •  
  •  
  •  

[8]ページ先頭

©2009-2026 Movatter.jp