Skip to content

Commit

Permalink
fixes #2213 split rule-loader config from rule-loader module
Browse files Browse the repository at this point in the history
  • Loading branch information
stevehu committed Apr 15, 2024
1 parent 9e2a1cb commit 88b5272
Show file tree
Hide file tree
Showing 6 changed files with 82 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@
<module>http-entity</module>
<module>egress-router</module>
<module>ingress-proxy</module>
<module>ruleloader-config</module>
<module>rule-loader</module>
<module>config-reload</module>
<module>sidecar</module>
Expand Down Expand Up @@ -508,6 +509,11 @@
<artifactId>sidecar</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.networknt</groupId>
<artifactId>ruleloader-config</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.networknt</groupId>
<artifactId>rule-loader</artifactId>
Expand Down
4 changes: 4 additions & 0 deletions rule-loader/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@
<groupId>com.networknt</groupId>
<artifactId>yaml-rule</artifactId>
</dependency>
<dependency>
<groupId>com.networknt</groupId>
<artifactId>ruleloader-config</artifactId>
</dependency>

<dependency>
<groupId>io.undertow</groupId>
Expand Down
61 changes: 61 additions & 0 deletions ruleloader-config/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
<!--
~ Copyright (c) 2016 Network New Technologies Inc.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->

<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>com.networknt</groupId>
<artifactId>light-4j</artifactId>
<version>2.1.34-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>ruleloader-config</artifactId>
<packaging>jar</packaging>
<description>A config module for rule-loader to load YAML rules.</description>

<dependencies>
<dependency>
<groupId>com.networknt</groupId>
<artifactId>config</artifactId>
</dependency>
<dependency>
<groupId>com.networknt</groupId>
<artifactId>yaml-rule</artifactId>
</dependency>

<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
</project>
11 changes: 11 additions & 0 deletions ruleloader-config/src/main/java/module-info.j
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
module com.networknt.rule-loader {
exports com.networknt.rule;

requires com.networknt.config;
requires com.networknt.client;
requires com.networknt.server;

requires com.fasterxml.jackson.core;
requires org.slf4j;
requires java.logging;
}

0 comments on commit 88b5272

Please sign in to comment.