Skip to content

Commit 7044272

Browse files
committed
feat: smaple using clouds
Signed-off-by: Otavio Santana <[email protected]>
1 parent 39ce68b commit 7044272

File tree

1 file changed

+8
-0
lines changed
  • src/main/java/org/soujava/demos/arangodb/document

1 file changed

+8
-0
lines changed

src/main/java/org/soujava/demos/arangodb/document/App.java

+8
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,15 @@ public static void main(String[] args) {
3434
for (int index = 0; index < 5; index++) {
3535
template.insert(List.of(AWSCloudProvider.of(faker), AzureCloudProvider.of(faker)));
3636
}
37+
38+
System.out.println("The cloud providers here");
3739
template.select(CloudProvider.class).stream().forEach(System.out::println);
40+
41+
System.out.println("The AWS cloud providers here");
42+
template.select(AWSCloudProvider.class).stream().forEach(System.out::println);
43+
44+
System.out.println("The Azure cloud providers here");
45+
template.select(AzureCloudProvider.class).stream().forEach(System.out::println);
3846
}
3947
}
4048

0 commit comments

Comments
 (0)