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

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • None
    • None

      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.

              adietish@redhat.com André Dietisheim
              adietish@redhat.com André Dietisheim
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: