File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed
src/main/java/org/soujava/demos/mongodb/document Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -29,20 +29,6 @@ public static void main(String[] args) {
2929 var faker = new Faker ();
3030 LOGGER .info ("Starting the application" );
3131 try (SeContainer container = SeContainerInitializer .newInstance ().initialize ()) {
32- var template = container .select (DocumentTemplate .class ).get ();
33- LOGGER .info ("Creating 10 documents" );
34- for (int index = 0 ; index < 5 ; index ++) {
35- template .insert (List .of (AWSCloudProvider .of (faker ), AzureCloudProvider .of (faker )));
36- }
37-
38- System .out .println ("The cloud providers here" );
39- 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 );
4632 }
4733 }
4834
You can’t perform that action at this time.
0 commit comments