Skip to content

Commit 93de524

Browse files
xederroRafalUlikowskiPiachseckiManamo101
authored
Release of our work (#17)
* Stylistic improvements * Imported OpenAPI-Diff * Further stylistic improvements * Added OpenApiDiff static method * Update file-comparison-tool.tsx * Update file-parser.ts * The file parser resolves $ref * Remove unnecessary code and home page * Cleanup * crazy stuff * new diff comparator with problems * adjusted controller * comparator seems to work * Tried to improve comparison * Working arrays * Add switch to hide unchanged nodes * Add metrics tab to frontend * Added custom json renderer to return values * Add schema diff improvements * Added frontend tab for changes * Added schema differences to the backend * Added button before rendering diff on large files * add properties schema reference and schema name for schemas in endpoint response * implements core usage from outer jar file * Mock for usage of spectral * Implementation of Spectral * Spectral Ruleset from URL * Cleanup and modal for ai summary * Removed not working custom option * Google Gemini API usage preparation * Względnie poprawne działanie integracji z Google Gemini * Usunięcie zbędnych importów * Typo * Increased timeouts to 5 minutes * AI to Frontend * AI Frontend improvements * Fix for workflows * Fix for workflows - skip testing without env --------- Co-authored-by: Rafał <rafalulikowski@gmail.com> Co-authored-by: Kacper Piasecki <104682434+Piachsecki@users.noreply.github.com> Co-authored-by: Arkadiusz Błasiak <arkbl13@gmail.com>
1 parent f677ae4 commit 93de524

29 files changed

+8469
-2906
lines changed

.github/workflows/merge.yml

Lines changed: 39 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,48 @@ jobs:
1919
cache: 'maven'
2020
distribution: 'corretto'
2121

22+
- name: Create settings.xml
23+
run: |
24+
SETTINGS_XML_PATH="${GITHUB_WORKSPACE}/settings.xml"
25+
cat << EOF > ${SETTINGS_XML_PATH}
26+
<settings>
27+
<activeProfiles>
28+
<activeProfile>github</activeProfile>
29+
</activeProfiles>
30+
<profiles>
31+
<profile>
32+
<id>github</id>
33+
<repositories>
34+
<repository>
35+
<id>github</id>
36+
<url>https://maven.pkg.github.com/apiprotector/API-Protector</url>
37+
<snapshots>
38+
<enabled>true</enabled>
39+
</snapshots>
40+
</repository>
41+
</repositories>
42+
</profile>
43+
</profiles>
44+
<servers>
45+
<server>
46+
<id>github</id>
47+
<username>${{ secrets.GH_PACKAGES_USER }}</username>
48+
<password>${{ secrets.GH_PACKAGES_PAT }}</password>
49+
</server>
50+
</servers>
51+
</settings>
52+
EOF
53+
env:
54+
GH_PACKAGES_USER: ${{ secrets.GH_PACKAGES_USER }}
55+
GH_PACKAGES_PAT: ${{ secrets.GH_PACKAGES_PAT }}
56+
2257
- name: Add executable permissions
2358
run: chmod a+x mvnw
24-
25-
- name: Maven install dependencies
26-
run: ./mvnw clean install package
2759

28-
- name: Upload JAR artifact
29-
uses: actions/upload-artifact@v4
30-
with:
31-
name: app-protector
32-
path: ./target/*.jar
60+
- name: Maven install dependencies
61+
run: |
62+
SETTINGS_XML_PATH="${GITHUB_WORKSPACE}/settings.xml"
63+
./mvnw clean install package -Dmaven.test.skip=true --settings ${SETTINGS_XML_PATH}
3364
3465
- name: Login to Docker Hub
3566
uses: docker/login-action@v3

.github/workflows/pull-request.yml

Lines changed: 40 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,51 @@ jobs:
1919
cache: 'maven'
2020
distribution: 'corretto'
2121

22+
- name: Create settings.xml
23+
run: |
24+
SETTINGS_XML_PATH="${GITHUB_WORKSPACE}/settings.xml"
25+
cat << EOF > ${SETTINGS_XML_PATH}
26+
<settings>
27+
<activeProfiles>
28+
<activeProfile>github</activeProfile>
29+
</activeProfiles>
30+
<profiles>
31+
<profile>
32+
<id>github</id>
33+
<repositories>
34+
<repository>
35+
<id>github</id>
36+
<url>https://maven.pkg.github.com/apiprotector/API-Protector</url>
37+
<snapshots>
38+
<enabled>true</enabled>
39+
</snapshots>
40+
</repository>
41+
</repositories>
42+
</profile>
43+
</profiles>
44+
<servers>
45+
<server>
46+
<id>github</id>
47+
<username>${{ secrets.GH_PACKAGES_USER }}</username>
48+
<password>${{ secrets.GH_PACKAGES_PAT }}</password>
49+
</server>
50+
</servers>
51+
</settings>
52+
EOF
53+
env:
54+
GH_PACKAGES_USER: ${{ secrets.GH_PACKAGES_USER }}
55+
GH_PACKAGES_PAT: ${{ secrets.GH_PACKAGES_PAT }}
56+
2257
- name: Add executable permissions
2358
run: chmod a+x mvnw
24-
59+
2560
- name: Maven install dependencies
26-
run: ./mvnw clean install package
61+
run: |
62+
SETTINGS_XML_PATH="${GITHUB_WORKSPACE}/settings.xml"
63+
./mvnw clean install package -Dmaven.test.skip=true --settings ${SETTINGS_XML_PATH}
2764
2865
- name: Upload JAR artifact
2966
uses: actions/upload-artifact@v4
3067
with:
3168
name: app-protector
32-
path: ./target/*.jar
69+
path: ./target/*.jar

0 commit comments

Comments
 (0)