@@ -61,7 +61,7 @@ public void getS2AAddress_validAddress() {
6161
6262 SecureSessionAgent s2aUtils =
6363 SecureSessionAgent .newBuilder ().setHttpTransportFactory (transportFactory ).build ();
64- SecureSessionAgentConfig config = s2aUtils .getConfigFromMDS ();
64+ SecureSessionAgentConfig config = s2aUtils .getConfig ();
6565 String plaintextS2AAddress = config .getPlaintextAddress ();
6666 String mtlsS2AAddress = config .getMtlsAddress ();
6767 assertEquals (S2A_PLAINTEXT_ADDRESS , plaintextS2AAddress );
@@ -82,7 +82,7 @@ public void getS2AAddress_queryEndpointResponseErrorCode_emptyAddress() {
8282
8383 SecureSessionAgent s2aUtils =
8484 SecureSessionAgent .newBuilder ().setHttpTransportFactory (transportFactory ).build ();
85- SecureSessionAgentConfig config = s2aUtils .getConfigFromMDS ();
85+ SecureSessionAgentConfig config = s2aUtils .getConfig ();
8686 String plaintextS2AAddress = config .getPlaintextAddress ();
8787 String mtlsS2AAddress = config .getMtlsAddress ();
8888 assertTrue (plaintextS2AAddress .isEmpty ());
@@ -103,7 +103,7 @@ public void getS2AAddress_queryEndpointResponseEmpty_emptyAddress() {
103103
104104 SecureSessionAgent s2aUtils =
105105 SecureSessionAgent .newBuilder ().setHttpTransportFactory (transportFactory ).build ();
106- SecureSessionAgentConfig config = s2aUtils .getConfigFromMDS ();
106+ SecureSessionAgentConfig config = s2aUtils .getConfig ();
107107 String plaintextS2AAddress = config .getPlaintextAddress ();
108108 String mtlsS2AAddress = config .getMtlsAddress ();
109109 assertTrue (plaintextS2AAddress .isEmpty ());
@@ -123,7 +123,7 @@ public void getS2AAddress_queryEndpointResponseInvalidPlaintextJsonKey_plaintext
123123
124124 SecureSessionAgent s2aUtils =
125125 SecureSessionAgent .newBuilder ().setHttpTransportFactory (transportFactory ).build ();
126- SecureSessionAgentConfig config = s2aUtils .getConfigFromMDS ();
126+ SecureSessionAgentConfig config = s2aUtils .getConfig ();
127127 String plaintextS2AAddress = config .getPlaintextAddress ();
128128 String mtlsS2AAddress = config .getMtlsAddress ();
129129 assertTrue (plaintextS2AAddress .isEmpty ());
@@ -143,7 +143,7 @@ public void getS2AAddress_queryEndpointResponseInvalidMtlsJsonKey_mtlsEmptyAddre
143143
144144 SecureSessionAgent s2aUtils =
145145 SecureSessionAgent .newBuilder ().setHttpTransportFactory (transportFactory ).build ();
146- SecureSessionAgentConfig config = s2aUtils .getConfigFromMDS ();
146+ SecureSessionAgentConfig config = s2aUtils .getConfig ();
147147 String plaintextS2AAddress = config .getPlaintextAddress ();
148148 String mtlsS2AAddress = config .getMtlsAddress ();
149149 assertEquals (S2A_PLAINTEXT_ADDRESS , plaintextS2AAddress );
0 commit comments