-
-
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 #40 from MichiBaum/develop
Update from Develop
- Loading branch information
Showing
290 changed files
with
176,506 additions
and
3,113 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,21 @@ | ||
SPRING_ACTIVE_PROFILES=prod | ||
|
||
DISCORD_BOT_TOKEN=PleaseChangeMe | ||
DISCORD_GUILD_ID=PleaseChangeMe | ||
DISCORD_REGISTRY_SERVICE_LOG_CHANNEL=PleaseChangeMe | ||
DISCORD_USERMANAGEMENT_SERVICE_LOG_CHANNEL=PleaseChangeMe | ||
DISCORD_WEBSITE_SERVICE_LOG_CHANNEL=PleaseChangeMe | ||
DISCORD_JAVADOC_SERVICE_LOG_CHANNEL=PleaseChangeMe | ||
DISCORD_CHESS_SERVICE_LOG_CHANNEL=PleaseChangeMe | ||
DISCORD_GATEWAY_SERVICE_LOG_CHANNEL=PleaseChangeMe | ||
DISCORD_AUTHENTICATION_SERVICE_LOG_CHANNEL=PleaseChangeMe | ||
DISCORD_ADMIN_SERVICE_LOG_CHANNEL=PleaseChangeMe | ||
|
||
USERMANAGEMENT_DB_PASSWORD=PleaseChangeMe | ||
USERMANAGEMENT_DB=usermanagement | ||
|
||
AUTHENTICATION_DB_PASSWORD=PleaseChangeMe | ||
AUTHENTICATION_DB=authentication | ||
|
||
CHESS_DB_PASSWORD=PleaseChangeMe | ||
CHESS_DB=chess |
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
buy_me_a_coffee: michibaum | ||
github: MichiBaum |
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<component name="ProjectRunConfigurationManager"> | ||
<configuration default="false" name="All Project Tests" type="JUnit" factoryName="JUnit"> | ||
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="true" /> | ||
<option name="ALTERNATIVE_JRE_PATH" value="openjdk-21" /> | ||
<option name="PACKAGE_NAME" value="com.michibaum" /> | ||
<option name="MAIN_CLASS_NAME" value="" /> | ||
<option name="METHOD_NAME" value="" /> | ||
<option name="TEST_OBJECT" value="package" /> | ||
<option name="TEST_SEARCH_SCOPE"> | ||
<value defaultName="wholeProject" /> | ||
</option> | ||
<method v="2"> | ||
<option name="Make" enabled="true" /> | ||
</method> | ||
</configuration> | ||
</component> |
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<component name="ProjectRunConfigurationManager"> | ||
<configuration default="false" name="All UT" type="JUnit" factoryName="JUnit"> | ||
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="true" /> | ||
<option name="ALTERNATIVE_JRE_PATH" value="openjdk-21" /> | ||
<option name="PACKAGE_NAME" value="com.michibaum" /> | ||
<option name="MAIN_CLASS_NAME" value="" /> | ||
<option name="METHOD_NAME" value="" /> | ||
<option name="TEST_OBJECT" value="pattern" /> | ||
<option name="TEST_SEARCH_SCOPE"> | ||
<value defaultName="wholeProject" /> | ||
</option> | ||
<patterns> | ||
<pattern testClass="^(.*UT$).*$" /> | ||
</patterns> | ||
<method v="2"> | ||
<option name="Make" enabled="true" /> | ||
</method> | ||
</configuration> | ||
</component> |
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
20 changes: 20 additions & 0 deletions
20
admin-service/src/test/kotlin/com/michibaum/admin_service/AdminServiceApplicationIT.kt
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package com.michibaum.admin_service | ||
|
||
import org.junit.jupiter.api.Assertions.* | ||
import org.junit.jupiter.api.Test | ||
import org.springframework.beans.factory.annotation.Autowired | ||
import org.springframework.boot.test.context.SpringBootTest | ||
import org.springframework.context.ApplicationContext | ||
|
||
|
||
@SpringBootTest | ||
class AdminServiceApplicationIT { | ||
|
||
@Autowired | ||
lateinit var applicationContext: ApplicationContext | ||
|
||
@Test | ||
fun contextLoads() { | ||
assertNotNull(applicationContext) | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
# Authentication library |
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
6 changes: 3 additions & 3 deletions
6
...n-library/src/main/kotlin/com/michibaum/authentication_library/AuthenticationEndpoints.kt
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,8 +1,8 @@ | ||
package com.michibaum.authentication_library | ||
|
||
import org.springframework.web.bind.annotation.PostMapping | ||
import org.springframework.web.bind.annotation.GetMapping | ||
|
||
interface AuthenticationEndpoints { | ||
@get:PostMapping(value = ["/checkPasword"]) | ||
val publicKey: PublicKeyDto? | ||
@GetMapping(value = ["/getAuthDetails"]) | ||
fun publicKey(): PublicKeyDto | ||
} |
Oops, something went wrong.