aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/cypress/fixtures/distribution-page
diff options
context:
space:
mode:
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
+ }
+ ]
+}
+