Skip to Content
1
Aug 03, 2021 at 03:31 PM

Where is the deployed UI module in SCP CAP App with Freestyle Fiori UI

273 Views Last edit Aug 03, 2021 at 03:32 PM 2 rev

Hi Experts,

I'm trying to develop a fullstack SCP app with CAP services and Freestyle Fiori UI. I had implemented the standalone app router and UI using Yeoman UI generators following https://help.sap.com/viewer/584e0bcbfd4a4aff91c815cefa0bce2d/Cloud/en-US/eb69b74949f14d16b3c785ebff2fda7d.html

After deploying I see all the services were created successfully and started as well. I'm even able to access the service running on SCP but I couldn't find the UI where it is deployed. I can't find it under 'HTML5 Applications' or 'Applications' under Space. Please help in finding the UI.

Deployed services in Space

Instances

Running service

Project Structure

MTA file

_schema-version: "3.1"
ID: SalesInfoApp
description: A simple CAP project.
version: 1.0.0
modules:
- name: SalesInfoApp-srv
 type: nodejs
 path: gen/srv
 requires:
 - name: SalesInfoApp-db
 provides:
 - name: srv-api
 properties:
 srv-url: ${default-url}
 parameters:
 buildpack: nodejs_buildpack
- name: SalesInfoApp-db-deployer
 type: hdb
 path: gen/db
 requires:
 - name: SalesInfoApp-db
 parameters:
 buildpack: nodejs_buildpack
- name: salesinfoapp-approuter
 type: approuter.nodejs
 path: app/salesinfoapp-approuter
 requires:
 - name: SalesInfoApp_html_repo_runtime
 - name: uaa_SalesInfoApp
 - name: dest_SalesInfoApp
 - name: srv-api
 group: destinations
 properties:
 forwardAuthToken: true
 name: srv-api
 url: ~{srv-url}
 parameters:
 disk-quota: 256M
 memory: 256M
- name: SalesInfoApp_ui_deployer
 type: com.sap.application.content
 path: app
 requires:
 - name: SalesInfoApp_html_repo_host
 parameters:
 content-target: true
 build-parameters:
 build-result: resources
 requires:
 - artifacts:
 - SalesUI1-content.zip
 name: SalesUI1
 target-path: resources/
- name: SalesUI1
 type: html5
 path: app/SalesUI1
 build-parameters:
 builder: custom
 commands:
 - npm run build
 supported-platforms: []
resources:
- name: SalesInfoApp-db
 type: com.sap.xs.hdi-container
 parameters:
 service: hana
 service-plan: hdi-shared
 properties:
 hdi-service-name: ${service-name}
- name: SalesInfoApp_html_repo_runtime
 type: org.cloudfoundry.managed-service
 parameters:
 service: html5-apps-repo
 service-plan: app-runtime
- name: SalesInfoApp_html_repo_host
 type: org.cloudfoundry.managed-service
 parameters:
 service: html5-apps-repo
 service-plan: app-host
- name: uaa_SalesInfoApp
 type: org.cloudfoundry.managed-service
 parameters:
 path: ./xs-security.json
 service: xsuaa
 service-name: SalesInfoApp-xsuaa-service
 service-plan: application
- name: dest_SalesInfoApp
 type: org.cloudfoundry.managed-service
 parameters:
 service: destination
 service-plan: lite
parameters:
 enable-parallel-deployments: true
build-parameters:
 before-all:
 - builder: custom
 commands:
 - npm install --production
 - npx -p @sap/cds-dk cds build --production

Here is the deployment log:

> Executing task: cf deploy "/home/user/projects/SalesInfoApp/mta_archives/SalesInfoApp_1.0.0.mtar" <


Deploying multi-target app archive /home/user/projects/SalesInfoApp/mta_archives/SalesInfoApp_1.0.0.mtar in org xxx/ space xxx as xxx@xx.com...


Uploading 1 files...
  /home/user/projects/SalesInfoApp/mta_archives/SalesInfoApp_1.0.0.mtar
OK
Operation ID: 853ebfac-f468-11eb-9d0a-eeee0a933e73
Operation ID: 853ebfac-f468-11eb-9d0a-eeee0a933e73
Deploying in org "xxx" and space "xxx"
Detected MTA schema version: "3"
No deployed MTA detected - this is initial deployment
Detected new MTA version: "1.0.0"
Processing service "SalesInfoApp_html_repo_host"...
Creating service "SalesInfoApp_html_repo_host" from MTA resource "SalesInfoApp_html_repo_host"...
Processing service "SalesInfoApp_html_repo_runtime"...
Creating service "SalesInfoApp_html_repo_runtime" from MTA resource "SalesInfoApp_html_repo_runtime"...
Processing service "SalesInfoApp-db"...
Creating service "SalesInfoApp-db" from MTA resource "SalesInfoApp-db"...
Processing service "dest_SalesInfoApp"...
Creating service "dest_SalesInfoApp" from MTA resource "dest_SalesInfoApp"...
Processing service "SalesInfoApp-xsuaa-service"...
Setting service "SalesInfoApp-xsuaa-service" parameters from "xs-security.json"
Creating service "SalesInfoApp-xsuaa-service" from MTA resource "uaa_SalesInfoApp"...
1 of 1 done
1 of 1 done
1 of 1 done
0 of 1 done, (1 creating)
1 of 1 done
0 of 1 done, (1 creating)
0 of 1 done, (1 creating)
0 of 1 done, (1 creating)
0 of 1 done, (1 creating)
1 of 1 done
Creating application "SalesInfoApp-db-deployer" from MTA module "SalesInfoApp-db-deployer"...
Creating application "SalesInfoApp-srv" from MTA module "SalesInfoApp-srv"...
Creating application "salesinfoapp-approuter" from MTA module "salesinfoapp-approuter"...
Binding service instance "SalesInfoApp-db" to application "SalesInfoApp-db-deployer"...
Binding service instance "SalesInfoApp-db" to application "SalesInfoApp-srv"...
Binding service instance "dest_SalesInfoApp" to application "salesinfoapp-approuter"...
Creating service key "SalesInfoApp_ui_deployer-SalesInfoApp_html_repo_host-credentials" for service "SalesInfoApp_html_repo_host"...
Uploading application "SalesInfoApp-db-deployer"...
Binding service instance "SalesInfoApp_html_repo_runtime" to application "salesinfoapp-approuter"...
Uploading application "SalesInfoApp-srv"...
Binding service instance "SalesInfoApp-xsuaa-service" to application "salesinfoapp-approuter"...
Uploading content module "SalesInfoApp_ui_deployer" in target service "SalesInfoApp_html_repo_host"...
Uploading application "salesinfoapp-approuter"...
Started async upload of application "SalesInfoApp-srv"
Started async upload of application "SalesInfoApp-db-deployer"
Deploying content module "SalesInfoApp_ui_deployer" in target service "SalesInfoApp_html_repo_host"...
Started async upload of application "salesinfoapp-approuter"
Scaling application "SalesInfoApp-srv" to "1" instances... 
Scaling application "SalesInfoApp-db-deployer" to "1" instances... 
Staging application "SalesInfoApp-db-deployer"...
Staging application "SalesInfoApp-srv"...
Scaling application "salesinfoapp-approuter" to "1" instances... 
Staging application "salesinfoapp-approuter"...
Application "SalesInfoApp-db-deployer" staged
Executing task "deploy" on application "SalesInfoApp-db-deployer"...
Application "SalesInfoApp-srv" staged
Starting application "SalesInfoApp-srv"...
Application "SalesInfoApp-srv" started and available at "xx-xx-xx-xx-salesinfoapp-xx.cfapps.us10.hana.ondemand.com"
Application "salesinfoapp-approuter" staged
Starting application "salesinfoapp-approuter"...
Application "salesinfoapp-approuter" started and available at "xx-xx-xx-xx-salesinfoapp-approuter.cfapps.us10.hana.ondemand.com"
Skipping deletion of services, because the command line option "--delete-services" is not specified.
Process finished.
Use "cf dmol -i 853ebfac-f468-11eb-9d0a-eeee0a933e73" to download the logs of the process.

Attachments

salesinfo.jpg (27.5 kB)
salesinfo1.jpg (26.4 kB)
salesinfo2.jpg (36.8 kB)
salesinfo3.jpg (45.7 kB)