Gagharv
ce57b98332
[ISSUE-#3005] fix ClusterController 403 and some display wrong ( #4512 )
...
* fix 3005
* fix 3005
2020-12-23 19:48:03 +08:00
赵延
638d89b70a
[ISSUE-3917] Enhance service detail console web, add metadata filter ( #4439 )
...
* add metadata filter at back-end of nacos naming console
* code enhance
* 添加input,tag等组件,初步布局
* 实现页面交互,可添加,删除filter
* 更新filter向后端发起请求获取数据
* 实现更新更改过滤条件,刷新表格
* 添加国际化配置
* 输入完后按空格直接添加,没输入的input给出响应
* 提交单元测试,更新打包后的静态资源
* 修改配置 解决生产环境上sourcemap不生效的问题
* 用hook重构组件InstanceFilter
* 多个集群各自使用过滤
* 解决多集群时,元数据过滤无法单独使用的问题
* revert backend code
* revert metadata filter test
* 只从客户端已获取到的实例中过滤
* 变动更新到打包后的mian.js
Co-authored-by: jzhishu <john1994@foxmail.com>
2020-12-21 10:19:42 +08:00
赵延
30a04f98ba
check illegal heart beat param when before register ( #4514 )
2020-12-21 10:07:43 +08:00
haoyann
1bc350b99a
fix derbyOps interface security problem ( #4517 )
2020-12-21 09:55:49 +08:00
neighbor-uncleWang
2f50f53da6
Fixed issue where null values could not be converted to base parameters ( #4527 )
2020-12-21 09:43:16 +08:00
liaochuntao
5b2d76fb34
[ISSUE #4364 ] Fix Cluster member state isn't updated to 'DOWN' after the node becomes down ( #4371 )
...
* fix: fix issue #4364
* refactor: fixed node changes that could not trigger event publishing
* fix: fixed a problem with frequent releases of events
2020-12-16 18:30:41 +08:00
geek
97efd23b3e
refactor(console): add fuzzy tips ( #4488 )
...
* refactor(console): add fuzzy tips
add fuzzy tips ,add * in placeholder
Closes #4476
* refactor(console): add fuzzy tips for en-us
add fuzzy tips for en-us ,add * in placeholder
Closes #4476
* refactor(console): add better fuzzy tips for zh-cn and en-us
add better fuzzy tips for zh-cn and en-us in placeholder
Closes #4476
2020-12-16 09:52:51 +08:00
赵延
2546f052e4
[ISSUE-#4467] Fix snowflake id problem ( #4468 )
...
* fix snowflake id problem
* revert code format
2020-12-15 12:56:05 +08:00
haoyann
ec99590500
fix service/list fromIndex > toIndex ( #4486 )
2020-12-15 12:55:46 +08:00
赵延
6bf46e9c4d
[ISSUE-#4436] Fix parse label expression error problem ( #4465 )
...
* fix parse label expression error problem
* ignore VariableDeclarationUsageDistance checkstyle
* fix check style
2020-12-14 10:23:29 +08:00
liaochuntao
19a04bf90f
Merge pull request #4469 from haoyann/fix-4415
...
[ISSUE #4415 ] fix NOW_WATCH_JOB_CNT record WatchDirJob count
2020-12-13 21:38:22 +08:00
haoyann
b25b23e5f5
fix NOW_WATCH_JOB_CNT record WatchDirJob count
2020-12-13 19:51:33 +08:00
wangxw
350be0669e
cacheDataMap ( #4445 )
2020-12-12 17:00:41 +08:00
赵延
16fc8c5876
fix memberAddressInfos not right problem when memberChange ( #4451 )
2020-12-11 23:54:13 +08:00
Brent
b8b57dc980
fix: 修复参数类型注释及单词拼写错误 ( #4419 )
2020-12-07 19:42:05 +08:00
luoos
24b99aa16b
Fix an order-dependent flaky test ( #4384 )
...
[Problem]
testSerializeExtend add an item to a static mapper,
and testDeserializeExtend read that item from that static mapper.
So if testDeserializeExtend runs before testSerializeExtend,
testDeserializeExtend will fail.
@Ignore testSerializeExtend can stably reproduce this issue.
[Solution]
Add that item to the static mapper in @BeforeClass method
(Even though using static variables in unit tests is a bad practice)
2020-12-04 09:18:55 +08:00
赵延
0a07c0e788
code refactor ( #4394 )
2020-12-04 09:15:21 +08:00
赵延
1e39f39a91
when deleteFile, just check the file is exists. ( #4402 )
2020-12-04 09:12:54 +08:00
赵延
95c61beb6a
reuse cliClientService ( #4375 )
2020-12-01 23:16:18 +08:00
赵延
6ac6a6c7ed
[ISSUE-#4346] Fix import code ( #4347 )
...
* remove import.*
* transfer first_pre to final static variable
* use NamingBase.Xxx to replace constant
2020-11-30 19:17:27 +08:00
iochenlei
149ba91966
fix styles at the button '新建命名空间' ( #4362 )
2020-11-30 09:58:25 +08:00
Gagharv
aa4737f4bc
[ISSUE-#4181] Normalize ContextPath value in client-side ( #4326 )
...
* [ISSUE-#4181] Just use ContextPathUtil normalize ContextPath value
* [ISSUE-#4181] add some test cases
2020-11-27 23:41:22 +08:00
mai.jh
f78bef9665
[ISSUE-#4333]Add MapRowMapper to RowMapperManager ( #4334 )
...
* for #4311,Fixed Derby data source related SQL LIMIT exception.
* Revert "for #4311,Fixed Derby data source related SQL LIMIT exception."
This reverts commit 49188f14
* fix #4333 .
* Remove case conversion.
2020-11-27 10:10:11 +08:00
赵延
67a0ba3f8f
[ISSUE-#4342] Fix nacos.core.protocol.raft.data.read_index_type isn't effect ( #4343 )
...
* fix nacos.core.protocol.raft.data.read_index_type=ReadOnlyLeaseBased isn't effect and enhance log hint
* define ReadOnlyOption param name just by self
2020-11-26 23:56:42 +08:00
邪影oO
85bdc1e644
Upgrade jraft to 1.3.5 ( #4339 )
...
* 升级jraft到1.3.5以支持IPv6, 调整 NamingUtilsTest 代码格式以解决checkstyle问题
* 删除测试类的类注释
2020-11-26 18:33:18 +08:00
赵延
dc266b03bc
[ISSUE-#4258] Fix wrong path when -Dspring.config.location not set ( #4259 )
...
* fix spring.config.location is nullapplication.properties when -Dspring.config.location is not set in env
* fix wrong path when -Dspring.config.location not set
* modify default file resource method name
* fix "/" magic value
* change the way of get file
* not judge pathSplit by self, use Paths.get(a, b);
* when spring.config.location is not set, use {nacos.home}/conf/application.properties to cover it.
* refactor code
* code quality enhance
* just use two level to load conf. {spring.config.location}/application.properties -> classpath:/application.properties
* code clean
2020-11-25 17:02:21 +08:00
Mark4z
6ad8da4f68
fix service list can not search by groupName only ( #4308 )
...
* fix service list can not search by groupName only
* fix service list can not search by groupName only
* fix checkStyle
* add ut for NamingUtils
2020-11-25 15:01:18 +08:00
liaochuntao
70a26959e3
[ISSUE #4320 ] Fixing the Naming consistency module could not start in cluster mode ( #4321 )
...
* refactor: refactor issue #4291
* fix: fixing the Naming consistency module could not start in cluster mode
2020-11-25 11:10:09 +08:00
孙继峰
c8d46a6046
[ISSUE-#4310] Delete the main function only for testing ( #4312 )
2020-11-24 13:22:22 +08:00
mai.jh
3bf8844992
[ISSUE #4311 ] Fix Derby data source related SQL LIMIT exception ( #4313 )
...
* for #4311,Fixed Derby data source related SQL LIMIT exception.
* fix code style.
* code format.
2020-11-24 13:21:15 +08:00
赵延
7f2a3307d6
[ISSUE-#4256] Just inject environment in StartingSpringApplicationRunListener ( #4257 )
...
* just inject environment in StartingSpringApplicationRunListener
* make nacosStartingListener is decoupling with springApplicationRunListener.
* add api doc
* refactor. transfer nacos listeners to SpringApplicationRunListener.
* remove unuseful import
* add doc info
2020-11-24 11:17:13 +08:00
赵延
3d97e36785
when auth open, use resource parser cache, not use reflect newInstance every time. ( #4287 )
2020-11-23 13:51:13 +08:00
zhuhao
b7b7b1975f
refactor issue #4275 ( #4299 )
2020-11-23 13:50:14 +08:00
赵延
a3597de1bc
remove env operation code in ApplicationUtils ( #4298 )
2020-11-23 13:44:28 +08:00
liaochuntao
a43bf8fcfb
refactor: refactor issue #4291 ( #4292 )
2020-11-23 09:49:08 +08:00
赵延
8500279c79
[ISSUE-#4294] Use EnvUtils.setEnvironment to replace ApplicationUtils.injectEnvironment ( #4295 )
...
* use EnvUtils.setEnvironment to replace ApplicationUtils.injectEnvironment.
* remove unuseful import
* remove unuseful import
2020-11-21 19:03:51 +08:00
赵延
886715b2d7
[ISSUE-#4232] Use EnvUtil to replace ApplicationUtils about env operation ( #4281 )
...
* use EnvUtil to replace ApplicationUtils about env operation
* remove unuse import
* remove unuse import
* remove profile usage
2020-11-21 06:54:05 +08:00
赵延
ba9ed8e736
[ISSUE-#4262] Fix public namespace permission problem ( #4273 )
...
* fix public namespace permission problem
* move NamespaceUtilTest to common module
2020-11-20 20:00:57 +08:00
赵延
44641d9431
fix twice invoke and the value is not same. ( #4271 )
2020-11-20 09:16:19 +08:00
shizhengxing
daf593823a
[ISSUE #4136 ] Fix the bug that cann't correctlly instantiate ServiceInfo from cache file #4249 ( #4272 )
2020-11-20 09:15:41 +08:00
mai.jh
6f4dbf065f
[ISSUE #4225 ] Replace http client in HttpHealthCheckProcessor ( #4244 )
...
* for #42255, Replace http client in HttpHealthCheckProcessor.
* Restore the old version number.
* Removes temporary attributes from a method.
* fix Code style.
* Use the EnvUtil.getProperty() method to get the HTTP parameter, leaving it customizable.
* Fix error symbol.
* Remove excess package import.
* Rollback the code about the custom HTTP parameter.
* fix Code style.
2020-11-19 19:07:44 +08:00
liaochuntao
f00423ff72
Merge pull request #4265 from horizonzy/modify-envutil-getcontext
...
[ISSUE-#4264] Fix always load property when the contextPath is '/'
2020-11-19 16:21:37 +08:00
赵延
7c30c4ea96
fix always load property when the contextPath is '/'
2020-11-19 12:27:59 +08:00
paderlol
501b1e73e4
Fix sql injection bug ( #4245 )
...
* Fix sql injection bug
* Fix checkstyle issue
2020-11-18 09:23:48 +08:00
mai.jh
0a983c823f
for #4236,fix error with the Apache HTTP client "Content-Length Header Already Present" ( #4237 )
2020-11-16 15:21:49 +08:00
liaochuntao
bcd62d5574
Refactor issue 4228 ( #4229 )
...
* refactor: adjusts conformance protocol layer objects
* feat: repair problems
* refactor: reafctor consistency model
2020-11-16 09:58:52 +08:00
liaochuntao
c183b77db4
[ISSUE #4090 ] Configuration file changes do not take effect ( #4188 )
...
* fix: fix issue #4090
* fix: fixed an issue where profile updates did not take effect
2020-11-14 14:14:14 +08:00
liaochuntao
d7cc42d8a4
Fix issue 4187 ( #4205 )
...
* fix: fix issue 4187
* fix: correct faulty repair logic
* fix: fixed unit test issues
2020-11-14 14:12:48 +08:00
赵延
5c38d0b5b8
[ISSUE-#4115] Refactor client naming event handle logic ( #4137 )
...
* refactor and supply api to async handle instances change event
* add async handle way to callback event listener
* refactor EventListener, supply getExecutor to handle event async and compatible old version.
* remove unnecessary code
* ignore abstract class name check
* fix EmptyLineSeparator
* remove unuseful import
* compatible old client sdk, add abstractEventListener to support async handle naming event.
* remove unuseful import
* refactor InstanceChangeListener. decouple AbstractEventListener's executor and InstanceChangeListener's executor
* 1.remove key if listeners is empty.
2.fix getSubscribeServices
* revert notify center code
* code quality enhance
* upgrade @since 1.4.0 -> 1.4.1
* change combineListenKey to ServiceInfo.getKey
* just deregisterSubscriber when hostReactor shutdown
* not export getSubscribers()
* add this key word, and move code place.
2020-11-13 11:58:12 +08:00
蚊子猫
01101c5cc4
[ISSUE #3102 ] remove lang/lang3 dependency from api/common/client. ( #4207 )
...
* add commons-lang3 dependency into core and sys, prepare to remove lang/lang3 dependency in common/api/client.
Change-Id: I4b7a0bec09359e64ecf997b123b85c265bfe16cf
* remove lang dependency.
Change-Id: I5cbd811babc8269a54b93e278ad6e5e2663c8427
* remove lang/lang3 dependency from api/common/client.
Change-Id: I77b5cf5d922a7c031fa4676d1404de7cb255a010
2020-11-12 20:18:11 +08:00