139 lines
3.5 KiB
YAML
139 lines
3.5 KiB
YAML
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: {{ include "chart.fullname" . }}-configmap
|
|
labels:
|
|
name: {{ include "chart.fullname" . }}-configmap
|
|
data:
|
|
application.yml: |
|
|
spring:
|
|
application:
|
|
name: project-management
|
|
profiles:
|
|
active: local
|
|
|
|
service:
|
|
token:
|
|
enabled: true
|
|
|
|
# =============================
|
|
# MySQL Database Configuration
|
|
# =============================
|
|
datasource:
|
|
url: jdbc:mysql://e2e-84-26.ssdcloudindia.net:3306/project_management?useLocalSessionState=true&alwaysSendSetIsolation=false
|
|
username: ikon_platform
|
|
password: DOuCS7OX@un796b1QM
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
hikari:
|
|
connectionTimeout: 20000
|
|
maximumPoolSize: 20
|
|
|
|
jpa:
|
|
database-platform: org.hibernate.dialect.MySQL8Dialect
|
|
hibernate:
|
|
ddl-auto: update
|
|
show-sql: true
|
|
defer-datasource-initialization: false
|
|
properties:
|
|
hibernate:
|
|
format_sql: true
|
|
|
|
|
|
# =============================
|
|
# Security Configuration
|
|
# =============================
|
|
security:
|
|
oauth2:
|
|
resourceserver:
|
|
jwt:
|
|
issuer-uri: https://holocron.keross.com/api/platform
|
|
|
|
|
|
# =============================
|
|
# IKON Platform Configurations
|
|
# =============================
|
|
ikon:
|
|
connector:
|
|
internal-auth:
|
|
tokenUri: https://holocron.keross.com/api/platform/oauth2/token
|
|
clientId: ikon-client-management
|
|
clientSecret: F38Ysb4VEOSXUeISKcMyvpKqxtrIL8nf
|
|
crypto:
|
|
secretKey: MDEyMzQ1Njc4OWFiY2RlZjAxMjM0NTY3ODlhYmNkZWY=
|
|
user:
|
|
agent: "IKON App Server"
|
|
platform:
|
|
rest: https://holocron.keross.com/api
|
|
logger:
|
|
enabled: false
|
|
|
|
accessmanagement:
|
|
init:
|
|
file: ../../bpmn/project.json
|
|
|
|
|
|
app:
|
|
softwareId: "14ca0e46-bdb8-4436-a5bb-c6a664551478"
|
|
softwareVerion: 1
|
|
softwareName: "Project Management"
|
|
softwareRepositoryName: ${spring.application.name}
|
|
|
|
|
|
# =============================
|
|
# Sales-CRM API Configuration
|
|
# =============================
|
|
salescrm:
|
|
api:
|
|
base-url: https://holocron.keross.com/api/salescrm/api/v1
|
|
|
|
|
|
|
|
# =============================
|
|
# Logging Configuration
|
|
# =============================
|
|
logging:
|
|
level:
|
|
com.ikon: DEBUG
|
|
file:
|
|
name: "../logs/${spring.application.name}-app.log"
|
|
|
|
|
|
# =============================
|
|
# Server Configuration
|
|
# =============================
|
|
server:
|
|
address: 0.0.0.0
|
|
port: 8071
|
|
|
|
|
|
# =============================
|
|
# Eureka (Optional)
|
|
# =============================
|
|
eureka:
|
|
instance:
|
|
hostname: ${HOSTNAME}
|
|
ipAddress: ${PROJECT_MANAGEMENT_BACKEND_SERVICE_SERVICE_HOST}
|
|
preferIpAddress: true
|
|
instance-id: ${spring.cloud.client.ip-address}:${spring.application.name}:${server.port}
|
|
client:
|
|
registerWithEureka: true
|
|
fetchRegistry: true
|
|
serviceUrl:
|
|
defaultZone: http://ikon-discovery-service.ikon-platform.svc.cluster.local:8761/eureka
|
|
|
|
|
|
management:
|
|
endpoint:
|
|
health:
|
|
probes:
|
|
enabled: true
|
|
show-details: always
|
|
endpoints:
|
|
web:
|
|
exposure:
|
|
include: health
|
|
health:
|
|
livenessState:
|
|
enabled: true
|
|
readinessState:
|
|
enabled: true |