Uploaded image for project: 'AeroGear'
  1. AeroGear
  2. AEROGEAR-8155

[MDC] Mobile app is not renamed properly

XMLWordPrintable

      If I rename mobile application from "A" to "B", in OpenShift it is still "A".

      ➜  ~ oc describe mobileclient test
      Name:         test
      Namespace:    myproject
      Labels:       <none>
      Annotations:  <none>
      API Version:  mobile.k8s.io/v1alpha1
      Kind:         MobileClient
      Metadata:
        Creation Timestamp:  2018-11-28T11:17:26Z
        Generation:          1
        Resource Version:    45974
        Self Link:           /apis/mobile.k8s.io/v1alpha1/namespaces/myproject/mobileclients/test
        UID:                 2fa37bf7-f2ff-11e8-9850-7ecd32d8bfd4
      Spec:
        API Key:  945d6890-a05f-46c1-803f-cb5297d87242
        Dmz URL:
        Name:     test2
      Status:
        Services:  <nil>
      Events:      <none>
      

      Name under `Spec` was renamed, but `Self Link` and `Name` was not.

      Only implication I can see now is that it is not possible to create new app with the old name. Also it is possible to create second app with the new name, so in MDC there can be more apps with the same name.

            Unassigned Unassigned
            jhellar@redhat.com Jan Hellar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: