Skip to content

Commit 69dabf9

Browse files
committed
Release 1.3.4
1 parent de34662 commit 69dabf9

File tree

3 files changed

+59
-13
lines changed

3 files changed

+59
-13
lines changed

charts/joylive-injector/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 1.3.3
18+
version: 1.3.4
1919

2020
keywords:
2121
- joylive

charts/joylive-injector/config/config.yaml

Lines changed: 51 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -56,29 +56,65 @@ agent:
5656
profile: null
5757
sync:
5858
liveSpace:
59-
type: ${CONFIG_LIVE_SPACE_API_TYPE:{{ .Values.agent.sync.liveSpace.type }}} # [file,multilive]
59+
type: ${CONFIG_LIVE_SPACE_API_TYPE:{{ .Values.agent.sync.liveSpace.type }}} # [file,multilive,multilive-openapi,nacos]
6060
url: ${CONFIG_LIVE_SPACE_API_URL:{{ .Values.agent.sync.liveSpace.url }}}
61-
#spacesUrl: ${CONFIG_LIVE_SPACE_API_URL}/workspaces
62-
#spaceUrl: ${CONFIG_LIVE_SPACE_API_URL}/workspaces/${space_id}/version/${space_version}
63-
#serviceUrl: ${CONFIG_LIVE_SPACE_API_URL}/services/${service_name}/version/${service_version}
64-
accessKey: ${CONFIG_MULTILIVE_ACCESS_KEY:{{ .Values.agent.sync.liveSpace.accessKey }}}
65-
secretKey: ${CONFIG_MULTILIVE_SECRET_KEY:{{ .Values.agent.sync.liveSpace.secretKey }}}
6661
service: true
6762
interval: 5000
6863
timeout: 3000
6964
initialTimeout: 20000
7065
delay: 0
7166
fault: 5000
7267
headers: ${CONFIG_LIVE_SPACE_API_HEADERS}
68+
# for multilive
69+
multilive:
70+
spacesUrl: /workspaces
71+
spaceUrl: /workspaces/${space_id}/version/${space_version}
72+
serviceUrl: /services/${service_name}/version/${service_version}
73+
# for multilive-openapi
74+
jdcloud:
75+
accessKey: ${CONFIG_MULTILIVE_ACCESS_KEY:{{ .Values.agent.sync.liveSpace.jdcloud.accessKey }}}
76+
secretKey: ${CONFIG_MULTILIVE_SECRET_KEY:{{ .Values.agent.sync.liveSpace.jdcloud.secretKey }}}
77+
# for nacos
78+
nacos:
79+
username: ${CONFIG_NACOS_USERNAME:nacos}
80+
password: ${CONFIG_NACOS_PASSWORD:nacos}
81+
namespace: ${CONFIG_NACOS_NAMESPACE:public}
82+
liveSpaceGroup: ${CONFIG_NACOS_GROUP_LIVE_SPACE:DEFAULT_GROUP}
83+
liveSpacesKey: ${CONFIG_NACOS_KEY_LIVE_SPACES:govern-liveSpaces}
84+
liveSpaceKeyTemplate: ${CONFIG_NACOS_KEY_LIVE_SPACE_TEMPLATE:govern-liveSpace-${id}}
85+
liveServiceTemplate: ${CONFIG_NACOS_KEY_LIVE_SERVICE_TEMPLATE:govern-liveService-${name}}
7386
laneSpace:
74-
type: file
87+
type: ${CONFIG_LANE_SPACE_API_TYPE:{{ .Values.agent.sync.lane.type }}} # [file,jmsf,nacos]
88+
url: ${CONFIG_LANE_SPACE_API_URL:{{ .Values.agent.sync.lane.url }}}
89+
# for jmsf
90+
jmsf:
91+
spacesUrl: /laneSpaces
92+
spaceUrl: /laneSpace/${space_id}/version/${space_version}
93+
# for nacos
94+
nacos:
95+
username: ${CONFIG_NACOS_USERNAME:nacos}
96+
password: ${CONFIG_NACOS_PASSWORD:nacos}
97+
namespace: ${CONFIG_NACOS_NAMESPACE:public}
98+
laneSpaceGroup: ${CONFIG_NACOS_GROUP_LANE_SPACE:DEFAULT_GROUP}
99+
laneSpacesKey: ${CONFIG_NACOS_KEY_LANE_SPACES:govern-laneSpaces}
100+
laneSpaceKeyTemplate: ${CONFIG_NACOS_KEY_LANE_SPACE_TEMPLATE:govern-laneSpace-${id}}
75101
microservice:
76-
type: ${CONFIG_SERVICE_API_TYPE:{{ .Values.agent.sync.microservice.type }}}
102+
type: ${CONFIG_SERVICE_API_TYPE:{{ .Values.agent.sync.microservice.type }}} # [file,jmsf,nacos]
77103
url: ${CONFIG_SERVICE_API_URL:{{ .Values.agent.sync.microservice.url }}}
78104
headers: ${CONFIG_SERVICE_API_HEADERS}
79105
interval: 5000
80106
timeout: 3000
81107
initialTimeout: 20000
108+
# for jmsf
109+
jmsf:
110+
serviceUrl: /space/${space}/service/${service_name}/version/${service_version}?application=${application}
111+
# for nacos
112+
nacos:
113+
username: ${CONFIG_NACOS_USERNAME:nacos}
114+
password: ${CONFIG_NACOS_PASSWORD:nacos}
115+
namespace: ${CONFIG_NACOS_NAMESPACE:public}
116+
serviceGroup: ${CONFIG_NACOS_GROUP_SERVICE:DEFAULT_GROUP}
117+
serviceKeyTemplate: ${CONFIG_NACOS_KEY_SERVICE_TEMPLATE:govern-service-${name}}
82118
watchdog:
83119
enabled: true
84120
delay: 5000
@@ -89,13 +125,14 @@ agent:
89125
enabled: ${CONFIG_LIVE_ENABLED:{{ .Values.agent.switch.live }}}
90126
mq: ${CONFIG_LIVE_MQ_ENABLED:false}
91127
dubbo: true
128+
grpc: true
92129
sofarpc: true
93130
jsf: true
94131
spring: true
95132
phevos: true
96133
rocketmq: true
97134
lane:
98-
enabled: ${CONFIG_LANE_ENABLED:{{ .Values.agent.switch.live }}}
135+
enabled: ${CONFIG_LANE_ENABLED:{{ .Values.agent.switch.lane }}}
99136
transmission:
100137
enabled: ${CONFIG_TRANSMISSION_ENABLED:true}
101138
threadpool: ${CONFIG_TRANSMISSION_THREADPOOL_ENABLED:true}
@@ -131,14 +168,18 @@ agent:
131168
cleanInterval: 30000
132169
expireTime: 60000
133170
rateLimiter:
134-
type: Resilience4j
171+
type: SmoothBursty
135172
cleanInterval: 30000
136173
expireTime: 60000
174+
loadLimiter:
175+
cpuUsage: ${CONFIG_MAX_CPU_USAGE:}
176+
loadUsage: ${CONFIG_MAX_LOAD_USAGE:}
137177
circuitBreaker:
138178
type: Resilience4j
139179
cleanInterval: 30000
140180
expireTime: 60000
141181
live:
182+
fallbackLocationIfNoSpace: ${CONFIG_FALLBACK_LOCATION_IF_NO_SPACE:false}
142183
topics: ${CONFIG_LIVE_TOPICS}
143184
modifyMQGroupEnabled: ${CONFIG_LIVE_MODIFY_MQ_GROUP:false}
144185
lane:

charts/joylive-injector/values.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,13 @@ agent:
4141
type: file
4242
url: http://api.live.local:9090/v1
4343
headers: ${CONFIG_LIVE_SPACE_API_HEADERS}
44-
accessKey:
45-
secretKey:
44+
# for multilive-openapi
45+
jdcloud:
46+
accessKey:
47+
secretKey:
48+
lane:
49+
type: file
50+
url: http://api.jmsf.local:8080/v1
4651
microservice:
4752
type: file
4853
url: http://api.jmsf.local:8080/v1

0 commit comments

Comments
 (0)