Updated dependencies. OAuth server from http://localhost to https://okupamicoche-keycloak
This commit is contained in:
@@ -8,6 +8,7 @@ import javax.persistence.*
|
||||
typealias TravelId = Long
|
||||
|
||||
@Entity
|
||||
@Table
|
||||
class Travel(
|
||||
@Id @GeneratedValue var id: TravelId? = null,
|
||||
@ManyToOne
|
||||
|
||||
@@ -2,14 +2,12 @@ package eu.fosil.okupamicoche.entities
|
||||
|
||||
import org.hibernate.annotations.LazyCollection
|
||||
import org.hibernate.annotations.LazyCollectionOption
|
||||
import javax.persistence.Entity
|
||||
import javax.persistence.Id
|
||||
import javax.persistence.ManyToMany
|
||||
import javax.persistence.OneToMany
|
||||
import javax.persistence.*
|
||||
|
||||
typealias UserId = String
|
||||
|
||||
@Entity
|
||||
@Table
|
||||
class User(
|
||||
@Id var id: UserId,
|
||||
var username: String,
|
||||
|
||||
@@ -13,13 +13,16 @@ spring:
|
||||
oauth2:
|
||||
resourceserver:
|
||||
jwt:
|
||||
issuer-uri: http://localhost:8080/auth/realms/okupamicoche
|
||||
issuer-uri: https://okupamicoche-keycloak:8443/auth/realms/okupamicoche
|
||||
jackson:
|
||||
serialization:
|
||||
write-dates-as-timestamps: false
|
||||
|
||||
logging:
|
||||
level:
|
||||
org:
|
||||
springframework:
|
||||
security: DEBUG
|
||||
eu.fosil.okupamicoche: DEBUG
|
||||
|
||||
matrix:
|
||||
|
||||
Reference in New Issue
Block a user