diff options
author | jhh <jorge.hernandez-herrero@att.com> | 2022-08-17 19:06:09 -0500 |
---|---|---|
committer | jhh <jorge.hernandez-herrero@att.com> | 2022-08-24 10:15:36 -0500 |
commit | bc80c460c83a8515b303b106cf22928de1f2ad11 (patch) | |
tree | 9ef6b210094aa51a7744df9479b19e9c02b5d2b1 /main/src/test/java/org | |
parent | 322056d9e6f0ac1b2ca3dc7736be5727d7399506 (diff) |
Support of onap.policies.monitoring.tcagen2 2.0.0
Issue-ID: POLICY-4317
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I1b1e2d4baa2ec82462e32cb79cc18bb183f7ded6
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Diffstat (limited to 'main/src/test/java/org')
-rw-r--r-- | main/src/test/java/org/onap/policy/pdpx/main/rest/XacmlPdpApplicationManagerTest.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/main/src/test/java/org/onap/policy/pdpx/main/rest/XacmlPdpApplicationManagerTest.java b/main/src/test/java/org/onap/policy/pdpx/main/rest/XacmlPdpApplicationManagerTest.java index b6c84b1f..b04f44fb 100644 --- a/main/src/test/java/org/onap/policy/pdpx/main/rest/XacmlPdpApplicationManagerTest.java +++ b/main/src/test/java/org/onap/policy/pdpx/main/rest/XacmlPdpApplicationManagerTest.java @@ -55,7 +55,7 @@ public class XacmlPdpApplicationManagerTest { private static final StandardYamlCoder yamlCoder = new StandardYamlCoder(); private static Path appsDirectory; private static ToscaServiceTemplate completedJtst; - private static CommonTestData testData = new CommonTestData(); + private static final CommonTestData testData = new CommonTestData(); @ClassRule public static final TemporaryFolder appsFolder = new TemporaryFolder(); @@ -97,9 +97,7 @@ public class XacmlPdpApplicationManagerTest { // Path src = Paths.get("src/test/resources/apps"); File apps = appsFolder.newFolder("apps"); - Files.walk(src).forEach(source -> { - copy(source, apps.toPath().resolve(src.relativize(source))); - }); + Files.walk(src).forEach(source -> copy(source, apps.toPath().resolve(src.relativize(source)))); appsDirectory = apps.toPath(); } |