diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2021-01-06 12:12:39 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2021-01-06 12:12:39 +0100 |
commit | b40cab15f4d01a4e8455e5808ca82e40ff291a92 (patch) | |
tree | 91ca5f2c2cd812776662d58de12a094b8278093b /module/ri-wireguard/src | |
parent | b8699860653e593271e50c8ba1b73f66fcb6287c (diff) | |
download | rules-sandbox-b40cab15f4d01a4e8455e5808ca82e40ff291a92.tar.gz rules-sandbox-b40cab15f4d01a4e8455e5808ca82e40ff291a92.tar.bz2 rules-sandbox-b40cab15f4d01a4e8455e5808ca82e40ff291a92.tar.xz rules-sandbox-b40cab15f4d01a4e8455e5808ca82e40ff291a92.zip |
Renaming VPN stuff to wireguard.
Diffstat (limited to 'module/ri-wireguard/src')
-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" |