Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
问题
系统初始化时 作业价格表设置页面 因集群排序参数为空数组报错
原因为管理系统集群排序列表的上下文context的获取逻辑中集群配置信息数据为{ }时也可以获取排序结果为[ ]
同时此PR在
getClustersRuntimeInfo
和getSimpleClustersInfoRomConfigFiles
中增加了403的返回,修改了mis-web启动时因token过期等情况validation(token)验证没有通过导致api请求挂起的警告
修改后
相关api请求正常返回403
若是已初始化系统启动时
portal正常启动:
mis正常启动:
若是未初始化系统启动时, 与集群、集群优先级排序数组相关数据获取正常