From 9d329180702a7201b860a3948433c6b6d027c91d Mon Sep 17 00:00:00 2001 From: Eric Kerwin Date: Tue, 21 Sep 2021 15:32:07 -0400 Subject: [PATCH] updating vmkey parsing --- build.gradle | 2 +- .../com/synopsys/integration/chitstop/rest/model/VmKey.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index 1fedb21..961a072 100644 --- a/build.gradle +++ b/build.gradle @@ -8,7 +8,7 @@ plugins { id "com.moowork.node" version "1.3.1" } -version = '0.5.1' +version = '0.6.0' description = 'Management of the Integration Team\'s Black Duck VM\'s' ext { diff --git a/src/main/java/com/synopsys/integration/chitstop/rest/model/VmKey.java b/src/main/java/com/synopsys/integration/chitstop/rest/model/VmKey.java index 146536d..6ff98cb 100644 --- a/src/main/java/com/synopsys/integration/chitstop/rest/model/VmKey.java +++ b/src/main/java/com/synopsys/integration/chitstop/rest/model/VmKey.java @@ -20,8 +20,8 @@ public VmKey(String vmKey) { vmKey .replace("https://", "") .replace("http://", "") - .replace("int-", "") - .replace(".dc1.lan", ""); + .replace("us1a-int-", "") + .replace(".nprd.sig.synopsys.com", ""); } public String getValue() {