Migrate SAPUI5 Fiori application from Neo to Clould Foundry - sapui5

I have some SAPUI5 Fiori applications developed using SAP WEB IDE in the Neo platform. Now I need to migrate those applications to the cloud foundry environment. So far as I checked there are few differences in the application files of NEO & Cloud Foundry.
eg:
Neo has neo-app.json and cloud foundry has xs-app.json
Are there any guidance or information related on correctly migrating SAPUI5 apps from Neo to Cloud Platform.

There are indeed not that many differences but there is some different handling in terms of tooling files, etc ...
I would propose to create a new multi-target test project using the provided standard templates and then add a UI5 test template subproject.
That will give you an idea of how the CF UI5 project structure looks like and which files are being generated.
It also depends on whether you are going to use the new HTML5-repo application architecture or not. That newer format has more impact and changes under the hood.

Related

Migrate angular app from neo to SAP Cloud Foundry

I seek a solution to switch from NEO environment to SAP Cloud Foundry. At the moment the structure of the NEO project looks like this
neo-app.json
​Could you tell me a solution for the migration?
Thank you very much, bye
Basically you need to export destination from NEO and then consume it in BAS, which is a IDE for CloudFoundry apps.
Firstly you go to the NEO app and export destination
Secondly you create project from template in SAP BAS and consuming your destination
Check this blog for more details, it describes SAPUI5 app, but it will be no difference for Angular.
All the credits for images goes to the above blog.

Can I deploy an app built on SAP Cloud SDK to Kubernetes?

We build a SCP native java application based on SAP cloud SDK. if we later on migrate to SCP kubernete env., would the app runs without migration? if changes needed, how much effort would it be? thanks.
Applications using the Java libraries of the SAP Cloud SDK can also run on a local machine and, as a consequence, as part of an application running in a container in Kubernetes. Additionally, the SDK already today provides abstractions that allow to run the same code on Cloud Foundry and Neo when accessing services of SAP Cloud Platform.
I cannot yet say how the access to specific functionality of SAP Cloud Platform works in Cloud Foundry versus a future Kubernetes environment, but this should be the blueprint.

How do I deploy only certain parts of an app to SAP Cloud Platform?

I've imported an existing SAPUI5 app into SAP Web IDE and wish to deploy it to Hana Cloud Platform (HCP) SAP Cloud Platform (SCP) SAP Business Technology Platform (SAP BTP).
Unfortunately the structure is not just one app, rather 3 apps within a parent app folder.
When I deploy to HCP SCP SAP BTP, it simply picks up the first app and ignores the other 2.
Can any of the config files (neo-app.json etc) be changed to allow specific folders to be deployed?

How to integrate SAPUI5 apps developed on ABAP repository in HANA Cloud Platform

The scenario is to use already developed SAPUI5 applications on ABAP Gateway as portal widgets in sites developed through SAP HANA Cloud Platform,portal service.
I know we can add the ABAP backend gateway services using HANA Cloud connector and destination in HCP cockpit.
How to do we deal with the SAPUI5 applications.
a) Do we need to export them from the ABAP repository and import them into HCP web ide?
b) Can we directly deploy the same application on HCP as well and access it on the site?
In above both cases, what about the service calls made from within the app? wouldn't the urls be changed once the app is moved/imported to HCP [assuming app only makes call to relative urls.]
Any information/Documentation on this would be really helpful.
to both a) and b) my answer is Yes. With some reservation for a) as actually I just don't know of another method to deploy existing SAPUI5 apps from backend to HCP.
In my case the scenario was the following:
First, we installed HCP connector, linked it to existing S-users, then I defined a destination in my HCP account. Be aware that you have to add some specific attributes to the destination to make it available in WebIDE.
My task was to extend some existing SAPUI5 applications, so I imported them into WebIDE and it appeared that they worked just fine when running via WebIDE without changing a single line of code or configuration. Apparently they can be deployed to HCP as a standalone apps or as a part of Fiori launchpad.

Two different Web IDEs on HANA Cloud Platform

I was following the blog post SAP Web IDE - Enablement and noticed that I have been using a different Web IDE on HCP(HANA Cloud Platform). Can someone explain the two different Web IDEs.
One is accessed via tha HANA Instances page as seen below:
and as you can see this is an old version and looks significantly different:
and there is the other one (accessed via subscriptions menu) which is the up-to-date version and has many other capabilities:
So are these two IDEs different in terms of purpose?
As far as I understand, the second IDE(the new one) is used for local development and the application developed there can be deployed to HANA later on (the first one does not have any options related to deployment but it provides direct development on HANA) . Also there are other things that confuses me:
Can the second IDE connect to a HANA instance directly? We have xsjslib files that connects to the HANA DB and fetches data. ..or is the second editor is only for developing HTML5 applications without HANA connection?
Also in the this document it states that "If an HTML5 application requires connectivity to one or more back-end systems, destinations must be created or assigned". Can someone elaborate on this?
Thanks in advance.
I found the answer with a parallel post on SCN Network: http://scn.sap.com/message/16139215
The bottom line is that(quoting the answer from the link)
These are 2 different things, Web IDE and HANA Web Dev Workbench:
first is for SAPUI5/Fiori development/extension, second - HANA related
development.
So WebIDE is suitable for UI5 development meanwhile HANA Dev Workbench is for developing backend services.