Skip to content

Commit 9f66d38

Browse files
committed
Merge remote-tracking branch 'upstream/ustutt' into WIP/license-frontend-enhancement
2 parents fc8b8af + a9986e4 commit 9f66d38

File tree

293 files changed

+8373
-17831
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

293 files changed

+8373
-17831
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
1-
<!-- describe the changes you have made here: what, why, ... -->
1+
Use the following template for the PR title and delete this line: [WIP] Title of the thesis/work/target
22

3-
- [ ] Ensure that you followed our [toolchain guide](https://github.com/eclipse/winery/blob/main/docs/dev/github-workflow.md#github---prepare-final-pull-request). Especially, we require **a single commit**
3+
<!-- Replace this placeholder by a short description of the aim -->
4+
5+
- Start and end date: <!-- 2017-01-01 to 2017-08-01 -->
6+
- Contributor: <!-- full name plus GitHub name -- e.g., Lukas Harzenetter, @lharzenetter -->
7+
- Supervisor: <!-- full name plus GitHub name -- e.g., Karoline Saatkamp, @saatkamp -->
8+
9+
<!--
10+
Replace this placeholder by a short description of the current state. What is done? What are the next steps?
11+
Please update this description regularly.
12+
-->
13+
14+
- [ ] Ensure that you followed our [toolchain guide](https://github.com/eclipse/winery/blob/master/docs/dev/github-workflow.md#github---prepare-final-pull-request).
15+
- [ ] Branch name checked. That means, the branch name starts with `thesis/`, `fix/`, ...
416
- [ ] Ensure that the commit message is [a good commit message](https://github.com/joelparkerhenderson/git_commit_message)
517
- [ ] Ensure to use auto format in **all** files
618
- [ ] Ensure that you appear in `NOTICE` at Copyright Holders

.github/workflows/build.yml

Lines changed: 23 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -20,26 +20,26 @@ jobs:
2020
- id: skip_check
2121
uses: fkirc/skip-duplicate-actions@master
2222

23-
java11:
23+
java17:
2424
needs: pre_job
2525
if: |
2626
needs.pre_job.outputs.should_skip != 'true'
2727
|| needs.pre_job.outputs.docker_run_required == 'true'
2828
runs-on: ubuntu-latest
2929
steps:
30-
- uses: actions/checkout@v2
31-
- name: Check if AbstractResourceTest does not cotain log().all().
30+
- uses: actions/checkout@v3
31+
- name: Check if AbstractResourceTest does not contain log().all().
3232
run: |
3333
if grep -i -q '\.all()' org.eclipse.winery.repository.rest/src/test/java/org/eclipse/winery/repository/rest/resources/AbstractResourceTest.java;
3434
then
35-
echo "Log output should be shortend. Use .ifValidationFails()!";
35+
echo "Log output should be shortened. Use .ifValidationFails()!";
3636
exit 1;
3737
fi
38-
- name: Set up JDK 11
39-
uses: actions/setup-java@v2
38+
- name: Set up JDK
39+
uses: actions/setup-java@v3
4040
with:
4141
distribution: 'temurin'
42-
java-version: 11
42+
java-version: 17
4343
cache: 'maven'
4444
- name: Build with Maven
4545
run: mvn -Pjava -B package
@@ -65,12 +65,19 @@ jobs:
6565
|| needs.pre_job.outputs.docker_run_required == 'true'
6666
runs-on: ubuntu-latest
6767
steps:
68-
- uses: actions/checkout@v2
69-
- name: Set up JDK 11
70-
uses: actions/setup-java@v2
68+
- uses: actions/checkout@v3
69+
- uses: actions/cache@v3
70+
with:
71+
path: |
72+
~/.npm
73+
key: npm-${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}
74+
restore-keys: |
75+
npm-${{ runner.os }}
76+
- name: Set up JDK 17
77+
uses: actions/setup-java@v3
7178
with:
7279
distribution: 'temurin'
73-
java-version: 11
80+
java-version: 17
7481
cache: 'maven'
7582
- name: Build with Maven
7683
run: mvn -Pfrontend -B package
@@ -82,11 +89,11 @@ jobs:
8289
path: ${{ github.workspace }}/org.eclipse.winery.frontends/target/*.war
8390

8491
dockerBuild:
85-
needs: [ java11, frontend ]
92+
needs: [ java17, frontend ]
8693
runs-on: ubuntu-latest
8794
if: ${{ needs.pre_job.outputs.docker_run_required == 'true' }}
8895
steps:
89-
- uses: actions/checkout@v2
96+
- uses: actions/checkout@v3
9097
- uses: actions/download-artifact@v3
9198
with:
9299
name: artifacts
@@ -97,7 +104,7 @@ jobs:
97104
mv org.eclipse.winery.repository.rest/target/winery.war winery.war
98105
ls -al
99106
- name: Set up QEMU
100-
uses: docker/setup-qemu-action@v1
107+
uses: docker/setup-qemu-action@v2
101108
with:
102109
platforms: amd64,arm64,arm
103110
- name: Set variables
@@ -116,9 +123,9 @@ jobs:
116123
# Set output parameters.
117124
echo ::set-output name=tags::${TAGS}
118125
- name: Set up Docker Buildx
119-
uses: docker/setup-buildx-action@v1
126+
uses: docker/setup-buildx-action@v2
120127
- name: Login to DockerHub
121-
uses: docker/login-action@v1
128+
uses: docker/login-action@v2
122129
with:
123130
username: ${{ secrets.DOCKER_USERNAME }}
124131
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}

.idea/codeStyles/Project.xml

Lines changed: 8 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/runConfigurations/Topologymodeler.xml

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/runConfigurations/Winery.xml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/runConfigurations/Workflowmodeler.xml

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
FROM maven:3-openjdk-11 as builder
2-
RUN apt-get update -qq && apt-get install -qqy python build-essential
1+
FROM maven:3-openjdk-17 as builder
2+
#RUN apt-get update -qq && apt-get install -qqy python build-essential
33
COPY . /tmp/winery
44
WORKDIR /tmp/winery
55
RUN mvn package -DskipTests=true -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -B
66

7-
FROM tomcat:9-jdk11-openjdk-buster
7+
FROM tomcat:9-jdk17-openjdk-buster
88
LABEL maintainer = "Oliver Kopp <kopp.dev@gmail.com>, Michael Wurster <miwurster@gmail.com>, Lukas Harzenetter <lharzenetter@gmx.de>"
99

1010
ENV WINERY_USER_ID 1724

Dockerfile.cli

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
FROM openjdk:11-jre
2-
LABEL maintainer "Oliver Kopp <kopp.dev@gmail.com>, Lukas Harzenetter <lharzenetter@gmx.de>"
3-
1+
FROM openjdk:17-bullseye
2+
LABEL maintainer = "Oliver Kopp <kopp.dev@gmail.com>, Lukas Harzenetter <lharzenetter@gmx.de>"
43
RUN curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash
54
RUN apt-get update && apt-get install -y git git-lfs
65

Dockerfile.noBuild

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM tomcat:9-jdk11-openjdk-buster
1+
FROM tomcat:9-jdk17-openjdk-buster
22
LABEL maintainer = "Oliver Kopp <kopp.dev@gmail.com>, Michael Wurster <miwurster@gmail.com>, Lukas Harzenetter <lharzenetter@gmx.de>"
33

44
ENV WINERY_USER_ID 1724

LICENSE.spdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
SPDXVersion: SPDX-2.1
2-
PackageName: Eclipse Winery
3-
PackageOriginator: Eclipse Foundation
4-
PackageHomePage: https://github.com/ecipse/winery
2+
PackageName: OpenTOSCA Winery
3+
PackageOriginator: University of Stuttgart
4+
PackageHomePage: https://github.com/OpenTOSCA/winery
55
PackageLicenseDeclared: Apache-2.0 OR EPL-2.0

0 commit comments

Comments
 (0)