on 09-21-2018 12:12 PM
Hello SAP!
🙂 I was experimenting to build a full-stack app on cloud foundry . when i build the initial cds file it states the build is success but Error returned from XSA:Service broken error. service instance '****' not found.
Attaching pics
MTA-YAML
ID: cf_hrm_sap
_schema-version: '3.1'
description: Human resource modules from Ashlin Gabriel
parameters:
deploy_mode: html5-repo
version: 0.0.1
modules:
- name: cf_hrm_sap_appRouter
type: approuter.nodejs
path: cf_hrm_sap_appRouter
parameters:
disk-quota: 256M
memory: 256M
requires:
- name: rt_cf_hrm_sap_appRouter
- name: cf_hrm_sap_ui_deployer
type: com.sap.html5.application-content
path: cf_hrm_sap_ui_deployer
requires:
- name: dt_cf_hrm_sap_ui_deployer
- name: dbmodule
type: hdb
path: dbmodule
requires:
- name: hdi_dbmodule
resources:
- name: rt_cf_hrm_sap_appRouter
parameters:
service-plan: app-runtime
service: html5-apps-repo
type: org.cloudfoundry.managed-service
- name: dt_cf_hrm_sap_ui_deployer
parameters:
service-plan: app-host
service: html5-apps-repo
type: org.cloudfoundry.managed-service
- name: hdi_dbmodule
parameters:
config:
schema: HRM
database_id: 'dev'
properties:
hdi-container-name: ${service-name}
type: com.sap.xs.hdi-container
remove the service.. and re-add..
try to edit the MTA.yaml file only on the graphical editor.. the code editor is very sensitive to spaces, tabs, etc
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Sagar R Jadhav first delete service instances and then check if you have valid MTA file . this should resolve your issue Sagar.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It worked thanks Sergio Guerrero
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.