@Test @Ignore public void testSaaSFactoryPgRLSBootstrap() { SaaSFactoryPgRLSBootstrap handler = new SaaSFactoryPgRLSBootstrap(); Context ctx = createContext(); Object output = handler.handleRequest(input, ctx); Assert.assertEquals("Hello from Lambda!", output); }
public SaaSFactoryPgRLSBootstrap() { this.ssm = SsmClient.builder() .httpClientBuilder(UrlConnectionHttpClient.builder()) .credentialsProvider(EnvironmentVariableCredentialsProvider.create()) .build(); }
SaaSFactoryPgRLSBootstrap implements RequestHandler<Map<String, Object>, Object> { public SaaSFactoryPgRLSBootstrap() { this.ssm = SsmClient.builder() .httpClientBuilder(UrlConnectionHttpClient.builder()) .credentialsProvider(EnvironmentVariableCredentialsProvider.create()) .build(); } }
SaaSFactoryPgRLSBootstrap implements RequestHandler<Map<String, Object>, Object> { public SaaSFactoryPgRLSBootstrap() { this.ssm = SsmClient.builder() .httpClientBuilder(UrlConnectionHttpClient.builder()) .credentialsProvider(EnvironmentVariableCredentialsProvider.create()) .build(); } SaaSFactoryPgRLSBootstrap(); }
SaaSFactoryPgRLSBootstrap implements RequestHandler<Map<String, Object>, Object> { public SaaSFactoryPgRLSBootstrap() { this.ssm = SsmClient.builder() .httpClientBuilder(UrlConnectionHttpClient.builder()) .credentialsProvider(EnvironmentVariableCredentialsProvider.create()) .build(); } SaaSFactoryPgRLSBootstrap(); @Override Object handleRequest(Map<String, Object> event, Context context); final Object sendResponse(final Map<String, Object> event, final Context context, final String responseStatus, ObjectNode responseData); }
SaaSFactoryPgRLSBootstrap implements RequestHandler<Map<String, Object>, Object> { public SaaSFactoryPgRLSBootstrap() { this.ssm = SsmClient.builder() .httpClientBuilder(UrlConnectionHttpClient.builder()) .credentialsProvider(EnvironmentVariableCredentialsProvider.create()) .build(); } SaaSFactoryPgRLSBootstrap(); @Override Object handleRequest(Map<String, Object> event, Context context); final Object sendResponse(final Map<String, Object> event, final Context context, final String responseStatus, ObjectNode responseData);  }