-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from MEITREX/java-version-issue
Java version issue
- Loading branch information
Showing
66 changed files
with
568 additions
and
421 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,27 @@ | ||
@echo off | ||
echo Generating API documentation... | ||
echo This requires the service to be running | ||
echo This requires npm to be installed! | ||
|
||
REM clear old docs | ||
del api.md | ||
REM Delete the combined file | ||
del combined.graphql | ||
|
||
set port=9001 | ||
set title=Quiz Service API | ||
|
||
REM install graphql-markdown if not installed | ||
if not exist node_modules\graphql-markdown ( | ||
start cmd /C npm install graphql-markdown | ||
echo Installing graphql-markdown, run this script again after installation | ||
npm install graphql-markdown | ||
) | ||
|
||
npx graphql-markdown "http://localhost:%port%/graphql" --title "%title%" > api.md | ||
REM Concatenate all graphql files into one | ||
for /r src\main\resources\graphql %%i in (*.graphqls) do type "%%i" >> combined.graphql | ||
|
||
REM Run npx in a separate cmd instance | ||
cmd /c npx graphql-markdown combined.graphql --title "%title%" > api.md | ||
|
||
echo API documentation generated. | ||
|
||
REM Delete the combined file | ||
del combined.graphql |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.1-bin.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip | ||
networkTimeout=10000 | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,15 @@ | ||
jacoco { | ||
toolVersion = "0.8.8" | ||
toolVersion = "0.8.11" | ||
} | ||
|
||
test { | ||
finalizedBy jacocoTestReport | ||
} | ||
|
||
|
||
jacocoTestReport { | ||
reports { | ||
xml.enabled true | ||
html.enabled true | ||
xml.required.set(true) | ||
html.required.set(true) | ||
html.outputLocation = layout.buildDirectory.dir('jacocoHtml') | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../quiz_service/QuizServiceApplication.java → .../quiz_service/QuizServiceApplication.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 6 additions & 4 deletions
10
...onfig/DevTopicPublisherConfiguration.java → ...onfig/DevTopicPublisherConfiguration.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...hQlScalarsAndValidationConfiguration.java → ...hQlScalarsAndValidationConfiguration.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...vice/config/ModelMapperConfiguration.java → ...vice/config/ModelMapperConfiguration.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 5 additions & 3 deletions
8
.../config/RequestHeaderUserInterceptor.java → .../config/RequestHeaderUserInterceptor.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...e/config/TopicPublisherConfiguration.java → ...e/config/TopicPublisherConfiguration.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 6 additions & 4 deletions
10
...ce/controller/SubscriptionController.java → ...ce/controller/SubscriptionController.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
..._service/exception/ExceptionResolver.java → ..._service/exception/ExceptionResolver.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.