소스 검색

onu_workflow refactory in onu webservices. Related to ftth#20

Espinoza Guillermo 6 년 전
부모
커밋
8c076963e7
1개의 변경된 파일7개의 추가작업 그리고 7개의 파일을 삭제
  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);