# ./.env 
# for our staging environment
#
# ====================================
# REPOSITORY
# ====================================
#
# This repository is used to get
#     com.atina:JDEAtinaServer
#
ATINA_REPOSITORY_PROTOCOL=https
#
# DEBUG_ACTIVO.  =jfrog.atina-connection.com/artifactory/libs-snapshot
# DEBUG_NO_ACTIVO=jfrog.atina-connection.com/artifactory/libs-release
#
ATINA_REPOSITORY_URL=jfrog.atina-connection.com/artifactory/libs-release
#
#
# This repository is optional. It will be used to get 
#     com.jdedwards:StdWebService
#     com.jdedwards:jde-lib-wrapped
# builded on the customer deployment. 
# The customer can use this repository to update 
# web services or jde tool version.
#
CUSTOMER_REPOSITORY_PROTOCOL=https
CUSTOMER_REPOSITORY_URL=jfrog.atina-connection.com/artifactory/libs-release
#
# ====================================
# JDE MICROSERVER SERVER
# ====================================
#
JDE_MICROSERVER_IP=172.28.0.2
JDE_MICROSERVER_PORT=8077
JDE_MICROSERVER_DEBUG_PORT=5005
JDE_MICROSERVER_CODE=demo
#
# ====================================
# JVM Version
# ====================================
#
# DEBUG_ACTIVO
#
#javaJDKImage=OpenJDK8U-jdk_x64_linux_hotspot_8u322b06.tar.gz
#javaJDKRootFolder=jdk8u322-b06
#DEBUG_ACTIVO=true
#
# DEBUG NO ACTIVO
#
javaJDKImage=j2sdk-image-x86_64-u322-b04-20221122.tar.bz2
javaJDKRootFolder=j2sdk-image
DEBUG_ACTIVO=false
#
# -------------------------------------------
# Atina Version
# -------------------------------------------
#
# DEBUG_ACTIVO Modo Debug debe agregar -SNAPSHOT a JDE_ATINA_SERVER_VERSION
#
JDE_ATINA_SERVER_VERSION=1.0.6
#
# -------------------------------------------
# JVM Memory Configuration
# -------------------------------------------
#
# Defines the JVM heap settings used by the microserver.
#
JDE_JAVA_XMS=2G
JDE_JAVA_XMX=4G
#
# Enables automatic heap dump generation on OutOfMemoryError.
#
JDE_JAVA_HEAP_DUMP_ON_OOM=true
#
# Directory where heap dumps will be written.
#
JDE_JAVA_HEAP_DUMP_PATH=/tmp/jde/jvm-dumps
#
# JVM fatal error log file.
#
JDE_JAVA_ERROR_FILE=/tmp/jde/jvm-dumps/hs_err_pid%p.log
#
# Optional extra JVM arguments.
#
JDE_JAVA_EXTRA_OPTS=
#
# -------------------------------------------
# Kernel Recycling
# -------------------------------------------
#
KERNEL_RECICLYING=false
KERNEL_RECICLYING_BY_USER=false
#
SESSION_EXPIRATION_TIME=60
#
# -------------------------------------------
# UBE Submission User Configuration
# -------------------------------------------
# Defines which user context is used when submitting UBE jobs.
#
# true  → Uses the logged-in user (recommended and default behavior)
# false → Uses the security/bootstrap user (legacy behavior)
#
# If not defined, the system defaults to "true".
#
SUBMIT_UBE_USER_LOGGED=true
#
#
# ====================================
# Configure Cleaning Process
# ====================================
#
# Defines the cleanup interval, in minutes, for temporary files and old log files.
#
# Cleanup targets:
# - Temporary directory: ${java.io.tmpdir}
# - Atina logs directory: /tmp/jde/JDEConnectorServerLog
# - JDE logs directory: /tmp/jdelog
#
# Only files older than the configured threshold will be deleted.
# Files currently in use will be skipped safely.
# Note:
#
# The JDE logs directory must remain aligned with the paths defined in jdelog.properties.
# For example, if jdelog.properties contains entries such as:
#   FILE=/tmp/jdelog/jderoot.log
#   FILE=/tmp/jdelog/jas.log
#   FILE=/tmp/jdelog/jasdebug.log
# then the cleanup configuration must point to the same base directory: /tmp/jdelog
#
CLEANING_LOG_TIME=60
#
# -------------------------------------------
# JDEAtinaOverrideServicesConstants-1.0.0.jar
# -------------------------------------------
#
# DEBUG_ACTIVO Modo Debug debe agregar -SNAPSHOT a STD_WEB_SERVICE_CONSTANTS_VERSION
#
STD_WEB_SERVICE_CONSTANTS_VERSION=1.0.0
JDE_GET_LIB_WEB_SERVICE_CONSTANTS_FROM_REPOSITORY=1
#
# -------------------------------------------
# Token
# -------------------------------------------
#
JDE_MICROSERVER_SECRET_KEY=123456789012345678901234567890123456789012345678901234567890
JDE_MICROSERVER_TOKEN_EXPIRATION=3000000
#
# -------------------------------------------------
# Mocking 0:Not 1:Yes 2:Generate Mocking reponses
# -------------------------------------------------
#
JDE_MICROSERVER_MOCKING=0
#
# ====================================
# Java Application Logging Levels
# ====================================
#
# Optional log levels for the Atina Java server.
# If any of these properties are not defined, the application will use the
# default value configured in JDEConnectorServerBootstrap (DEBUG).
#
# Valid values typically include:
# TRACE, DEBUG, INFO, WARN, ERROR
#
JDE_CONNECTOR_SERVER_LEVEL=INFO
JDE_REST_SERVER_LEVEL=INFO
JDE_CONNECTOR_SERVICE_LEVEL=INFO
JDE_HANDLER_LEVEL=INFO
JDE_SINGLE_WS_CLIENT_LEVEL=INFO
JDE_SINGLE_WS_CONNECTION_LEVEL=INFO
#
# ====================================
# JDE Logging Properties Template
# ====================================
#
# Controls whether the application automatically copies a JDE logging
# properties template from the classpath to the working area at startup.
#
# Valid values:
# - NONE  : do not copy any file (default behavior)
# - INFO  : copy src/main/resources/jdelog-info.properties
# - DEBUG : copy src/main/resources/jdelog-debug.properties
#
# The file will be copied to:
#   ${user.dir}/jdelog.properties
#
# This is useful when the customer wants the application to prepare a default
# jdelog.properties file automatically.
# If the customer prefers to manage the file manually, use NONE.
#
# If the customer wants to use their own custom jdelog.properties file, they
# should copy it into the container manually (for example with `docker cp`)
# and set JDE_DEBUG_MODE=NONE to prevent the application from overwriting it.
#
# Example:
# docker cp ./jdelog.properties jd-atina-microserver:/var/jdeatinaserver/jdelog.properties
#
JDE_DEBUG_MODE=INFO
#
# Target path for the copied jdelog.properties file.
# Default: ${user.dir}/jdelog.properties
#
JDE_LOG_PROPERTIES_TARGET=/var/jdeatinaserver/jdelog.properties
#
# ====================================
# Volumes
# ==================================== 
#
Volume_DataLogs=~/atina/microserver/jde/data/logs
Volume_JDETmp=~/atina/microserver/jde/data/tmp
Volume_JDELog=~/atina/microserver/jde/data/jdelog
#
# JDE_LIBS_ROOT: Base folder that contains the runtime artifacts mounted into the container.
#
# Expected contents:
# - Properties:
#   - service-constants.properties
#
# - JAR files:
#   - JDEAtinaOverrideServicesConstants-1.0.0.jar
#   - StdWebService-1.0.0.jar
#   - jde-lib-wrapped-1.0.0.jar
#
# - JDE environment/config folders:
#   - JDV920/
#   - JPS920/
#   - (and any other environments you use)
# 
JDE_LIBS_ROOT=/tmp/build_jde_libs
#
# ====================================
# Libraries
# ==================================== 
#
# ------------------------------------------
# jde-lib-wrapped-1.0.0.jar
# ------------------------------------------
# 0: Not 1: Yest
JDE_GET_LIB_WRAPPED_UPDATE_FROM_REPOSITORY=1
JDE_LIB_WRAPPED_VERSION=1.0.0
#
# ------------------------------------------
# jStdWebService-1.0.0.jar
# ------------------------------------------
# 0: Not 1: Yest
JDE_GET_LIB_WEB_SERVICE_FROM_REPOSITORY=1
STD_WEB_SERVICE_VERSION=1.0.0
#
# ====================================
# TimeZone
# ====================================
#  
TZ=America/Buenos_Aires
#
# ====================================
# ETC/HOST
# ====================================
#
JDE_MICROSERVER_ENTERPRISE_SERVER_NAME=JDE-ALPHA-ENT
JDE_MICROSERVER_ENTERPRISE_SERVER_IP=138.91.73.161
JDE_MICROSERVER_ENTERPRISE_DB_NAME=JDE-ALPHA-SQL 
JDE_MICROSERVER_ENTERPRISE_DB_IP=65.52.119.187
#
HOST_EXTRA_HOSTS_FILE=/Users/franciscogodinoconte/_atina/projects/JDEAtinaDockerBuilders/Microservice/extra-hosts.txt
#
# Don't change it next var:
#
JDE_EXTRA_HOSTS_FILE=/tmp/extra-hosts.txt
#














