Uploaded image for project: 'OpenShift Java Client'
  1. OpenShift Java Client
  2. OSJC-12 support protocol version 1.2 in openshift-java-client
  3. OSJC-13

handle IApplication#getEmbeddedCartridges correctly with changes to protocol 1.2

    Details

    • Type: Sub-task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      In 1.1 the cartridges that you get reported when listing them on a application changed (IApplication#getEmbeddedCartridges):

      • 1.0:
        would report the embedded cartridges only
      • 1.1:
        would report the embedded cartridges and the application type (cartridge)

      see here: https://github.com/openshift/crankcase/pull/224
      The error that this caused was discussed here:
      https://bugzilla.redhat.com/show_bug.cgi?id=838611

      OpenShift pushed the discussed change (application-type reported as embedded cartridge) to protocol v1.1 and fixed the issue on the server-side. Our client, that currently requests protocol v1.0 has no issue since the fix. We have to make sure we support protocol 1.1 and are able to handle this correctly.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  adietish André Dietisheim
                  Reporter:
                  adietish André Dietisheim
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: