Skip to content
Snippets Groups Projects
application.properties 1.8 KiB
Newer Older
  • Learn to ignore specific revisions
  • #server config
    server.port=8080
    
    David Diederich's avatar
    David Diederich committed
    server.servlet.contextPath=/api/indexer/v2
    
    Igor Filippov (EPAM)'s avatar
    Igor Filippov (EPAM) committed
    logging.level.org.springframework.web=${LOG_LEVEL:DEBUG}
    
    David Diederich's avatar
    David Diederich committed
    JAVA_OPTS=-Xms3072m -Xmx3072m
    JAVA_GC_OPTS=-XX:+UseG1GC -XX:+UseStringDeduplication -XX:InitiatingHeapOccupancyPercent=45
    
    #Default Cache Settings
    
    schema-cache-expiration=60
    index-cache-expiration=60
    elastic-cache-expiration=1440
    cursor-cache-expiration=60
    
    David Diederich's avatar
    David Diederich committed
    # Kinds Cache expiration 2*24*60
    
    David Diederich's avatar
    David Diederich committed
    # Attributes Cache expiration 2*24*60
    
    attributes-cache-expiration=2880
    kinds-redis-database=1
    cron-index-cleanup-threshold-days=3
    cron-empty-index-cleanup-threshold-days=7
    
    David Diederich's avatar
    David Diederich committed
    
    
    #indexer service config
    DEFAULT_DATA_COUNTRY=US
    
    security.https.certificate.trust=false
    storage-records-by-kind-batch-size=20
    storage-records-batch-size=20
    
    David Diederich's avatar
    David Diederich committed
    
    
    REDIS_GROUP_PORT=6379
    REDIS_GROUP_HOST=redis-cache-groups
    
    REDIS_SEARCH_PORT=6379
    REDIS_SEARCH_HOST=redis-cache-search
    
    PARTITION_HOST=http://partition
    PARTITION_PATH=/api/partition/v1
    PARTITION_API=${PARTITION_HOST}${PARTITION_PATH}
    
    ENTITLEMENTS_HOST=http://entitlements
    ENTITLEMENTS_PATH=/api/entitlements/v2
    AUTHORIZE_API=${ENTITLEMENTS_HOST}${ENTITLEMENTS_PATH}
    
    STORAGE_HOST=http://storage
    STORAGE_PATH=/api/storage/v2
    STORAGE_API=${STORAGE_HOST}${STORAGE_PATH}
    STORAGE_QUERY_KINDS_HOST=${STORAGE_API}/query/kinds
    STORAGE_QUERY_RECORD_FOR_CONVERSION_HOST=${STORAGE_API}/query/records:batch
    STORAGE_QUERY_RECORD_HOST=${STORAGE_API}/query/records
    STORAGE_SCHEMA_HOST=${STORAGE_API}/schemas
    
    SCHEMA_BASE_HOST=http://schema
    SCHEMA_PATH=/api/schema-service/v1/schema
    SCHEMA_HOST=${SCHEMA_BASE_HOST}${SCHEMA_PATH}
    
    INDEXER_QUEUE_BASE_HOST=http://indexer-queue
    INDEXER_QUEUE_PATH=/api/indexer-queue/v1/_dps/task-handlers/enqueue
    INDEXER_QUEUE_HOST=${INDEXER_QUEUE_BASE_HOST}${INDEXER_QUEUE_PATH}