Uploaded image for project: 'Service Design and Creation'
  1. Service Design and Creation
  2. SDC-1250

Not Possible to accept "VF" in test

XMLWordPrintable

      After a VSP has been onboarded and a VF created it has to be summited for test and then the tester has to accept it. currectly when the tester accepts it on the GUI the UI hangs and does nothing.

      The problem seems to be in the code 

      https://gerrit.onap.org/r/gitweb?p=sdc.git;a=history;f=catalog-ui/src/app/utils/change-lifecycle-state-handler.ts

      where there is the code 

       

      ...
      [ 104|https://gerrit.onap.org/r/gitweb?p=sdc.git;a=blob;f=catalog-ui/src/app/utils/change-lifecycle-state-handler.ts;hb=6187c942bedebeb2f452ed0856652f90cd5c5772#l104]             let onOk = (confirmationText):void => {
      [ 105|https://gerrit.onap.org/r/gitweb?p=sdc.git;a=blob;f=catalog-ui/src/app/utils/change-lifecycle-state-handler.ts;hb=6187c942bedebeb2f452ed0856652f90cd5c5772#l105]                 comment.userRemarks = confirmationText;
      [ 106|https://gerrit.onap.org/r/gitweb?p=sdc.git;a=blob;f=catalog-ui/src/app/utils/change-lifecycle-state-handler.ts;hb=6187c942bedebeb2f452ed0856652f90cd5c5772#l106]                 scope.isLoading = true;
      [ 107|https://gerrit.onap.org/r/gitweb?p=sdc.git;a=blob;f=catalog-ui/src/app/utils/change-lifecycle-state-handler.ts;hb=6187c942bedebeb2f452ed0856652f90cd5c5772#l107]
      [ 108|https://gerrit.onap.org/r/gitweb?p=sdc.git;a=blob;f=catalog-ui/src/app/utils/change-lifecycle-state-handler.ts;hb=6187c942bedebeb2f452ed0856652f90cd5c5772#l108]                 if (data.url === "lifecycleState/CHECKIN") {
      [ 109|https://gerrit.onap.org/r/gitweb?p=sdc.git;a=blob;f=catalog-ui/src/app/utils/change-lifecycle-state-handler.ts;hb=6187c942bedebeb2f452ed0856652f90cd5c5772#l109]                     this.eventBusService.notify("CHECK_IN").subscribe(() => {
      [ 110|https://gerrit.onap.org/r/gitweb?p=sdc.git;a=blob;f=catalog-ui/src/app/utils/change-lifecycle-state-handler.ts;hb=6187c942bedebeb2f452ed0856652f90cd5c5772#l110]                         component.changeLifecycleState(data.url, comment).then(onSuccess, onError);
      [ 111|https://gerrit.onap.org/r/gitweb?p=sdc.git;a=blob;f=catalog-ui/src/app/utils/change-lifecycle-state-handler.ts;hb=6187c942bedebeb2f452ed0856652f90cd5c5772#l111]                     });
      [ 112|https://gerrit.onap.org/r/gitweb?p=sdc.git;a=blob;f=catalog-ui/src/app/utils/change-lifecycle-state-handler.ts;hb=6187c942bedebeb2f452ed0856652f90cd5c5772#l112]                 }
      [ 113|https://gerrit.onap.org/r/gitweb?p=sdc.git;a=blob;f=catalog-ui/src/app/utils/change-lifecycle-state-handler.ts;hb=6187c942bedebeb2f452ed0856652f90cd5c5772#l113]             };
      ...
       
      This looks like the only "action" supported is CHECKIN. During debugging the requested action was seen to be CERTIFY which seems correct in the circumstances.
       
      This code was changed in the recent change for https://jira.onap.org/browse/SDC-1178 and that seems to have introduced this bug
      was isolated to the com

            afenner afenner
            afenner afenner
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: