This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: cf-services-contrib | |
director_uuid: [BOSH Director UUID from `bosh status`] | |
releases: | |
- name: cf-services-contrib | |
version: 1 | |
compilation: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cf update-service service-registry -c '{"peers": [{"uri": "https://eureka-829ee860-9004-11e6-bdf4-0800200c9a66.west.example.com"}]}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cf update-service service-registry -c '{"peers": [{"uri": "https://eureka-4156d4d4-900a-11e6-ae22-56b6b6499611.east.example.com"}]}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cf service service-registry | |
… | |
Service instance: service-registry | |
Service: p-service-registry | |
Plan: standard | |
Description: Service Registry for Spring Cloud Applications | |
Documentation url: http://docs.pivotal.io/spring-cloud-services/ | |
Dashboard: https://spring-cloud-broker.east.example.com/dashboard/p-service-registry/4156d4d4-900a-11e6-ae22-56b6b6499611 | |
Last Operation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
APP=$1 | |
if [ "$APP" = "" ] | |
then | |
echo "ERROR: Must provide application name that is accessible via `cf app [appname]` and bound to Config Server instance as first argument to script." | |
exit 1 | |
fi | |
INTERVAL=$2 | |
if [ "$INTERVAL" = "" ] | |
then |