aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/cypress/fixtures/distribution-page
diff options
context:
space:
mode:
authorys9693 <ys9693@att.com>2020-01-19 13:50:02 +0200
committerOfir Sonsino <ofir.sonsino@intl.att.com>2020-01-22 12:33:31 +0000
commit16a9fce0e104a38371a9e5a567ec611ae3fc7f33 (patch)
tree03a2aff3060ddb5bc26a90115805a04becbaffc9 /catalog-ui/cypress/fixtures/distribution-page
parentaa83a2da4f911c3ac89318b8e9e8403b072942e1 (diff)
Catalog alignment
Issue-ID: SDC-2724 Signed-off-by: ys9693 <ys9693@att.com> Change-Id: I52b4aacb58cbd432ca0e1ff7ff1f7dd52099c6fe
Diffstat (limited to 'catalog-ui/cypress/fixtures/distribution-page')
-rw-r--r--catalog-ui/cypress/fixtures/distribution-page/distributionList.json14
-rw-r--r--catalog-ui/cypress/fixtures/distribution-page/distributionStatus.json72
2 files changed, 86 insertions, 0 deletions
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
+ }
+ ]
+}
+