diff options
Diffstat (limited to 'module/ri-wireguard/src/main')
-rw-r--r-- | module/ri-wireguard/src/main/java/io/trygvis/rules/acme/Foo.java | 7 | ||||
-rw-r--r-- | module/ri-wireguard/src/main/resources/META-INF/kmodule.xml | 2 | ||||
-rw-r--r-- | module/ri-wireguard/src/main/resources/io/trygvis/rules/wireguard/wireguard.drl (renamed from module/ri-wireguard/src/main/resources/io/trygvis/rules/acme/vpn.drl) | 6 |
3 files changed, 4 insertions, 11 deletions
diff --git a/module/ri-wireguard/src/main/java/io/trygvis/rules/acme/Foo.java b/module/ri-wireguard/src/main/java/io/trygvis/rules/acme/Foo.java deleted file mode 100644 index 44f5eba..0000000 --- a/module/ri-wireguard/src/main/java/io/trygvis/rules/acme/Foo.java +++ /dev/null @@ -1,7 +0,0 @@ -package io.trygvis.rules.acme; - -public class Foo { - public static void main(String[] args) { - System.out.println("Foo.main"); - } -} diff --git a/module/ri-wireguard/src/main/resources/META-INF/kmodule.xml b/module/ri-wireguard/src/main/resources/META-INF/kmodule.xml index 64cc4d2..f046259 100644 --- a/module/ri-wireguard/src/main/resources/META-INF/kmodule.xml +++ b/module/ri-wireguard/src/main/resources/META-INF/kmodule.xml @@ -3,7 +3,7 @@ xmlns="http://www.drools.org/xsd/kmodule" xsi:schemaLocation="http://www.drools.org/xsd/kmodule https://www.drools.org/xsd/kmodule_7_1.xsd"> - <kbase name="wireguard" packages="io.trygvis.rules.acme"> + <kbase name="wireguard" packages="io.trygvis.rules.wireguard"> <ksession name="wireguard"/> </kbase> </kmodule> diff --git a/module/ri-wireguard/src/main/resources/io/trygvis/rules/acme/vpn.drl b/module/ri-wireguard/src/main/resources/io/trygvis/rules/wireguard/wireguard.drl index 7896953..342cbb5 100644 --- a/module/ri-wireguard/src/main/resources/io/trygvis/rules/acme/vpn.drl +++ b/module/ri-wireguard/src/main/resources/io/trygvis/rules/wireguard/wireguard.drl @@ -1,11 +1,11 @@ -package io.trygvis.rules.acme; +package io.trygvis.rules.wireguard; import java.util.ArrayList -import io.trygvis.rules.machine.Machine; import io.trygvis.rules.dns.DnsEntry; -import io.trygvis.rules.acme.AcmeServer +import io.trygvis.rules.machine.Machine; import io.trygvis.rules.network.Ipv4Address import io.trygvis.rules.network.Ipv4Cidr +import io.trygvis.rules.network.IpCalc dialect "mvel" |