Uploaded image for project: 'Active and Available Inventory'
  1. Active and Available Inventory
  2. AAI-2389

Possible issue in schema-service build+Dockerfile parameter passing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • El Alto Release
    • Dublin Release

      File schema-service/aai-schema-service/src/main/docker/Dockerfile defines

      ENV AAI_BUILD_VERSION @aai.docker.version@

      My assumption is this should get set from the build system, I guess it doesn't as  

      ps -ef ran inside schema-service pod displays it copied verbatim 

       


      UID        PID  PPID  C STIME TTY          TIME CMD

      aaiadmin     1     0  9 Apr23 ?        01:33:23 java -Xloggc:/opt/app/aai-schema-service/logs/gc/aai_gc.log -XX:HeapDumpPath=/opt/app/aai-schema-service/logs/ajsc-jetty/heap-dump -Xms512m -Xmx1024m -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:MaxMetaspaceSize=512m -server -XX:NewSize=512m -XX:MaxNewSize=512m -XX:SurvivorRatio=8 -XX:+DisableExplicitGC -verbose:gc -XX:+UseParNewGC -XX:+CMSParallelRemarkEnabled -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC -XX:-UseBiasedLocking -XX:ParallelGCThreads=4 -XX:LargePageSizeInBytes=128m -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -Dsun.net.inetaddr.ttl=180 -XX:+HeapDumpOnOutOfMemoryError -DAJSC_HOME=/opt/app/aai-schema-service -Dserver.port=8452 -DBUNDLECONFIG_DIR=./resources -Dserver.local.startpath=/opt/app/aai-schema-service/resources/ -DAAI_CHEF_ENV= -DSCLD_ENV= -DAFT_ENVIRONMENT= -DlrmName=com.att.ajsc.aai-schema-service -DAAI_BUILD_VERSION=@aai.docker.version@ -Djava.security.egd=file:/dev/./urandom -Dlogback.configurationFile=./resources/logback.xml -Dloader.path=/opt/app/aai-schema-service/resources -Dgroovy.use.classvalue=true -jar lib/aai-schema-service-1.0.3-SNAPSHOT.jar

      Note similar Dockerfile entries exist in cacher, graphadmin, resources and traversal as well.

            dpuzikov dpuzikov
            omimtl omimtl
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: