Skip to content

Commit

Permalink
Many FE things
Browse files Browse the repository at this point in the history
  • Loading branch information
MichiBaum committed Jul 18, 2024
1 parent 603cd3f commit 0f83882
Show file tree
Hide file tree
Showing 63 changed files with 944 additions and 47 deletions.
2 changes: 1 addition & 1 deletion admin-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.michibaum</groupId>
<artifactId>microservice</artifactId>
<version>1.0.0-TEST-8</version>
<version>1.0.0-TEST-9</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion authentication-library/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<artifactId>microservice</artifactId>
<groupId>com.michibaum</groupId>
<version>1.0.0-TEST-8</version>
<version>1.0.0-TEST-9</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
6 changes: 3 additions & 3 deletions authentication-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<artifactId>microservice</artifactId>
<groupId>com.michibaum</groupId>
<version>1.0.0-TEST-8</version>
<version>1.0.0-TEST-9</version>
</parent>

<artifactId>authentication-service</artifactId>
Expand Down Expand Up @@ -73,12 +73,12 @@
<dependency>
<groupId>com.michibaum</groupId>
<artifactId>authentication-library</artifactId>
<version>1.0.0-TEST-8</version>
<version>1.0.0-TEST-9</version>
</dependency>
<dependency>
<groupId>com.michibaum</groupId>
<artifactId>usermanagement-library</artifactId>
<version>1.0.0-TEST-8</version>
<version>1.0.0-TEST-9</version>
</dependency>

</dependencies>
Expand Down
8 changes: 4 additions & 4 deletions gateway-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<artifactId>microservice</artifactId>
<groupId>com.michibaum</groupId>
<version>1.0.0-TEST-8</version>
<version>1.0.0-TEST-9</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down Expand Up @@ -55,18 +55,18 @@
<dependency>
<groupId>com.michibaum</groupId>
<artifactId>permission-library</artifactId>
<version>1.0.0-TEST-8</version>
<version>1.0.0-TEST-9</version>
</dependency>

<dependency>
<groupId>com.michibaum</groupId>
<artifactId>authentication-library</artifactId>
<version>1.0.0-TEST-8</version>
<version>1.0.0-TEST-9</version>
</dependency>
<dependency>
<groupId>com.michibaum</groupId>
<artifactId>authentication-library</artifactId>
<version>1.0.0-TEST-8</version>
<version>1.0.0-TEST-9</version>
</dependency>

</dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ class AuthenticationValidator: JWSValidator() {

var publicKey: RSAPublicKey? = null

fun valid(token: String): Boolean {
return this.validate(token, publicKey)
}
fun valid(token: String): Boolean =
this.validate(token, publicKey)


}
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class AuthorizationPreFilter() : GatewayFilter {

override fun filter(exchange: ServerWebExchange?, chain: GatewayFilterChain?): Mono<Void> {
exchange?.let {
permissions.get(0).toPermissionString()
permissions[0].toPermissionString()
}
chain?.let {

Expand Down
2 changes: 1 addition & 1 deletion javadoc-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>microservice</artifactId>
<groupId>com.michibaum</groupId>
<version>1.0.0-TEST-8</version>
<version>1.0.0-TEST-9</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion permission-library/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>microservice</artifactId>
<groupId>com.michibaum</groupId>
<version>1.0.0-TEST-8</version>
<version>1.0.0-TEST-9</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.michibaum</groupId>
<artifactId>microservice</artifactId>
<version>1.0.0-TEST-8</version>
<version>1.0.0-TEST-9</version>
<packaging>pom</packaging>
<name>microservice</name>

Expand Down
2 changes: 1 addition & 1 deletion registry-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<artifactId>microservice</artifactId>
<groupId>com.michibaum</groupId>
<version>1.0.0-TEST-8</version>
<version>1.0.0-TEST-9</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion usermanagement-library/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<artifactId>microservice</artifactId>
<groupId>com.michibaum</groupId>
<version>1.0.0-TEST-8</version>
<version>1.0.0-TEST-9</version>
</parent>

<artifactId>usermanagement-library</artifactId>
Expand Down
6 changes: 3 additions & 3 deletions usermanagement-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<artifactId>microservice</artifactId>
<groupId>com.michibaum</groupId>
<version>1.0.0-TEST-8</version>
<version>1.0.0-TEST-9</version>
</parent>

<artifactId>usermanagement-service</artifactId>
Expand Down Expand Up @@ -63,13 +63,13 @@
<dependency>
<groupId>com.michibaum</groupId>
<artifactId>usermanagement-library</artifactId>
<version>1.0.0-TEST-8</version>
<version>1.0.0-TEST-9</version>
</dependency>

<dependency>
<groupId>com.michibaum</groupId>
<artifactId>authentication-library</artifactId>
<version>1.0.0-TEST-8</version>
<version>1.0.0-TEST-9</version>
</dependency>

</dependencies>
Expand Down
2 changes: 1 addition & 1 deletion website-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<artifactId>microservice</artifactId>
<groupId>com.michibaum</groupId>
<version>1.0.0-TEST-8</version>
<version>1.0.0-TEST-9</version>
</parent>

<artifactId>website-service</artifactId>
Expand Down
24 changes: 20 additions & 4 deletions website/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "projects",
"schematics": {
"@schematics/angular:component": {
"style": "scss"
}
},
"projects": {
"website": {
"projectType": "application",
Expand All @@ -25,9 +30,20 @@
"src/assets"
],
"styles": [
"src/styles.css",
"node_modules/primeng/resources/themes/lara-light-blue/theme.css",
"node_modules/primeng/resources/primeng.min.css"
"src/styles.scss",
{
"input": "src/theme-dark.css",
"bundleName": "theme-dark",
"inject": false
},
{
"input": "src/theme-light.css",
"bundleName": "theme-light",
"inject": false
},
"node_modules/primeng/resources/primeng.min.css",
"node_modules/primeflex/primeflex.css",
"node_modules/primeicons/primeicons.css"
],
"scripts": []
},
Expand Down Expand Up @@ -86,7 +102,7 @@
"src/assets"
],
"styles": [
"src/styles.css"
"src/styles.scss"
],
"scripts": []
}
Expand Down
Loading

0 comments on commit 0f83882

Please sign in to comment.