Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
I
Inovasi Daerah Master
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ghitha Dinan
Inovasi Daerah Master
Commits
9d759738
Commit
9d759738
authored
Nov 01, 2021
by
Ghitha Dinan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add nip
parent
ec2b7291
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
11 deletions
+11
-11
FileConstant.kt
...angkuriang/inovasi/daerah/master/constant/FileConstant.kt
+1
-1
SecurityConstant.kt
...uriang/inovasi/daerah/master/constant/SecurityConstant.kt
+2
-2
application.properties
src/main/resources/application.properties
+6
-6
logback.xml
src/main/resources/logback.xml
+2
-2
No files found.
src/main/kotlin/id/co/sangkuriang/inovasi/daerah/master/constant/FileConstant.kt
View file @
9d759738
...
@@ -3,7 +3,7 @@ package id.co.sangkuriang.inovasi.daerah.master.constant
...
@@ -3,7 +3,7 @@ package id.co.sangkuriang.inovasi.daerah.master.constant
import
java.io.File
import
java.io.File
//const val ROOT_DIR = "D:\\app-files\\"
//const val ROOT_DIR = "D:\\app-files\\"
const
val
ROOT_DIR
=
"
/home/inovasi-daerah/data/files/inovasi_daerah_master/
"
const
val
ROOT_DIR
=
"
D:\\app-files\\inovasi_daerah_master\\files\\
"
val
UPLOAD_DIR
=
"${ROOT_DIR}uploads${File.separator}"
val
UPLOAD_DIR
=
"${ROOT_DIR}uploads${File.separator}"
val
UPLOAD_ICON_APPLICATION_CATEGORY_DIR
=
"${UPLOAD_DIR}apllication_category/icon"
val
UPLOAD_ICON_APPLICATION_CATEGORY_DIR
=
"${UPLOAD_DIR}apllication_category/icon"
...
...
src/main/kotlin/id/co/sangkuriang/inovasi/daerah/master/constant/SecurityConstant.kt
View file @
9d759738
...
@@ -2,9 +2,9 @@ package id.co.sangkuriang.inovasi.daerah.master.constant
...
@@ -2,9 +2,9 @@ package id.co.sangkuriang.inovasi.daerah.master.constant
const
val
TOKEN_PREFIX
=
"Bearer "
const
val
TOKEN_PREFIX
=
"Bearer "
const
val
HEADER_STRING
=
"Authorization"
const
val
HEADER_STRING
=
"Authorization"
//
const val AUTH_URL = "http://localhost:8081/auth"
const
val
AUTH_URL
=
"http://localhost:8081/auth"
//const val AUTH_URL = "https://auth.inovasi-daerah.dev.layanan.go.id/auth"
//const val AUTH_URL = "https://auth.inovasi-daerah.dev.layanan.go.id/auth"
const
val
AUTH_URL
=
"http://inovasi-daerah-auth.inovasi-daerah.svc.cluster.local:8081/auth"
//
const val AUTH_URL = "http://inovasi-daerah-auth.inovasi-daerah.svc.cluster.local:8081/auth"
val
USER_ALLOWED_PATH
=
emptyList
<
String
>()
val
USER_ALLOWED_PATH
=
emptyList
<
String
>()
...
...
src/main/resources/application.properties
View file @
9d759738
...
@@ -4,13 +4,13 @@ spring.profiles.active=development
...
@@ -4,13 +4,13 @@ spring.profiles.active=development
server.port
=
8080
server.port
=
8080
# DATABASE CONFIG
# DATABASE CONFIG
#spring.datasource.url=jdbc:postgresql://localhost:5432/inovasi_daerah_db
spring.datasource.url
=
jdbc:postgresql://localhost:5432/inovasi_daerah_backup
#
spring.datasource.username=postgres
spring.datasource.username
=
postgres
#
spring.datasource.password=root
spring.datasource.password
=
root
spring.datasource.url
=
jdbc:postgresql://pg-dev.spbe.sangkuriang.co.id:5432/inovasi_daerah_db
#
spring.datasource.url=jdbc:postgresql://pg-dev.spbe.sangkuriang.co.id:5432/inovasi_daerah_db
spring.datasource.username
=
u_inovasi_daerah
#
spring.datasource.username=u_inovasi_daerah
spring.datasource.password
=
wV9Tnx6S8TmmUYXdgkmN4pzreSD3RE
#
spring.datasource.password=wV9Tnx6S8TmmUYXdgkmN4pzreSD3RE
spring.jpa.hibernate.ddl-auto
=
none
spring.jpa.hibernate.ddl-auto
=
none
...
...
src/main/resources/logback.xml
View file @
9d759738
...
@@ -2,8 +2,8 @@
...
@@ -2,8 +2,8 @@
<!-- configuration file for LogBack (slf4J implementation)
<!-- configuration file for LogBack (slf4J implementation)
See here for more details: http://gordondickens.com/wordpress/2013/03/27/sawing-through-the-java-loggers/ -->
See here for more details: http://gordondickens.com/wordpress/2013/03/27/sawing-through-the-java-loggers/ -->
<configuration
scan=
"true"
scanPeriod=
"30 seconds"
>
<configuration
scan=
"true"
scanPeriod=
"30 seconds"
>
<!-- <property name="DEV_HOME" value="D:\\app-files\\inovasi-daerah\\logs"/>--
>
<property
name=
"DEV_HOME"
value=
"D:\app-files\inovasi_daerah_master\log"
/
>
<property
name=
"DEV_HOME"
value=
"/home/inovasi-daerah/data/log/inovasi_daerah_master"
/
>
<!-- <property name="DEV_HOME" value="/home/inovasi-daerah/data/log/inovasi_daerah_master"/>--
>
<appender
name=
"STDOUT"
class=
"ch.qos.logback.core.ConsoleAppender"
>
<appender
name=
"STDOUT"
class=
"ch.qos.logback.core.ConsoleAppender"
>
<encoder>
<encoder>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment