From 554224374c21c1573f4f71c2470a3ac668b3de75 Mon Sep 17 00:00:00 2001 From: Luca Frosini Date: Thu, 20 Jun 2024 14:45:03 +0200 Subject: [PATCH] Fixed some details --- .../resources/vre-configuration-example.json | 84 +++++++++++-------- 1 file changed, 50 insertions(+), 34 deletions(-) diff --git a/src/test/resources/vre-configuration-example.json b/src/test/resources/vre-configuration-example.json index 2a68b5a..7e12bb5 100644 --- a/src/test/resources/vre-configuration-example.json +++ b/src/test/resources/vre-configuration-example.json @@ -12,7 +12,13 @@ "type": "IdentifierFacet", "value": "VRE Configuration", "identificationType": "STRING", - "comment" : "Should we relate this resource with the Virtual Services" + "comment" : "Should we relate this resource with the Virtual Services?", + "Name": "devVRE", + "Description": "This VRE is used for development", + "Designer":"luca.frosini", + "Managers": ["luca.frosini", "pasquale.pagano"], + "Start Date": "2024-06-11 10:49:20.618 +0000", + "End Date": "2025-06-11 10:49:20.618 +0000" } }, { @@ -24,12 +30,7 @@ }, "target": { "type": "StateFacet", - "value": "created | active | failed | dissmissed | expired ", - "report": { - "encoded":"The generated report is saved encoded in BASE64.", - "filename": "devVRE.xml" - }, - "url": "Another option is to save a report in the workspace and put here the link but this cause issue if a VRE is moved in another VO if we decide to save it in the VO folder. Moreover, I would not involve another service." + "value": "created | active | failed | dissmissed | expired " } }, { @@ -43,7 +44,11 @@ "type": "EventFacet", "value": "created", "date": "2024-06-10 10:49:20.618 +0000", - "comment": "Created in IS devVE context" + "comment": "Created in IS devVE context", + "report": { + "encoded":"The generated report part is saved encoded in BASE64.", + "filename": "devVE.json" + } } }, { @@ -59,8 +64,8 @@ "date": "2024-06-10 12:49:20.618 +0000", "comment": "The process failed see report", "report": { - "encoded":"The generated report is saved encoded in BASE64.", - "filename": "devVE.xml" + "encoded":"The generated report part is saved encoded in BASE64.", + "filename": "devVE.json" } } }, @@ -75,7 +80,11 @@ "type": "EventFacet", "value": "active", "date": "2024-06-10 12:49:20.618 +0000", - "comment": "All steps of devVE context creation completed successfully. The context is now active" + "comment": "All steps of devVE context creation completed successfully. The context is now active", + "report": { + "encoded":"The generated report part is saved encoded in BASE64.", + "filename": "devVE.json" + } } }, { @@ -91,7 +100,11 @@ "date": "2024-06-12 10:49:20.618 +0000", "old": "/gcube/devsec/devVE", "new": "/gcube/devsec/devVRE", - "comment": "It was created with the wrong name. The right name is devVRE" + "comment": "It was created with the wrong name. The right name is devVRE", + "report": { + "encoded":"The generated report is saved encoded in BASE64.", + "filename": "devVRE.json" + } } }, { @@ -107,7 +120,11 @@ "date": "2024-06-13 10:49:20.618 +0000", "old": "/gcube/devsec/devVRE", "new": "/gcube/dev/devVRE", - "comment": "The /gcube/devsec context has a confusing name and it will be dissmissed" + "comment": "The /gcube/devsec context has a confusing name and it will be dissmissed", + "report": { + "encoded":"The generated report is saved encoded in BASE64.", + "filename": "devVRE.json" + } } }, { @@ -124,7 +141,11 @@ "affectedAttribute" : "Description", "old": "These VRE is used for development", "new": "This VRE is used for development", - "comment": "Fixed grammatical error in description" + "comment": "Fixed grammatical error in description", + "report": { + "encoded":"The generated report is saved encoded in BASE64.", + "filename": "devVRE.json" + } } }, { @@ -141,7 +162,11 @@ "affectedAttribute" : "Managers", "old": ["luca.frosini", "pasquale.pagano"], "new": ["luca.frosini", "pasquale.pagano", "leonardo.candela"], - "comment": "Added Leo as Manager" + "comment": "Added Leo as Manager", + "report": { + "encoded":"The generated report is saved encoded in BASE64.", + "filename": "devVRE.json" + } } }, { @@ -154,7 +179,11 @@ "target": { "type": "EventFacet", "value": "definitionChange", - "comment": "Added Catalogue Service" + "comment": "Added Catalogue Service", + "report": { + "encoded":"The generated report is saved encoded in BASE64.", + "filename": "devVRE.json" + } } }, { @@ -167,24 +196,11 @@ "target": { "type": "EventFacet", "value": "definitionChange", - "comment": "Removed DataMiner Service" - } - }, - { - "type": "ConsistsOf", - "propagationConstraint": { - "type": "PropagationConstraint", - "remove": "cascade", - "add": "propagate" - }, - "target": { - "type": "SimpleFacet", - "Name": "devVRE", - "Description": "This VRE is used for development", - "Designer":"luca.frosini", - "Managers": ["luca.frosini", "pasquale.pagano"], - "Start Date": "2024-06-11 10:49:20.618 +0000", - "End Date": "2025-06-11 10:49:20.618 +0000" + "comment": "Removed DataMiner Service", + "report": { + "encoded":"The generated report is saved encoded in BASE64.", + "filename": "devVRE.json" + } } } ],