forked from Netflix/metacat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sample_config.properties
45 lines (41 loc) · 1.88 KB
/
sample_config.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#
# Copyright 2016 Netflix, Inc.
# 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.
#
####################
# metacat Properties
####################
# Ensure that this url is accessible locally and returns valid metacat healthcheck responses
# Note that this is likely on the same port as eureka.port
metacat.host.healthcheck.url=http://localhost:5050/status
# Timeout for calls to the healthcheck in ms
metacat.host.healthcheck.timeout=1500
# List of accepted encodings for the metacat proxy
metacat.proxy.req.acceptencoding=gzip
####################
# Eureka Service Registration Properties
####################
# Change this to the application name for your side managed process
eureka.name=MYSERVICE
# Change this to the VIP address for you side managed process
eureka.vipAddress=MYSERVICE
# This is the port your want clients to connect to in your side managed process
eureka.port=5050
####################
# Eureka Connectivity Properties
####################
# Change this to a working eureka-client configuration. For simplicity
# this metacat example assumes a single eureka main
eureka.serviceUrl.default=http://eurekaserverhostnameorip:8080/eureka
# In Karyon 2.0, Erueka will assume DatacenterInfo (Amazon) and without the
# below property, service registration will fail if you are running outside of
# Amazon (for development). In Amazon, delete this property.
eureka.validateInstanceId=false