Skip to content
This repository was archived by the owner on Nov 14, 2022. It is now read-only.

Bump cf-java-client to use CC API V3 (CC API V2 deprecates) #120

@gberche-orange

Description

@gberche-orange

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.

https://github.com/orange-cloudfoundry/sec-group-broker-filter/blob/master/service-broker-filter-securitygroups/src/main/java/com/orange/cloud/servicebroker/filter/securitygroups/filter/CreateSecurityGroup.java#L70-L126

Corresponding CC API V3 java client available calls: in 3.0.15 see latest

Currently missing:

  • get service
  • get service instance
  • get service broker
  • get service plans
  • create security group
  • delete security group

Upcoming V3 endpoints yet to be supported:

Object url pivotal trackler epic
Security Groups https://docs.google.com/document/d/1Awzf3Wo83DH0VcqRvbOloI1O8tipiw7QkpDnYzQlvrM/edit
Service Brokers https://docs.google.com/document/d/1O-KMT9klgmnJtBtEHsKDV2IEOtZlG6TK3j68A8klMlk/edit  
Service Offerings https://docs.google.com/document/d/1bDsEiZRwQJNUI41cQlUaioY7JA1fnv_AThOI2ekPXNM/edit  
Service Plans https://docs.google.com/document/d/1dwNbNy99f1qgKRfHy9hmc7B82XtcAtn0Wjg3KUpf7fo/edit  

An alternative is to change the sec-group-broker to use terraform provider instead of direct CC api calls. See https://github.com/orange-cloudfoundry/paas-templates/issues/205 and https://github.com/orange-cloudfoundry/paas-templates/issues/492 (Osb2Cf)

  • service instance (org=orange, space=gberche, service-name=toto guid=guid1)-> CF-service instance (org=system_domain space=sec-group-broker-instances)
  • service binding ->
    • CF service key (org=system_domain space=sec-group-broker-instances)
    • CF security group (org=orange, space=gberche, name=service-instance-guid)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions