Add missing CloudFoundry cf command shell script and Apache Geode GFSH shell script.

These shell scripts are referenced in documentation.

Resolves gh-60.
This commit is contained in:
John Blum
2022-02-24 18:52:11 -08:00
parent aa037ce747
commit 73e52c0091
2 changed files with 12 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,6 @@
#!/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