apigee / cloud-foundry-apigee

Apigee Service Broker for Cloud Foundry
Apache License 2.0
14 stars 7 forks source link

Bind route service fails with json error #1

Closed arghya88 closed 6 years ago

arghya88 commented 6 years ago

Trying to run below command :

cf bind-route-service [--hostname ] \ -c '{"org":"myorg","env":"dev", "user:pass", "action":"proxy bind", "protocol":"https"}'

Fails with below error:

json: error calling MarshalJSON for type *json.RawMessage: invalid character ',' after object key

KyleWiese commented 6 years ago

Hi Arghya,

Sorry for the delayed response. Is that your entire command? The command structure should look something like

cf bind-route-service <domain> <service name> --hostname <app name> \
    -c '{"org":"myorg,"env":"dev",
       "user":"myusername@company.com",
        "pass":"*****"
       "action":"proxy bind",
       "protocol":"https"}'
KyleWiese commented 6 years ago

Closing this issue due to inactivity.