WSO2,基于开源Java的中间件服务提供商。所有WSO2产品都是100%开源的,并在Apache License Version 2.0下发布。
兼容性问题:WSO2 MI 4.1 与 MongoDB Connector v2.0.0 和 MongoDB 6.x 驱动程序
我正在尝试按照提供的步骤将 MongoDB 连接器与 WSO2 Micro Integrator (MI) 4.1 一起使用 (https://apim.docs.wso2.com/en/4.2.0/reference/connectors/mongodb-connector/ mongodb 连接...
WSO2 API Manager (v4.2) 中订阅使用数据存储在哪里?
我已在 WSO2 API Manager v4.2 中配置了速率限制并订阅了 API。但是,我很难找到订阅者使用数据在 API 管理器中存储的位置! 具体来说: 斯托...
WSO2 API Manager 在配置 Oracle 数据库后无法创建 API
我们尝试将 wso2 apimanager api 详细信息配置到 Oracle 数据库中。为此,我们在部署 .toml 文件中完成了以下配置 [数据库.apim_db] 类型=“甲骨文” url=“jdbc:
我面临 WSO2 API Manager 有关速率限制的问题。我已通过订阅和资源配置了速率限制,但似乎并未按预期强制执行。 我已经设置了...
WSO2 ESB:在具有多个消息存储的消息处理器中处理重试和错误代码
我正在使用 WSO2 ESB 开发一个 API,其中我配置了两个消息存储和一个消息处理器。在我面临的场景中,消息处理器重试失败的消息最多 5 次,但我
我想在 WSO2 EI 中进行 HMAC-SHA256 加密,但我找不到方法。 我尝试过下面的 JS 代码片段,但它给出了库 CryptoJS 未找到错误 var hash = CryptoJS.HmacSHA256(“我...
用户尝试在 wso2is 版本 5.11 中使用联合身份验证登录时出现异常
也许有人可以帮助我解决 wso2is v5.11 中的错误: 我在 wso2 IS 5.11.0 中配置了一个基本身份验证器和两个联合身份验证器,但当...
如何通过Postman在WSO2微集成器中发出gRPC请求?
我正在尝试通过 Postman 在 WSO2 微集成器中发出请求。 我正在使用此端点(这部分代码)来发出 gRPC 请求 https://github.com/wso2/micro-integrator/tree/master/components/
我们想知道在不丢失数据或重新配置应用程序的情况下将 WSO2 API Manager 从 2.6.0 升级到最新版本的过程。我们正在使用开源版本。
WSO2 Identity Server 7.0.0:管理控制台当前在旧模式下运行
我下载了产品WSO2 Identity Server v7.0.0。 我想使用 Carbon 控制台配置 WSO2 IS 集群, 但显然我本地的 CARBON 控制台提供的功能有限......
如何将授权标头 WSO2 (API Manager) 传递到我的后端服务?
我需要将授权标头从 API Manager (WSO2) 传递到我的服务总线应用程序 (Oracle)。 我在另一篇文章中看到我不能这样做,因为 API 将根据密钥验证令牌...
WSO2 APIM 4.2.0 使用 OAuth2 验证 API 时出现 401 无效凭据错误
当我尝试使用 OAuth2 对 API 进行身份验证但使用 apikey 工作正常时,WSO2 APIM 给出身份验证失败。在配置级别没有实施任何更改,之前工作正常,但现在
根据文档 当您向后端发送 API 请求时,您将在请求的 Authorization 标头中传递一个令牌。 API网关使用这个token来授权访问,然后删除...
WSO2 APK(Kubernetes API Platform)是否有图形用户界面,例如 DevPortal 和 Publisher 和 Admin ,......?
我们探索了一种方法,该方法具有最新版本的 WSO2 APIM 以及 Publisher、Devportal、Carbon 和 Admin,...同时具有可扩展网关来执行例如每秒 2000 个请求...
如何从 WSO2 MI 中的 dss 输出中删除 <?xml version='1.0' encoding='UTF-8'?> 标签
我必须迭代数据库结果。 我使用 dss 从数据库中获取数据。现在结果以 xml 格式出现。但我的流程没有进入迭代中介器。我尝试使用 xpath 在线...
使用 WSO2 Api-M On-Prem v3.1.0。 我在 Publisher 中设置了一个 API,其中包含用于生产和沙箱的不同端点。 使用 API 密钥作为应用程序级安全性。 为我的 GET 资源启用安全性...
如何在WSO2 EI6.6.0中使用Json请求体调用HTTP GET API
我想在 WSO2 EI6.6.0 中集成一个 API,其中下游 API 只接受带有 JSON 请求正文的 HTTP 方法 GET,但根据 WSO2 EI,它会忽略使用有效负载设置的 JSON 请求...
WSO2 多部分二进制传递和 MultipartFormData
我们目前使用 WSO EI 6.4 作为 ESB。 我们进行了配置,以在 axis2.xml 中为一个 Carbon 应用程序获取“二进制传递”行为 我们目前使用 WSO EI 6.4 作为 ESB。 我们进行了配置,以在 axis2.xml 中为一个 Carbon 应用程序获取“二进制传递”行为 <messageBuilder contentType="multipart/form-data" class="org.wso2.carbon.relay.BinaryRelayBuilder"/> <messageFormatter contentType="multipart/form-data" class="org.wso2.carbon.relay.ExpandingMessageFormatter"/> 但是现在,我们需要开发一个新的碳应用程序,它需要创建多部分消息。 因此我们需要将配置更改为,如本文中所述 <messageBuilder contentType="multipart/form-data" class="org.apache.axis2.builder.MultipartFormDataBuilder" /> <messageFormatter contentType="multipart/form-data" class="org.apache.axis2.transport.http.MultipartFormDataFormatter"/> 但是如果我们这样做,我们将失去“二进制直通”并破坏第一个碳应用程序。 是否有可能仅针对一个 Carbon 应用程序覆盖 messageBuilder 和 messageFormatter? 谢谢你 解决方案 在@tmoasz 的帮助下我能够解决这个问题。 完整解决方案在这里 <inSequence> <!--Extract value from Json--> <property name="Data1" expression="json-eval($.Data1)"/> <property name="Data2" expression="json-eval($.Data2)"/> <property name="File1" expression="json-eval($.File1)"/> <!-- remove body and set MessageBuilder if body not removed, MultipartFormDataFormatter is not call --> <script language="js"> mc.getEnvelope().getBody().getFirstElement().detach(); </script> <builder> <messageBuilder contentType="multipart/form-data" class="org.apache.axis2.builder.MultipartFormDataBuilder" formatterClass="org.apache.axis2.transport.http.MultipartFormDataFormatter"/> </builder> <payloadFactory media-type="xml"> <format> <root xmlns=""> <metadata xmlns="http://org.apache.axis2/xsd/form-data" filename="key1" name="key1">$1</metadata> <!-- content is decode from base64--> <file xmlns="http://org.apache.axis2/xsd/form-data" filename="file1.1" name="file1.1" content-type="application/xml">$3</file> <!-- content is not changed--> <metadata xmlns="http://org.apache.axis2/xsd/form-data" name="file1.2" filename="file1.2" content-type="application/xml">$3</metadata> </root> </format> <args> <arg expression="get-property('Data1')"/> <arg expression="get-property('Data2')"/> <arg expression="get-property('File1')"/> </args> </payloadFactory> <!--set messageType to trigger multiPart Formater --> <property name="messageType" scope="axis2" type="STRING" value="multipart/form-data"/> <!--remove ContentType to force generate header content-type with boundary information --> <property name="ContentType" scope="axis2" action="remove"/> <send> <endpoint> <http method="post" uri-template="http://127.0.0.1:3000/mulitPart/wso2"> <suspendOnFailure> <initialDuration>-1</initialDuration> <progressionFactor>-1</progressionFactor> <maximumDuration>0</maximumDuration> </suspendOnFailure> <markForSuspension> <retriesBeforeSuspension>0</retriesBeforeSuspension> </markForSuspension> </http> </endpoint> </send> </inSequence> 卷曲测试 curl --location --request POST 'http://127.0.0.1:8280/outgoing-mail' \ --header 'Content-Type: application/json' \ --data-raw '{ "Data1": "Value1", "Data2": "Value2", "File1" : "PHhtbD4gICAKICAgIDxoZWxsbz5TdGFjazwvaGVsbG8+CjwveG1sPg==" }' 生成多部分 --MIMEBoundary_dfa6d9a4ea9eee573969c1fae03dd6667159a66375689ec7 Content-Disposition: form-data; name="key1"; filename="key1" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: binary Value1 --MIMEBoundary_dfa6d9a4ea9eee573969c1fae03dd6667159a66375689ec7 Content-Disposition: form-data; name="file1.1"; filename="file1.1" Content-Type: application/pdf; charset=ISO-8859-1 Content-Transfer-Encoding: binary <xml> <hello>Stack</hello> </xml> --MIMEBoundary_dfa6d9a4ea9eee573969c1fae03dd6667159a66375689ec7 Content-Disposition: form-data; name="file1.2"; filename="file1.2" Content-Type: application/pdf; charset=ISO-8859-1 Content-Transfer-Encoding: binary PHhtbD4gICAKICAgIDxoZWxsbz5TdGFjazwvaGVsbG8+CjwveG1sPg== --MIMEBoundary_dfa6d9a4ea9eee573969c1fae03dd6667159a66375689ec7-- 也许BuilderMediator可以做到你想要实现的目标。 查看此:Builder+Mediator 文档。
Wso2 APIM 版本 4.1.0 CPU 资源使用问题性能调优
当你看到 top 命令响应时,我面临着 cpu 使用率/消耗高达 100% 和 100+%,然后我尝试了调整文档,但没有产生任何影响。请帮助解决这个问题。 顶部 - 1...
如何从远程计算机访问AWS VM中Minikube上安装的WSO2 API Manager?
我想在 AWS 虚拟机内的 Minikube 上安装 WSO2 API Manager (APIM)。 安装成功。 从 AWS VM 访问 WSO2 的工作原理: 卷曲-kv https://am.wso2.co/publisher 输入图像描述...