Changed components to be service-centric 29/122429/1
authorsaul.gill <saul.gill@est.tech>
Fri, 2 Jul 2021 16:10:54 +0000 (17:10 +0100)
committersaul.gill <saul.gill@est.tech>
Fri, 2 Jul 2021 16:10:59 +0000 (17:10 +0100)
commit6687b48b58bf1248532de48f3e375b1f663f4015
tree6582070c8db251b85695bcdc902ea98aac573003
parentb908988c81db910d4e2bea3e569e468f5f2c8f85
Changed components to be service-centric

Moved endpoints to ControlLoopService.js
Refactored components and tests

Issue-ID: POLICY-3424
Change-Id: I70d48750250eecd651b845ef0c726617983f75f5
Signed-off-by: saul.gill <saul.gill@est.tech>
20 files changed:
gui-clamp/ui-react-lib/libIndex.js
gui-clamp/ui-react/src/LoopUI.js
gui-clamp/ui-react/src/api/ControlLoopService.js
gui-clamp/ui-react/src/api/GetToscaTemplate.js [deleted file]
gui-clamp/ui-react/src/api/UploadToscaFile.js [deleted file]
gui-clamp/ui-react/src/components/dialogs/ControlLoop/GetLocalToscaFileForUpload.js [moved from gui-clamp/ui-react/src/components/dialogs/GetLocalToscaFileForUpload.js with 75% similarity]
gui-clamp/ui-react/src/components/dialogs/ControlLoop/GetLocalToscaFileForUpload.test.js [moved from gui-clamp/ui-react/src/components/dialogs/GetLocalToscaFileForUpload.test.js with 77% similarity]
gui-clamp/ui-react/src/components/dialogs/ControlLoop/GetToscaTemplate.js [new file with mode: 0644]
gui-clamp/ui-react/src/components/dialogs/ControlLoop/GetToscaTemplate.test.js [moved from gui-clamp/ui-react/src/api/GetToscaTemplate.test.js with 53% similarity]
gui-clamp/ui-react/src/components/dialogs/ControlLoop/ReadAndConvertYaml.js [new file with mode: 0644]
gui-clamp/ui-react/src/components/dialogs/ControlLoop/ReadAndConvertYaml.test.js [moved from gui-clamp/ui-react/src/components/dialogs/ReadAndConvertYaml.test.js with 71% similarity]
gui-clamp/ui-react/src/components/dialogs/ControlLoop/UploadToscaFile.js [new file with mode: 0644]
gui-clamp/ui-react/src/components/dialogs/ControlLoop/UploadToscaFile.test.js [moved from gui-clamp/ui-react/src/api/UploadToscaFile.test.js with 57% similarity]
gui-clamp/ui-react/src/components/dialogs/ControlLoop/__snapshots__/GetLocalToscaFileForUpload.test.js.snap [moved from gui-clamp/ui-react/src/components/dialogs/__snapshots__/GetLocalToscaFileForUpload.test.js.snap with 100% similarity]
gui-clamp/ui-react/src/components/dialogs/ControlLoop/__snapshots__/GetToscaTemplate.test.js.snap [moved from gui-clamp/ui-react/src/api/__snapshots__/GetToscaTemplate.test.js.snap with 100% similarity]
gui-clamp/ui-react/src/components/dialogs/ControlLoop/__snapshots__/ReadAndConvertYaml.test.js.snap [moved from gui-clamp/ui-react/src/components/dialogs/__snapshots__/ReadAndConvertYaml.test.js.snap with 86% similarity]
gui-clamp/ui-react/src/components/dialogs/ControlLoop/__snapshots__/UploadToscaFile.test.js.snap [moved from gui-clamp/ui-react/src/api/__snapshots__/UploadToscaFile.test.js.snap with 100% similarity]
gui-clamp/ui-react/src/components/dialogs/ReadAndConvertYaml.js [deleted file]
gui-clamp/ui-react/src/components/menu/MenuBar.js
gui-clamp/ui-react/src/components/menu/__snapshots__/MenuBar.test.js.snap