Summary Table

Categories Total Count
PII 0
URL 0
DNS 0
EKL 0
IP 3
PORT 0
VsID 0
CF 0
AI 0
VPD 0
PL 0
Other 0

File Content

package gov.va.vamf.scheduling.varutility.testutility;

import gov.va.vamf.scheduling.varutility.clientapi.AuthenticationInfo;
import com.agilex.healthcare.utility.NullChecker;

public class IntegrationTestConfiguration {
private static String serverBaseUri = "http://
IP /VarUtilityServices/v2/m2/p0/rest";
private static final String MHPAuthorizeURI = "http://
IP /AuthorizationServices/provider/authorize";
private static final String MHPTokenURI = "http://
IP /AuthorizationServices/oauth/token";

public static String getServerBaseUri(){
return serverBaseUri;
}

public static String getMHPAuthorizeURI() {
return MHPAuthorizeURI;
}

public static String getMHPTokenURI() {
return MHPTokenURI;
}

public static AuthenticationInfo getProviderAuthenticationInfo() {
AuthenticationInfo authenticationInfo = null;
if (NullChecker.isNotNullish(getAuthType())) {
authenticationInfo = new AuthenticationInfo();
authenticationInfo.setUsername("access7");
authenticationInfo.setPassword("verify7!");
authenticationInfo.setAuthtype(getAuthType());
authenticationInfo.setFacilityName("BOSTON VAMC");
authenticationInfo.setFacilityCode("523");
}
return authenticationInfo;
}

private static String getAuthType() {
String authtype = "oauth";
return authtype;
}
}