Update AWS basic sample and add README

Add README
This commit is contained in:
Oleg Zhurakousky
2023-03-14 15:33:49 +01:00
parent 28cef69ea3
commit 7f6fbc3ee8
3 changed files with 50 additions and 9 deletions

View File

@@ -19,13 +19,6 @@ public class FunctionConfiguration {
@Bean
public Function<String, String> uppercase() {
return value -> {
if (value.equals("exception")) {
throw new RuntimeException("Intentional exception");
}
else {
return value.toUpperCase();
}
};
return value -> value.toUpperCase();
}
}