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.
bug 描述
找不到扩展点。
例如扩展点为:
COLA框架在
extensionRepository
中注册的扩展点对应关系为:ali.defaultUseCase.defaultScenario
->ValidateExt
当身份为:
ali.tmall.supermarket
的command执行的时候,找不到该扩展点。寻找扩展点的逻辑如下:
bug fix
有两种办法可以解该Bug。
1.注册循环多条扩展点数据:
ali.defaultUseCase.defaultScenario
->ValidateExt
ali.defaultUseCase
->ValidateExt
ali
->ValidateExt
2. 注册的时候注册
ali
->ValidateExt
寻找扩展点逻辑不变,还是循环寻找扩展点。
最终选择第二种,不违背最开始设计思路,也节省内存中存冗余数据。