Bind northwind odata service to ui5? - sapui5

I would like to take http://services.odata.org/V2/Northwind/Northwind.svc/ as sample service for my ui5 app.
SAP Web IDE provide following option for OData service connection:
Which option do I have to choose to connect with Northwind OData service?

it seems like you didn't set up a Connection in your Cloud Platform Cockpit.
Firstly, go to your Cockpit and choose Connectivty -> Destinations:
Select New Destination and configure it as followed:
Then go back to your WEB IDE to the step in your screenshot and select the service you just added.
After that, the wizard wants the relative URL for the Web Service. Paste /V2/Northwind/Northwind.svc and click on Test. If everything works, you can move on creating your app.
Hope this helps

Related

How do you connect an IBM Cloud Functions (OpenWhisk) to a custom domain?

I had successfully setup a custom domain with IBM Cloud Functions in the past, but now suddenly it seems to be broken.
Here is how I was able to do it in the past: You first need to install a SSL cert in IBM Cloud by going to:
Log in to IBM Cloud
Go to Manage>Accounts>Cloud Foundry Orgs.
Click on your Org and then click Edit Org.
Choose the Domain tab, add a domain, and install the SSL cert that was purchased or obtained for free by letsencrypt.org
Go to Cloud Functions page by clicking on the Hamburger menu
and then click Functions.
Click APIs on the sidebar.
Choose an existing API you would like to map to the domain.
Choose Definitions from the sidebar.
Select Domain for API and change it your new domain!
YAY, IBM Cloud says it is now connecting your custom domain. You get a warning about how it takes a bit of time, but the task never finishes.
This actually worked until about a month or so ago. Now it just sits there and it will not route your domain to your API.
If you hit the site you which is routed, it will say:
404 Not Found: Requested route ('yourdomain.com') does not exist.
Am I missing something? Or has IBM again crapped out on me.
There was a bug affecting this feature, but it has since been fixed. Give it another try.

What's about import/export claims settings from WSO2 Identity Server

I can't find any information about import/export claims settings from WSO2 IS. Or may be another way to make DEV -> Test -> Preprod of WSO2 IS.
I developing application and add some claims, but I don't won't to add them to product server again, I would like to do it more correct...
Instead of updating them at management console UI, you can update them directly at repository/conf/claim-config.xml and then migrate that file between the environments.
However this file will be read only on the tenant creation (first startup for the super tenant). After that point you can only modify them at the UI. So you need to make sure that you use a clean DB for IS in your new environment.

Adding Destination in Hana Cloud Platform

I have a HANA cloud Platform account. When I create a SAPUI5 Application in web-ide, I do not see the services(xsodata) that I developed in web-based development workbench.
Is it because the host changes for each service provided through the cockpit i.e.
for HANA services, it is:
<schemaName><accountname>.hanatrial.ondemand.com
and for web-ide:
webide-<accountname>.dispatcher.hanatrial.ondemand.com
Should we be creating destinations every time we want to consume a service developed in HCP itself.
Thanks.
Yup, that's right. You need a destination in order to be able to access your services, whether it is a XSOData service, or any other service for that matter.
Do keep an eye on the Additional Properties of your destination. If you don't set them, you still won't be able to use the destination from WebIDE.

Adding Existing SAPUI5 Applications in HANA Cloud Portal site

I am new to HANA Cloud portal. I have created a standalone SAPUI5 Application following the below steps:
SAP HANA Cloud Platform
I have not set any destinations since I am using dummy data for now. The app works fine standalone but when I add it to a site in the HANA cloud portal the application fails with the error "could not open App.Try again Later". I have followed the below steps. Please let me know if I have missed put anything:-
1) Created a site from the site directory screen with a blank site temppplate.
2) Next I selected the app I want to add into the site from the account apps section in the left navigation inside the flpportal service and added it[using the forward icon].
3) Then when I try to add it as a menu configuration it shows up in the list and gets added but when I publish the site I get the above error mentioned.
Am I missing any step or doing it wrong altogether? BTW I am using a HANA trial account for now.
Also, I would like to know whether this is the correct way to do it. Also, any documentation on the same will be helpful
Adding the error description. The name of the app is Kpidemo:

Using the Web template in service fabric produces a non-managed ASP .NET5 project

Working on a sample Service Fabric app. I created services and tested them. Now I wanted to add an API Gateway that acts as an entry point to my app...so in VS, I right-clicked on the services and chose the Web Template ASP.NET 5. It did create a regular ASP .NET 5...not managed by Service Fabric...there is no Package Root or Program.cs for example.
What am I doing wrong please? Of course, a regular ASP .NET 5 works ...but I wanted the whole app (including the gateway) to be managed by the Service Fabric.
Regards
When you right-click to add in a service it is a common mistake to select the solution root (like you would normally do) to add in another project. But, in order to add in a new fabric service (including ASP.NET 5), you have to right-click the main service fabric project (the one with the ApplicationManifest.xml) and then select Add => New Fabric Service. You will then get the dialog box where you can select ASP.NET 5 Web Api.
Right-click here first:
Then select Add => New Fabric Service: