Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
153 commits
Select commit Hold shift + click to select a range
3099d2b
Set scm.tag to HEAD
Tobianas Apr 11, 2024
62c400a
Bump to 20.1.0-SNAPSHOT
ihrasko May 7, 2024
fa3909d
Bump simulator to 20.0.0
Tobianas Apr 12, 2024
bdfe7cb
Increase sleep after shutdown timeout
Tobianas May 20, 2024
f79b150
Fix creation of transaction chains
Tobianas May 14, 2024
1a7a39b
Do not throw exception if namespace is missing
Tobianas May 14, 2024
ecf3c91
Use ImmutableNodes only
Tobianas May 14, 2024
af1ae84
Remove redundant ExecutorService
Tobianas May 14, 2024
2d24ef3
Modernize RPC implementation registration
Tobianas May 14, 2024
f9f2f22
Do not bind YangTextSourceExtension
Tobianas May 14, 2024
712f753
Fix code style
Tobianas May 21, 2024
f38db82
Bump to odlparent 13.1.2 versions
Tobianas May 21, 2024
b7eb2a3
Refactor DOM{Action,Rpc}Implementation
Tobianas May 21, 2024
36ef892
Remove TokenStore
Tobianas May 22, 2024
61c757a
Introduce ErrorTagMapping and PrettyPrintParam
Tobianas May 22, 2024
dc6b48d
Move PatchStatus{Context,Entity}
Tobianas May 22, 2024
86190bf
Use different MdsalRestconfStrategy instantiation
Tobianas May 22, 2024
8a0beeb
Revert "Create workaround for NETCONF-1285"
Tobianas May 28, 2024
1618117
Create a workaround for YANGTOOLS-1575
Tobianas May 28, 2024
a1e111a
Bump checkstyle to 10.16.0
Tobianas May 28, 2024
7920ab5
Bump maven-install-plugin to 3.1.2
Tobianas May 28, 2024
e087a31
Bump maven-jar-plugin to 3.4.1
Tobianas May 28, 2024
cdae2a4
Bump testng to 7.10.2
ihrasko May 30, 2024
4cc7955
Bump upstreams
ihrasko Jun 4, 2024
96ff6de
Revert "Create a workaround for YANGTOOLS-1575"
ihrasko Jun 4, 2024
436efb5
Bump spring to 3.2.6
Tobianas Jun 6, 2024
654bf32
Bump grpc-netty to 1.64.0
snyk-bot Jun 6, 2024
8579ffa
Bump spring to 3.3.0
Tobianas Jun 7, 2024
2089930
Bump SpotBugs 4.8.5
Tobianas Jun 6, 2024
80c10ec
Bump build-helper-maven-plugin to 3.6.0
Tobianas Jun 6, 2024
01aa105
Bump checkstyle to 10.17.0
Tobianas Jun 6, 2024
5e68641
Bump upstreams
ihrasko Jun 11, 2024
3e9cd8e
bump upstreams
ihrasko Jun 17, 2024
054145b
Revert "Create a workaround for NETCONF-1218"
ihrasko Jun 18, 2024
559329f
Bump spring to 3.3.1
ihrasko Jun 24, 2024
30ad50a
Bump docs and scripts to 20.1.0
Tobianas Jun 20, 2024
7e6cb0c
Bump versions not managed by maven-release to 20.1.0
Tobianas Jun 20, 2024
c222d67
Set scm.tag to 20.1.0
Tobianas Jun 20, 2024
1bb4bee
[maven-release-plugin] prepare release 20.1.0
Tobianas Jun 20, 2024
a4cb626
[maven-release-plugin] prepare for next development iteration
Tobianas Jun 20, 2024
208c401
Bump docs and scripts to 20.2.0-SNAPSHOT
Tobianas Jun 20, 2024
8ab2274
Bump versions not managed by maven-release to 20.2.0-SNAPSHOT
Tobianas Jun 20, 2024
d22b770
Set scm.tag to HEAD
Tobianas Jun 20, 2024
47520b9
Bump simulator to 20.1.0
Tobianas Jun 20, 2024
76b6469
Bump grpc-netty to 1.65.0
snyk-bot Jul 23, 2024
f1ff513
Bump grpc-protobuf to 1.65.1
snyk-bot Aug 6, 2024
6f8e30d
Bump grpc-protobuf to 1.66.0
snyk-bot Aug 29, 2024
4c9ec2f
Bump commons-lang3 to 3.15.0
snyk-bot Aug 17, 2024
13ae22c
Bump slf4j-api to 2.0.14
snyk-bot Aug 29, 2024
201271a
Bump protobuf-java to 3.25.4
snyk-bot Aug 17, 2024
6a6971c
Bump spring to 3.3.3
ihrasko Sep 5, 2024
f72bef3
Bump upload-artifact to v4
ihrasko Sep 12, 2024
e4d3eac
Bump slf4j-api to 2.0.16
snyk-bot Sep 6, 2024
f392efe
Bump commons-lang3 to 3.16.0
snyk-bot Sep 6, 2024
4f80aa7
Bump alpine to 3.20.3
ihrasko Sep 13, 2024
82bc1a8
Bump spring to 3.3.4
ihrasko Sep 26, 2024
531c6fa
Bump com.google.protobuf:protobuf-java
dependabot[bot] Sep 19, 2024
0a51586
Bump log4j-api to 2.24.0
snyk-bot Sep 26, 2024
b0c0c21
Bump commons-lang3 to 3.17.0
snyk-bot Sep 28, 2024
84c8101
Bump upstreams
ihrasko Oct 3, 2024
a1f6c20
Bump maven-enforcer-plugin to 3.5.0
ihrasko Oct 3, 2024
e08a8ff
Bump maven-javadoc-plugin to 3.8.0
ihrasko Oct 3, 2024
00850dc
Bump maven-checkstyle-plugin to 3.4.0
ihrasko Oct 3, 2024
fe1d36b
Bump maven-{failsafe,surefire}-plugin to 3.4.0
ihrasko Oct 3, 2024
6778bd6
Bump junit to 5.10.3
ihrasko Oct 3, 2024
cb787bf
Bump SpotBugs 4.8.6
ihrasko Oct 3, 2024
c4fdcce
Bump maven-jar-plugin to 3.4.2
ihrasko Oct 3, 2024
7b369d3
Bump maven-clean-plugin to 3.4.0
ihrasko Oct 3, 2024
16e9930
Bump maven-checkstyle-plugin to 3.5.0
ihrasko Oct 3, 2024
ce0fc07
Bump awaitility to 4.2.2
ihrasko Oct 3, 2024
4b6af4e
Bump JUnit to 5.11.0
ihrasko Oct 3, 2024
7a373fe
Bump maven-install-plugin to 3.1.3
ihrasko Oct 3, 2024
be5a8f7
Bump maven-gpg-plugin to 3.2.7
ihrasko Oct 3, 2024
3fd096c
Bump docs and scripts to 20.2.0
ihrasko Oct 4, 2024
840d018
Bump versions not managed by maven-release to 20.2.0
ihrasko Oct 4, 2024
55fcb63
Set scm.tag to 20.2.0
ihrasko Oct 4, 2024
de94d15
[maven-release-plugin] prepare release 20.2.0
ihrasko Oct 4, 2024
4077d57
[maven-release-plugin] prepare for next development iteration
ihrasko Oct 4, 2024
909f664
Bump docs and scripts to 20.3.0-SNAPSHOT
ihrasko Oct 4, 2024
0b0835e
Bump versions not managed by maven-release to 20.3.0-SNAPSHOT
ihrasko Oct 4, 2024
34450c3
Set scm.tag to HEAD
ihrasko Oct 4, 2024
a65056d
Bump simulator to 20.2.0
ihrasko Oct 4, 2024
d58a2f9
Bump commons-io from to 2.17.0
snyk-bot Oct 14, 2024
8fa40f6
Bump log4j-api to 2.24.1
snyk-bot Oct 16, 2024
b9ddece
Bump JUnit to 5.11.2
Tobianas Oct 15, 2024
78bf846
Bump maven-{failsafe,surefire}-plugin to 3.5.1
Tobianas Oct 15, 2024
6c5f2b5
Bump maven-javadoc-plugin to 3.10.1
Tobianas Oct 15, 2024
c230b0b
Bump spotbugs-maven-plugin to 4.8.6.4
Tobianas Oct 15, 2024
685a76a
Bump docker-maven-plugin to 0.45.1
Tobianas Oct 18, 2024
1532ba7
Bump grpc-netty to 1.67.1
snyk-bot Oct 21, 2024
d0c19fc
Bump jcasbin to 1.67.0
snyk-bot Oct 28, 2024
7c76c6b
Bump spring to 3.3.5
ihrasko Oct 28, 2024
768bd00
Bump jcasbin to 1.71.0
ihrasko Oct 28, 2024
a64e682
Call countDown() on blocking shutdown only
ihrasko Oct 28, 2024
3c758a6
Remove sleep() from LightyModuleTest
ihrasko Oct 29, 2024
4006438
Rename test class
ihrasko Oct 29, 2024
f733394
Cleanup controller tests
ihrasko Oct 29, 2024
73eeec6
Do not mix blocking/unblocking calls
ihrasko Oct 29, 2024
22c5094
Increase module timeouts
ihrasko Oct 30, 2024
4495546
Deprecate LightyModule#startBlocking
ihrasko Oct 29, 2024
490aff0
Separate blocking shutdown
ihrasko Oct 31, 2024
b152833
Run tests in single thread
ihrasko Oct 28, 2024
8a460d7
Add timeout to shutdown
ihrasko Oct 31, 2024
7b5fcdc
Clean up tests
ihrasko Oct 31, 2024
a06fe0e
Bump grpc-netty to 1.68.2
snyk-bot Nov 25, 2024
1ad6455
Bump jcasbin to 1.76.0
snyk-bot Dec 2, 2024
1b5c660
Update actions/cache to v4
Tobianas Nov 27, 2024
74a2719
Bump spring to 3.3.6
ihrasko Dec 4, 2024
5e2c906
Bump commons-io to 2.18.0
snyk-bot Dec 9, 2024
7ec6c5d
Adopt Calcium SR3 MRI versions
Tobianas Dec 10, 2024
4575dd1
Add range restriction for backoff-multiplier
Tobianas Dec 10, 2024
1fd5766
Bump log4j-api to 2.24.2
snyk-bot Dec 10, 2024
f97409b
Bump docs and scripts to 20.3.0
Tobianas Nov 27, 2024
6e8a70e
Bump versions not managed by maven-release to 20.3.0
Tobianas Nov 27, 2024
c4ced72
Set scm.tag to 20.3.0
Tobianas Nov 27, 2024
40892c2
[maven-release-plugin] prepare release 20.3.0
Tobianas Nov 27, 2024
8882b7d
[maven-release-plugin] prepare for next development iteration
Tobianas Nov 27, 2024
379a4ba
Bump docs and scripts to 20.4.0-SNAPSHOT
Tobianas Nov 27, 2024
910dee2
Bump versions not managed by maven-release to 20.4.0-SNAPSHOT
Tobianas Nov 27, 2024
bb1deac
Set scm.tag to HEAD
Tobianas Nov 27, 2024
d2f74bd
Bump simulator to 20.3.0
Tobianas Nov 27, 2024
3db13e0
Bump actions-setup-minikube
Tobianas Jan 8, 2025
0a1be13
Bump spring to 3.3.7
Tobianas Jan 8, 2025
e8c299d
Bump log4j-api to 2.24.3
snyk-bot Jan 1, 2025
eb48ca5
Bump grpc-netty from 1.68.2 to 1.69.0
snyk-bot Jan 12, 2025
ee0def2
Bump jcasbin from 1.76.0 to 1.77.0
snyk-bot Jan 15, 2025
0e05828
Bump jcasbin from 1.77.0 to 1.78.0
snyk-bot Jan 29, 2025
02718f0
Bump alpine to 3.21.2
Tobianas Feb 3, 2025
2abbb5f
Bump spring to 3.3.8
Tobianas Feb 6, 2025
5e4e293
Bump grpc-netty from 1.69.0 to 1.69.1
snyk-bot Feb 9, 2025
01881ce
Bump protobuf:protobuf-java to 3.25.6
snyk-bot Feb 16, 2025
283faa9
Bump grpc-netty to 1.70.0
snyk-bot Feb 16, 2025
ebb1707
Bump jcasbin to 1.79.0
snyk-bot Feb 19, 2025
2780815
Bump slf4j-api to 2.0.17
snyk-bot Mar 19, 2025
56a6066
Bump jcasbin to 1.80.0
snyk-bot Mar 19, 2025
4042003
Bump spring to 3.3.9
Tobianas Mar 21, 2025
94992e2
Logging should not be vulnerable to injection attacks
Tobianas Mar 25, 2025
03a9559
Bump spring to 3.3.10
Tobianas Mar 25, 2025
861667e
Bump jcasbin from 1.80.0 to 1.81.0
snyk-bot Mar 26, 2025
b3817b0
Bump grpc-netty to 1.71.0
snyk-bot Apr 6, 2025
c7cdffd
Bump spring to 3.3.11
Tobianas Apr 30, 2025
7790276
Bump commons-io to 2.19.0
snyk-bot May 5, 2025
2ea0a85
Bump actions-setup-minikube to 2.14.0
Tobianas May 13, 2025
b9b9818
Bump grpc-netty to 1.72.0
snyk-bot May 11, 2025
a5fe627
Bump protobuf-java to 3.25.7
snyk-bot May 18, 2025
e74d6df
Bump commons-collections4 to 4.5.0
snyk-bot May 19, 2025
7457c18
Fix FromAsCasting and ENTRYPOINT in dockerfile.
Tobianas May 20, 2025
b717d7f
Run netconf-simulator using kubernetes
Tobianas May 23, 2025
e358cb8
Bump spring to 3.3.12
Tobianas May 27, 2025
db98ad5
Bump spring to 3.3.13
ihrasko Jun 20, 2025
f01f22f
Bump log4j-api to 2.25.0
snyk-bot Jul 5, 2025
d662d85
Fix gNMI path keys to exclude namespace
tokarenko Jul 10, 2025
3800cb3
Apply code review for PR 2254.
tokarenko Jul 22, 2025
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
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ jobs:
java-version: 17
distribution: 'temurin'
- name: Cache SonarCloud packages
uses: actions/cache@v1
uses: actions/cache@v4
if: ${{ env.SONAR_TOKEN != 0 }}
with:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar
- name: Cache Maven packages
uses: actions/cache@v1
uses: actions/cache@v4
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
Expand All @@ -42,7 +42,7 @@ jobs:
run: mvn install -DskipTests=true -B -V -Psource-quality
- name: Maven test + SonarCloud
if: ${{ env.SONAR_TOKEN != 0 }}
run: mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar
run: mvn -T1 -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar
-Dsonar.java.source=17
-Dsonar.projectKey=${{ env.SONAR_PROJECT_KEY }}
-Dsonar.organization=${{ env.SONAR_ORGANIZATION }}
Expand All @@ -51,9 +51,9 @@ jobs:
-Dsonar.coverage.exclusions=**/lighty-codecs/**/*
- name: Maven test no SonarCloud
if: ${{ env.SONAR_TOKEN == 0 }}
run: mvn -B verify
run: mvn -T1 -B verify
- name: Upload surefire test results
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: Surefire-Test-Results
path: ~/**/surefire-reports/**/*.txt
Expand Down
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-20.0.0.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-20.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 Expand Up @@ -89,7 +89,7 @@ do \
assertHttpStatusCode $(curl -o /dev/null -s -w "%{http_code} GET %{url_effective}\n" --user admin:admin -H "Content-Type: application/json" --insecure http://$pod_controller_ip:8558/cluster/members) \
;done
sleep 1
: ' FIXME uncomment this after NETCONF-1285 is resolved

#Pods healthcheck (:8888/restconf/operations)

for pod_controller_ip in $POD_CONTROLLER_IPS; \
Expand All @@ -100,7 +100,7 @@ sleep 1

#Service healthcheck (:30888/restconf/operations)
assertHttpStatusCode $(curl -o /dev/null -s -w "%{http_code} GET %{url_effective}\n" --user admin:admin -H "Content-Type: application/json" --insecure http://$MINIKUBE_IP:$CONTROLLER_PORT/restconf/operations)
'

# add gNMI node into gNMI topology
assertHttpStatusCode $(curl -X PUT -o /dev/null -s -w "%{http_code} PUT %{url_effective}\n" \
http://"$MINIKUBE_IP":$CONTROLLER_PORT/restconf/data/network-topology:network-topology/topology=gnmi-topology/node=node-"${MINIKUBE_IP//.}" \
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/lighty-rnc-app/simulator/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
ARG SIMULATOR_VERSION="19.2.0"
ARG SIMULATOR_VERSION="20.3.0"

FROM alpine:3.19.1 as clone
FROM alpine:3.21.2 AS clone

ARG SIMULATOR_VERSION
RUN apk add git
WORKDIR /netconf-simulator
RUN git clone https://github.com/PANTHEONtech/lighty-netconf-simulator.git -b $SIMULATOR_VERSION

FROM maven:3.9-eclipse-temurin-17-alpine as build
FROM maven:3.9-eclipse-temurin-17-alpine AS build
ARG SIMULATOR_VERSION
WORKDIR /lighty-netconf-simulator
COPY --from=clone /netconf-simulator/lighty-netconf-simulator /lighty-netconf-simulator
COPY --from=CLONE /netconf-simulator/lighty-netconf-simulator /lighty-netconf-simulator
RUN mvn -B install -DskipTests

FROM eclipse-temurin:17-jre-alpine
ARG SIMULATOR_VERSION
WORKDIR /lighty-netconf-simulator
COPY --from=build /lighty-netconf-simulator/examples/devices/lighty-network-topology-device/target/ /lighty-netconf-simulator/target
COPY --from=BUILD /lighty-netconf-simulator/examples/devices/lighty-network-topology-device/target/ /lighty-netconf-simulator/target

EXPOSE 17380

ENV APP_PATH="/lighty-netconf-simulator/target/lighty-network-topology-device-$SIMULATOR_VERSION.jar"
ENTRYPOINT java -jar $APP_PATH
ENTRYPOINT ["sh", "-c", "java -jar $APP_PATH"]
13 changes: 13 additions & 0 deletions .github/workflows/lighty-rnc-app/simulator/netconf-simulator.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
apiVersion: v1
kind: Pod
metadata:
name: netconf-simulator
labels:
app: netconf-simulator
spec:
containers:
- name: netconf-simulator
image: lighty-netconf-simulator:latest
ports:
- containerPort: 17830
imagePullPolicy: IfNotPresent
19 changes: 12 additions & 7 deletions .github/workflows/lighty-rnc-app/test-lighty-rnc-app-cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,17 @@ HTTP_STATUS_CODES=("200" "201" "202" "204")
declare -a test_results

# Start lighty-netconf-simulator in minikube network
docker build -t lighty-netconf-simulator "${GITHUB_WORKSPACE}"/.github/workflows/lighty-rnc-app/simulator &> /dev/null
docker run -d --rm --name netconf-simulator -p$SIMULATOR_PORT:$SIMULATOR_PORT lighty-netconf-simulator:latest
echo "Docker with lighty-netconf-simulator is started.."
docker build -t lighty-netconf-simulator:latest ${GITHUB_WORKSPACE}/.github/workflows/lighty-rnc-app/simulator
kubectl delete pod netconf-simulator --ignore-not-found
kubectl apply -f ${GITHUB_WORKSPACE}/.github/workflows/lighty-rnc-app/simulator/netconf-simulator.yaml

# Wait until pod is ready
echo "Waiting for netconf-simulator pod to be ready..."
kubectl wait --for=condition=Ready pod/netconf-simulator --timeout=120s
echo "lighty-netconf-simulator is started.."

# Get netconf-simulator container's IP
SIMULATOR_IP=$(docker inspect -f '{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' netconf-simulator)
SIMULATOR_IP=$(kubectl get pod netconf-simulator -o jsonpath="{.status.podIP}")

# check if simulator has opened port
for i in {1..20} ; do
Expand Down Expand Up @@ -182,15 +187,15 @@ do \
"http://$pod_controller_ip:8558/cluster/members")" \
;done
validateTestStatus
: ' FIXME uncomment this after NETCONF-1285 is resolved

# Pods health check (:8888/restconf/operations)
for pod_controller_ip in $POD_CONTROLLER_IPS; \
do \
assertHttpStatusCode "$(curl -o /dev/null -s -w "%{http_code} GET %{url_effective}\n" \
-H "Content-Type: application/json" \
"http://$pod_controller_ip:$CONTROLLER_PORT/restconf/operations")" \
;done
'

# Add node into topology
assertHttpStatusCode "$(curl -X PUT -o /dev/null -s -w "%{http_code} PUT %{url_effective}\n" \
"http://$CTRL0_IP:$CONTROLLER_PORT/restconf/data/network-topology:network-topology/topology=topology-netconf/node=node-${SIMULATOR_IP//.}" \
Expand Down Expand Up @@ -280,4 +285,4 @@ sleep 15

assertPodsTopologyResponse
validateTestStatus
docker stop netconf-simulator
kubectl delete pod netconf-simulator --ignore-not-found
32 changes: 18 additions & 14 deletions .github/workflows/lighty-rnc-app/tests-lighty-rnc-app.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,24 +16,28 @@ HTTP_STATUS_CODES=("200","201","202","204")
declare -a test_results

# Start lighty-netconf-simulator in minikube network
docker build -t lighty-netconf-simulator ${GITHUB_WORKSPACE}/.github/workflows/lighty-rnc-app/simulator
docker run -d --rm --name netconf-simulator -p$SIMULATOR_PORT:$SIMULATOR_PORT lighty-netconf-simulator:latest
docker build -t lighty-netconf-simulator:latest ${GITHUB_WORKSPACE}/.github/workflows/lighty-rnc-app/simulator
kubectl delete pod netconf-simulator --ignore-not-found
kubectl apply -f ${GITHUB_WORKSPACE}/.github/workflows/lighty-rnc-app/simulator/netconf-simulator.yaml

# Get netconf-simulator container's IP
SIMULATOR_IP=$(docker inspect -f '{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' netconf-simulator)
# Wait until pod is ready
echo "Waiting for netconf-simulator pod to be ready..."
kubectl wait --for=condition=Ready pod/netconf-simulator --timeout=120s

# Get simulator pod IP
SIMULATOR_IP=$(kubectl get pod netconf-simulator -o jsonpath="{.status.podIP}")

# List pods
minikube kubectl -- get pods
kubectl get pods

# List Services
minikube kubectl -- get services
kubectl get Services

# Logs pods
pod_names=$(minikube kubectl -- get pods --no-headers -o custom-columns=":metadata.name")
for pod_name in $pod_names; \
do \
minikube kubectl -- logs $pod_name \
;done
for pod_name in $(kubectl get pods --no-headers -o custom-columns=":metadata.name"); do
echo -e "\n--- Logs for $pod_name ---"
kubectl logs "$pod_name"
done

# check if simulator has opened port
for i in {1..20} ; do
Expand Down Expand Up @@ -80,7 +84,7 @@ do \
assertHttpStatusCode $(curl -o /dev/null -s -w "%{http_code} GET %{url_effective}\n" --user admin:admin -H "Content-Type: application/json" --insecure http://$pod_controller_ip:8558/cluster/members) \
;done
sleep 1
: ' FIXME uncomment this after NETCONF-1285 is resolved

# Pods healthcheck (:8888/restconf/operations)

for pod_controller_ip in $POD_CONTROLLER_IPS; \
Expand All @@ -92,7 +96,7 @@ sleep 1
# Service healthcheck (:30888/restconf/operations)
assertHttpStatusCode $(curl -o /dev/null -s -w "%{http_code} GET %{url_effective}\n" --user admin:admin -H "Content-Type: application/json" --insecure http://$MINIKUBE_IP:$CONTROLLER_PORT/restconf/operations)
sleep 1
'

# add node into topology
assertHttpStatusCode $(curl -X PUT -o /dev/null -s -w "%{http_code} PUT %{url_effective}\n" http://"$MINIKUBE_IP":$CONTROLLER_PORT/restconf/data/network-topology:network-topology/topology=topology-netconf/node=node-"${SIMULATOR_IP//.}" \
-H 'Content-Type: application/json' \
Expand Down Expand Up @@ -161,4 +165,4 @@ then
exit 1;
fi

docker stop netconf-simulator
kubectl delete pod netconf-simulator --ignore-not-found
2 changes: 1 addition & 1 deletion .github/workflows/publish-docker-helm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
java-version: 17
distribution: 'temurin'
- name: Cache Maven packages
uses: actions/cache@v1
uses: actions/cache@v4
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-rcgnmi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
java-version: 17
distribution: 'temurin'
- name: Cache Maven packages
uses: actions/cache@v1
uses: actions/cache@v4
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-rnc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
java-version: 17
distribution: 'temurin'
- name: Cache Maven packages
uses: actions/cache@v1
uses: actions/cache@v4
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test-lighty-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,16 @@ jobs:
java-version: 17
distribution: 'temurin'
- name: Cache Maven packages
uses: actions/cache@v1
uses: actions/cache@v4
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Setup Minikube
uses: manusa/actions-setup-minikube@v2.7.2
uses: manusa/actions-setup-minikube@v2.14.0
with:
minikube version: 'v1.28.0'
kubernetes version: 'v1.25.4'
minikube version: 'v1.35.0'
kubernetes version: 'v1.33.0'
github token: ${{ secrets.GITHUB_TOKEN }}
- name: Start Minikube cluster
run: minikube start
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>20.0.0</version>
<version>20.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 @@ -14,7 +14,7 @@

<groupId>io.lighty.applications.rcgnmi</groupId>
<artifactId>lighty-rcgnmi-app-docker</artifactId>
<version>20.0.0</version>
<version>20.4.0-SNAPSHOT</version>

<properties>
<image.name>lighty-rcgnmi</image.name>
Expand Down Expand Up @@ -94,7 +94,7 @@
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
<version>0.42.0</version>
<version>0.45.1</version>
<configuration>
<images>
<image>
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>20.0.0</version>
<version>20.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>20.0.0</version>
<version>20.4.0-SNAPSHOT</version>

<dependencies>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ private LightyController initController(final ControllerConfiguration config) th

private CommunityRestConf initRestconf(final RestConfConfiguration config, final LightyServices services) {
final RestConfConfiguration conf = RestConfConfigUtils.getRestConfConfiguration(config, services);
return CommunityRestConfBuilder.from(conf).withScheduledThreadPool(services.getScheduledThreadPool()).build();
return CommunityRestConfBuilder.from(conf).build();
}

private GnmiSouthboundModule initGnmiModule(final LightyServices services,
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>20.0.0</version>
<version>20.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>20.0.0</version>
<version>20.4.0-SNAPSHOT</version>

<properties>
<application.main.class>io.lighty.applications.rcgnmi.app.RCgNMIApp</application.main.class>
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>20.0.0</version>
<version>20.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>20.0.0</version>
<version>20.4.0-SNAPSHOT</version>

<properties>
<image.name>lighty-rnc</image.name>
Expand Down Expand Up @@ -91,7 +91,7 @@
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
<version>0.42.0</version>
<version>0.45.1</version>
<configuration>
<images>
<image>
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>20.0.0</version>
<version>20.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>20.0.0</version>
<version>20.4.0-SNAPSHOT</version>
<packaging>jar</packaging>

<properties>
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>20.0.0</version>
<version>20.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>20.0.0</version>
<version>20.4.0-SNAPSHOT</version>

<dependencies>
<dependency>
Expand Down
Loading