Skip to content

Commit

Permalink
Created lighty.io release 9.0.1 compatible with ODL Fluorine
Browse files Browse the repository at this point in the history
  • Loading branch information
Juraj Veverka authored and Juraj Veverka committed Dec 21, 2018
1 parent 9495ebc commit 19dc1c2
Show file tree
Hide file tree
Showing 46 changed files with 65 additions and 65 deletions.
2 changes: 1 addition & 1 deletion lighty-codecs/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<parent>
<groupId>io.lighty.core.parents</groupId>
<artifactId>lighty-parent</artifactId>
<version>9.0.0</version>
<version>9.0.1</version>
<relativePath>../lighty-core/lighty-parents/lighty-parent</relativePath>
</parent>

Expand Down
6 changes: 3 additions & 3 deletions lighty-core/lighty-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
<parent>
<groupId>io.lighty.core.parents</groupId>
<artifactId>lighty-parent</artifactId>
<version>9.0.0</version>
<version>9.0.1</version>
<relativePath>../lighty-parents/lighty-parent</relativePath>
</parent>

<groupId>io.lighty.core</groupId>
<artifactId>lighty-common</artifactId>
<version>9.0.0</version>
<version>9.0.1</version>
<packaging>jar</packaging>

<dependencies>
Expand All @@ -43,7 +43,7 @@
<dependency>
<groupId>io.lighty.resources</groupId>
<artifactId>log4j-properties</artifactId>
<version>9.0.0</version>
<version>9.0.1</version>
</dependency>

<!--Tests-->
Expand Down
2 changes: 1 addition & 1 deletion lighty-core/lighty-controller-spring-di/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<parent>
<groupId>io.lighty.core.parents</groupId>
<artifactId>lighty-parent</artifactId>
<version>9.0.0</version>
<version>9.0.1</version>
<relativePath>../lighty-parents/lighty-parent</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion lighty-core/lighty-controller/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ To use Lighty controller in your project:
<dependency>
<groupId>io.lighty.core</groupId>
<artifactId>lighty-controller</artifactId>
<version>9.0.0</version>
<version>9.0.1</version>
</dependency>
```

Expand Down
4 changes: 2 additions & 2 deletions lighty-core/lighty-controller/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<parent>
<groupId>io.lighty.core.parents</groupId>
<artifactId>lighty-parent</artifactId>
<version>9.0.0</version>
<version>9.0.1</version>
<relativePath>../lighty-parents/lighty-parent</relativePath>
</parent>

Expand All @@ -33,7 +33,7 @@
<dependency>
<groupId>io.lighty.core</groupId>
<artifactId>lighty-common</artifactId>
<version>9.0.0</version>
<version>9.0.1</version>
</dependency>

<dependency>
Expand Down
4 changes: 2 additions & 2 deletions lighty-core/lighty-parents/lighty-binding-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<parent>
<groupId>io.lighty.core.parents</groupId>
<artifactId>lighty-parent</artifactId>
<version>9.0.0</version>
<version>9.0.1</version>
<relativePath>../lighty-parent/</relativePath>
</parent>

Expand All @@ -24,7 +24,7 @@
-->
<groupId>io.lighty.core.parents</groupId>
<artifactId>lighty-binding-parent</artifactId>
<version>9.0.0</version>
<version>9.0.1</version>
<packaging>pom</packaging>

<properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
<parent>
<groupId>io.lighty.kit.examples.parents</groupId>
<artifactId>lighty-controller-app-parent</artifactId>
<version>9.0.0</version>
<version>9.0.1</version>
<relativePath>../lighty-controller-app-parent/</relativePath>
</parent>

<groupId>io.lighty.kit.examples.parents</groupId>
<artifactId>lighty-community-restconf-app-parent</artifactId>
<version>9.0.0</version>
<version>9.0.1</version>
<packaging>pom</packaging>

<profiles>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
<parent>
<groupId>io.lighty.core.parents</groupId>
<artifactId>lighty-parent</artifactId>
<version>9.0.0</version>
<version>9.0.1</version>
<relativePath>../lighty-parent/</relativePath>
</parent>

<groupId>io.lighty.core.parents</groupId>
<artifactId>lighty-community-restconf-parent</artifactId>
<version>9.0.0</version>
<version>9.0.1</version>
<packaging>pom</packaging>

<properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
<parent>
<groupId>io.lighty.core.parents</groupId>
<artifactId>lighty-parent</artifactId>
<version>9.0.0</version>
<version>9.0.1</version>
<relativePath>../lighty-parent/</relativePath>
</parent>

<groupId>io.lighty.kit.examples.parents</groupId>
<artifactId>lighty-controller-app-parent</artifactId>
<version>9.0.0</version>
<version>9.0.1</version>
<packaging>pom</packaging>

<properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<groupId>io.lighty.core.parents</groupId>
<!-- TODO: Prefer explicit versions over properties. -->
<artifactId>lighty-properties-parent</artifactId>
<version>9.0.0</version>
<version>9.0.1</version>
<relativePath>../lighty-properties-parent/</relativePath>
</parent>

Expand All @@ -31,7 +31,7 @@

<groupId>io.lighty.core.parents</groupId>
<artifactId>lighty-dependency-artifacts</artifactId>
<version>9.0.0</version>
<version>9.0.1</version>
<packaging>pom</packaging>

<dependencyManagement>
Expand Down
6 changes: 3 additions & 3 deletions lighty-core/lighty-parents/lighty-parent-no-plugins/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<parent>
<groupId>io.lighty.core.parents</groupId>
<artifactId>lighty-properties-parent</artifactId>
<version>9.0.0</version>
<version>9.0.1</version>
<relativePath>../lighty-properties-parent/</relativePath>
</parent>

Expand All @@ -25,15 +25,15 @@

<groupId>io.lighty.core.parents</groupId>
<artifactId>lighty-parent-no-plugins</artifactId>
<version>9.0.0</version>
<version>9.0.1</version>
<packaging>pom</packaging>

<dependencyManagement>
<dependencies>
<dependency>
<groupId>io.lighty.core.parents</groupId>
<artifactId>lighty-dependency-artifacts</artifactId>
<version>9.0.0</version>
<version>9.0.1</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down
4 changes: 2 additions & 2 deletions lighty-core/lighty-parents/lighty-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@
<parent>
<groupId>io.lighty.core.parents</groupId>
<artifactId>lighty-parent-no-plugins</artifactId>
<version>9.0.0</version>
<version>9.0.1</version>
<relativePath>../lighty-parent-no-plugins/</relativePath>
</parent>

<!-- This is the main parent for building LightyModule jars. -->

<groupId>io.lighty.core.parents</groupId>
<artifactId>lighty-parent</artifactId>
<version>9.0.0</version>
<version>9.0.1</version>
<packaging>pom</packaging>

<properties>
Expand Down
4 changes: 2 additions & 2 deletions lighty-core/lighty-parents/lighty-properties-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@

<groupId>io.lighty.core.parents</groupId>
<artifactId>lighty-properties-parent</artifactId>
<version>9.0.0</version>
<version>9.0.1</version>
<packaging>pom</packaging>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<leveldb.version>0.7</leveldb.version>
<lighty.version>9.0.0</lighty.version>
<lighty.version>9.0.1</lighty.version>
<!-- test dependencies -->
<testng.version>6.13</testng.version>
</properties>
Expand Down
2 changes: 1 addition & 1 deletion lighty-core/lighty-parents/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<groupId>io.lighty.core.parents</groupId>
<artifactId>lighty-parents-aggregator</artifactId>
<version>9.0.0</version>
<version>9.0.1</version>
<packaging>pom</packaging>

<modules>
Expand Down
2 changes: 1 addition & 1 deletion lighty-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<groupId>io.lighty.core</groupId>
<artifactId>lighty-core-aggregator</artifactId>
<version>9.0.0</version>
<version>9.0.1</version>
<packaging>pom</packaging>

<modules>
Expand Down
2 changes: 1 addition & 1 deletion lighty-examples/controllers/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ ODL core services represent MD-SAL layer, controller, DataStore, global schema c
<dependency>
<groupId>io.lighty.core.parents</groupId>
<artifactId>lighty-dependency-artifacts</artifactId>
<version>9.0.0</version>
<version>9.0.1</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<parent>
<groupId>io.lighty.kit.examples.parents</groupId>
<artifactId>lighty-controller-app-parent</artifactId>
<version>9.0.0</version>
<version>9.0.1</version>
<relativePath>../../../lighty-core/lighty-parents/lighty-controller-app-parent/</relativePath>
</parent>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ build the project: ```mvn clean install```
### Start this demo example
* build the project using ```mvn clean install```
* got to target directory ```cd lighty-examples/controllers/lighty-community-restconf-netconf-app/target```
* unzip example application bundle ```unzip lighty-community-restconf-netconf-app-9.0.0-bin.zip```
* go to unzipped application directory ```cd lighty-community-restconf-netconf-app-9.0.0```
* start controller example controller application ```java -jar lighty-community-restconf-netconf-app-9.0.0.jar```
* unzip example application bundle ```unzip lighty-community-restconf-netconf-app-9.0.1-bin.zip```
* go to unzipped application directory ```cd lighty-community-restconf-netconf-app-9.0.1```
* start controller example controller application ```java -jar lighty-community-restconf-netconf-app-9.0.1.jar```

### Test example application
Once example application has been started using command ```java -jar lighty-community-restconf-netconf-app-9.0.0.jar```
Once example application has been started using command ```java -jar lighty-community-restconf-netconf-app-9.0.1.jar```
RESTCONF web interface is available at URL ```http://localhost:8888/restconf/*```

##### URLs to start with
Expand All @@ -35,7 +35,7 @@ RESTCONF web interface is available at URL ```http://localhost:8888/restconf/*``

### Use custom config files
There are two separated config files: for NETCONF SBP single node and for cluster.
`java -jar lighty-community-restconf-netconf-app-9.0.0.jar /path/to/singleNodeConfig.json`
`java -jar lighty-community-restconf-netconf-app-9.0.1.jar /path/to/singleNodeConfig.json`

Example configuration for single node is [here](src/main/assembly/resources/sampleConfigSingleNode.json)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
<parent>
<groupId>io.lighty.kit.examples.parents</groupId>
<artifactId>lighty-community-restconf-app-parent</artifactId>
<version>9.0.0</version>
<version>9.0.1</version>
<relativePath>../../../lighty-core/lighty-parents/lighty-community-restconf-app-parent/</relativePath>
</parent>

<groupId>io.lighty.kit.examples.controllers</groupId>
<artifactId>lighty-community-restconf-netconf-app</artifactId>
<version>9.0.0</version>
<version>9.0.1</version>
<packaging>jar</packaging>

<properties>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/bash

#start controller with java 8
java -jar lighty-community-restconf-netconf-app-9.0.0.jar sampleConfigSingleNode.json
java -jar lighty-community-restconf-netconf-app-9.0.1.jar sampleConfigSingleNode.json


#start controller with java 10 or later
#java --add-modules java.xml.bind -jar lighty-community-restconf-netconf-app-9.0.0.jar sampleConfigSingleNode.json
#java --add-modules java.xml.bind -jar lighty-community-restconf-netconf-app-9.0.1.jar sampleConfigSingleNode.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ mvn spring-boot:run
or

```
java -jar target/lighty-controller-springboot-9.0.0.jar
java -jar target/lighty-controller-springboot-9.0.1.jar
```

or in any IDE, run the method
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<groupId>io.lighty.core</groupId>
<artifactId>lighty-controller-springboot</artifactId>
<version>9.0.0</version>
<version>9.0.1</version>
<packaging>jar</packaging>

<name>lighty-controller-springboot</name>
Expand All @@ -29,7 +29,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>1.8</java.version>
<lighty.version>9.0.0</lighty.version>
<lighty.version>9.0.1</lighty.version>
</properties>

<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion lighty-examples/controllers/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<groupId>io.lighty.kit.examples.controllers</groupId>
<artifactId>lighty-controller-apps-aggregator</artifactId>
<version>9.0.0</version>
<version>9.0.1</version>
<packaging>pom</packaging>

<modules>
Expand Down
2 changes: 1 addition & 1 deletion lighty-examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<groupId>io.lighty.kit.examples</groupId>
<artifactId>example-applications-aggregator</artifactId>
<version>9.0.0</version>
<version>9.0.1</version>
<packaging>pom</packaging>

<modules>
Expand Down
2 changes: 1 addition & 1 deletion lighty-models/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ my-model/pom.xml
<parent>
<groupId>io.lighty.core.parents</groupId>
<artifactId>lighty-binding-parent</artifactId>
<version>9.0.0</version>
<version>9.0.1</version>
<relativePath/>
</parent>
Expand Down
2 changes: 1 addition & 1 deletion lighty-models/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<groupId>io.lighty.models</groupId>
<artifactId>lighty-models-aggregator</artifactId>
<version>9.0.0</version>
<version>9.0.1</version>
<packaging>pom</packaging>

<modules>
Expand Down
2 changes: 1 addition & 1 deletion lighty-models/test/lighty-example-data-center/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<parent>
<groupId>io.lighty.core.parents</groupId>
<artifactId>lighty-binding-parent</artifactId>
<version>9.0.0</version>
<version>9.0.1</version>
<relativePath>../../../lighty-core/lighty-parents/lighty-binding-parent/</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion lighty-models/test/lighty-test-models/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<parent>
<groupId>io.lighty.core.parents</groupId>
<artifactId>lighty-binding-parent</artifactId>
<version>9.0.0</version>
<version>9.0.1</version>
<relativePath>../../../lighty-core/lighty-parents/lighty-binding-parent/</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion lighty-models/test/lighty-toaster/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<parent>
<groupId>io.lighty.core.parents</groupId>
<artifactId>lighty-binding-parent</artifactId>
<version>9.0.0</version>
<version>9.0.1</version>
<relativePath>../../../lighty-core/lighty-parents/lighty-binding-parent/</relativePath>
</parent>

Expand Down
Loading

0 comments on commit 19dc1c2

Please sign in to comment.