initial commit
This commit is contained in:
commit
1cb2056c2c
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
/build/
|
||||||
BIN
.gradle/8.6/checksums/checksums.lock
Normal file
BIN
.gradle/8.6/checksums/checksums.lock
Normal file
Binary file not shown.
BIN
.gradle/8.6/checksums/md5-checksums.bin
Normal file
BIN
.gradle/8.6/checksums/md5-checksums.bin
Normal file
Binary file not shown.
BIN
.gradle/8.6/checksums/sha1-checksums.bin
Normal file
BIN
.gradle/8.6/checksums/sha1-checksums.bin
Normal file
Binary file not shown.
0
.gradle/8.6/dependencies-accessors/gc.properties
Normal file
0
.gradle/8.6/dependencies-accessors/gc.properties
Normal file
BIN
.gradle/8.6/executionHistory/executionHistory.bin
Normal file
BIN
.gradle/8.6/executionHistory/executionHistory.bin
Normal file
Binary file not shown.
BIN
.gradle/8.6/executionHistory/executionHistory.lock
Normal file
BIN
.gradle/8.6/executionHistory/executionHistory.lock
Normal file
Binary file not shown.
BIN
.gradle/8.6/fileChanges/last-build.bin
Normal file
BIN
.gradle/8.6/fileChanges/last-build.bin
Normal file
Binary file not shown.
BIN
.gradle/8.6/fileHashes/fileHashes.bin
Normal file
BIN
.gradle/8.6/fileHashes/fileHashes.bin
Normal file
Binary file not shown.
BIN
.gradle/8.6/fileHashes/fileHashes.lock
Normal file
BIN
.gradle/8.6/fileHashes/fileHashes.lock
Normal file
Binary file not shown.
BIN
.gradle/8.6/fileHashes/resourceHashesCache.bin
Normal file
BIN
.gradle/8.6/fileHashes/resourceHashesCache.bin
Normal file
Binary file not shown.
0
.gradle/8.6/gc.properties
Normal file
0
.gradle/8.6/gc.properties
Normal file
BIN
.gradle/buildOutputCleanup/buildOutputCleanup.lock
Normal file
BIN
.gradle/buildOutputCleanup/buildOutputCleanup.lock
Normal file
Binary file not shown.
2
.gradle/buildOutputCleanup/cache.properties
Normal file
2
.gradle/buildOutputCleanup/cache.properties
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
#Thu Mar 06 11:58:08 ICT 2025
|
||||||
|
gradle.version=8.6
|
||||||
BIN
.gradle/buildOutputCleanup/outputFiles.bin
Normal file
BIN
.gradle/buildOutputCleanup/outputFiles.bin
Normal file
Binary file not shown.
BIN
.gradle/file-system.probe
Normal file
BIN
.gradle/file-system.probe
Normal file
Binary file not shown.
0
.gradle/vcs-1/gc.properties
Normal file
0
.gradle/vcs-1/gc.properties
Normal file
1
.idea/.name
Normal file
1
.idea/.name
Normal file
@ -0,0 +1 @@
|
|||||||
|
tte-auth-service
|
||||||
29
.idea/compiler.xml
Normal file
29
.idea/compiler.xml
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="CompilerConfiguration">
|
||||||
|
<annotationProcessing>
|
||||||
|
<profile name="Gradle Imported" enabled="true">
|
||||||
|
<outputRelativeToContentRoot value="true" />
|
||||||
|
<option name="jooby.debug" value="false" />
|
||||||
|
<option name="jooby.incremental" value="true" />
|
||||||
|
<option name="jooby.services" value="true" />
|
||||||
|
<processorPath useClasspath="false">
|
||||||
|
<entry name="$USER_HOME$/.gradle/caches/modules-2/files-2.1/io.jooby/jooby-apt/3.6.1/a7fa33b766c165b84e39ff75bb49bedcfc78a1d0/jooby-apt-3.6.1.jar" />
|
||||||
|
<entry name="$MAVEN_REPOSITORY$/org/projectlombok/lombok/1.18.30/lombok-1.18.30.jar" />
|
||||||
|
</processorPath>
|
||||||
|
<module name="tte-auth-service.main" />
|
||||||
|
</profile>
|
||||||
|
<profile name="Gradle Imported" enabled="true">
|
||||||
|
<outputRelativeToContentRoot value="true" />
|
||||||
|
<option name="jooby.debug" value="false" />
|
||||||
|
<option name="jooby.incremental" value="true" />
|
||||||
|
<option name="jooby.services" value="true" />
|
||||||
|
<processorPath useClasspath="false">
|
||||||
|
<entry name="$MAVEN_REPOSITORY$/org/projectlombok/lombok/1.18.30/lombok-1.18.30.jar" />
|
||||||
|
</processorPath>
|
||||||
|
<module name="tte-auth-service.test" />
|
||||||
|
</profile>
|
||||||
|
</annotationProcessing>
|
||||||
|
<bytecodeTargetLevel target="17" />
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
17
.idea/gradle.xml
Normal file
17
.idea/gradle.xml
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="GradleMigrationSettings" migrationVersion="1" />
|
||||||
|
<component name="GradleSettings">
|
||||||
|
<option name="linkedExternalProjectsSettings">
|
||||||
|
<GradleProjectSettings>
|
||||||
|
<option name="externalProjectPath" value="$PROJECT_DIR$" />
|
||||||
|
<option name="gradleJvm" value="#JAVA_HOME" />
|
||||||
|
<option name="modules">
|
||||||
|
<set>
|
||||||
|
<option value="$PROJECT_DIR$" />
|
||||||
|
</set>
|
||||||
|
</option>
|
||||||
|
</GradleProjectSettings>
|
||||||
|
</option>
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
8
.idea/misc.xml
Normal file
8
.idea/misc.xml
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="ExternalStorageConfigurationManager" enabled="true" />
|
||||||
|
<component name="FrameworkDetectionExcludesConfiguration">
|
||||||
|
<file type="web" url="file://$PROJECT_DIR$" />
|
||||||
|
</component>
|
||||||
|
<component name="ProjectRootManager" version="2" languageLevel="JDK_17" project-jdk-name="corretto-21" project-jdk-type="JavaSDK" />
|
||||||
|
</project>
|
||||||
9
.idea/modules.xml
Normal file
9
.idea/modules.xml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="ProjectModuleManager">
|
||||||
|
<modules>
|
||||||
|
<module fileurl="file://$PROJECT_DIR$/.idea/modules/tte-auth-service.main.iml" filepath="$PROJECT_DIR$/.idea/modules/tte-auth-service.main.iml" />
|
||||||
|
<module fileurl="file://$PROJECT_DIR$/.idea/modules/tte-auth-service.test.iml" filepath="$PROJECT_DIR$/.idea/modules/tte-auth-service.test.iml" />
|
||||||
|
</modules>
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
8
.idea/modules/tte-auth-service.main.iml
Normal file
8
.idea/modules/tte-auth-service.main.iml
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<module version="4">
|
||||||
|
<component name="AdditionalModuleElements">
|
||||||
|
<content url="file://$MODULE_DIR$/../../build/generated/sources/annotationProcessor/java/main">
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/../../build/generated/sources/annotationProcessor/java/main" isTestSource="false" generated="true" />
|
||||||
|
</content>
|
||||||
|
</component>
|
||||||
|
</module>
|
||||||
8
.idea/modules/tte-auth-service.test.iml
Normal file
8
.idea/modules/tte-auth-service.test.iml
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<module version="4">
|
||||||
|
<component name="AdditionalModuleElements">
|
||||||
|
<content url="file://$MODULE_DIR$/../../build/generated/sources/annotationProcessor/java/test">
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/../../build/generated/sources/annotationProcessor/java/test" isTestSource="true" generated="true" />
|
||||||
|
</content>
|
||||||
|
</component>
|
||||||
|
</module>
|
||||||
9
.idea/tte-auth-service-v2.iml
Normal file
9
.idea/tte-auth-service-v2.iml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<module type="JAVA_MODULE" version="4">
|
||||||
|
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||||
|
<exclude-output />
|
||||||
|
<content url="file://$MODULE_DIR$" />
|
||||||
|
<orderEntry type="inheritedJdk" />
|
||||||
|
<orderEntry type="sourceFolder" forTests="false" />
|
||||||
|
</component>
|
||||||
|
</module>
|
||||||
6
.idea/vcs.xml
Normal file
6
.idea/vcs.xml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="VcsDirectoryMappings">
|
||||||
|
<mapping directory="" vcs="Git" />
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
33
Dockerfile
Normal file
33
Dockerfile
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
FROM gradle:8-jdk17 as build
|
||||||
|
WORKDIR /mm-auth-service
|
||||||
|
COPY build.gradle build.gradle
|
||||||
|
COPY settings.gradle settings.gradle
|
||||||
|
COPY src src
|
||||||
|
COPY conf conf
|
||||||
|
COPY sql sql
|
||||||
|
RUN gradle shadowJar
|
||||||
|
|
||||||
|
FROM eclipse-temurin:17-jdk
|
||||||
|
# Set Timezone
|
||||||
|
ENV TZ=Asia/Jakarta
|
||||||
|
RUN apt-get update && \
|
||||||
|
apt-get install -y tzdata && \
|
||||||
|
ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && \
|
||||||
|
echo $TZ > /etc/timezone && \
|
||||||
|
apt-get clean \
|
||||||
|
|
||||||
|
WORKDIR /mm-auth-service
|
||||||
|
COPY --from=build /mm-auth-service/build/libs/mm-auth-service-1.0.0-all.jar app.jar
|
||||||
|
COPY conf conf
|
||||||
|
COPY sql sql
|
||||||
|
|
||||||
|
RUN mkdir -p /mm-auth-service/tmp
|
||||||
|
RUN chmod -R 777 /mm-auth-service/tmp
|
||||||
|
|
||||||
|
EXPOSE 8080
|
||||||
|
|
||||||
|
ENV JAVA_OPTS="-Xms256m -Xmx2048m -XX:+UseG1GC -XX:MaxGCPauseMillis=200 -XX:+UseStringDeduplication -Djava.security.egd=file:/dev/./urandom"
|
||||||
|
|
||||||
|
CMD java $JAVA_OPTS -jar app.jar
|
||||||
|
|
||||||
|
#CMD ["java", "-jar", "app.jar"]
|
||||||
288
Jenkinsfile
vendored
Normal file
288
Jenkinsfile
vendored
Normal file
@ -0,0 +1,288 @@
|
|||||||
|
// Refactored Jenkinsfile for tte-auth-app
|
||||||
|
// Standardized to match the latest CI/CD template.
|
||||||
|
|
||||||
|
import groovy.transform.Field
|
||||||
|
import groovy.json.JsonOutput
|
||||||
|
import java.text.SimpleDateFormat
|
||||||
|
|
||||||
|
// A field to accumulate log messages for the final notification.
|
||||||
|
@Field
|
||||||
|
String pipelineLog = ''
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Appends a formatted message to the pipeline log for inclusion in the final notification.
|
||||||
|
* @param message The string message to log.
|
||||||
|
*/
|
||||||
|
def appendLog(String message) {
|
||||||
|
echo "[LOG] ${message}"
|
||||||
|
pipelineLog += "\n${message.trim()}"
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sends a rich, formatted notification to a Discord webhook using embeds.
|
||||||
|
* @param params A map of parameters including status, jobName, buildUrl, etc.
|
||||||
|
*/
|
||||||
|
def sendDiscordNotification(Map params) {
|
||||||
|
// Parameter validation
|
||||||
|
['status', 'jobName', 'buildNumber', 'buildUrl', 'webhookCredentialId'].each { key ->
|
||||||
|
if (!params[key]) {
|
||||||
|
echo "⚠️ sendDiscordNotification: Missing required parameter '${key}'"
|
||||||
|
return
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
def colorValue, statusEmoji
|
||||||
|
def statusText = params.status.toUpperCase()
|
||||||
|
def embedTitle
|
||||||
|
|
||||||
|
// Determine color and emoji based on build status
|
||||||
|
switch (statusText) {
|
||||||
|
case 'SUCCESS': colorValue = 0x28A745; statusEmoji = "✅"; embedTitle = "${statusEmoji} Build Successful: ${params.jobName.split('/').last()}"; break
|
||||||
|
case 'FAILURE': colorValue = 0xDC3545; statusEmoji = "❌"; embedTitle = "${statusEmoji} Build Failed: ${params.jobName.split('/').last()}"; break
|
||||||
|
case 'UNSTABLE': colorValue = 0xFFC107; statusEmoji = "⚠️"; embedTitle = "${statusEmoji} Build Unstable: ${params.jobName.split('/').last()}"; break
|
||||||
|
case 'ABORTED': colorValue = 0x6C757D; statusEmoji = "🚫"; embedTitle = "${statusEmoji} Build Aborted: ${params.jobName.split('/').last()}"; break
|
||||||
|
case 'APPROVAL_REQUEST': colorValue = 0x007BFF; statusEmoji = "🔔"; embedTitle = "${statusEmoji} Approval Required: ${params.jobName.split('/').last()}"; break
|
||||||
|
default: colorValue = 0x17A2B8; statusEmoji = "ℹ️"; embedTitle = "${statusEmoji} Build Notification (${statusText}): ${params.jobName.split('/').last()}"; break
|
||||||
|
}
|
||||||
|
|
||||||
|
// Special highlighting for the production branch
|
||||||
|
if (params.branchName == 'main') {
|
||||||
|
if (!['FAILURE', 'ABORTED'].contains(statusText.toUpperCase())) {
|
||||||
|
colorValue = 0xFFD700 // Gold color for production
|
||||||
|
}
|
||||||
|
embedTitle = "❗ PRODUCTION: ${embedTitle}"
|
||||||
|
}
|
||||||
|
|
||||||
|
// Build the main description text
|
||||||
|
def descriptionLines = []
|
||||||
|
if (params.customMessage) {
|
||||||
|
descriptionLines.add(params.customMessage.stripIndent().trim())
|
||||||
|
descriptionLines.add("")
|
||||||
|
}
|
||||||
|
descriptionLines.add("**Project:** `${params.jobName.replaceAll("/", " / ")}`")
|
||||||
|
if (params.branchName) {
|
||||||
|
descriptionLines.add("**Branch:** `${params.branchName}`")
|
||||||
|
}
|
||||||
|
descriptionLines.add("**Build:** [#${params.buildNumber}](${params.buildUrl}display/redirect) - **${statusText.toUpperCase()}**")
|
||||||
|
if (params.nodeName) {
|
||||||
|
descriptionLines.add("**Node:** `${params.nodeName}`")
|
||||||
|
}
|
||||||
|
if (params.triggeredBy) {
|
||||||
|
descriptionLines.add("**Triggered by:** ${params.triggeredBy}")
|
||||||
|
}
|
||||||
|
|
||||||
|
// Add commit details
|
||||||
|
def commitDetails = ""
|
||||||
|
if (params.processedCommits && !params.processedCommits.isEmpty()) {
|
||||||
|
def commitMessages = params.processedCommits.collect { c -> " - `${c.commitId}`: ${c.message} (_${c.author}_)" }
|
||||||
|
commitDetails = "\n\n📜 **Commits:**\n" + commitMessages.join('\n')
|
||||||
|
}
|
||||||
|
descriptionLines.add(commitDetails)
|
||||||
|
def description = descriptionLines.join('\n').take(4000)
|
||||||
|
|
||||||
|
// Footer with timestamp
|
||||||
|
def footerTimeZone = TimeZone.getTimeZone(params.footerTimeZone ?: 'UTC')
|
||||||
|
def footerTimestamp = new Date(params.buildTimestamp ?: System.currentTimeMillis()).format("yyyy-MM-dd HH:mm:ss z", footerTimeZone)
|
||||||
|
|
||||||
|
// Construct the final embed payload
|
||||||
|
def embed = [
|
||||||
|
title: embedTitle.take(250),
|
||||||
|
description: description,
|
||||||
|
color: colorValue,
|
||||||
|
timestamp: new Date(params.buildTimestamp ?: System.currentTimeMillis()).format("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'", TimeZone.getTimeZone('UTC')),
|
||||||
|
url: "${params.buildUrl}display/redirect",
|
||||||
|
footer: [ text: "Jenkins Build #${params.buildNumber} • ${footerTimestamp}", icon_url: params.footerIconUrl ?: params.avatarUrl ]
|
||||||
|
]
|
||||||
|
|
||||||
|
if (params.customFields) { embed.fields = params.customFields }
|
||||||
|
|
||||||
|
def payloadMap = [embeds: [embed]]
|
||||||
|
if (params.username) { payloadMap.username = params.username.take(80) }
|
||||||
|
if (params.avatarUrl) { payloadMap.avatar_url = params.avatarUrl }
|
||||||
|
|
||||||
|
def jsonPayload = groovy.json.JsonOutput.toJson(payloadMap)
|
||||||
|
|
||||||
|
withCredentials([string(credentialsId: params.webhookCredentialId, variable: 'DISCORD_WEBHOOK_URL')]) {
|
||||||
|
try {
|
||||||
|
httpRequest(url: DISCORD_WEBHOOK_URL, httpMode: 'POST', contentType: 'APPLICATION_JSON', requestBody: jsonPayload, quiet: true, timeout: 20, validResponseCodes: '200:204')
|
||||||
|
echo "Discord notification sent successfully for status: ${statusText}."
|
||||||
|
} catch (Exception e) {
|
||||||
|
echo "⚠️ Error sending Discord notification: ${e.getMessage()}"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
pipeline {
|
||||||
|
agent any
|
||||||
|
|
||||||
|
environment {
|
||||||
|
// --- Configuration for the auth application ---
|
||||||
|
OKD_PROJECT = 'tte-applications-project'
|
||||||
|
BUILD_NAME = 'tte-auth-app'
|
||||||
|
DEPLOYMENT = 'tte-auth-app'
|
||||||
|
|
||||||
|
OKD_PROJECT_DEV = 'tte-dev-applications-project'
|
||||||
|
BUILD_NAME_DEV = 'tte-dev-auth-apps'
|
||||||
|
DEPLOYMENT_DEV = 'tte-dev-auth-apps'
|
||||||
|
|
||||||
|
// Notification settings
|
||||||
|
DISCORD_WEBHOOK_CREDENTIAL_ID = 'discord-webhook-auth'
|
||||||
|
DISCORD_BOT_USERNAME = "Jenkins CI"
|
||||||
|
DISCORD_AVATAR_URL = "https://www.jenkins.io/images/logos/jenkins/jenkins.png"
|
||||||
|
FOOTER_TIMEZONE = "Asia/Jakarta"
|
||||||
|
}
|
||||||
|
|
||||||
|
options {
|
||||||
|
timestamps()
|
||||||
|
timeout(time: 1, unit: 'HOURS')
|
||||||
|
buildDiscarder(logRotator(numToKeepStr: '10'))
|
||||||
|
}
|
||||||
|
|
||||||
|
stages {
|
||||||
|
stage('Build App for Development') {
|
||||||
|
when { branch 'dev' }
|
||||||
|
steps {
|
||||||
|
script {
|
||||||
|
appendLog("🚀 **Building App for Development** (`${env.BUILD_NAME_DEV}`)...")
|
||||||
|
try {
|
||||||
|
withCredentials([file(credentialsId: 'kubeconfig-file', variable: 'KUBECONFIG_PATH')]) {
|
||||||
|
sh """
|
||||||
|
export KUBECONFIG="\${KUBECONFIG_PATH}"
|
||||||
|
oc start-build "${BUILD_NAME_DEV}" --follow --wait=true -n "${OKD_PROJECT_DEV}"
|
||||||
|
"""
|
||||||
|
}
|
||||||
|
appendLog("✅ **Development App Build** completed successfully.")
|
||||||
|
} catch (Exception e) {
|
||||||
|
currentBuild.result = 'FAILURE'
|
||||||
|
appendLog("❌ **Development App Build FAILED**.")
|
||||||
|
error("OpenShift build for Development failed: ${e.getMessage()}")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
stage('Build App for Production') {
|
||||||
|
when { branch 'main' }
|
||||||
|
steps {
|
||||||
|
script {
|
||||||
|
appendLog("🚀 **Building App for Production** (`${env.BUILD_NAME}`)...")
|
||||||
|
try {
|
||||||
|
withCredentials([file(credentialsId: 'kubeconfig-file', variable: 'KUBECONFIG_PATH')]) {
|
||||||
|
sh """
|
||||||
|
export KUBECONFIG="\${KUBECONFIG_PATH}"
|
||||||
|
oc start-build "${BUILD_NAME}" --follow --wait=true -n "${OKD_PROJECT}"
|
||||||
|
"""
|
||||||
|
}
|
||||||
|
appendLog("✅ **Production App Build** completed successfully.")
|
||||||
|
} catch (Exception e) {
|
||||||
|
currentBuild.result = 'FAILURE'
|
||||||
|
appendLog("❌ **Production App Build FAILED**.")
|
||||||
|
error("OpenShift build for Production failed: ${e.getMessage()}")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
stage('Deploy to Development') {
|
||||||
|
when {
|
||||||
|
branch 'dev'
|
||||||
|
expression { currentBuild.resultIsBetterOrEqualTo('SUCCESS') }
|
||||||
|
}
|
||||||
|
steps {
|
||||||
|
script {
|
||||||
|
appendLog("🚚 **Deploy to Development** starting for `${env.DEPLOYMENT_DEV}`...")
|
||||||
|
try {
|
||||||
|
withCredentials([file(credentialsId: 'kubeconfig-file', variable: 'KUBECONFIG_PATH')]) {
|
||||||
|
sh """
|
||||||
|
export KUBECONFIG="\${KUBECONFIG_PATH}"
|
||||||
|
oc rollout restart deployment/"${DEPLOYMENT_DEV}" -n "${OKD_PROJECT_DEV}"
|
||||||
|
oc rollout status deployment/"${DEPLOYMENT_DEV}" --watch -n "${OKD_PROJECT_DEV}"
|
||||||
|
"""
|
||||||
|
}
|
||||||
|
appendLog("✅ **Deploy to Development** succeeded.")
|
||||||
|
} catch (Exception e) {
|
||||||
|
currentBuild.result = 'FAILURE'
|
||||||
|
appendLog("❌ **Deploy to Development FAILED**.")
|
||||||
|
error("Deployment to Development failed: ${e.getMessage()}")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
stage('Deploy to Production') {
|
||||||
|
when {
|
||||||
|
branch 'main'
|
||||||
|
expression { currentBuild.resultIsBetterOrEqualTo('SUCCESS') }
|
||||||
|
}
|
||||||
|
steps {
|
||||||
|
script {
|
||||||
|
appendLog("🚀 **Deploy to Production** starting for `${env.DEPLOYMENT}`...")
|
||||||
|
try {
|
||||||
|
withCredentials([file(credentialsId: 'kubeconfig-file', variable: 'KUBECONFIG_PATH')]) {
|
||||||
|
sh """
|
||||||
|
export KUBECONFIG="\${KUBECONFIG_PATH}"
|
||||||
|
oc rollout restart deployment/"${DEPLOYMENT}" -n "${OKD_PROJECT}"
|
||||||
|
oc rollout status deployment/"${DEPLOYMENT}" --watch -n "${OKD_PROJECT}"
|
||||||
|
"""
|
||||||
|
}
|
||||||
|
appendLog("✅ **Deploy to Production** succeeded.")
|
||||||
|
} catch (Exception e) {
|
||||||
|
currentBuild.result = 'FAILURE'
|
||||||
|
appendLog("❌ **Deploy to Production FAILED**.")
|
||||||
|
error("Deployment to Production failed: ${e.getMessage()}")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
post {
|
||||||
|
always {
|
||||||
|
script {
|
||||||
|
def finalStatus = currentBuild.currentResult ?: 'UNKNOWN'
|
||||||
|
|
||||||
|
def processedCommitsList = []
|
||||||
|
try {
|
||||||
|
for (changeLogSet in currentBuild.changeSets) {
|
||||||
|
for (entry in changeLogSet.items) {
|
||||||
|
processedCommitsList.add([
|
||||||
|
commitId: entry.commitId?.take(7) ?: "N/A",
|
||||||
|
message: (entry.msg?.split('\n')[0] ?: "No commit message").take(80),
|
||||||
|
author: entry.author?.displayName ?: "Unknown"
|
||||||
|
])
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} catch (e) { echo "Could not get changeset: ${e.getMessage()}" }
|
||||||
|
|
||||||
|
def customFieldsList = []
|
||||||
|
if (pipelineLog) {
|
||||||
|
customFieldsList.add([
|
||||||
|
name: "📋 Log Highlights",
|
||||||
|
value: "```\n${pipelineLog.trim().take(1000)}\n```",
|
||||||
|
inline: false
|
||||||
|
])
|
||||||
|
}
|
||||||
|
|
||||||
|
def triggeredBy = "Unknown"
|
||||||
|
try { triggeredBy = currentBuild.rawBuild.getCauses().collect { it.getShortDescription() }.join(", ") } catch (e) { /* ignore */ }
|
||||||
|
|
||||||
|
sendDiscordNotification([
|
||||||
|
status: finalStatus,
|
||||||
|
jobName: env.JOB_NAME,
|
||||||
|
buildNumber: env.BUILD_NUMBER,
|
||||||
|
buildUrl: env.BUILD_URL,
|
||||||
|
webhookCredentialId: env.DISCORD_WEBHOOK_CREDENTIAL_ID,
|
||||||
|
branchName: env.BRANCH_NAME ?: "N/A",
|
||||||
|
nodeName: env.NODE_NAME ?: 'N/A',
|
||||||
|
processedCommits: processedCommitsList,
|
||||||
|
triggeredBy: triggeredBy,
|
||||||
|
username: "${env.DISCORD_BOT_USERNAME} (${env.JOB_NAME.split('/').last()})",
|
||||||
|
avatarUrl: env.DISCORD_AVATAR_URL,
|
||||||
|
footerTimeZone: env.FOOTER_TIMEZONE,
|
||||||
|
buildTimestamp: currentBuild.startTimeInMillis
|
||||||
|
])
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
16
README.md
Normal file
16
README.md
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
# tte-auth-service
|
||||||
|
|
||||||
|
Welcome to tte-auth-service!!
|
||||||
|
|
||||||
|
## running
|
||||||
|
|
||||||
|
./gradlew joobyRun
|
||||||
|
|
||||||
|
## building
|
||||||
|
|
||||||
|
./gradlew build
|
||||||
|
|
||||||
|
## docker
|
||||||
|
|
||||||
|
docker build . -t tte-auth-service
|
||||||
|
docker run -p 8080:8080 -it tte-auth-service
|
||||||
9
bin/default/META-INF/services/io.jooby.MvcFactory
Normal file
9
bin/default/META-INF/services/io.jooby.MvcFactory
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
id.go.polri.tte.controllers.UserInitialController_
|
||||||
|
id.go.polri.tte.controllers.BsreLogController_
|
||||||
|
id.go.polri.tte.controllers.UserRoleController_
|
||||||
|
id.go.polri.tte.controllers.EsignController_
|
||||||
|
id.go.polri.tte.controllers.UserController_
|
||||||
|
id.go.polri.tte.controllers.RoleController_
|
||||||
|
id.go.polri.tte.controllers.UserSignatureController_
|
||||||
|
id.go.polri.tte.controllers.SippController_
|
||||||
|
|
||||||
BIN
bin/default/id/go/polri/tte/controllers/BsreLogController_.class
Normal file
BIN
bin/default/id/go/polri/tte/controllers/BsreLogController_.class
Normal file
Binary file not shown.
BIN
bin/default/id/go/polri/tte/controllers/EsignController_.class
Normal file
BIN
bin/default/id/go/polri/tte/controllers/EsignController_.class
Normal file
Binary file not shown.
BIN
bin/default/id/go/polri/tte/controllers/RoleController_.class
Normal file
BIN
bin/default/id/go/polri/tte/controllers/RoleController_.class
Normal file
Binary file not shown.
BIN
bin/default/id/go/polri/tte/controllers/SippController_.class
Normal file
BIN
bin/default/id/go/polri/tte/controllers/SippController_.class
Normal file
Binary file not shown.
BIN
bin/default/id/go/polri/tte/controllers/UserController_.class
Normal file
BIN
bin/default/id/go/polri/tte/controllers/UserController_.class
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
81
bin/generated-sources/annotations/id/go/polri/tte/controllers/BsreLogController_.java
Normal file
81
bin/generated-sources/annotations/id/go/polri/tte/controllers/BsreLogController_.java
Normal file
@ -0,0 +1,81 @@
|
|||||||
|
package id.go.polri.tte.controllers;
|
||||||
|
|
||||||
|
@io.jooby.annotation.Generated(BsreLogController.class)
|
||||||
|
public class BsreLogController_ implements io.jooby.MvcExtension, io.jooby.MvcFactory<BsreLogController> {
|
||||||
|
protected final java.util.function.Function<io.jooby.Context, BsreLogController> factory;
|
||||||
|
|
||||||
|
public BsreLogController_() {
|
||||||
|
this(BsreLogController.class);
|
||||||
|
}
|
||||||
|
|
||||||
|
public BsreLogController_(Class<BsreLogController> type) {
|
||||||
|
this(ctx -> ctx.require(type));
|
||||||
|
}
|
||||||
|
|
||||||
|
public BsreLogController_(BsreLogController instance) {
|
||||||
|
this(ctx -> instance);
|
||||||
|
}
|
||||||
|
|
||||||
|
public BsreLogController_(java.util.function.Supplier<BsreLogController> provider) {
|
||||||
|
this(ctx -> provider.get());
|
||||||
|
}
|
||||||
|
|
||||||
|
public BsreLogController_(java.util.function.Function<io.jooby.Context, BsreLogController> factory) {
|
||||||
|
this.factory = factory;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void install(io.jooby.Jooby app) throws Exception {
|
||||||
|
/** See {@link BsreLogController#findAll(io.jooby.Context) */
|
||||||
|
app.get("/api/v2/bsre-log", this::findAll)
|
||||||
|
.setMvcMethod(new io.jooby.Route.MvcMethod(id.go.polri.tte.controllers.BsreLogController.class, "findAll", id.go.polri.tte.responses.BsreLogListResponse.class, io.jooby.Context.class));
|
||||||
|
|
||||||
|
/** See {@link BsreLogController#findById(String, io.jooby.Context) */
|
||||||
|
app.get("/api/v2/bsre-log/{id}", this::findById)
|
||||||
|
.setMvcMethod(new io.jooby.Route.MvcMethod(id.go.polri.tte.controllers.BsreLogController.class, "findById", id.go.polri.tte.responses.BsreLogSingleResponse.class, java.lang.String.class, io.jooby.Context.class));
|
||||||
|
|
||||||
|
/** See {@link BsreLogController#insert(io.jooby.Context) */
|
||||||
|
app.post("/api/v2/bsre-log", this::insert)
|
||||||
|
.setMvcMethod(new io.jooby.Route.MvcMethod(id.go.polri.tte.controllers.BsreLogController.class, "insert", id.go.polri.tte.responses.BsreLogSingleResponse.class, io.jooby.Context.class));
|
||||||
|
|
||||||
|
/** See {@link BsreLogController#update(String, io.jooby.Context) */
|
||||||
|
app.put("/api/v2/bsre-log/{id}", this::update)
|
||||||
|
.setMvcMethod(new io.jooby.Route.MvcMethod(id.go.polri.tte.controllers.BsreLogController.class, "update", id.go.polri.tte.responses.BsreLogSingleResponse.class, java.lang.String.class, io.jooby.Context.class));
|
||||||
|
|
||||||
|
/** See {@link BsreLogController#delete(String) */
|
||||||
|
app.delete("/api/v2/bsre-log/{id}", this::delete)
|
||||||
|
.setMvcMethod(new io.jooby.Route.MvcMethod(id.go.polri.tte.controllers.BsreLogController.class, "delete", id.go.polri.tte.responses.BasicResponse.class, java.lang.String.class));
|
||||||
|
}
|
||||||
|
|
||||||
|
public id.go.polri.tte.responses.BsreLogListResponse findAll(io.jooby.Context ctx) {
|
||||||
|
var c = this.factory.apply(ctx);
|
||||||
|
return c.findAll(ctx);
|
||||||
|
}
|
||||||
|
|
||||||
|
public id.go.polri.tte.responses.BsreLogSingleResponse findById(io.jooby.Context ctx) {
|
||||||
|
var c = this.factory.apply(ctx);
|
||||||
|
return c.findById(ctx.path("id").valueOrNull(), ctx);
|
||||||
|
}
|
||||||
|
|
||||||
|
public id.go.polri.tte.responses.BsreLogSingleResponse insert(io.jooby.Context ctx) {
|
||||||
|
var c = this.factory.apply(ctx);
|
||||||
|
return c.insert(ctx);
|
||||||
|
}
|
||||||
|
|
||||||
|
public id.go.polri.tte.responses.BsreLogSingleResponse update(io.jooby.Context ctx) {
|
||||||
|
var c = this.factory.apply(ctx);
|
||||||
|
return c.update(ctx.path("id").valueOrNull(), ctx);
|
||||||
|
}
|
||||||
|
|
||||||
|
public id.go.polri.tte.responses.BasicResponse delete(io.jooby.Context ctx) {
|
||||||
|
var c = this.factory.apply(ctx);
|
||||||
|
return c.delete(ctx.path("id").valueOrNull());
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean supports(Class<BsreLogController> type) {
|
||||||
|
return type == BsreLogController.class;
|
||||||
|
}
|
||||||
|
|
||||||
|
public io.jooby.Extension create(java.util.function.Supplier<BsreLogController> provider) {
|
||||||
|
return new BsreLogController_(provider);
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,63 @@
|
|||||||
|
package id.go.polri.tte.controllers;
|
||||||
|
|
||||||
|
@io.jooby.annotation.Generated(EsignController.class)
|
||||||
|
public class EsignController_ implements io.jooby.MvcExtension, io.jooby.MvcFactory<EsignController> {
|
||||||
|
protected final java.util.function.Function<io.jooby.Context, EsignController> factory;
|
||||||
|
|
||||||
|
public EsignController_() {
|
||||||
|
this(EsignController.class);
|
||||||
|
}
|
||||||
|
|
||||||
|
public EsignController_(Class<EsignController> type) {
|
||||||
|
this(ctx -> ctx.require(type));
|
||||||
|
}
|
||||||
|
|
||||||
|
public EsignController_(EsignController instance) {
|
||||||
|
this(ctx -> instance);
|
||||||
|
}
|
||||||
|
|
||||||
|
public EsignController_(java.util.function.Supplier<EsignController> provider) {
|
||||||
|
this(ctx -> provider.get());
|
||||||
|
}
|
||||||
|
|
||||||
|
public EsignController_(java.util.function.Function<io.jooby.Context, EsignController> factory) {
|
||||||
|
this.factory = factory;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void install(io.jooby.Jooby app) throws Exception {
|
||||||
|
/** See {@link EsignController#status(io.jooby.Context) */
|
||||||
|
app.get("/api/v2/auth-service/esign/status", this::status)
|
||||||
|
.setMvcMethod(new io.jooby.Route.MvcMethod(id.go.polri.tte.controllers.EsignController.class, "status", id.go.polri.tte.responses.StatusResponse.class, io.jooby.Context.class));
|
||||||
|
|
||||||
|
/** See {@link EsignController#registrasi(io.jooby.Context) */
|
||||||
|
app.post("/api/v2/auth-service/esign/registrasi", this::registrasi)
|
||||||
|
.setMvcMethod(new io.jooby.Route.MvcMethod(id.go.polri.tte.controllers.EsignController.class, "registrasi", id.go.polri.tte.responses.BasicResponse.class, io.jooby.Context.class));
|
||||||
|
|
||||||
|
/** See {@link EsignController#uploadKeystore(io.jooby.Context) */
|
||||||
|
app.post("/api/v2/auth-service/esign/upload-keystore", this::uploadKeystore)
|
||||||
|
.setMvcMethod(new io.jooby.Route.MvcMethod(id.go.polri.tte.controllers.EsignController.class, "uploadKeystore", id.go.polri.tte.responses.BasicResponse.class, io.jooby.Context.class));
|
||||||
|
}
|
||||||
|
|
||||||
|
public id.go.polri.tte.responses.StatusResponse status(io.jooby.Context ctx) {
|
||||||
|
var c = this.factory.apply(ctx);
|
||||||
|
return c.status(ctx);
|
||||||
|
}
|
||||||
|
|
||||||
|
public id.go.polri.tte.responses.BasicResponse registrasi(io.jooby.Context ctx) {
|
||||||
|
var c = this.factory.apply(ctx);
|
||||||
|
return c.registrasi(ctx);
|
||||||
|
}
|
||||||
|
|
||||||
|
public id.go.polri.tte.responses.BasicResponse uploadKeystore(io.jooby.Context ctx) {
|
||||||
|
var c = this.factory.apply(ctx);
|
||||||
|
return c.uploadKeystore(ctx);
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean supports(Class<EsignController> type) {
|
||||||
|
return type == EsignController.class;
|
||||||
|
}
|
||||||
|
|
||||||
|
public io.jooby.Extension create(java.util.function.Supplier<EsignController> provider) {
|
||||||
|
return new EsignController_(provider);
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,81 @@
|
|||||||
|
package id.go.polri.tte.controllers;
|
||||||
|
|
||||||
|
@io.jooby.annotation.Generated(RoleController.class)
|
||||||
|
public class RoleController_ implements io.jooby.MvcExtension, io.jooby.MvcFactory<RoleController> {
|
||||||
|
protected final java.util.function.Function<io.jooby.Context, RoleController> factory;
|
||||||
|
|
||||||
|
public RoleController_() {
|
||||||
|
this(RoleController.class);
|
||||||
|
}
|
||||||
|
|
||||||
|
public RoleController_(Class<RoleController> type) {
|
||||||
|
this(ctx -> ctx.require(type));
|
||||||
|
}
|
||||||
|
|
||||||
|
public RoleController_(RoleController instance) {
|
||||||
|
this(ctx -> instance);
|
||||||
|
}
|
||||||
|
|
||||||
|
public RoleController_(java.util.function.Supplier<RoleController> provider) {
|
||||||
|
this(ctx -> provider.get());
|
||||||
|
}
|
||||||
|
|
||||||
|
public RoleController_(java.util.function.Function<io.jooby.Context, RoleController> factory) {
|
||||||
|
this.factory = factory;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void install(io.jooby.Jooby app) throws Exception {
|
||||||
|
/** See {@link RoleController#findAll(io.jooby.Context) */
|
||||||
|
app.get("/api/v2/role", this::findAll)
|
||||||
|
.setMvcMethod(new io.jooby.Route.MvcMethod(id.go.polri.tte.controllers.RoleController.class, "findAll", id.go.polri.tte.responses.RoleListResponse.class, io.jooby.Context.class));
|
||||||
|
|
||||||
|
/** See {@link RoleController#findById(String, io.jooby.Context) */
|
||||||
|
app.get("/api/v2/role/{id}", this::findById)
|
||||||
|
.setMvcMethod(new io.jooby.Route.MvcMethod(id.go.polri.tte.controllers.RoleController.class, "findById", id.go.polri.tte.responses.RoleSingleResponse.class, java.lang.String.class, io.jooby.Context.class));
|
||||||
|
|
||||||
|
/** See {@link RoleController#insert(io.jooby.Context) */
|
||||||
|
app.post("/api/v2/role", this::insert)
|
||||||
|
.setMvcMethod(new io.jooby.Route.MvcMethod(id.go.polri.tte.controllers.RoleController.class, "insert", id.go.polri.tte.responses.RoleSingleResponse.class, io.jooby.Context.class));
|
||||||
|
|
||||||
|
/** See {@link RoleController#update(String, io.jooby.Context) */
|
||||||
|
app.put("/api/v2/role/{id}", this::update)
|
||||||
|
.setMvcMethod(new io.jooby.Route.MvcMethod(id.go.polri.tte.controllers.RoleController.class, "update", id.go.polri.tte.responses.RoleSingleResponse.class, java.lang.String.class, io.jooby.Context.class));
|
||||||
|
|
||||||
|
/** See {@link RoleController#delete(String) */
|
||||||
|
app.delete("/api/v2/role/{id}", this::delete)
|
||||||
|
.setMvcMethod(new io.jooby.Route.MvcMethod(id.go.polri.tte.controllers.RoleController.class, "delete", id.go.polri.tte.responses.BasicResponse.class, java.lang.String.class));
|
||||||
|
}
|
||||||
|
|
||||||
|
public id.go.polri.tte.responses.RoleListResponse findAll(io.jooby.Context ctx) {
|
||||||
|
var c = this.factory.apply(ctx);
|
||||||
|
return c.findAll(ctx);
|
||||||
|
}
|
||||||
|
|
||||||
|
public id.go.polri.tte.responses.RoleSingleResponse findById(io.jooby.Context ctx) {
|
||||||
|
var c = this.factory.apply(ctx);
|
||||||
|
return c.findById(ctx.path("id").valueOrNull(), ctx);
|
||||||
|
}
|
||||||
|
|
||||||
|
public id.go.polri.tte.responses.RoleSingleResponse insert(io.jooby.Context ctx) {
|
||||||
|
var c = this.factory.apply(ctx);
|
||||||
|
return c.insert(ctx);
|
||||||
|
}
|
||||||
|
|
||||||
|
public id.go.polri.tte.responses.RoleSingleResponse update(io.jooby.Context ctx) {
|
||||||
|
var c = this.factory.apply(ctx);
|
||||||
|
return c.update(ctx.path("id").valueOrNull(), ctx);
|
||||||
|
}
|
||||||
|
|
||||||
|
public id.go.polri.tte.responses.BasicResponse delete(io.jooby.Context ctx) {
|
||||||
|
var c = this.factory.apply(ctx);
|
||||||
|
return c.delete(ctx.path("id").valueOrNull());
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean supports(Class<RoleController> type) {
|
||||||
|
return type == RoleController.class;
|
||||||
|
}
|
||||||
|
|
||||||
|
public io.jooby.Extension create(java.util.function.Supplier<RoleController> provider) {
|
||||||
|
return new RoleController_(provider);
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,41 @@
|
|||||||
|
package id.go.polri.tte.controllers;
|
||||||
|
|
||||||
|
@io.jooby.annotation.Generated(SippController.class)
|
||||||
|
public class SippController_ implements io.jooby.MvcExtension, io.jooby.MvcFactory<SippController> {
|
||||||
|
protected final java.util.function.Function<io.jooby.Context, SippController> factory;
|
||||||
|
|
||||||
|
public SippController_() {
|
||||||
|
this(new SippController());
|
||||||
|
}
|
||||||
|
|
||||||
|
public SippController_(SippController instance) {
|
||||||
|
this(ctx -> instance);
|
||||||
|
}
|
||||||
|
|
||||||
|
public SippController_(java.util.function.Supplier<SippController> provider) {
|
||||||
|
this(ctx -> provider.get());
|
||||||
|
}
|
||||||
|
|
||||||
|
public SippController_(java.util.function.Function<io.jooby.Context, SippController> factory) {
|
||||||
|
this.factory = factory;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void install(io.jooby.Jooby app) throws Exception {
|
||||||
|
/** See {@link SippController#find(io.jooby.Context) */
|
||||||
|
app.get("/api/v2/sipp", this::find)
|
||||||
|
.setMvcMethod(new io.jooby.Route.MvcMethod(id.go.polri.tte.controllers.SippController.class, "find", id.go.polri.tte.responses.BasicResponse.class, io.jooby.Context.class));
|
||||||
|
}
|
||||||
|
|
||||||
|
public id.go.polri.tte.responses.BasicResponse find(io.jooby.Context ctx) {
|
||||||
|
var c = this.factory.apply(ctx);
|
||||||
|
return c.find(ctx);
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean supports(Class<SippController> type) {
|
||||||
|
return type == SippController.class;
|
||||||
|
}
|
||||||
|
|
||||||
|
public io.jooby.Extension create(java.util.function.Supplier<SippController> provider) {
|
||||||
|
return new SippController_(provider);
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,99 @@
|
|||||||
|
package id.go.polri.tte.controllers;
|
||||||
|
|
||||||
|
@io.jooby.annotation.Generated(UserController.class)
|
||||||
|
public class UserController_ implements io.jooby.MvcExtension, io.jooby.MvcFactory<UserController> {
|
||||||
|
protected final java.util.function.Function<io.jooby.Context, UserController> factory;
|
||||||
|
|
||||||
|
public UserController_() {
|
||||||
|
this(UserController.class);
|
||||||
|
}
|
||||||
|
|
||||||
|
public UserController_(Class<UserController> type) {
|
||||||
|
this(ctx -> ctx.require(type));
|
||||||
|
}
|
||||||
|
|
||||||
|
public UserController_(UserController instance) {
|
||||||
|
this(ctx -> instance);
|
||||||
|
}
|
||||||
|
|
||||||
|
public UserController_(java.util.function.Supplier<UserController> provider) {
|
||||||
|
this(ctx -> provider.get());
|
||||||
|
}
|
||||||
|
|
||||||
|
public UserController_(java.util.function.Function<io.jooby.Context, UserController> factory) {
|
||||||
|
this.factory = factory;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void install(io.jooby.Jooby app) throws Exception {
|
||||||
|
/** See {@link UserController#findAll(io.jooby.Context) */
|
||||||
|
app.get("/api/v2/user", this::findAll)
|
||||||
|
.setMvcMethod(new io.jooby.Route.MvcMethod(id.go.polri.tte.controllers.UserController.class, "findAll", id.go.polri.tte.responses.UserListResponse.class, io.jooby.Context.class));
|
||||||
|
|
||||||
|
/** See {@link UserController#findById(String, io.jooby.Context) */
|
||||||
|
app.get("/api/v2/user/{id}", this::findById)
|
||||||
|
.setMvcMethod(new io.jooby.Route.MvcMethod(id.go.polri.tte.controllers.UserController.class, "findById", id.go.polri.tte.responses.UserSingleResponse.class, java.lang.String.class, io.jooby.Context.class));
|
||||||
|
|
||||||
|
/** See {@link UserController#insert(io.jooby.Context) */
|
||||||
|
app.post("/api/v2/user", this::insert)
|
||||||
|
.setMvcMethod(new io.jooby.Route.MvcMethod(id.go.polri.tte.controllers.UserController.class, "insert", id.go.polri.tte.responses.UserSingleResponse.class, io.jooby.Context.class));
|
||||||
|
|
||||||
|
/** See {@link UserController#update(String, io.jooby.Context) */
|
||||||
|
app.put("/api/v2/user/{id}", this::update)
|
||||||
|
.setMvcMethod(new io.jooby.Route.MvcMethod(id.go.polri.tte.controllers.UserController.class, "update", id.go.polri.tte.responses.UserSingleResponse.class, java.lang.String.class, io.jooby.Context.class));
|
||||||
|
|
||||||
|
/** See {@link UserController#delete(String) */
|
||||||
|
app.delete("/api/v2/user/{id}", this::delete)
|
||||||
|
.setMvcMethod(new io.jooby.Route.MvcMethod(id.go.polri.tte.controllers.UserController.class, "delete", id.go.polri.tte.responses.BasicResponse.class, java.lang.String.class));
|
||||||
|
|
||||||
|
/** See {@link UserController#resetPassword(io.jooby.Context) */
|
||||||
|
app.post("/api/v2/user/reset-password", this::resetPassword)
|
||||||
|
.setMvcMethod(new io.jooby.Route.MvcMethod(id.go.polri.tte.controllers.UserController.class, "resetPassword", id.go.polri.tte.responses.BasicResponse.class, io.jooby.Context.class));
|
||||||
|
|
||||||
|
/** See {@link UserController#verify(io.jooby.Context) */
|
||||||
|
app.post("/api/v2/user/verify", this::verify)
|
||||||
|
.setMvcMethod(new io.jooby.Route.MvcMethod(id.go.polri.tte.controllers.UserController.class, "verify", id.go.polri.tte.responses.LoginResponse.class, io.jooby.Context.class));
|
||||||
|
}
|
||||||
|
|
||||||
|
public id.go.polri.tte.responses.UserListResponse findAll(io.jooby.Context ctx) {
|
||||||
|
var c = this.factory.apply(ctx);
|
||||||
|
return c.findAll(ctx);
|
||||||
|
}
|
||||||
|
|
||||||
|
public id.go.polri.tte.responses.UserSingleResponse findById(io.jooby.Context ctx) {
|
||||||
|
var c = this.factory.apply(ctx);
|
||||||
|
return c.findById(ctx.path("id").valueOrNull(), ctx);
|
||||||
|
}
|
||||||
|
|
||||||
|
public id.go.polri.tte.responses.UserSingleResponse insert(io.jooby.Context ctx) {
|
||||||
|
var c = this.factory.apply(ctx);
|
||||||
|
return c.insert(ctx);
|
||||||
|
}
|
||||||
|
|
||||||
|
public id.go.polri.tte.responses.UserSingleResponse update(io.jooby.Context ctx) {
|
||||||
|
var c = this.factory.apply(ctx);
|
||||||
|
return c.update(ctx.path("id").valueOrNull(), ctx);
|
||||||
|
}
|
||||||
|
|
||||||
|
public id.go.polri.tte.responses.BasicResponse delete(io.jooby.Context ctx) {
|
||||||
|
var c = this.factory.apply(ctx);
|
||||||
|
return c.delete(ctx.path("id").valueOrNull());
|
||||||
|
}
|
||||||
|
|
||||||
|
public id.go.polri.tte.responses.BasicResponse resetPassword(io.jooby.Context ctx) {
|
||||||
|
var c = this.factory.apply(ctx);
|
||||||
|
return c.resetPassword(ctx);
|
||||||
|
}
|
||||||
|
|
||||||
|
public id.go.polri.tte.responses.LoginResponse verify(io.jooby.Context ctx) {
|
||||||
|
var c = this.factory.apply(ctx);
|
||||||
|
return c.verify(ctx);
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean supports(Class<UserController> type) {
|
||||||
|
return type == UserController.class;
|
||||||
|
}
|
||||||
|
|
||||||
|
public io.jooby.Extension create(java.util.function.Supplier<UserController> provider) {
|
||||||
|
return new UserController_(provider);
|
||||||
|
}
|
||||||
|
}
|
||||||
81
bin/generated-sources/annotations/id/go/polri/tte/controllers/UserInitialController_.java
Normal file
81
bin/generated-sources/annotations/id/go/polri/tte/controllers/UserInitialController_.java
Normal file
@ -0,0 +1,81 @@
|
|||||||
|
package id.go.polri.tte.controllers;
|
||||||
|
|
||||||
|
@io.jooby.annotation.Generated(UserInitialController.class)
|
||||||
|
public class UserInitialController_ implements io.jooby.MvcExtension, io.jooby.MvcFactory<UserInitialController> {
|
||||||
|
protected final java.util.function.Function<io.jooby.Context, UserInitialController> factory;
|
||||||
|
|
||||||
|
public UserInitialController_() {
|
||||||
|
this(UserInitialController.class);
|
||||||
|
}
|
||||||
|
|
||||||
|
public UserInitialController_(Class<UserInitialController> type) {
|
||||||
|
this(ctx -> ctx.require(type));
|
||||||
|
}
|
||||||
|
|
||||||
|
public UserInitialController_(UserInitialController instance) {
|
||||||
|
this(ctx -> instance);
|
||||||
|
}
|
||||||
|
|
||||||
|
public UserInitialController_(java.util.function.Supplier<UserInitialController> provider) {
|
||||||
|
this(ctx -> provider.get());
|
||||||
|
}
|
||||||
|
|
||||||
|
public UserInitialController_(java.util.function.Function<io.jooby.Context, UserInitialController> factory) {
|
||||||
|
this.factory = factory;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void install(io.jooby.Jooby app) throws Exception {
|
||||||
|
/** See {@link UserInitialController#findAll(io.jooby.Context) */
|
||||||
|
app.get("/api/v2/user-initial", this::findAll)
|
||||||
|
.setMvcMethod(new io.jooby.Route.MvcMethod(id.go.polri.tte.controllers.UserInitialController.class, "findAll", id.go.polri.tte.responses.UserInitialListResponse.class, io.jooby.Context.class));
|
||||||
|
|
||||||
|
/** See {@link UserInitialController#findById(String, io.jooby.Context) */
|
||||||
|
app.get("/api/v2/user-initial/{id}", this::findById)
|
||||||
|
.setMvcMethod(new io.jooby.Route.MvcMethod(id.go.polri.tte.controllers.UserInitialController.class, "findById", id.go.polri.tte.responses.UserInitialSingleResponse.class, java.lang.String.class, io.jooby.Context.class));
|
||||||
|
|
||||||
|
/** See {@link UserInitialController#insert(io.jooby.Context) */
|
||||||
|
app.post("/api/v2/user-initial", this::insert)
|
||||||
|
.setMvcMethod(new io.jooby.Route.MvcMethod(id.go.polri.tte.controllers.UserInitialController.class, "insert", id.go.polri.tte.responses.UserInitialSingleResponse.class, io.jooby.Context.class));
|
||||||
|
|
||||||
|
/** See {@link UserInitialController#update(String, io.jooby.Context) */
|
||||||
|
app.put("/api/v2/user-initial/{id}", this::update)
|
||||||
|
.setMvcMethod(new io.jooby.Route.MvcMethod(id.go.polri.tte.controllers.UserInitialController.class, "update", id.go.polri.tte.responses.UserInitialSingleResponse.class, java.lang.String.class, io.jooby.Context.class));
|
||||||
|
|
||||||
|
/** See {@link UserInitialController#delete(String) */
|
||||||
|
app.delete("/api/v2/user-initial/{id}", this::delete)
|
||||||
|
.setMvcMethod(new io.jooby.Route.MvcMethod(id.go.polri.tte.controllers.UserInitialController.class, "delete", id.go.polri.tte.responses.BasicResponse.class, java.lang.String.class));
|
||||||
|
}
|
||||||
|
|
||||||
|
public id.go.polri.tte.responses.UserInitialListResponse findAll(io.jooby.Context ctx) {
|
||||||
|
var c = this.factory.apply(ctx);
|
||||||
|
return c.findAll(ctx);
|
||||||
|
}
|
||||||
|
|
||||||
|
public id.go.polri.tte.responses.UserInitialSingleResponse findById(io.jooby.Context ctx) {
|
||||||
|
var c = this.factory.apply(ctx);
|
||||||
|
return c.findById(ctx.path("id").valueOrNull(), ctx);
|
||||||
|
}
|
||||||
|
|
||||||
|
public id.go.polri.tte.responses.UserInitialSingleResponse insert(io.jooby.Context ctx) {
|
||||||
|
var c = this.factory.apply(ctx);
|
||||||
|
return c.insert(ctx);
|
||||||
|
}
|
||||||
|
|
||||||
|
public id.go.polri.tte.responses.UserInitialSingleResponse update(io.jooby.Context ctx) {
|
||||||
|
var c = this.factory.apply(ctx);
|
||||||
|
return c.update(ctx.path("id").valueOrNull(), ctx);
|
||||||
|
}
|
||||||
|
|
||||||
|
public id.go.polri.tte.responses.BasicResponse delete(io.jooby.Context ctx) {
|
||||||
|
var c = this.factory.apply(ctx);
|
||||||
|
return c.delete(ctx.path("id").valueOrNull());
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean supports(Class<UserInitialController> type) {
|
||||||
|
return type == UserInitialController.class;
|
||||||
|
}
|
||||||
|
|
||||||
|
public io.jooby.Extension create(java.util.function.Supplier<UserInitialController> provider) {
|
||||||
|
return new UserInitialController_(provider);
|
||||||
|
}
|
||||||
|
}
|
||||||
81
bin/generated-sources/annotations/id/go/polri/tte/controllers/UserRoleController_.java
Normal file
81
bin/generated-sources/annotations/id/go/polri/tte/controllers/UserRoleController_.java
Normal file
@ -0,0 +1,81 @@
|
|||||||
|
package id.go.polri.tte.controllers;
|
||||||
|
|
||||||
|
@io.jooby.annotation.Generated(UserRoleController.class)
|
||||||
|
public class UserRoleController_ implements io.jooby.MvcExtension, io.jooby.MvcFactory<UserRoleController> {
|
||||||
|
protected final java.util.function.Function<io.jooby.Context, UserRoleController> factory;
|
||||||
|
|
||||||
|
public UserRoleController_() {
|
||||||
|
this(UserRoleController.class);
|
||||||
|
}
|
||||||
|
|
||||||
|
public UserRoleController_(Class<UserRoleController> type) {
|
||||||
|
this(ctx -> ctx.require(type));
|
||||||
|
}
|
||||||
|
|
||||||
|
public UserRoleController_(UserRoleController instance) {
|
||||||
|
this(ctx -> instance);
|
||||||
|
}
|
||||||
|
|
||||||
|
public UserRoleController_(java.util.function.Supplier<UserRoleController> provider) {
|
||||||
|
this(ctx -> provider.get());
|
||||||
|
}
|
||||||
|
|
||||||
|
public UserRoleController_(java.util.function.Function<io.jooby.Context, UserRoleController> factory) {
|
||||||
|
this.factory = factory;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void install(io.jooby.Jooby app) throws Exception {
|
||||||
|
/** See {@link UserRoleController#findAll(io.jooby.Context) */
|
||||||
|
app.get("/api/v2/user-role", this::findAll)
|
||||||
|
.setMvcMethod(new io.jooby.Route.MvcMethod(id.go.polri.tte.controllers.UserRoleController.class, "findAll", id.go.polri.tte.responses.UserRoleListResponse.class, io.jooby.Context.class));
|
||||||
|
|
||||||
|
/** See {@link UserRoleController#findById(String, io.jooby.Context) */
|
||||||
|
app.get("/api/v2/user-role/{id}", this::findById)
|
||||||
|
.setMvcMethod(new io.jooby.Route.MvcMethod(id.go.polri.tte.controllers.UserRoleController.class, "findById", id.go.polri.tte.responses.UserRoleSingleResponse.class, java.lang.String.class, io.jooby.Context.class));
|
||||||
|
|
||||||
|
/** See {@link UserRoleController#insert(io.jooby.Context) */
|
||||||
|
app.post("/api/v2/user-role", this::insert)
|
||||||
|
.setMvcMethod(new io.jooby.Route.MvcMethod(id.go.polri.tte.controllers.UserRoleController.class, "insert", id.go.polri.tte.responses.UserRoleSingleResponse.class, io.jooby.Context.class));
|
||||||
|
|
||||||
|
/** See {@link UserRoleController#update(String, io.jooby.Context) */
|
||||||
|
app.put("/api/v2/user-role/{id}", this::update)
|
||||||
|
.setMvcMethod(new io.jooby.Route.MvcMethod(id.go.polri.tte.controllers.UserRoleController.class, "update", id.go.polri.tte.responses.UserRoleSingleResponse.class, java.lang.String.class, io.jooby.Context.class));
|
||||||
|
|
||||||
|
/** See {@link UserRoleController#delete(String) */
|
||||||
|
app.delete("/api/v2/user-role/{id}", this::delete)
|
||||||
|
.setMvcMethod(new io.jooby.Route.MvcMethod(id.go.polri.tte.controllers.UserRoleController.class, "delete", id.go.polri.tte.responses.BasicResponse.class, java.lang.String.class));
|
||||||
|
}
|
||||||
|
|
||||||
|
public id.go.polri.tte.responses.UserRoleListResponse findAll(io.jooby.Context ctx) {
|
||||||
|
var c = this.factory.apply(ctx);
|
||||||
|
return c.findAll(ctx);
|
||||||
|
}
|
||||||
|
|
||||||
|
public id.go.polri.tte.responses.UserRoleSingleResponse findById(io.jooby.Context ctx) {
|
||||||
|
var c = this.factory.apply(ctx);
|
||||||
|
return c.findById(ctx.path("id").valueOrNull(), ctx);
|
||||||
|
}
|
||||||
|
|
||||||
|
public id.go.polri.tte.responses.UserRoleSingleResponse insert(io.jooby.Context ctx) {
|
||||||
|
var c = this.factory.apply(ctx);
|
||||||
|
return c.insert(ctx);
|
||||||
|
}
|
||||||
|
|
||||||
|
public id.go.polri.tte.responses.UserRoleSingleResponse update(io.jooby.Context ctx) {
|
||||||
|
var c = this.factory.apply(ctx);
|
||||||
|
return c.update(ctx.path("id").valueOrNull(), ctx);
|
||||||
|
}
|
||||||
|
|
||||||
|
public id.go.polri.tte.responses.BasicResponse delete(io.jooby.Context ctx) {
|
||||||
|
var c = this.factory.apply(ctx);
|
||||||
|
return c.delete(ctx.path("id").valueOrNull());
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean supports(Class<UserRoleController> type) {
|
||||||
|
return type == UserRoleController.class;
|
||||||
|
}
|
||||||
|
|
||||||
|
public io.jooby.Extension create(java.util.function.Supplier<UserRoleController> provider) {
|
||||||
|
return new UserRoleController_(provider);
|
||||||
|
}
|
||||||
|
}
|
||||||
81
bin/generated-sources/annotations/id/go/polri/tte/controllers/UserSignatureController_.java
Normal file
81
bin/generated-sources/annotations/id/go/polri/tte/controllers/UserSignatureController_.java
Normal file
@ -0,0 +1,81 @@
|
|||||||
|
package id.go.polri.tte.controllers;
|
||||||
|
|
||||||
|
@io.jooby.annotation.Generated(UserSignatureController.class)
|
||||||
|
public class UserSignatureController_ implements io.jooby.MvcExtension, io.jooby.MvcFactory<UserSignatureController> {
|
||||||
|
protected final java.util.function.Function<io.jooby.Context, UserSignatureController> factory;
|
||||||
|
|
||||||
|
public UserSignatureController_() {
|
||||||
|
this(UserSignatureController.class);
|
||||||
|
}
|
||||||
|
|
||||||
|
public UserSignatureController_(Class<UserSignatureController> type) {
|
||||||
|
this(ctx -> ctx.require(type));
|
||||||
|
}
|
||||||
|
|
||||||
|
public UserSignatureController_(UserSignatureController instance) {
|
||||||
|
this(ctx -> instance);
|
||||||
|
}
|
||||||
|
|
||||||
|
public UserSignatureController_(java.util.function.Supplier<UserSignatureController> provider) {
|
||||||
|
this(ctx -> provider.get());
|
||||||
|
}
|
||||||
|
|
||||||
|
public UserSignatureController_(java.util.function.Function<io.jooby.Context, UserSignatureController> factory) {
|
||||||
|
this.factory = factory;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void install(io.jooby.Jooby app) throws Exception {
|
||||||
|
/** See {@link UserSignatureController#findAll(io.jooby.Context) */
|
||||||
|
app.get("/api/v2/user-signature", this::findAll)
|
||||||
|
.setMvcMethod(new io.jooby.Route.MvcMethod(id.go.polri.tte.controllers.UserSignatureController.class, "findAll", id.go.polri.tte.responses.UserSignatureListResponse.class, io.jooby.Context.class));
|
||||||
|
|
||||||
|
/** See {@link UserSignatureController#findById(String, io.jooby.Context) */
|
||||||
|
app.get("/api/v2/user-signature/{id}", this::findById)
|
||||||
|
.setMvcMethod(new io.jooby.Route.MvcMethod(id.go.polri.tte.controllers.UserSignatureController.class, "findById", id.go.polri.tte.responses.UserSignatureSingleResponse.class, java.lang.String.class, io.jooby.Context.class));
|
||||||
|
|
||||||
|
/** See {@link UserSignatureController#insert(io.jooby.Context) */
|
||||||
|
app.post("/api/v2/user-signature", this::insert)
|
||||||
|
.setMvcMethod(new io.jooby.Route.MvcMethod(id.go.polri.tte.controllers.UserSignatureController.class, "insert", id.go.polri.tte.responses.UserSignatureSingleResponse.class, io.jooby.Context.class));
|
||||||
|
|
||||||
|
/** See {@link UserSignatureController#update(String, io.jooby.Context) */
|
||||||
|
app.put("/api/v2/user-signature/{id}", this::update)
|
||||||
|
.setMvcMethod(new io.jooby.Route.MvcMethod(id.go.polri.tte.controllers.UserSignatureController.class, "update", id.go.polri.tte.responses.UserSignatureSingleResponse.class, java.lang.String.class, io.jooby.Context.class));
|
||||||
|
|
||||||
|
/** See {@link UserSignatureController#delete(String) */
|
||||||
|
app.delete("/api/v2/user-signature/{id}", this::delete)
|
||||||
|
.setMvcMethod(new io.jooby.Route.MvcMethod(id.go.polri.tte.controllers.UserSignatureController.class, "delete", id.go.polri.tte.responses.BasicResponse.class, java.lang.String.class));
|
||||||
|
}
|
||||||
|
|
||||||
|
public id.go.polri.tte.responses.UserSignatureListResponse findAll(io.jooby.Context ctx) {
|
||||||
|
var c = this.factory.apply(ctx);
|
||||||
|
return c.findAll(ctx);
|
||||||
|
}
|
||||||
|
|
||||||
|
public id.go.polri.tte.responses.UserSignatureSingleResponse findById(io.jooby.Context ctx) {
|
||||||
|
var c = this.factory.apply(ctx);
|
||||||
|
return c.findById(ctx.path("id").valueOrNull(), ctx);
|
||||||
|
}
|
||||||
|
|
||||||
|
public id.go.polri.tte.responses.UserSignatureSingleResponse insert(io.jooby.Context ctx) {
|
||||||
|
var c = this.factory.apply(ctx);
|
||||||
|
return c.insert(ctx);
|
||||||
|
}
|
||||||
|
|
||||||
|
public id.go.polri.tte.responses.UserSignatureSingleResponse update(io.jooby.Context ctx) {
|
||||||
|
var c = this.factory.apply(ctx);
|
||||||
|
return c.update(ctx.path("id").valueOrNull(), ctx);
|
||||||
|
}
|
||||||
|
|
||||||
|
public id.go.polri.tte.responses.BasicResponse delete(io.jooby.Context ctx) {
|
||||||
|
var c = this.factory.apply(ctx);
|
||||||
|
return c.delete(ctx.path("id").valueOrNull());
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean supports(Class<UserSignatureController> type) {
|
||||||
|
return type == UserSignatureController.class;
|
||||||
|
}
|
||||||
|
|
||||||
|
public io.jooby.Extension create(java.util.function.Supplier<UserSignatureController> provider) {
|
||||||
|
return new UserSignatureController_(provider);
|
||||||
|
}
|
||||||
|
}
|
||||||
BIN
bin/main/id/go/polri/tte/app/App.class
Normal file
BIN
bin/main/id/go/polri/tte/app/App.class
Normal file
Binary file not shown.
BIN
bin/main/id/go/polri/tte/controllers/BsreLogController.class
Normal file
BIN
bin/main/id/go/polri/tte/controllers/BsreLogController.class
Normal file
Binary file not shown.
BIN
bin/main/id/go/polri/tte/controllers/EsignController.class
Normal file
BIN
bin/main/id/go/polri/tte/controllers/EsignController.class
Normal file
Binary file not shown.
BIN
bin/main/id/go/polri/tte/controllers/RoleController.class
Normal file
BIN
bin/main/id/go/polri/tte/controllers/RoleController.class
Normal file
Binary file not shown.
BIN
bin/main/id/go/polri/tte/controllers/SippController.class
Normal file
BIN
bin/main/id/go/polri/tte/controllers/SippController.class
Normal file
Binary file not shown.
BIN
bin/main/id/go/polri/tte/controllers/UserController.class
Normal file
BIN
bin/main/id/go/polri/tte/controllers/UserController.class
Normal file
Binary file not shown.
BIN
bin/main/id/go/polri/tte/controllers/UserInitialController.class
Normal file
BIN
bin/main/id/go/polri/tte/controllers/UserInitialController.class
Normal file
Binary file not shown.
BIN
bin/main/id/go/polri/tte/controllers/UserRoleController.class
Normal file
BIN
bin/main/id/go/polri/tte/controllers/UserRoleController.class
Normal file
Binary file not shown.
Binary file not shown.
BIN
bin/main/id/go/polri/tte/dto/UserAddRoleDto.class
Normal file
BIN
bin/main/id/go/polri/tte/dto/UserAddRoleDto.class
Normal file
Binary file not shown.
BIN
bin/main/id/go/polri/tte/dto/UserVerifyDto.class
Normal file
BIN
bin/main/id/go/polri/tte/dto/UserVerifyDto.class
Normal file
Binary file not shown.
BIN
bin/main/id/go/polri/tte/models/BsreLog$Mapper.class
Normal file
BIN
bin/main/id/go/polri/tte/models/BsreLog$Mapper.class
Normal file
Binary file not shown.
BIN
bin/main/id/go/polri/tte/models/BsreLog.class
Normal file
BIN
bin/main/id/go/polri/tte/models/BsreLog.class
Normal file
Binary file not shown.
BIN
bin/main/id/go/polri/tte/models/OneTimePassword$Mapper.class
Normal file
BIN
bin/main/id/go/polri/tte/models/OneTimePassword$Mapper.class
Normal file
Binary file not shown.
BIN
bin/main/id/go/polri/tte/models/OneTimePassword.class
Normal file
BIN
bin/main/id/go/polri/tte/models/OneTimePassword.class
Normal file
Binary file not shown.
BIN
bin/main/id/go/polri/tte/models/Role$Mapper.class
Normal file
BIN
bin/main/id/go/polri/tte/models/Role$Mapper.class
Normal file
Binary file not shown.
BIN
bin/main/id/go/polri/tte/models/Role.class
Normal file
BIN
bin/main/id/go/polri/tte/models/Role.class
Normal file
Binary file not shown.
BIN
bin/main/id/go/polri/tte/models/User$Mapper.class
Normal file
BIN
bin/main/id/go/polri/tte/models/User$Mapper.class
Normal file
Binary file not shown.
BIN
bin/main/id/go/polri/tte/models/User.class
Normal file
BIN
bin/main/id/go/polri/tte/models/User.class
Normal file
Binary file not shown.
BIN
bin/main/id/go/polri/tte/models/UserInitial$Mapper.class
Normal file
BIN
bin/main/id/go/polri/tte/models/UserInitial$Mapper.class
Normal file
Binary file not shown.
BIN
bin/main/id/go/polri/tte/models/UserInitial.class
Normal file
BIN
bin/main/id/go/polri/tte/models/UserInitial.class
Normal file
Binary file not shown.
BIN
bin/main/id/go/polri/tte/models/UserRole$Mapper.class
Normal file
BIN
bin/main/id/go/polri/tte/models/UserRole$Mapper.class
Normal file
Binary file not shown.
BIN
bin/main/id/go/polri/tte/models/UserRole.class
Normal file
BIN
bin/main/id/go/polri/tte/models/UserRole.class
Normal file
Binary file not shown.
BIN
bin/main/id/go/polri/tte/models/UserSignature$Mapper.class
Normal file
BIN
bin/main/id/go/polri/tte/models/UserSignature$Mapper.class
Normal file
Binary file not shown.
BIN
bin/main/id/go/polri/tte/models/UserSignature.class
Normal file
BIN
bin/main/id/go/polri/tte/models/UserSignature.class
Normal file
Binary file not shown.
BIN
bin/main/id/go/polri/tte/repositories/api/EsignRepository.class
Normal file
BIN
bin/main/id/go/polri/tte/repositories/api/EsignRepository.class
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
bin/main/id/go/polri/tte/repositories/jdbi/RoleRepository.class
Normal file
BIN
bin/main/id/go/polri/tte/repositories/jdbi/RoleRepository.class
Normal file
Binary file not shown.
Binary file not shown.
BIN
bin/main/id/go/polri/tte/repositories/jdbi/UserRepository.class
Normal file
BIN
bin/main/id/go/polri/tte/repositories/jdbi/UserRepository.class
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
bin/main/id/go/polri/tte/responses/BasicResponse.class
Normal file
BIN
bin/main/id/go/polri/tte/responses/BasicResponse.class
Normal file
Binary file not shown.
BIN
bin/main/id/go/polri/tte/responses/BsreLogListResponse$BsreLogListResponseBuilder.class
Normal file
BIN
bin/main/id/go/polri/tte/responses/BsreLogListResponse$BsreLogListResponseBuilder.class
Normal file
Binary file not shown.
BIN
bin/main/id/go/polri/tte/responses/BsreLogListResponse$BsreLogListResponseBuilderImpl.class
Normal file
BIN
bin/main/id/go/polri/tte/responses/BsreLogListResponse$BsreLogListResponseBuilderImpl.class
Normal file
Binary file not shown.
BIN
bin/main/id/go/polri/tte/responses/BsreLogListResponse.class
Normal file
BIN
bin/main/id/go/polri/tte/responses/BsreLogListResponse.class
Normal file
Binary file not shown.
BIN
bin/main/id/go/polri/tte/responses/BsreLogSingleResponse$BsreLogSingleResponseBuilder.class
Normal file
BIN
bin/main/id/go/polri/tte/responses/BsreLogSingleResponse$BsreLogSingleResponseBuilder.class
Normal file
Binary file not shown.
BIN
bin/main/id/go/polri/tte/responses/BsreLogSingleResponse$BsreLogSingleResponseBuilderImpl.class
Normal file
BIN
bin/main/id/go/polri/tte/responses/BsreLogSingleResponse$BsreLogSingleResponseBuilderImpl.class
Normal file
Binary file not shown.
BIN
bin/main/id/go/polri/tte/responses/BsreLogSingleResponse.class
Normal file
BIN
bin/main/id/go/polri/tte/responses/BsreLogSingleResponse.class
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
bin/main/id/go/polri/tte/responses/LoginResponse$LoginResponseData$LoginResponseDataBuilder.class
Normal file
BIN
bin/main/id/go/polri/tte/responses/LoginResponse$LoginResponseData$LoginResponseDataBuilder.class
Normal file
Binary file not shown.
Binary file not shown.
BIN
bin/main/id/go/polri/tte/responses/LoginResponse.class
Normal file
BIN
bin/main/id/go/polri/tte/responses/LoginResponse.class
Normal file
Binary file not shown.
BIN
bin/main/id/go/polri/tte/responses/OneTimePasswordListResponse$OneTimePasswordListResponseBuilder.class
Normal file
BIN
bin/main/id/go/polri/tte/responses/OneTimePasswordListResponse$OneTimePasswordListResponseBuilder.class
Normal file
Binary file not shown.
BIN
bin/main/id/go/polri/tte/responses/OneTimePasswordListResponse$OneTimePasswordListResponseBuilderImpl.class
Normal file
BIN
bin/main/id/go/polri/tte/responses/OneTimePasswordListResponse$OneTimePasswordListResponseBuilderImpl.class
Normal file
Binary file not shown.
Binary file not shown.
BIN
bin/main/id/go/polri/tte/responses/OneTimePasswordSingleResponse$OneTimePasswordSingleResponseBuilder.class
Normal file
BIN
bin/main/id/go/polri/tte/responses/OneTimePasswordSingleResponse$OneTimePasswordSingleResponseBuilder.class
Normal file
Binary file not shown.
BIN
bin/main/id/go/polri/tte/responses/OneTimePasswordSingleResponse$OneTimePasswordSingleResponseBuilderImpl.class
Normal file
BIN
bin/main/id/go/polri/tte/responses/OneTimePasswordSingleResponse$OneTimePasswordSingleResponseBuilderImpl.class
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user