Merge branch 'pre-dev' of github.com:dikstub-rssa/simrs-be into feat/logger-example

This commit is contained in:
dpurbosakti
2025-08-12 15:09:05 +07:00
4 changed files with 51 additions and 20 deletions
View File
+14 -11
View File
@@ -1,7 +1,7 @@
{
"request-ok": "request is done succesfully",
"request-methodNotAllowed": "request has been rejected, method is not allowed",
"request-toomany": "too many request",
"request-tooMany": "too many request",
"payload-bad": "invalid data structure",
"auth-required": "authentication required",
@@ -15,21 +15,21 @@
"auth-logout-success": "logout success",
"auth-reject-suspend": "restricted for suspended account",
"balance-exceed-notAllowed": "must not exceeds balance",
"balance-exceeded": "must not exceeds balance",
"emailConfirm-success": "email confirmation success",
"emailConfirm-fail": "failed to confirm email",
"emailConfirm-resend-fail": "failed to resend email confirmation",
"email-confirmation-success": "email confirmation success",
"email-confirmation-fail": "failed to confirm email",
"email-confirmation-resend-fail": "failed to resend email confirmation",
"data-create-done": "data has been created",
"data-create-success": "data has been created",
"data-create-fail": "failed to create data",
"data-notFound": "data or resource can not be found",
"data-notFound-condition": "\"%v\" with %v \"%v\" can not be found",
"data-get-fail": "get data failed, %v",
"data-send-fail": "send data failed, %v",
"data-create-fail": "failed to create data",
"data-update-fail": "failed to update data",
"data-delete-fail": "failed to delete data",
"data-delete-success": "data has been deleted",
"data-delete-fail": "failed to delete data",
"data-send-fail": "send data failed, %v",
"data-fetch-fail": "failed to fetch data",
"data-copy-fail": "failed to copy data",
"data-process-fail": "failed to process data",
@@ -70,6 +70,9 @@
"redis-store-fail": "redis storing value failed, %v",
"gte": "greater than or equal to %v",
"lte": "less than or equal to %v"
"eq": "must be equal to %v",
"gt": "must be greater than %v",
"gte": "must be greater than or equal to %v",
"lt": "must be less than %v",
"lte": "must be less than or equal to %v"
}
+15 -8
View File
@@ -1,7 +1,7 @@
{
"request-ok": "'request' berhasil diproses",
"request-methodNotAllowed": "'request' ditolak, method tidak diijinkan",
"request-toomany": "terlalu banyak 'request'",
"request-tooMany": "terlalu banyak 'request'",
"payload-bad": "struktur data tidak sesuai standar",
"auth-required": "butuh autentikasi",
@@ -15,20 +15,21 @@
"auth-logout-success": "logout berhasil",
"auth-reject-suspend": "dibatasi untuk akun dibekukan",
"balance-exceed-notAllowed": "tidak boleh melebihi saldo",
"balance-exceeded": "tidak boleh melebihi saldo",
"emailConfirm-success": "konfimrasi email berhasil",
"emailConfirm-fail": "gagal mengkonfirmasi email",
"emailConfirm-resend-fail": "gagal mengirim konfirmasi email",
"email-confirmation-success": "konfimrasi email berhasil",
"email-confirmation-fail": "gagal mengkonfirmasi email",
"email-confirmation-resend-fail": "gagal mengirim konfirmasi email",
"data-create-done": "data telah dibuat",
"data-create-success": "data telah dibuat",
"data-create-fail": "gagal membuat data",
"data-notFound": "data atau sumber tidak daoat ditemukan",
"data-notFound-condition": "\"%v\" dengan %v \"%v\" tidak dapat ditemukan",
"data-get-fail": "gagal mengambil data, %v",
"data-create-fail": "gagal membuat data",
"data-update-success": "berhasil memperbarui data",
"data-update-fail": "gagal memperbarui data",
"data-delete-fail": "gagal menghapus data",
"data-delete-success": "data telah dihapus",
"data-delete-fail": "gagal menghapus data",
"data-fetch-fail": "gagal mengambil data",
"data-copy-fail": "gagal menyalin data",
"data-process-fail": "gagal memproses data",
@@ -36,6 +37,8 @@
"data-generate-fail": "gagal membuat data",
"data-registered": "sudah pernah dibuat",
"data-state-mismatch": "\"%v\" tidak dalam kondisi \"%v\"",
"data-duplicate": "duplicate data",
"data-payment-fail": "failed to create payment",
"expired": "expired",
"registered": "sudah terdaftar",
@@ -67,8 +70,12 @@
"redis-store-fail": "gagal mengimpan data pada redis, %v",
"eq": "must be equal to %v",
"gt": "must be greater than %v",
"gte": "lebih besar atau sama dengan %v",
"lt": "must be less than %v",
"lte": "lebih kecil atau sama dengan %v",
"jknData-required": "%v Belum Diisi",
"jknData-length": "Format %v Tidak Sesuai",
"jknData-numeric": "Format %v Tidak Sesuai",
+22 -1
View File
@@ -9,6 +9,12 @@ httpCfg:
host:
port:
dbCfg:
dsn:
maxOpenConns: 5
maxIdleConns: 5
maxIdleTime: 100
loggerCfg:
hideTime:
hideLevel:
@@ -21,6 +27,21 @@ langCfg:
path:
fileName:
minioCfg:
endpoint:
region:
accessKey:
secretKey:
useSsl:
bucketName:
- patient
corsCfg:
allowedOrigin:
allowedMethod:
allowedMethod:
satuSehatCfg:
host: localhsot:8200
bpjsCfg:
host: localhsot:8200