Selaa lähdekoodia

onu_workflow refactory in onu webservices. Related to ftth#20

Espinoza Guillermo 6 vuotta sitten
vanhempi
commit
8c076963e7
1 muutettua tiedostoa jossa 7 lisäystä ja 7 poistoa
  1. 7 7
      src/Swagger/Client/FTTH/Services.php

+ 7 - 7
src/Swagger/Client/FTTH/Services.php

@@ -1013,8 +1013,8 @@ class Services extends ApiServices
                 );
                 $ch = new Checks();
                 $id = $ch->integer($request, "id", true);
-                $workflow = "onu_workflow_2";
-                $transition = "active";
+                $workflow = "onu_workflow";
+                $transition = "config";
                 $apiInstance->setDisabledTenancy(true);
                 $result = $apiInstance->getById($id);
                 $apiInstance->setDisabledTenancy(false);
@@ -1051,7 +1051,7 @@ class Services extends ApiServices
                 );
                 $ch = new Checks();
                 $id = $ch->integer($request, "id", true);
-                $workflow = "onu_workflow_2";
+                $workflow = "onu_workflow";
                 $transition = "disable_delete";
                 $apiInstance->setDisabledTenancy(true);
                 $result = $apiInstance->getById($id);
@@ -1088,8 +1088,8 @@ class Services extends ApiServices
                 );
                 $ch = new Checks();
                 $id = $ch->integer($request, "id", true);
-                $workflow = "onu_workflow_2";
-                $transition = "disable";
+                $workflow = "onu_workflow";
+                $transition = "active_disable";
                 $apiInstance->setDisabledTenancy(true);
                 $result = $apiInstance->getById($id);
                 $apiInstance->setDisabledTenancy(false);
@@ -1126,8 +1126,8 @@ class Services extends ApiServices
                 );
                 $ch = new Checks();
                 $id = $ch->integer($request, "id", true);
-                $workflow = "onu_workflow_2";
-                $transition = "active";
+                $workflow = "onu_workflow";
+                $transition = "disable_active";
                 $apiInstance->setDisabledTenancy(true);
                 $result = $apiInstance->getById($id);
                 $apiInstance->setDisabledTenancy(false);