Fixing missing type info in 36/111736/1
authorwaqas.ikram <waqas.ikram@est.tech>
Wed, 26 Aug 2020 08:13:35 +0000 (09:13 +0100)
committerwaqas.ikram <waqas.ikram@est.tech>
Wed, 26 Aug 2020 10:31:37 +0000 (11:31 +0100)
SOL005-NSLifecycleManagement-API Swagger File

Change-Id: I26326d538de757bcb21f9909273b1e230aed17f6
Issue-ID: SO-3166
Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
so-etsi-nfvo/so-etsi-nfvo-ns-lcm/so-etsi-nfvo-ns-lcm-api/src/main/resources/SOL005-NSLifecycleManagement-API.json

index 8257e6b..8a7eb9d 100644 (file)
@@ -75,7 +75,8 @@
                                  },
                                  "retirementDate":{
                                     "description":"Date-time stamp. Representation: String formatted according toas defined by the date-time production in IETF RFC 3339.\n",
-                                    "format":"date-time"
+                                    "format":"date-time",
+                                    "type":"string"
                                  }
                               }
                            }
                         },
                         "startTime":{
                            "description":"Date-time stamp. Representation: String formatted according toas defined by the date-time production in IETF RFC 3339.\n",
-                           "format":"date-time"
+                           "format":"date-time",
+                           "type":"string"
                         },
                         "nsInstantiationLevelId":{
                            "description":"An identifier that is unique within a NS descriptor. Representation: string of variable length.\n",
                         },
                         "scaleTime":{
                            "description":"Date-time stamp. Representation: String formatted according toas defined by the date-time production in IETF RFC 3339.\n",
-                           "format":"date-time"
+                           "format":"date-time",
+                           "type":"string"
                         }
                      }
                   },
                         },
                         "updateTime":{
                            "description":"Date-time stamp. Representation: String formatted according toas defined by the date-time production in IETF RFC 3339.\n",
-                           "format":"date-time"
+                           "format":"date-time",
+                           "type":"string"
                         }
                      }
                   },
                                  },
                                  "statusEnteredTime":{
                                     "description":"Date-time stamp. Representation: String formatted according toas defined by the date-time production in IETF RFC 3339.\n",
-                                    "format":"date-time"
+                                    "format":"date-time",
+                                    "type":"string"
                                  },
                                  "nsInstanceId":{
                                     "description":"An identifier with the intention of being globally unique.\n",
                                  },
                                  "startTime":{
                                     "description":"Date-time stamp. Representation: String formatted according toas defined by the date-time production in IETF RFC 3339.\n",
-                                    "format":"date-time"
+                                    "format":"date-time",
+                                    "type":"string"
                                  },
                                  "isAutomaticInvocation":{
                                     "description":"Set to true if this NS LCM operation occurrence has been automatically triggered by the NFVO. This occurs in the case of auto-scaling, auto-healing and when a nested NS is modified as a result of an operation on its composite NS. Set to false otherwise.\n",
                                  },
                                  "operationParams":{
                                     "description":"Input parameters of the LCM operation. This attribute shall be formatted according to the request data type of the related LCM operation. The following mapping between lcmOperationType and the data type of this attribute shall apply: - INSTANTIATE: InstantiateNsRequest - SCALE: ScaleNsRequest - UPDATE: UpdateNsRequest - HEAL: HealNsRequest - TERMINATE: TerminateNsRequest This attribute shall be present if this data type is returned in a response to reading an individual resource, and may be present according to the chosen attribute selector parameter if this data type is returned in a response to a query of a container resource.\n",
-                                    "type":"string",
-                                    "enum":[
-                                       "INSTANTIATE",
-                                       "SCALE",
-                                       "UPDATE",
-                                       "HEAL",
-                                       "TERMINATE"
-                                    ]
+                                    "type":"object"
                                  },
                                  "isCancelPending":{
                                     "description":"If the LCM operation occurrence is in \"PROCESSING\" or \"ROLLING_BACK\" state and the operation is being cancelled, this attribute shall be set to true. Otherwise, it shall be set to false.\n",
                         },
                         "statusEnteredTime":{
                            "description":"Date-time stamp. Representation: String formatted according toas defined by the date-time production in IETF RFC 3339.\n",
-                           "format":"date-time"
+                           "format":"date-time",
+                           "type":"string"
                         },
                         "nsInstanceId":{
                            "description":"An identifier with the intention of being globally unique.\n",
                         },
                         "startTime":{
                            "description":"Date-time stamp. Representation: String formatted according toas defined by the date-time production in IETF RFC 3339.\n",
-                           "format":"date-time"
+                           "format":"date-time",
+                           "type":"string"
                         },
                         "isAutomaticInvocation":{
                            "description":"Set to true if this NS LCM operation occurrence has been automatically triggered by the NFVO. This occurs in the case of auto-scaling, auto-healing and when a nested NS is modified as a result of an operation on its composite NS. Set to false otherwise.\n",
                         },
                         "operationParams":{
                            "description":"Input parameters of the LCM operation. This attribute shall be formatted according to the request data type of the related LCM operation. The following mapping between lcmOperationType and the data type of this attribute shall apply: - INSTANTIATE: InstantiateNsRequest - SCALE: ScaleNsRequest - UPDATE: UpdateNsRequest - HEAL: HealNsRequest - TERMINATE: TerminateNsRequest This attribute shall be present if this data type is returned in a response to reading an individual resource, and may be present according to the chosen attribute selector parameter if this data type is returned in a response to a query of a container resource.\n",
-                           "type":"string",
-                           "enum":[
-                              "INSTANTIATE",
-                              "SCALE",
-                              "UPDATE",
-                              "HEAL",
-                              "TERMINATE"
-                           ]
+                           "type":"object"
                         },
                         "isCancelPending":{
                            "description":"If the LCM operation occurrence is in \"PROCESSING\" or \"ROLLING_BACK\" state and the operation is being cancelled, this attribute shall be set to true. Otherwise, it shall be set to false.\n",
                         },
                         "statusEnteredTime":{
                            "description":"Date-time stamp. Representation: String formatted according toas defined by the date-time production in IETF RFC 3339.\n",
-                           "format":"date-time"
+                           "format":"date-time",
+                           "type":"string"
                         },
                         "nsInstanceId":{
                            "description":"An identifier with the intention of being globally unique.\n",
                         },
                         "startTime":{
                            "description":"Date-time stamp. Representation: String formatted according toas defined by the date-time production in IETF RFC 3339.\n",
-                           "format":"date-time"
+                           "format":"date-time",
+                           "type":"string"
                         },
                         "isAutomaticInvocation":{
                            "description":"Set to true if this NS LCM operation occurrence has been automatically triggered by the NFVO. This occurs in the case of auto-scaling, auto-healing and when a nested NS is modified as a result of an operation on its composite NS. Set to false otherwise.\n",
                         },
                         "operationParams":{
                            "description":"Input parameters of the LCM operation. This attribute shall be formatted according to the request data type of the related LCM operation. The following mapping between lcmOperationType and the data type of this attribute shall apply: - INSTANTIATE: InstantiateNsRequest - SCALE: ScaleNsRequest - UPDATE: UpdateNsRequest - HEAL: HealNsRequest - TERMINATE: TerminateNsRequest This attribute shall be present if this data type is returned in a response to reading an individual resource, and may be present according to the chosen attribute selector parameter if this data type is returned in a response to a query of a container resource.\n",
-                           "type":"string",
-                           "enum":[
-                              "INSTANTIATE",
-                              "SCALE",
-                              "UPDATE",
-                              "HEAL",
-                              "TERMINATE"
-                           ]
+                           "type":"object"
                         },
                         "isCancelPending":{
                            "description":"If the LCM operation occurrence is in \"PROCESSING\" or \"ROLLING_BACK\" state and the operation is being cancelled, this attribute shall be set to true. Otherwise, it shall be set to false.\n",