wso2 api管理器工件关联错误多租户

问题描述 投票:0回答:1

所以我们建立了一个api管理器,身份服务器作为密钥管理器。 Carbon.super是唯一可以在api manager中创建API的租户,没有任何问题。 内部/每个人都被授予其租户的每个权限,不同租户的用户可以登录到api管理器发布者和商店,在其他租户上,用户无法在API管理器上删除(at)引用时出现以下错误的任何api使它少阅读。

TID: [1] [] [2019-02-11 12:58:19,669] @test.dk [1] [AM]ERROR {org.wso2.carbon.governance.api.common.dataobjects.GovernanceArtifactImpl} -  Error in associating lifecycle for the artifact. id: d9afaaa9-a2fe-479f-927b-658dc34393b6, path: /apimgt/applicationdata/provider/admin-AT-test.dk/WorldBank/1/api. {org.wso2.carbon.governance.api.common.dataobjects.GovernanceArtifactImpl}
org.wso2.carbon.registry.core.exceptions.RegistryException: Couldn't find aspectName 'APILifeCycle'
TID: [1] [] [2019-02-11 12:58:19,680] @test.dk [1] [AM]ERROR {org.wso2.carbon.apimgt.impl.UserAwareAPIProvider} -  Error while performing registry transaction operation {org.wso2.carbon.apimgt.impl.UserAwareAPIProvider}
org.wso2.carbon.governance.api.exception.GovernanceException: Error in associating lifecycle for the artifact. id: d9afaaa9-a2fe-479f-927b-658dc34393b6, path: /apimgt/applicationdata/provider/admin-AT-test.dk/WorldBank/1/api.
TID: [-1234] [] [2019-02-11 12:58:19,684] ERROR {JAGGERY.site.blocks.item-design.ajax.add:jag} -  org.mozilla.javascript.WrappedException: Wrapped org.wso2.carbon.apimgt.api.APIManagementException: Error while performing registry transaction operation (/publisher/modules/api/add.jag#108)

对于完整的问题日志,请访问以下链接:https://pastebin.com/9LDv3u8Q

我可以与租户用户在/ store上创建应用程序。

api生命周期似乎与租户无关,因此无法在服务器上创建API

我试图将APILifeCycle.xml从api管理器复制到Identity服务器上的相同位置。碳超级确实在apimanager的碳部分的扩展选项卡中有apilifecycle,但是租户没有。

我一直在研究如何解决这个问题我尝试过其他一些没有运气的来源链接:http://ishara-cooray.blogspot.com/2018/01/how-to-fix-orgwso2carbonregistrycoreexc.html 它已经设置像这样的链接:https://docs.wso2.com/display/AM260/Configuring+WSO2+Identity+Server+as+a+Key+Manager 我希望发生的事情来自租户的用户可以在他们的租户域上创建和发布api

wso2 multi-tenant wso2is wso2-am wso2carbon
1个回答
0
投票

我们已针对此问题提供了修复程序,如果您可以进行WUM更新(https://wso2.com/updates/wum),则可以获取此问题的修补程序。

如果您无权访问WUM更新,请尝试将APILifecycle.xml文件放入IS中的/ repository / resources / lifecycles文件夹(这不适用于现有租户。新租户应该可以使用)。对于现有租户,您可以登录管理控制台(https://localhost:9443/carbon)并导航到Extensions> Configure> Lifecycles并上传APILifecycle。

谢谢

© www.soinside.com 2019 - 2024. All rights reserved.