Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Merge develop into main #332

Merged
merged 28 commits into from
Feb 17, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
f14043e
build(deps): Bump quarkus.platform.version from 3.7.1 to 3.7.4 (#290)
dependabot[bot] Mar 10, 2024
3e83122
build(deps): Bump fsfe/reuse-action from 2 to 3 (#294)
dependabot[bot] Mar 10, 2024
5c1ceca
build(deps): Bump quarkus.platform.version from 3.7.1 to 3.8.2 (#296)
dependabot[bot] Mar 10, 2024
84513fa
build(deps): Bump log4j2.version from 2.23.0 to 2.23.1
dependabot[bot] Mar 11, 2024
fe75356
Merge pull request #297 from com-pas/dependabot/maven/log4j2.version-…
juancho0202 Mar 14, 2024
dc4834a
build(deps): Bump org.apache.maven.plugins:maven-compiler-plugin (#298)
dependabot[bot] Apr 5, 2024
1c5d461
build(deps): Bump org.jacoco:jacoco-maven-plugin from 0.8.11 to 0.8.1…
dependabot[bot] Apr 5, 2024
20a7be7
build(deps): Bump ubi8/ubi-minimal in /app/src/main/docker (#303)
dependabot[bot] Apr 5, 2024
6bddacf
build(deps): Bump quarkus.platform.version from 3.8.2 to 3.9.2 (#304)
dependabot[bot] Apr 5, 2024
fbabde8
build(deps): Bump com.powsybl:powsybl-single-line-diagram-core
dependabot[bot] Apr 5, 2024
5370772
build(deps): Bump org.apache.maven.plugins:maven-source-plugin
dependabot[bot] Apr 5, 2024
395d257
chore: update to newer powsybl api
juancho0202 Apr 18, 2024
2f8ccde
chore: adding missing import
juancho0202 Apr 18, 2024
2f14087
Merge pull request #305 from com-pas/dependabot/maven/com.powsybl-pow…
juancho0202 Apr 18, 2024
99967f1
Merge branch 'develop' into dependabot/maven/org.apache.maven.plugins…
juancho0202 Apr 18, 2024
520619a
build(deps): Bump quarkus.platform.version from 3.9.2 to 3.9.3
dependabot[bot] Apr 18, 2024
fa20445
Merge pull request #306 from com-pas/dependabot/maven/org.apache.mave…
juancho0202 Apr 18, 2024
f7365cb
Merge branch 'develop' into dependabot/maven/quarkus.platform.version…
juancho0202 Apr 18, 2024
19a9dad
Merge pull request #307 from com-pas/dependabot/maven/quarkus.platfor…
juancho0202 Apr 18, 2024
3d1f8a6
build(deps): Bump org.apache.maven.plugins:maven-jar-plugin
dependabot[bot] Apr 18, 2024
f6c14fd
Merge pull request #308 from com-pas/dependabot/maven/org.apache.mave…
juancho0202 Apr 18, 2024
94d2f6e
chore: Remove automate projects workflow
clepski Jan 20, 2025
c89657d
Merge pull request #330 from com-pas/chore/remove-automate-projects-w…
clepski Jan 21, 2025
0acf753
ci: Add release please config
clepski Feb 17, 2025
5f469d8
chore: Bump ubi docker image to 8.10-1154
clepski Feb 17, 2025
7a944f9
fix: Remove set version
clepski Feb 17, 2025
ebd5dcc
ci: Adjust release please action
clepski Feb 17, 2025
6e74242
Merge pull request #331 from com-pas/ci/fix-release-please
clepski Feb 17, 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
28 changes: 0 additions & 28 deletions .github/workflows/automate-projects.yml

This file was deleted.

16 changes: 2 additions & 14 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:

permissions:
contents: write
packages: write
pull-requests: write

name: release-please
Expand All @@ -19,8 +20,7 @@ jobs:
- uses: google-github-actions/release-please-action@v4
id: release
with:
release-type: maven
package-name: compas-scl-auto-alignment
target-branch: main
- name: Checkout
if: ${{ steps.release.outputs.release_created }}
uses: actions/checkout@v4
Expand All @@ -39,13 +39,6 @@ jobs:
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2

- name: Extract tag name
if: ${{ steps.release.outputs.release_created }}
id: extract_tagname
shell: bash
# Extract the tag name from the git reference, value of GITHUB_REF will be something like refs/tags/<tag_name>.
run: echo "##[set-output name=tagname;]$(echo ${GITHUB_REF##*/})"

- name: Set up JDK 17
if: ${{ steps.release.outputs.release_created }}
uses: actions/setup-java@v4
Expand All @@ -69,11 +62,6 @@ jobs:
with:
output_file: custom_maven_settings.xml
servers: '[{ "id": "github-packages-compas", "username": "OWNER", "password": "${{ secrets.GITHUB_TOKEN }}" }]'
- name: Set version with Maven
if: ${{ steps.release.outputs.release_created }}
run: ./mvnw -B versions:set -DprocessAllModules=true -DnewVersion=${{ steps.extract_tagname.outputs.tagname }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Deploy with Maven to GitHub Packages and Docker Hub
if: ${{ steps.release.outputs.release_created }}
run: ./mvnw -B -s custom_maven_settings.xml -Pnative-image,release clean deploy
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reuse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: REUSE Compliance Check
uses: fsfe/reuse-action@v2
uses: fsfe/reuse-action@v3

3 changes: 3 additions & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "0.5.1"
}
3 changes: 3 additions & 0 deletions .release-please-manifest.json.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2024 Alliander N.V.

SPDX-License-Identifier: Apache-2.0
2 changes: 1 addition & 1 deletion app/src/main/docker/Dockerfile.jvm
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
# docker run -i --rm -p 8080:8080 -p 5005:5005 -e JAVA_ENABLE_DEBUG="true" quarkus/app-jvm
#
###
FROM registry.access.redhat.com/ubi8/ubi-minimal:8.9-1137
FROM registry.access.redhat.com/ubi8/ubi-minimal:8.10-1154

ARG JAVA_PACKAGE=java-17-openjdk-headless
ARG RUN_JAVA_VERSION=1.3.8
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/docker/Dockerfile.native
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# docker run -i --rm -p 8080:8080 quarkus/app
#
###
FROM registry.access.redhat.com/ubi8/ubi-minimal:8.9-1137
FROM registry.access.redhat.com/ubi8/ubi-minimal:8.10-1154
WORKDIR /work/
RUN chown 1001 /work \
&& chmod "g+rwX" /work \
Expand Down
14 changes: 7 additions & 7 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ SPDX-License-Identifier: Apache-2.0
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

<compiler-plugin.version>3.12.1</compiler-plugin.version>
<compiler-plugin.version>3.13.0</compiler-plugin.version>
<surefire-plugin.version>3.2.5</surefire-plugin.version>
<sonarqube-plugin.version>3.2.0</sonarqube-plugin.version>

<compas.core.version>0.16.0</compas.core.version>

<quarkus.platform.version>3.7.1</quarkus.platform.version>
<log4j2.version>2.23.0</log4j2.version>
<powsybl.sld.version>4.0.0</powsybl.sld.version>
<quarkus.platform.version>3.9.3</quarkus.platform.version>
<log4j2.version>2.23.1</log4j2.version>
<powsybl.sld.version>4.4.0</powsybl.sld.version>
<gson.version>2.10.1</gson.version>
<openpojo.version>0.9.1</openpojo.version>
</properties>
Expand Down Expand Up @@ -158,7 +158,7 @@ SPDX-License-Identifier: Apache-2.0
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.3.0</version>
<version>3.4.0</version>
</plugin>
</plugins>
</pluginManagement>
Expand All @@ -172,7 +172,7 @@ SPDX-License-Identifier: Apache-2.0
<sonar.language>java</sonar.language>

<!-- JaCoCo Properties -->
<jacoco.version>0.8.11</jacoco.version>
<jacoco.version>0.8.12</jacoco.version>
<sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
<sonar.coverage.jacoco.xmlReportPaths>
target/site/jacoco/jacoco.xml,
Expand Down Expand Up @@ -226,7 +226,7 @@ SPDX-License-Identifier: Apache-2.0
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.3.0</version>
<version>3.3.1</version>
<executions>
<execution>
<id>attach-sources</id>
Expand Down
12 changes: 12 additions & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
"bootstrap-sha": "2dda752cf0d0ed71492731d76ff83acd4f903e10",
"include-component-in-tag": false,
"packages": {
".": {
"release-type": "maven",
"package-name": "compas-scl-auto-alignment",
"initial-version": "0.5.1"
}
}
}
3 changes: 3 additions & 0 deletions release-please-config.json.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2024 Alliander N.V.

SPDX-License-Identifier: Apache-2.0
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import com.powsybl.sld.layout.HorizontalSubstationLayoutFactory;
import com.powsybl.sld.layout.LayoutParameters;
import com.powsybl.sld.layout.PositionVoltageLevelLayoutFactory;
import com.powsybl.sld.layout.PositionVoltageLevelLayoutFactoryParameters;
import com.powsybl.sld.library.ConvergenceComponentLibrary;
import com.powsybl.sld.model.graphs.SubstationGraph;
import com.powsybl.sld.svg.SvgParameters;
Expand Down Expand Up @@ -114,10 +115,12 @@ private LayoutParameters getLayoutParameters() {
}

private void configureLayout(SubstationGraph graph, LayoutParameters layoutParameters) {
PositionVoltageLevelLayoutFactoryParameters parameters = new PositionVoltageLevelLayoutFactoryParameters();
parameters.setFeederStacked(false)
.setHandleShunts(true);
new HorizontalSubstationLayoutFactory().create(graph,
new PositionVoltageLevelLayoutFactory()
.setFeederStacked(false)
.setHandleShunts(true))
.run(layoutParameters);
new PositionVoltageLevelLayoutFactory(parameters)
)
.run(layoutParameters);
}
}
Loading