Skip to content

Commit

Permalink
fix(cap): add connectivity service to support on-premise systems
Browse files Browse the repository at this point in the history
  • Loading branch information
longieirl committed Jun 27, 2024
1 parent cdff693 commit 695a0a8
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cap/cap-fiori-mta-standalone/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ No longer want your CAP project hosted on SAP BTP, run the following command;
npm run undeploy
```

## Known Issues
To support connectivity to on-premise systems, please uncomment the code in the `mta.yaml` enable the `standaloneCAPProject-connectivity` service.

## Get Support

In case you've a question, find a bug, or otherwise need support, use the [SAP Community](https://answers.sap.com/tags/9f13aee1-834c-4105-8e43-ee442775e5ce) to get more visibility.
Expand Down
8 changes: 8 additions & 0 deletions cap/cap-fiori-mta-standalone/mta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ modules:
type: approuter.nodejs
path: standalonecapproject-approuter
requires:
# Uncomment to support on-premise systems
# - name: standaloneCAPProject-connectivity
- name: standaloneCAPProject_html_repo_runtime
- name: uaa_standaloneCAPProject
- name: standaloneCAPProject-destination-service
Expand Down Expand Up @@ -100,6 +102,12 @@ resources:
service: destination
service-name: standaloneCAPProject-destination-service
service-plan: lite
# Uncomment to support on-premise systems
#- name: standaloneCAPProject-connectivity
# type: org.cloudfoundry.managed-service
# parameters:
# service: connectivity
# service-plan: lite
parameters:
deploy_mode: html5-repo
enable-parallel-deployments: true
Expand Down
3 changes: 3 additions & 0 deletions cap/cap-fiori-mta/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ No longer want your CAP project hosted on SAP BTP, run the following command;
npm run undeploy
```

## Known issues
To support connectivity to on-premise systems, please uncomment the code in the `mta.yaml` enable the `managedAppCAPProject-connectivity` service.

## Get Support

In case you've a question, find a bug, or otherwise need support, use the [SAP Community](https://answers.sap.com/tags/9f13aee1-834c-4105-8e43-ee442775e5ce) to get more visibility.
Expand Down
8 changes: 8 additions & 0 deletions cap/cap-fiori-mta/mta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ modules:
requires:
- name: managedAppCAPProject-db
- name: uaa_managedAppCAPProject
# Uncomment to support on-premise systems
# - name: managedAppCAPProject-connectivity
parameters:
buildpack: nodejs_buildpack
host: ${appname}
Expand Down Expand Up @@ -126,6 +128,12 @@ resources:
service: xsuaa
service-name: managedAppCAPProject-xsuaa-service
service-plan: application
# Uncomment to support on-premise systems
#- name: managedAppCAPProject-connectivity
# type: org.cloudfoundry.managed-service
# parameters:
# service: connectivity
# service-plan: lite
parameters:
deploy_mode: html5-repo
enable-parallel-deployments: true
Expand Down

0 comments on commit 695a0a8

Please sign in to comment.