autosleep icon indicating copy to clipboard operation
autosleep copied to clipboard

Migrate to CC API V3

Open gberche-orange opened this issue 6 years ago • 0 comments

CC API V2 deprecation draft plan has been published. A 6 month overlap is planned by the time the CF CLI is not using CC API V2 anymore. See related mailing list thread at https://lists.cloudfoundry.org/g/cf-dev/message/8494?p=,,,20,0,0,0::Created,,v2+deprecation,20,2,0,29809681

autosleep makes uses of CC API endpoints: see https://github.com/cloudfoundry-community/autosleep/blob/develop/common/src/main/java/org/cloudfoundry/autosleep/access/cloudfoundry/CloudFoundryApiService.java

  • apps
  • routes
  • service binding
  • (route mappings)
  • (orgs planned as part of #201)
  • (spaces planned as part of #201)
  • service instances at least as part of #201

Corresponding Cf java client support

  • https://github.com/cloudfoundry/cf-java-client/blob/master/cloudfoundry-client/src/main/java/org/cloudfoundry/client/v3/applications/ApplicationsV3.java
  • https://static.javadoc.io/org.cloudfoundry/cloudfoundry-client/3.15.0.RELEASE/org/cloudfoundry/client/v3/servicebindings/ServiceBindingsV3.html

Missing Cf java client support:

  • http://v3-apidocs.cloudfoundry.org/version/3.67.0/index.html#route-mappings
  • https://static.javadoc.io/org.cloudfoundry/cloudfoundry-client/3.15.0.RELEASE/org/cloudfoundry/client/v3/serviceInstances/ServiceInstancesV3.html create service instance

gberche-orange avatar Mar 05 '19 13:03 gberche-orange