Add template Bash shell scripts for cf CLI commands.
Add template Gfsh shell scripts for Apache Geode cluster commands. Add template and example JSON documents for CUPS.
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
# Pivotal CloudFoundry CF CLI commands.
|
||||
|
||||
cf cups apacheGeodeService -t "gemfire, cloudcache, database, pivotal" -p '{ "locators": [ "10.99.199.24[10334]" ], "urls": { "gfsh": "https://10.99.199.24/gemfire/v1" }, "users": [{ "password": "admin", "roles": [ "cluster_operator" ], "username": "admin" }] }'
|
||||
cf push boot-pcc-demo -u none --no-start -p target/client-0.0.1-SNAPSHOT.jar -b https://github.com/cloudfoundry/java-buildpack.git
|
||||
cf bind-service boot-pcc-demo apacheGeodeService
|
||||
5
spring-geode-docs/src/main/resources/cups.json-tmpl
Normal file
5
spring-geode-docs/src/main/resources/cups.json-tmpl
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"locators": [ "<hostname>[<port>]" ],
|
||||
"urls": { "gfsh": "https://<hostname>/gemfire/v1" },
|
||||
"users": [{ "password": "<password>", "roles": [ "cluster_operator" ], "username": "<username>" }]
|
||||
}
|
||||
1
spring-geode-docs/src/main/resources/example-cups.json
Normal file
1
spring-geode-docs/src/main/resources/example-cups.json
Normal file
@@ -0,0 +1 @@
|
||||
{ "locators": [ "10.99.199.24[10334]" ], "urls": { "gfsh": "https://10.99.199.24:8080/gemfire/v1" }, "users": [{ "password": "admin", "roles": [ "cluster_operator" ], "username": "admin" }] }
|
||||
@@ -0,0 +1 @@
|
||||
{ "locators": [ "<hostname>[<port>]" ], "urls": { "gfsh": "https://<hostname>/gemfire/v1" }, "users": [{ "password": "<password>", "roles": [ "cluster_operator" ], "username": "<username>" }] }
|
||||
@@ -0,0 +1,5 @@
|
||||
#!/bin/gfsh
|
||||
# Gfsh shell script to configure and bootstrap an Apache Geode cluster.
|
||||
|
||||
start locator --name=LocatorOne --log-level=config --classpath=@project-dir@/apache-geode-extensions/build/libs/apache-geode-extensions-@project-version@.jar --J=-Dgemfire.security-manager=org.springframework.geode.security.TestSecurityManager --J=-Dgemfire.http-service-port=8080
|
||||
start server --name=ServerOne --log-level=config --user=admin --password=admin --classpath=@project-dir@/apache-geode-extensions/build/libs/apache-geode-extensions-@project-version@.jar
|
||||
Reference in New Issue
Block a user