diff options
author | Alexey Sandler <alexey.sandler@intl.att.com> | 2020-02-10 21:35:00 +0200 |
---|---|---|
committer | Ittay Stern <ittay.stern@att.com> | 2020-02-10 20:20:30 +0000 |
commit | b6abce3629df5eb1f5fa158ae2f9d880c5369240 (patch) | |
tree | 8f1e6d6ebd4387e8f83450cd22c2954b03a61d49 /vid-app-common/src | |
parent | ed2e7ffe755c1a33d678043b9d5bb4d4290a7e48 (diff) |
remove check in order to accept upgrade even if the service in latest model version
Issue-ID: VID-771
Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
Change-Id: I0303422f32f285447d3d7af4aee98427002a679c
Diffstat (limited to 'vid-app-common/src')
-rw-r--r-- | vid-app-common/src/main/java/org/onap/vid/job/command/VfmoduleCommand.kt | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/vid-app-common/src/main/java/org/onap/vid/job/command/VfmoduleCommand.kt b/vid-app-common/src/main/java/org/onap/vid/job/command/VfmoduleCommand.kt index 731625c53..68c9f53e1 100644 --- a/vid-app-common/src/main/java/org/onap/vid/job/command/VfmoduleCommand.kt +++ b/vid-app-common/src/main/java/org/onap/vid/job/command/VfmoduleCommand.kt @@ -207,9 +207,6 @@ class VfmoduleCommand @Autowired constructor( val serviceModelInfo = serviceModelInfoFromRequest() val modelNewestUuid = commandUtils.getNewestModelUuid(serviceModelInfo.modelInvariantId); - check(!modelNewestUuid.equals(serviceModelInfo.modelVersionId, true)) { - "Model version id ${serviceModelInfo.modelVersionId} is already the latest version of model's invariant id ${serviceModelInfo.modelInvariantId}" } - val serviceNewestModel = commandUtils.getServiceModel(modelNewestUuid); return serviceNewestModel; |