sap-cloud-platform

Remote Debugging in SAP Cloud Foundry

陌路散爱 提交于 2019-12-24 17:53:22
问题 I am wondering how to remote debug a S4SDK/Spring 2.0.6 Java Application deployed in SAP Cloud Foundry. I am using Eclipse (Spring Tool Suite) and started the app in Debug Mode. The application will be restarted with the following environment variable: -Dspring.devtools.remote.secret=secret -Xdebug -Xrunjdwp:server=y,transport=dt_socket,suspend=n,address=47822 The console output shows, that after startup an SSH tunnel has automatically been created successfully (as a prerequisite I have

Remote Debugging a node.js application on SAP Cloud Foundry

为君一笑 提交于 2019-12-23 03:42:37
问题 We have hosted several node.js express services on SAP Cloud Foundry. Since we can't get any further with this problem and maybe others are faced with this problem, here is the explicit question about this: How can you remotely debug a node.js application (our own) hosted on SAP Cloud Foundry? In our case, we have an express service that uses the SAP Cloud SDK (v1.6.1) to provide various data from SAP Cloud and OnPremise. 回答1: I'm not sure whether this is the best approach, but it works for

How to set Number of Dynamic Tile in HCP portal service?

℡╲_俬逩灬. 提交于 2019-12-13 06:49:29
问题 I just want to use number from my server to change tile number, such as using URL http://10.59.XXX.100:8080/Map/dynamicTileOnlyNo In SCN blog, they use /sap/fiori/employees/destinations/northwind/V3/Northwind/Northwind.svc/Employees/$count to set dynamic data which stand for /<fiori proxy>/<application id>/destinations/<destination name>/<path to OData service>/<OData collection>/<query string> But I tried http://services.odata.org/Northwind/Northwind.svc/Employees/$count , returned: Failed

Is it possible to forward a Request from a WebServlet to rest helper servlet (javax.ws.rs.core.Application)

限于喜欢 提交于 2019-12-11 05:14:56
问题 Problem : I have a WebFilter which forwards valid urls to either a proxy servlet or a servlet which handles a webpage for the admin to monitor recent requests and more. The admin servlet is suppost to forward ajax requests to a REST service (after login.jsp from the webpage rendered by controlpannel.jsp ) but apparently the rest service has a different context as the WebFilter and WebServlets ? Question : So is it at all possible to forward from my WebServlet to the rest helper servlet (and

Can I access the active version on SAP Cloud Platform of HTML5 apps through a api?

纵饮孤独 提交于 2019-12-11 02:55:02
问题 I need to access the active version on SAP Cloud Platform of HTML5 apps through an api. I know for the java apps you have the lifecycle api: doc But you can't access HTML5 information with this API. What I found is this service: https://account.hana.ondemand.com/ajax/getHtml5AppDetails/{subaccountName}/{appName} This will return a JSON string with the required info, but I'm not authorized to access this page, although I have all the possible admin rights. So I'm wondering If any of you has

JSchException: connection is closed by foreign host

♀尐吖头ヾ 提交于 2019-12-08 12:18:33
问题 Am trying to pull files from an SFTP server using JSCH. I am getting the files without any problem from local host, but from the cloud server(SAP Cloud Platform), its giving this Connection Is Closed By Foreign Host exception from JSCH. I am getting the system proxy and port and setting the proxy with the request. Had seen the question asked several times, but none of them is solving my problem. The code snippet : String SFTPHOST = "hostname"; int SFTPPORT = 22; String SFTPUSER = "username";

Can I access the active version on SAP Cloud Platform of HTML5 apps through a api?

。_饼干妹妹 提交于 2019-11-29 17:45:07
I need to access the active version on SAP Cloud Platform of HTML5 apps through an api. I know for the java apps you have the lifecycle api: doc But you can't access HTML5 information with this API. What I found is this service: https://account.hana.ondemand.com/ajax/getHtml5AppDetails/{subaccountName}/{appName} This will return a JSON string with the required info, but I'm not authorized to access this page, although I have all the possible admin rights. So I'm wondering If any of you has any idea to solve my issue, and other people's issues. Well, we needed something similar and used this

UsingjQuery.sap.includeScript().then() in HCP Firori Launchpad

允我心安 提交于 2019-11-29 17:28:38
I'm trying to include googlemaps in sapui5 jQuery.sap.includeScript({ url: "https://maps.googleapis.com/maps/api/js?key=XXXX", promisify: true }).then(function() { ... } ) This Promise works fine when I run in hanatrial webide, But when I deploy it to hana cloud platform it is not working. The error message it gives me is : InterceptService.js:1 Uncaught (in promise) TypeError: u.indexOf is not a function(…) sap.ushell.cloudServices.interceptor.InterceptService._invokeFilters @ InterceptService.js:1 jQuery.sap.includeScript @ InterceptService.js:1 onAfterRendering @ Worklist.controller.js:37

Can I access the active version on SAP Cloud Platform of HTML5 apps through a api?

浪尽此生 提交于 2019-11-28 12:39:10
问题 I need to access the active version on SAP Cloud Platform of HTML5 apps through an api. I know for the java apps you have the lifecycle api: doc But you can't access HTML5 information with this API. What I found is this service: https://account.hana.ondemand.com/ajax/getHtml5AppDetails/{subaccountName}/{appName} This will return a JSON string with the required info, but I'm not authorized to access this page, although I have all the possible admin rights. So I'm wondering If any of you has