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:
John Blum
2019-07-02 15:43:45 -07:00
parent 1faf18633e
commit 51e0442d5f
5 changed files with 18 additions and 0 deletions

View File

@@ -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

View File

@@ -0,0 +1,5 @@
{
"locators": [ "<hostname>[<port>]" ],
"urls": { "gfsh": "https://<hostname>/gemfire/v1" },
"users": [{ "password": "<password>", "roles": [ "cluster_operator" ], "username": "<username>" }]
}

View 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" }] }

View File

@@ -0,0 +1 @@
{ "locators": [ "<hostname>[<port>]" ], "urls": { "gfsh": "https://<hostname>/gemfire/v1" }, "users": [{ "password": "<password>", "roles": [ "cluster_operator" ], "username": "<username>" }] }

View File

@@ -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