Questions tagged [sap-cloud-foundry]
85 questions
0
votes
1 answer
Node.js - how to read Environmental variables from Cloud Foundry application?
I am working on the Node.js project and need to login to Cloud Foundry and read environmental variables (basically, credentials) of one application. So far, I was able to login and target the correct organization with the help of '@sap/cf-tools'…

Jozef
- 479
- 1
- 9
- 36
0
votes
0 answers
How to use Træfik in Cloud Foundry?
I want to to use an API gateway like Traefik to protect my apps deployed in CF. E.g. by only allowing requests from the internet to the gateway and restrict the apps behind to internal traffic only (probably via route configurations).
Unfortunately,…

Mahatma_Fatal_Error
- 720
- 1
- 10
- 26
0
votes
1 answer
Using Multer library in SAP cloud platform(Web IDE)- cloud foundry
im using multer for saving user uploaded files in disk storage.
var storage = multer.diskStorage({
destination: function (req, file, cb) {
cb(null, 'files');
},
filename: function (req, file, cb) {
cb(null, Date.now() + '-'…

Pratheek Reddy
- 103
- 1
- 8
0
votes
1 answer
How to do partial redeployment in SAP Cloud Foundry using blue-green mode?
We are using mta to structure our application consisting of multiple micro-services.
The mtar file is deployed to SAP Cloud Foundry in blue-green mode using the SAP Cloud SDK pipeline (Piper Project -> cloudFoundryDeploy step).
We are running into…

jycha340
- 31
- 4
0
votes
1 answer
Passing 'program arguments' to cf run-task in CloudFoundry
I have deployed a Spring-boot app for a task/job in PCF. I can also able to tigger the 'main' method of the springboot app using below command .
cf run-task APP-NAME "$PWD/.java-buildpack/oracle_jre/bin/java…

Avinash Jethy
- 803
- 2
- 10
- 25
0
votes
1 answer
Nodejs application intermittently leaks memory when deployed to CF using SAP Cloud SDK Pipeline
We are using mta to structure our application consisting of multiple micro-services.
Earlier we were deploying the micro-services to SAP Cloud Foundry using the CF CLI but recently switched to SAP Cloud SDK Pipeline for deployment using blue-green…

jycha340
- 31
- 4
0
votes
0 answers
SAP CP TMS throwing error - 'Failed to get deployment log messages for the process'
We are working on a project which is based on SAP CP Cloud Foundry.
Recently, we have worked on a POC to integrate CLoud Foundry with SAP CP Transport Management service using a free trial account.
We created a basic landscape in Transport…

jycha340
- 31
- 4
0
votes
1 answer
Unable to deploy to SAP Cloud foundry
Getting error -- when run from CLI -- cf push
yaml: unmarshal errors:
line 2: cannot unmarshal !!str https:/... into []string
my manifest.yml file
applications:
- name: test
instances: 1
memory: 256M
disk_quota: 1024M
path: ./web
…

user13031132
- 1
- 1
0
votes
1 answer
SAP Cloud Application Programming Model Integration
I try to integrate already implemented SAPUI5 application with CAP in order to use SQLite database. In my models I have a property called Order and as you may know, Order is a reserved keyword in SQLite.
entity MyEntity{
key ID : Integer;
Name:…

Babak Hashemi
- 327
- 3
- 11
0
votes
0 answers
List of custom proxy APIs is empty in the New Project Wizard in SAP Cloud Foundry
In API Portal I have created API proxy for Northwind service and product with this API (OpenSAP), I have also created Application with this product in Developer Portal with the same name OpenSAP.
I have created destinations in my HCP account for API…

Nancy T
- 45
- 6
0
votes
1 answer
How to deploy Column View artifact on CloudFoundry
I have a Column View in SAP HANA SQL that is used in a sql procedure
CREATE COLUMN VIEW "ABC_COLUMN_VIEW" TYPE hierarchy WITH PARAMETERS (…

john
- 796
- 1
- 13
- 34
0
votes
1 answer
SAP WebIDE MTA New Build fails since last days with weird zipping issue
Our SAP MTA project fails to build since a day or 2 using the new cloud mta build tool option with the following strange error ( I have renamed our actual project name with 'xxx') :
11:00:22 (Executor) [2020-02-06 10:00:22] INFO generating the MTA…

Steven DS
- 48
- 4
0
votes
2 answers
How can I pass json file or object to start the application in cloud foundry?
I have a java application. Which needs json object to start the app. In my local environment I pass this through VM options but not able to figure out this in cloud foundry.
I tried passing in .profile file but it did not work. In this file I…

Nikita
- 1
0
votes
1 answer
SAP Cloud Platform and Cloud Foundry XSAUAA login
I have build an application using Mendix (mendix.com) and deployed it on the SAP Cloud Platform on a Cloud Foundry landscape. The users are using SSO/XSAUAA for an automatically login.
My login.html looks like this:
…
user6451039
0
votes
2 answers
How to obtain threaddump of a java application on Cloud foundry?
I tried a couple of options
a. cf java thread-dump myapp -i0 (Only 1 instance is there so 0)
Response is nothing.
logs of myapp show
2019-12-13T14:52:41.15+0800 [SSH/0] OUT Successful remote access by 10.x.x.x:35764
2019-12-13T14:52:41.84+0800…

khangaroth
- 75
- 3
- 13