-
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.
- Loading branch information
1 parent
ba07e48
commit 7ab906e
Showing
45 changed files
with
411 additions
and
357 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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
HEIMDALL_URL=http://localhost:8080 | ||
HEIMDALL_SUCCESS=http://localhost:8080/success | ||
HEIMDALL_FAILURE=http://localhost:8080/failure | ||
|
||
GOOGLE_AID= | ||
GOOGLE_SECRET= | ||
|
||
MSID_AID= | ||
MSID_SECRET= | ||
MSID_TENANT=common | ||
|
||
KEYSTORE_PRIVATE_KEY_PASSWORD=pk-password | ||
KEYSTORE_PASSWORD=keystore-password |
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,30 @@ | ||
name: Build | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Set up JDK 21 | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: 21 | ||
distribution: corretto | ||
|
||
- name: Validate Gradle wrapper | ||
uses: gradle/[email protected] | ||
|
||
- name: Build with Gradle | ||
uses: gradle/[email protected] | ||
with: | ||
arguments: build |
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,40 +1,20 @@ | ||
Thumbs.db | ||
.DS_Store | ||
.gradle | ||
build/ | ||
!gradle/wrapper/gradle-wrapper.jar | ||
!**/src/main/**/build/ | ||
!**/src/test/**/build/ | ||
|
||
### STS ### | ||
.apt_generated | ||
.classpath | ||
.factorypath | ||
.project | ||
.settings | ||
.springBeans | ||
.sts4-cache | ||
bin/ | ||
!**/src/main/**/bin/ | ||
!**/src/test/**/bin/ | ||
|
||
### IntelliJ IDEA ### | ||
target/ | ||
out/ | ||
.micronaut/ | ||
.idea | ||
*.iws | ||
*.iml | ||
*.ipr | ||
out/ | ||
!**/src/main/**/out/ | ||
!**/src/test/**/out/ | ||
|
||
### NetBeans ### | ||
/nbproject/private/ | ||
/nbbuild/ | ||
/dist/ | ||
/nbdist/ | ||
/.nb-gradle/ | ||
|
||
### VS Code ### | ||
.vscode/ | ||
*.iws | ||
.project | ||
.settings | ||
.classpath | ||
.factorypath | ||
|
||
### Project ### | ||
heimdall.jks | ||
heimdall-storage | ||
.env |
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,2 +1,2 @@ | ||
# Heimdall | ||
User Authentication service | ||
User Authentication service |
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,14 +1,19 @@ | ||
services: | ||
heimdall: | ||
build: . | ||
container_name: heimdall | ||
ports: | ||
- "8080:8080" | ||
environment: | ||
- HEIMDALL_SUCCESS=http://localhost:8081/heimdall-success | ||
- HEIMDALL_FAILURE=http://localhost:8080/loginerror | ||
- HEIMDALL_URL=http://localhost:8080 | ||
- KEYSTORE_PASS=heimdall | ||
- PRIVATE_KEY_PASS=heimdall | ||
volumes: | ||
- ./heimdall-storage:/var/lib/heimdall | ||
heimdall: | ||
build: . | ||
container_name: heimdall | ||
ports: | ||
- "8080:8080" | ||
environment: | ||
- HEIMDALL_URL=${HEIMDALL_URL} | ||
- HEIMDALL_SUCCESS=${HEIMDALL_SUCCESS} | ||
- HEIMDALL_FAILURE=${HEIMDALL_FAILURE} | ||
- HEIMDALL_GOOGLE_AID=${GOOGLE_AID} | ||
- HEIMDALL_GOOGLE_SECRET=${GOOGLE_SECRET} | ||
- HEIMDALL_MSID_AID=${MSID_AID} | ||
- HEIMDALL_MSID_SECRET=${MSID_SECRET} | ||
- HEIMDALL_MSID_TENANT=${MSID_TENANT} | ||
- KEYSTORE_PASSWORD=${KEYSTORE_PASSWORD} | ||
- KEYSTORE_PRIVATE_KEY_PASSWORD=${KEYSTORE_PRIVATE_KEY_PASSWORD} | ||
volumes: | ||
- ./heimdall-storage:/var/lib/heimdall |
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 +1,3 @@ | ||
kotlin.code.style=official | ||
micronautVersion=4.4.3 | ||
kotlinVersion=1.9.23 | ||
org.gradle.jvmargs=-Xmx4096M |
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
Binary file not shown.
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 +1 @@ | ||
rootProject.name = "heimdall" | ||
rootProject.name="heimdall" |
This file was deleted.
Oops, something went wrong.
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,7 @@ | ||
package com.qualitive.heimdall | ||
|
||
import io.micronaut.runtime.Micronaut.run | ||
|
||
fun main(args: Array<String>) { | ||
run(*args) | ||
} |
Oops, something went wrong.