summaryrefslogtreecommitdiffstats
path: root/cadi/oauth-enduser/src/test/java
diff options
context:
space:
mode:
authorInstrumental <jonathan.gathman@att.com>2018-07-03 16:28:26 -0500
committerInstrumental <jonathan.gathman@att.com>2018-07-03 16:28:32 -0500
commit442d8fb117c9086ec2ec468f661af082becafbb8 (patch)
treef46dcd482bd4eaad10cbeb7db1f349ccc1dd71cd /cadi/oauth-enduser/src/test/java
parent01c17dafca7527ebd8d43d22babea6e2136fc706 (diff)
Fix testing results for Authn
Issue-ID: AAF-361 Change-Id: I8f78b41580368610e126aa4cc7cadf8ef204d03a Signed-off-by: Instrumental <jonathan.gathman@att.com>
Diffstat (limited to 'cadi/oauth-enduser/src/test/java')
-rw-r--r--cadi/oauth-enduser/src/test/java/org/onap/aaf/cadi/enduser/test/OAuthExample.java6
-rw-r--r--cadi/oauth-enduser/src/test/java/org/onap/aaf/cadi/enduser/test/OnapClientExample.java2
2 files changed, 4 insertions, 4 deletions
diff --git a/cadi/oauth-enduser/src/test/java/org/onap/aaf/cadi/enduser/test/OAuthExample.java b/cadi/oauth-enduser/src/test/java/org/onap/aaf/cadi/enduser/test/OAuthExample.java
index 39e7b5b6..835e699b 100644
--- a/cadi/oauth-enduser/src/test/java/org/onap/aaf/cadi/enduser/test/OAuthExample.java
+++ b/cadi/oauth-enduser/src/test/java/org/onap/aaf/cadi/enduser/test/OAuthExample.java
@@ -73,12 +73,12 @@ public class OAuthExample {
// Obtain Endpoints for OAuth2 from Properties. Expected is "cadi.properties" file, pointed to by "cadi_prop_files"
String tokenServiceURL = access.getProperty(Config.AAF_OAUTH2_TOKEN_URL,
- "https://AAF_LOCATE_URL/AAF_NS.token/2.0"); // Default to AAF
+ "https://AAF_LOCATE_URL/AAF_NS.token:2.0"); // Default to AAF
String tokenIntrospectURL = access.getProperty(Config.AAF_OAUTH2_INTROSPECT_URL,
- "https://AAF_LOCATE_URL/AAF_NS.introspect/2.0"); // Default to AAF);
+ "https://AAF_LOCATE_URL/AAF_NS.introspect:2.0"); // Default to AAF);
// Get Hello Service
final String endServicesURL = access.getProperty(Config.AAF_OAUTH2_HELLO_URL,
- "https://AAF_LOCATE_URL/AAF_NS.hello/2.0");
+ "https://AAF_LOCATE_URL/AAF_NS.hello:2.0");
final int CALL_TIMEOUT = Integer.parseInt(access.getProperty(Config.AAF_CALL_TIMEOUT,Config.AAF_CALL_TIMEOUT_DEF));
diff --git a/cadi/oauth-enduser/src/test/java/org/onap/aaf/cadi/enduser/test/OnapClientExample.java b/cadi/oauth-enduser/src/test/java/org/onap/aaf/cadi/enduser/test/OnapClientExample.java
index 441be4d2..4b29518f 100644
--- a/cadi/oauth-enduser/src/test/java/org/onap/aaf/cadi/enduser/test/OnapClientExample.java
+++ b/cadi/oauth-enduser/src/test/java/org/onap/aaf/cadi/enduser/test/OnapClientExample.java
@@ -104,7 +104,7 @@ public class OnapClientExample {
// These should NOT be used cross thread.
// Get Hello Service URL... roll your own in your own world.
final String endServicesURL = access.getProperty(Config.AAF_OAUTH2_HELLO_URL,
- "https://AAF_LOCATE_URL/AAF_NS.hello/2.0");
+ "https://AAF_LOCATE_URL/AAF_NS.hello:2.0");
TzClient helloClient = tcf.newTzClient(endServicesURL);