diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2021-01-01 20:35:28 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2021-01-01 20:35:28 +0100 |
commit | e4821f82249bddb443a1f6a6e403087cab659c6d (patch) | |
tree | ba6969c5bb04bc88476efa43a53c7c1ceb3a3ca6 /src/main/java/io/trygvis/rules/dba | |
parent | 866eafabd7398fd1485e7aa285345a7dcea480d0 (diff) | |
download | rules-sandbox-e4821f82249bddb443a1f6a6e403087cab659c6d.tar.gz rules-sandbox-e4821f82249bddb443a1f6a6e403087cab659c6d.tar.bz2 rules-sandbox-e4821f82249bddb443a1f6a6e403087cab659c6d.tar.xz rules-sandbox-e4821f82249bddb443a1f6a6e403087cab659c6d.zip |
Migrating to Drools.
Diffstat (limited to 'src/main/java/io/trygvis/rules/dba')
-rw-r--r-- | src/main/java/io/trygvis/rules/dba/Cluster.java | 9 | ||||
-rw-r--r-- | src/main/java/io/trygvis/rules/dba/Container.java | 17 |
2 files changed, 26 insertions, 0 deletions
diff --git a/src/main/java/io/trygvis/rules/dba/Cluster.java b/src/main/java/io/trygvis/rules/dba/Cluster.java new file mode 100644 index 0000000..949d9ae --- /dev/null +++ b/src/main/java/io/trygvis/rules/dba/Cluster.java @@ -0,0 +1,9 @@ +package io.trygvis.rules.dba; + +public class Cluster { + public String name; + + public Cluster(String name) { + this.name = name; + } +} diff --git a/src/main/java/io/trygvis/rules/dba/Container.java b/src/main/java/io/trygvis/rules/dba/Container.java new file mode 100644 index 0000000..6df939d --- /dev/null +++ b/src/main/java/io/trygvis/rules/dba/Container.java @@ -0,0 +1,17 @@ +package io.trygvis.rules.dba; + +public class Container { + public Cluster cluster; + public String name; + public String machineRole; + public String image; + public String tag; + + public Container(Cluster cluster, String name, String machineRole, String image, String tag) { + this.cluster = cluster; + this.name = name; + this.machineRole = machineRole; + this.image = image; + this.tag = tag; + } +} |