File size: 1,559 Bytes
fc2a103
 
 
 
bbc2492
 
fc2a103
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
spring:
  main:
    allow-bean-definition-overriding: true
  profiles:
    active: test
    include: backoffice
  application:
    name: artandscience-security
  datasource:
    hikari:
      data-source-properties:
        prepareThreshold: 0
        autosave: conservative

    url: 'jdbc:h2:mem:testdb'
    username: 'username'
    password: 'pass'
    driver-class-name: org.h2.Driver
  jpa:
    hibernate:
      ddl-auto: none           # create-drop'i kapat
    properties:
      hibernate:
        hbm2ddl:
          auto: none           # ekstra garanti
  cloud:
    openfeign:
      client:
        config:
          default:
            connectTimeout: 3000
            readTimeout: 3000

server:
  port: 9090
  servlet:
    context-path: /security-service


cookie:
  name: ART_SCIENCE_SESSION_ID

firebase:
  web-api:
    name: firebase-web-api
    api-key: 'test123'
    base-url: 'http://www.google.com'
    sign-up: 'signUp'
    sign-in: 'signIn'
    get-token: 'token'

provider:
  waf:
    username: 'username'
    password: 'pass'
  diamond:
    username: 'username'
    password: 'pass'

security:
  jwt:
    secret-base64: NTFlZjJlMzIwNTRhYWQxOTI4ZWMzYzAzYWE4ZWM1ZjQ=
  messagebox-cache-expire-time: 3444


firebase-service-account:
  type: 'type'
  projectId: 'project-id'
  privateKeyId: 'private-key-id'
  privateKey: 'private-key'
  clientEmail: 'account-mail'
  clientId: 'client-id'
  authUri: 'auth-uri'
  tokenUri: 'token-uri'
  authProviderCert: 'auth-provider-cert'
  clientCertUrl: 'cert-url'
  universeDomain: 'universe-domain'