Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ ls -1 yangs
#Run simulator for testing purpose
printLine
echo -e "-- Starting gNMI simulator device --\n"
java -jar ${GITHUB_WORKSPACE}/lighty-modules/lighty-gnmi/lighty-gnmi-device-simulator/target/lighty-gnmi-device-simulator-21.3.0-SNAPSHOT.jar -c ./simulator/example_config.json > /dev/null 2>&1 &
java -jar ${GITHUB_WORKSPACE}/lighty-modules/lighty-gnmi/lighty-gnmi-device-simulator/target/lighty-gnmi-device-simulator-21.4.0-SNAPSHOT.jar -c ./simulator/example_config.json > /dev/null 2>&1 &

#Add yangs into controller through REST rpc
./add_yangs_via_rpc.sh
Expand Down
2 changes: 1 addition & 1 deletion lighty-applications/lighty-app-modules-config/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<parent>
<groupId>io.lighty.core</groupId>
<artifactId>lighty-parent</artifactId>
<version>21.3.0-SNAPSHOT</version>
<version>21.4.0-SNAPSHOT</version>
<relativePath>../../lighty-core/lighty-parent/pom.xml</relativePath>
</parent>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,12 @@
~ and is available at https://www.eclipse.org/legal/epl-v10.html
-->

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

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

For better readability, it's good practice to have each attribute of an XML tag on a new line, especially when there are multiple attributes. This makes the POM file easier to read and maintain.

Suggested change
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
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>

<groupId>io.lighty.applications.rcgnmi</groupId>
<artifactId>lighty-rcgnmi-app-docker</artifactId>
<version>21.3.0-SNAPSHOT</version>
<version>21.4.0-SNAPSHOT</version>

<properties>
<image.name>lighty-rcgnmi</image.name>
Expand Down Expand Up @@ -81,8 +79,7 @@
<phase>prepare-package</phase>
<configuration>
<target>
<unzip src="${basedir}/../lighty-rcgnmi-app/target/${lighty.app.zip}"
dest="${basedir}/target/docker-stage" />
<unzip src="${basedir}/../lighty-rcgnmi-app/target/${lighty.app.zip}" dest="${basedir}/target/docker-stage" />

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

For better readability and maintainability, it's recommended to keep attributes of XML tags on separate lines, especially for long lines like this one. This makes the code easier to read and understand.

                                <unzip src="${basedir}/../lighty-rcgnmi-app/target/${lighty.app.zip}"
                                       dest="${basedir}/target/docker-stage" />

</target>
</configuration>
<goals>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@
<parent>
<groupId>io.lighty.core</groupId>
<artifactId>lighty-parent</artifactId>
<version>21.3.0-SNAPSHOT</version>
<version>21.4.0-SNAPSHOT</version>
<relativePath>../../../lighty-core/lighty-parent/pom.xml</relativePath>
</parent>

<groupId>io.lighty.applications.rcgnmi</groupId>
<artifactId>lighty-rcgnmi-app-module</artifactId>
<version>21.3.0-SNAPSHOT</version>
<version>21.4.0-SNAPSHOT</version>

<name>${project.groupId}:${project.artifactId}</name>
<url>https://github.com/PANTHEONtech/lighty</url>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@
<parent>
<groupId>io.lighty.core</groupId>
<artifactId>lighty-app-parent</artifactId>
<version>21.3.0-SNAPSHOT</version>
<version>21.4.0-SNAPSHOT</version>
<relativePath>../../../lighty-core/lighty-app-parent/pom.xml</relativePath>
</parent>

<groupId>io.lighty.applications.rcgnmi</groupId>
<artifactId>lighty-rcgnmi-app</artifactId>
<version>21.3.0-SNAPSHOT</version>
<version>21.4.0-SNAPSHOT</version>

<name>${project.groupId}:${project.artifactId}</name>
<url>https://github.com/PANTHEONtech/lighty</url>
Expand Down
2 changes: 1 addition & 1 deletion lighty-applications/lighty-rcgnmi-app-aggregator/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<groupId>io.lighty.applications.rcgnmi</groupId>
<artifactId>lighty-rcgnmi-app-aggregator</artifactId>
<version>21.3.0-SNAPSHOT</version>
<version>21.4.0-SNAPSHOT</version>
<packaging>pom</packaging>

<properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<groupId>io.lighty.applications.rnc</groupId>
<artifactId>lighty-rnc-app-docker</artifactId>
<version>21.3.0-SNAPSHOT</version>
<version>21.4.0-SNAPSHOT</version>

<properties>
<image.name>lighty-rnc</image.name>
Expand Down Expand Up @@ -78,8 +78,7 @@
<phase>prepare-package</phase>
<configuration>
<target>
<unzip src="${basedir}/../lighty-rnc-app/target/${lighty.app.zip}"
dest="${basedir}/target/docker-stage" />
<unzip src="${basedir}/../lighty-rnc-app/target/${lighty.app.zip}" dest="${basedir}/target/docker-stage" />

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

For better readability and maintainability, it's recommended to keep attributes of XML tags on separate lines, especially for long lines like this one. This makes the code easier to read and understand.

                                <unzip src="${basedir}/../lighty-rnc-app/target/${lighty.app.zip}"
                                       dest="${basedir}/target/docker-stage" />

</target>
</configuration>
<goals>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
<parent>
<groupId>io.lighty.core</groupId>
<artifactId>lighty-app-parent</artifactId>
<version>21.3.0-SNAPSHOT</version>
<version>21.4.0-SNAPSHOT</version>
<relativePath>../../../lighty-core/lighty-app-parent/pom.xml</relativePath>
</parent>

<groupId>io.lighty.applications.rnc</groupId>
<artifactId>lighty-rnc-app</artifactId>
<version>21.3.0-SNAPSHOT</version>
<version>21.4.0-SNAPSHOT</version>
<packaging>jar</packaging>

<name>${project.groupId}:${project.artifactId}</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
<parent>
<groupId>io.lighty.core</groupId>
<artifactId>lighty-parent</artifactId>
<version>21.3.0-SNAPSHOT</version>
<version>21.4.0-SNAPSHOT</version>
<relativePath>../../../lighty-core/lighty-parent/pom.xml</relativePath>
</parent>

<groupId>io.lighty.applications.rnc</groupId>
<artifactId>lighty-rnc-module</artifactId>
<version>21.3.0-SNAPSHOT</version>
<version>21.4.0-SNAPSHOT</version>

<name>${project.groupId}:${project.artifactId}</name>
<url>https://github.com/PANTHEONtech/lighty</url>
Expand Down
2 changes: 1 addition & 1 deletion lighty-applications/lighty-rnc-app-aggregator/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<groupId>io.lighty.applications.rnc</groupId>
<artifactId>lighty-rnc-aggregator</artifactId>
<version>21.3.0-SNAPSHOT</version>
<version>21.4.0-SNAPSHOT</version>
<packaging>pom</packaging>

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

<groupId>io.lighty.applications</groupId>
<artifactId>lighty-applications-aggregator</artifactId>
<version>21.3.0-SNAPSHOT</version>
<version>21.4.0-SNAPSHOT</version>
<packaging>pom</packaging>

<properties>
Expand Down
2 changes: 1 addition & 1 deletion lighty-core/dependency-versions/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>io.lighty.core</groupId>
<artifactId>dependency-versions</artifactId>
<version>21.3.0-SNAPSHOT</version>
<version>21.4.0-SNAPSHOT</version>
<packaging>pom</packaging>

<name>${project.groupId}:${project.artifactId}</name>
Expand Down
2 changes: 1 addition & 1 deletion lighty-core/lighty-app-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<parent>
<groupId>io.lighty.core</groupId>
<artifactId>lighty-parent</artifactId>
<version>21.3.0-SNAPSHOT</version>
<version>21.4.0-SNAPSHOT</version>
<relativePath>../lighty-parent/pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion lighty-core/lighty-binding-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<parent>
<groupId>io.lighty.core</groupId>
<artifactId>lighty-parent</artifactId>
<version>21.3.0-SNAPSHOT</version>
<version>21.4.0-SNAPSHOT</version>
<relativePath>../lighty-parent/pom.xml</relativePath>
</parent>

Expand Down
Loading
Loading