File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed
src/main/java/org/soujava/demos/arangodb/document Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 1
1
package org .soujava .demos .arangodb .document ;
2
2
3
+ import jakarta .nosql .Column ;
3
4
import jakarta .nosql .Entity ;
4
5
5
6
@ Entity
6
7
public class AWS extends CloudProvider {
7
8
8
9
10
+ @ Column
11
+ private String appName ;
12
+
13
+ @ Column
14
+ private String accountId ;
15
+
16
+
17
+
9
18
}
Original file line number Diff line number Diff line change 15
15
import jakarta .enterprise .inject .se .SeContainer ;
16
16
import jakarta .enterprise .inject .se .SeContainerInitializer ;
17
17
import net .datafaker .Faker ;
18
+ import net .datafaker .providers .base .Aws ;
19
+ import net .datafaker .providers .base .Azure ;
18
20
import org .eclipse .jnosql .mapping .document .DocumentTemplate ;
19
21
20
22
import java .util .List ;
@@ -25,7 +27,8 @@ public static void main(String[] args) {
25
27
26
28
try (SeContainer container = SeContainerInitializer .newInstance ().initialize ()) {
27
29
var faker = new Faker ();
28
- faker .aws ()
30
+ Aws aws = faker .aws ();
31
+ Azure azure = faker .azure ();
29
32
30
33
}
31
34
}
You can’t perform that action at this time.
0 commit comments