application.properties 2.41 KB
Newer Older
David Diederich's avatar
David Diederich committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#  Copyright © Microsoft Corporation
#
#  Licensed under the Apache License, Version 2.0 (the "License");
#  you may not use this file except in compliance with the License.
#  You may obtain a copy of the License at
#
#       http://www.apache.org/licenses/LICENSE-2.0
#
#  Unless required by applicable law or agreed to in writing, software
#  distributed under the License is distributed on an "AS IS" BASIS,
#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#  See the License for the specific language governing permissions and
#  limitations under the License.

LOG_PREFIX=search

server.servlet.contextPath=/api/search/v2/
18
logging.level.org.springframework.web=${search_service_spring_logging_level}
David Diederich's avatar
David Diederich committed
19
20
21
22
23
24
25
26
server.port=${search.service.port}
spring.data.redis.repositories.enabled = false

AUTHORIZE_API=${entitlements_service_endpoint}
AUTHORIZE_API_KEY=${entitlements_service_api_key}

azure.search.container=SearchSettings

27
28
29
# Partition Service configuration
PARTITION_API=${partition_service_endpoint}
azure.activedirectory.app-resource-id=${aad_client_id}
David Diederich's avatar
David Diederich committed
30

31
32
33
34
35
36
37
38
# Azure AD configuration, commented below settings to disable AAD AuthN ,
#Uncomment it In the Istio AUTHN disabled Scenario
#azure.activedirectory.client-id=${aad_client_id}
#azure.activedirectory.AppIdUri=api://${aad_client_id}
#azure.activedirectory.session-stateless=true

# Istio Auth Enabled
azure.istio.auth.enabled=${azure_istioauth_enabled}
David Diederich's avatar
David Diederich committed
39

40
41
42
# Azure CosmosDB configuration
azure.cosmosdb.database=${cosmosdb_database}

David Diederich's avatar
David Diederich committed
43
44
45
46
47
48
# Azure KeyVault configuration
azure.keyvault.url=${KEYVAULT_URI}

# Azure Search query properties
QUERY_DEFAULT_LIMIT=10
QUERY_LIMIT_MAXIMUM=1000
49
50
51
52
AGGREGATION_SIZE=1000

logging.slf4jlogger.enabled=true
logging.transaction.enabled=true
53
54
55
56
57
logging.mdccontext.enabled=true

#TenantFactory Configuration
tenantFactoryImpl.required=true
tenantInfo.container.name=TenantInfo
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76

# Cache configuration, provider [vm, redis]
cache.provider=redis

# VM
elastic.cache.expiration=${ELASTIC_CACHE_EXPIRATION}
elastic.cache.maxSize=${MAX_CACHE_VALUE_SIZE}
group.cache.expiration=5
group.cache.maxSize=1000

# Redis
redis.port=6380
redis.expiration=3600
redis.ssl.enabled=true
redis.database=${REDIS_DATABASE}

# Health checks
management.health.redis.enabled=false
management.health.elasticsearch.enabled=false
77
78
79
management.health.azure-key-vault.enabled=false

# Policy service properties
80
service.policy.enabled=${is_policy_enabled}
81
POLICY_API=${policy_service_endpoint}