Commit ab417964 authored by Rucha Deshpande's avatar Rucha Deshpande
Browse files

Update AwsTestUtils.java - add debug stmts

parent 270830eb
Pipeline #31963 failed with stages
in 34 minutes
......@@ -126,9 +126,15 @@ public class AwsTestUtils extends TestUtils {
}
private String getSsmParameter(String parameterKey) {
System.out.println(parameterKey);
GetParameterRequest paramRequest = (new GetParameterRequest()).withName(parameterKey).withWithDecryption(true);
GetParameterResult paramResult = ssmManager.getParameter(paramRequest);
return paramResult.getParameter().getValue();
String p ="";
try {
GetParameterRequest paramRequest = (new GetParameterRequest()).withName(parameterKey).withWithDecryption(true);
GetParameterResult paramResult = ssmManager.getParameter(paramRequest);
p= paramResult.getParameter().getValue();
}catch(Exception e)
{
System.out.println("SSM parameter not found="+parameterKey);
}
return p;
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment