Skip to content

Commit ba3486e

Browse files
author
Dennis Labordus
committed
Small changes.
Signed-off-by: Dennis Labordus <[email protected]>
1 parent 085fa0c commit ba3486e

File tree

3 files changed

+13
-0
lines changed

3 files changed

+13
-0
lines changed

.github/workflows/release-project.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,13 @@ jobs:
5555
output_file: custom_maven_settings.xml
5656
servers: '[{ "id": "github-packages-compas", "username": "OWNER", "password": "${{ secrets.GITHUB_TOKEN }}" }]'
5757
- name: Set version with Maven
58+
# Only set the version for the CoMPAS Modules, excluding the RiseClipse Modules.
5859
run: ./mvnw -B versions:set -DgroupId=org.lfenergy.compas.scl.validator -DnewVersion=${{ steps.extract_tagname.outputs.tagname }}
5960
env:
6061
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6162
- name: Deploy with Maven to GitHub Packages and Docker Hub
63+
# We neeed to pass the Repository information, because these are missing/need to be overwritten for the
64+
# RiseClipse Submodules for which we can't update the POM files.
6265
run: |
6366
./mvnw -B -s custom_maven_settings.xml \
6467
-DaltDeploymentRepository=github-packages-compas::default::https://maven.pkg.github.com/com-pas/compas-scl-validator \

app/src/main/resources/application.properties

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ quarkus.log.category."org.lfenergy.compas.scl.validator".level = INFO
2222
%dev.quarkus.log.level = DEBUG
2323
%dev.quarkus.log.category."org.lfenergy.compas.scl.validator".level = DEBUG
2424

25+
# Test Profile overrides.
26+
%test.compas.validator.ocl.custom.directory = ./src/test/data/ocl
27+
%test.compas.validator.temp.directory = ./target/data/temp
28+
29+
%test.quarkus.log.category."org.lfenergy.compas.scl.validator.collector.CompasOclFileCollector".level = WARN
30+
2531
# Smallrye JWT Properties (Microprofile)
2632
smallrye.jwt.verify.key.location = ${JWT_VERIFY_KEY:http://localhost:8089/auth/realms/compas/protocol/openid-connect/certs}
2733
mp.jwt.verify.issuer = ${JWT_VERIFY_ISSUER:http://localhost:8089/auth/realms/compas}

riseclipse/validator-riseclipse/src/test/java/org/lfenergy/compas/scl/validator/impl/SclModelLoaderTest.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
import org.junit.jupiter.api.BeforeEach;
77
import org.junit.jupiter.api.Test;
88
import org.lfenergy.compas.scl.validator.exception.SclValidatorException;
9+
import org.lfenergy.compas.scl.validator.util.OclUtil;
910

1011
import java.io.IOException;
1112

@@ -18,6 +19,9 @@ class SclModelLoaderTest {
1819

1920
@BeforeEach
2021
void setup() {
22+
// Initialize the OCL Libraries
23+
OclUtil.setupOcl();
24+
2125
loader = new SclModelLoader();
2226
}
2327

0 commit comments

Comments
 (0)