From 16a9fce0e104a38371a9e5a567ec611ae3fc7f33 Mon Sep 17 00:00:00 2001 From: ys9693 Date: Sun, 19 Jan 2020 13:50:02 +0200 Subject: Catalog alignment Issue-ID: SDC-2724 Signed-off-by: ys9693 Change-Id: I52b4aacb58cbd432ca0e1ff7ff1f7dd52099c6fe --- .../distribution-page/distributionList.json | 14 +++++ .../distribution-page/distributionStatus.json | 72 ++++++++++++++++++++++ 2 files changed, 86 insertions(+) create mode 100644 catalog-ui/cypress/fixtures/distribution-page/distributionList.json create mode 100644 catalog-ui/cypress/fixtures/distribution-page/distributionStatus.json (limited to 'catalog-ui/cypress/fixtures/distribution-page') diff --git a/catalog-ui/cypress/fixtures/distribution-page/distributionList.json b/catalog-ui/cypress/fixtures/distribution-page/distributionList.json new file mode 100644 index 0000000000..f6614a5c4e --- /dev/null +++ b/catalog-ui/cypress/fixtures/distribution-page/distributionList.json @@ -0,0 +1,14 @@ +{ + "distributionStatusOfServiceList": [ + { + "distributionID": "d2595f62-ab0f-445a-a3fd-2899489f3fa9", + "timestamp": "2019-08-05 12:19:19.043 UTC", + "userId": "Aretha Franklin(op0001)", + "deployementStatus": "Deployed" + },{ + "distributionID": "9a5b5a9d-5d52-40df-bd62-fe71e7c01b85", + "timestamp": "2019-07-25 09:47:55.849 UTC", + "userId": "Aretha Franklin(op0001)", + "deployementStatus": "Distributed" + }] +} \ No newline at end of file diff --git a/catalog-ui/cypress/fixtures/distribution-page/distributionStatus.json b/catalog-ui/cypress/fixtures/distribution-page/distributionStatus.json new file mode 100644 index 0000000000..4aa28bcc3b --- /dev/null +++ b/catalog-ui/cypress/fixtures/distribution-page/distributionStatus.json @@ -0,0 +1,72 @@ +{ + "distributionStatusList": [ + { + "omfComponentID": "Consumer1", + "timestamp": "1564048073950", + "url": "url/artifacts/artifact1.env", + "status": "NOTIFIED", + "errorReason": null + },{ + "omfComponentID": "Consumer2", + "timestamp": "1564048073950", + "url": "url/artifacts/artifact2_1.csar", + "status": "DOWNLOAD_OK", + "errorReason": null + },{ + "omfComponentID": "Consumer2", + "timestamp": "1564048073950", + "url": "url/artifacts/artifact2_2.csar", + "status": "DEPLOY_OK", + "errorReason": null + },{ + "omfComponentID": "Consumer3", + "timestamp": "1564048073950", + "url": "url/artifacts/artifact3_1.csar", + "status": "NOT_NOTIFIED", + "errorReason": null + },{ + "omfComponentID": "Consumer3", + "timestamp": "1564048073950", + "url": "url/artifacts/artifact3_2.csar", + "status": "DEPLOY_ERROR", + "errorReason": null + },{ + "omfComponentID": "Consumer3", + "timestamp": "1564048073950", + "url": "", + "status": "COMPONENT_DONE_OK", + "errorReason": null + },{ + "omfComponentID": "Consumer4", + "timestamp": "1564048073950", + "url": "url/artifacts/artifact1.env", + "status": "DUPLICATE_URL_STATUS_NOT_COUNTED", + "errorReason": null + },{ + "omfComponentID": "Consumer4", + "timestamp": "1564048073950", + "url": null, + "status": "COMPONENT_DONE_ERROR", + "errorReason": null + },{ + "omfComponentID": "Consumer5", + "timestamp": "1564048073950", + "url": "ArtifactWithTwoStatuses", + "status": "LATEST_STATUS", + "errorReason": null + },{ + "omfComponentID": "Consumer5", + "timestamp": "1563961673000", + "url": "ArtifactWithTwoStatuses", + "status": "EARLIER_STATUS", + "errorReason": null + },{ + "omfComponentID": "Consumer6", + "timestamp": "1564048073950", + "url": "url/artifacts/artifact3_2.csar", + "status": "DOWNLOAD_ERROR", + "errorReason": null + } + ] +} + -- cgit 1.2.3-korg