Clarification regarding service binding in cloud foundry

39 views
Skip to first unread message

Sakthi

unread,
Apr 24, 2015, 3:03:48 AM4/24/15
to vcap...@cloudfoundry.org


Say when an app is bound to a service via manifest.yml & pushed to cloud foundry as below,

 

- name: usersList-backend

  memory: 512MB

  instances: 1

  path: java/target/java-hello-world.war

  services:

    - my-service

  

Now when the same app is updated with the new service & pushed to cloud foundry as below,

- name: usersList-backend

  memory: 512MB

  instances: 1

  path: java/target/java-hello-world.war

  services:

    - my-service

 

Should the app be bound to both the services or only the latest one as per the cloud foundry ?

 

Regards

Sakthivel

James Bayer

unread,
Apr 25, 2015, 6:52:22 AM4/25/15
to vcap...@cloudfoundry.org
app manifests are similar to an upsert, they do not remove things that are missing from the manifest if they were there previously (routes, domains, services, env vars, etc).

--
You received this message because you are subscribed to the Google Groups "Cloud Foundry Developers" group.
To view this discussion on the web visit https://groups.google.com/a/cloudfoundry.org/d/msgid/vcap-dev/ef80c6d8-93de-476d-87b2-f5285f561c3a%40cloudfoundry.org.

To unsubscribe from this group and stop receiving emails from it, send an email to vcap-dev+u...@cloudfoundry.org.



--
Thank you,

James Bayer

narendra

unread,
Apr 25, 2015, 7:46:07 AM4/25/15
to vcap...@cloudfoundry.org
--

Pravin Mishra

unread,
Apr 27, 2015, 5:05:06 AM4/27/15
to vcap...@cloudfoundry.org
Hello,

Looks, you are using the same service in both time.  But your app will always use latest service. 

Best Regards,
Pravin Mishra

Reply all
Reply to author
Forward
0 new messages