Creating a User Provided Service Instance (CUPS) for Oracle
Cloud Foundry has commands for creating and updating user-provided service instances (cups). Once created, user-provided service instances can be bound to an application. To interact with the Cloud Foundry instance, the command line interface, cf CLI is used. For more information on cg CLI, refer to
https://docs.cloudfoundry.org/cf-cli/.
- Procedure
- Log into your Cloud Foundry environment using the cf CLI.
- Using the cf CLI, run the following command to create an Oracle cups service instance named
oracledd
.cf cups oracledd -p "DB_URL, DB_USERNAME, DB_PASSWORD"
- When prompted, specify values appropriate for your environment.
For example,
DB_URL>jdbc:tibcosoftwareinc:oracle://152.8.15.176:1521;ServiceName=orcl DB_USERNAME>bwuser DB_PASSWORD>password