点击此处---> 群内免费提供SAP练习系统(在群公告中)加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)你好 我正在创建一个在SAP ...
点击此处---> 群内免费提供SAP练习系统(在群公告中)加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)你好 我正在创建一个在SAP ...
加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)
你好
我正在创建一个在SAP CF上运行的Java CAP应用程序,并且在其他MTA中有一个UI模块。 我正在尝试将UI模块与Java CAP应用程序集成。 因此,我认为这是跨MTA依赖关系和目标场景。
我在SCN和SAP博客中搜索了一些答案,并尝试了所有可能的方法。 但是没有一个。
这是我设置UI应用程序的方式。
ID:演示 _schema-version:" 2.1" 参数: deploy_mode:html5-repo 版本:0.0.1 模块: -名称:demo-approuter 类型:approuter.nodejs 路径:demo-approuter 参数: 磁盘配额:256M 记忆体:256M 要求: -名称:demo_html5_repo_runtime -名称:dest_demo -名称:uaa_demo -名称:demo_ui_deployer 类型:com.sap.html5.application-content 路径:demo_ui_deployer 要求: -名称:demo_html5_repo_host 构建参数: 要求: -名称:demo_ui 工件: -'./*' 目标路径:资源/demo_ui -名称:demo_ui 类型:html5 路径:demo_ui 构建参数: 制造商:定制 命令: -npm安装 -npm运行构建 支持的平台:[] 构建结果:dist 要求: -名称:cap-config 组:目的地 特性: 名称:servicegoals 网址:"〜{url}" forwardAuthToken:true 资源: -名称:demo_html5_repo_runtime 参数: 服务计划:应用程序运行时 服务:html5-apps-repo 类型:org.cloudfoundry.managed-service -名称:demo_html5_repo_host 参数: 服务计划:应用托管 服务:html5-apps-repo 类型:org.cloudfoundry.managed-service -名称:uaa_demo 参数: 路径:./xs-security.json 服务计划:应用 服务:xsuaa 类型:org.cloudfoundry.managed-service -名称:dest_demo 参数: 服务计划:精简版 服务:目的地 类型:org.cloudfoundry.managed-service -名称:cap-config 类型:配置 参数: provider-nid:mta provider-id:" myplan-goals-cf-srv:srv_api" 版本:"> = 0.0.0"
{ " welcomeFile":"/index.html", " authenticationMethod":"路由", "登出": { " logoutEndpoint":"/img/do/logout" }, "路线":[{ " source":" ^/servicegoals/(.*)$", " target":" $ 1", " authenticationType":" xsuaa", "目的地":"服务目标", " csrfProtection":false },{ " source":" ^(。*)$", " target":" $ 1", " service":" html5-apps-repo-rt", " authenticationType":" xsuaa" }] }
我已经检查了approuter的登录
{" writing_at":" 2020-07-08T08:34:44.680Z"," writing_ts":1594197284680000000," csn_component":"-"," correlation_id":" kcd3whfs"," type":" log" ," logger":" nodejs-logger"," layer":"/目标服务"," level":"错误"," container_id":" 10.0.137.16"," component_type":"应用程序"," component_id" :" e4d12e6f-de51-45fc-8ee8-444ccde1a64b"," component_name":" demo-approuter"," component_instance":-1," source_instance":-1," organization_id":""," organization_name" :" "," space_id":" "," space_name":" "," context_id":" kcd3whfs"," msg":"从目标服务检索目标服务目标时出错。HTTP 状态码:404"}
{" writing_at":" 2020-07-08T08:34:44.680Z"," writing_ts":1594197284680000000," csn_component":"-"," correlation_id":" 5f59f1d6-27d5-46b7-68e4-39206cbd98b9" ," type":" log"," logger":" nodejs-logger"," layer":"/img/Handler"," level":"错误"," container_id":" 10.0.137.16"," component_type": " application"," component_id":" e4d12e6f-de51-45fc-8ee8-444ccde1a64b"," component_name":"演示应用路由器"," component_instance":-1," source_instance":-1," organization_id":" < org_id>"," organization_name":""," space_id":" "," space_name":" "," request_id":" 5f59f1d6-27d5-46b7-68e4-39206cbd98b9", " msg":"获取对/aucomtridemo_ui/servicegoals/odata/v4/mpgoals/$ metadata的请求,状态为500-从目标服务检索目标服务目标时出错。HTTP状态码:404"}
有人知道是否存在将ui5模块和CAPM应用程序集成的正确方法或模板?
谢谢。
Tri
(11.2 kB)
嗨,
您是对的,可以通过跨MTA依赖关系执行此操作,但是您可能还需要考虑更简单的选项:
一周热门 更多>