on 08-04-2020 6:13 PM
Hi all,
I trying to implement a shell plugin for SAP CF launchpad by referring the https://help.sap.com/viewer/ad4b9f0b14b0458cad9bd27bf435637d/Cloud/en-US/8a25fddb747f4ba992969049de9... and i can successfully implement it in my runtime fiori launchpad.
Now i need to implement this shell plugin to my Site-manager FIORI Launchpad. To achieve this i'm trying to expose my multi-tenant app as content provider by referring https://help.sap.com/viewer/ad4b9f0b14b0458cad9bd27bf435637d/Cloud/en-US/8a25fddb747f4ba992969049de9....
I have configured the mta.yaml and can see the multi-tenant application as SaaS Provisioning service in my subaccount subscription section.
But when i try to subscribe my multi-tenent Saas service it throwing a error saying Could not enable application: Internal Server Error (500). Can anyone help me this scenario or is there any way to add the shell plugin to the sitemanager FLP.
ID: cap
_schema-version: '2.1'
parameters:
deploy_mode: html5-repo
version: 0.0.1
modules:
- name: cap-approuter
type: approuter.nodejs
path: cap-approuter
parameters:
keep-existing-routes: true
buildpack: nodejs_buildpack
disk-quota: 256M
memory: 256M
routes:
- route: 344e01a4trial-dev-cap-approuter.cfapps.eu10.hana.ondemand.com
properties:
TENANT_HOST_PATTERN: ^(.*)-dev-cap-approuter.cfapps.eu10.hana.ondemand.com
SAP_JWT_TRUST_ACL: "[{\"clientid\":\"*\",\"identityzone\":\"sap-provisioning\"}]"
requires:
- name: cap_html5_repo_runtime
- name: portal_resources_cap
- name: cap-uaa
- name: saas-cap-registry-application
- name: srv_api
group: destinations
properties:
forwardAuthToken: true
strictSSL: false
name: srv_api
url: '~{url}'
- name: cap_ui_deployer
type: com.sap.html5.application-content
path: cap_ui_deployer
requires:
- name: cap_html5_repo_host
build-parameters:
requires:
- name: HTML
artifacts:
- './*'
target-path: resources/HTML
- name: CustomerWeb
artifacts:
- './*'
target-path: resources/CustomerWeb
- name: bookmarkplugin
artifacts:
- './*'
target-path: resources/bookmarkplugin
- name: cap-db
type: hdb
path: db
parameters:
memory: 256M
disk-quota: 512M
requires:
- name: cap-db-hdi-container
- name: cap-srv
type: nodejs
path: srv
parameters:
memory: 512M
disk-quota: 512M
provides:
- name: srv_api
properties:
url: '${default-url}'
requires:
- name: cap-db-hdi-container
- name: cap-uaa
- name: HTML
type: html5
path: HTML
build-parameters:
builder: custom
commands:
- npm install
- npm run build
supported-platforms: []
build-result: dist
- name: FLP
type: com.sap.portal.content
path: FLP
parameters:
stack: cflinuxfs3
memory: 128M
buildpack: 'https://github.com/cloudfoundry/nodejs-buildpack/releases/download/v1.6.39/nodejs-buildpack-cflinuxfs3-v1.6.39.zip'
properties:
TENANT_HOST_PATTERN: ^(.*)-dev-cap-approuter.cfapps.eu10.hana.ondemand.com
requires:
- name: portal_resources_cap
- name: cap-uaa
- name: cap_html5_repo_host
- name: cap_ui_deployer
- name: saas-cap-registry-application
- name: CustomerWeb
type: html5
path: CustomerWeb
build-parameters:
builder: custom
commands:
- npm install
- npm run build
supported-platforms: []
build-result: dist
- name: bookmarkplugin
type: html5
path: bookmarkplugin
build-parameters:
builder: custom
commands:
- npm install
- npm run build
supported-platforms: []
build-result: dist
resources:
- name: saas-cap-registry-application
type: org.cloudfoundry.managed-service
parameters:
service: saas-registry
service-plan: application
config:
xsappname: cap-dev!t36451
appUrls:
onSubscription: https://344e01a4trial-dev-cap-approuter.cfapps.eu10.hana.ondemand.com/callback/v1.0/tenants/{tenantI...
getDependencies: https://344e01a4trial-dev-cap-approuter.cfapps.eu10.hana.ondemand.com/callback/v1.0/dependencies
category: FIORI APPS hana CLI
description: FIORI App test hana CLI
displayName: CAP MTA hana Cli app
- name: cap_html5_repo_runtime
parameters:
service-plan: app-runtime
service: html5-apps-repo
type: org.cloudfoundry.managed-service
- name: cap_html5_repo_host
parameters:
service-plan: app-host
service: html5-apps-repo
type: org.cloudfoundry.managed-service
- name: cap-db-hdi-container
type: com.sap.xs.hdi-container
properties:
hdi-container-name: '${service-name}'
parameters:
service: hanatrial
service-plan: hdi-shared
- name: cap-uaa
type: org.cloudfoundry.managed-service
parameters:
service-plan: application
service: xsuaa
path: ./xs-security.json
config:
xsappname: 'cap-${space}'
tenant-mode: dedicated
- name: dest_cap
parameters:
service-plan: lite
service: destination
type: org.cloudfoundry.managed-service
- name: portal_resources_cap
parameters:
service-plan: standard
service: portal
type: org.cloudfoundry.managed-service
Hi Christoffer,
As you said it is visible in my portal service of another subaccount where the app is subscribed. Is there any possibility to achieve in the same subaccount(in the subaccount, where the app is hosted).
If we are going to follow this approach to add a plugin app in the portal FLP, then we need to create a two subaccount for all the global accounts.
Thanks & Regards,
Ranjithkumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.