Steps | Screenshots |
a) There is a destination file ‘pollution-monitoring-service-dest’ file that is available under the folder ‘Destinations-ABCPetroCorp’. | |
b) Here, destination URL points to the subscribed pollutionmonitoring Java application if ABC PetroCorp(Consumer) account. Since this destination to be consumed by HTML5 Application so “WebIDEEnabled” is “true” and “Authentication” is “AppToAppSSo”(Application to Application Single Sign on) “URL” needs to be copied from your Java app subscription URL as mention in the next step. The copied URL should be updated in the destination file mentioned above and the URL parameter should be uncommented (remove # in the file). | |
c) Copy the ‘pollutionmonitoring’ Java application subscription URL from Application URLs section. | |
d) Navigate to ‘Destinations’ pane of your ABC PetroCorp(Consumer) account click on ‘Import Destination’. | |
e) Select the file location of ‘pollution-monitoring-service-dest’ file. The destination would be added in your account as shown in the screenshot click on ‘Save’ |
Steps | Screenshots |
a) Navigate to “Services” pane of ITeLo Consulting (Provider) account and search for “SAP Web IDE service” and click on it. | |
b) Click on “Open SAP Web IDE”. | |
c) SAP Web IDE Editor opens in new Tab of the same browser. d) Click on the “</>” Development pane. | |
e) Import the pollutionmonitoringui using File->Import->From File System. | |
f) Choose the “pollutionmonitoringui.zip” file from the location mentioned in next step. Import to “/pollutionmonitoringui” folder under Workspace. Select “Extract Archive” check Box. | |
g) “pollutionmonitoringui.zip” file is defined under the folder "HTML5 Code". | |
h) Project “pollutionmonitoringui” imported into the SAP WEB IDE workspace and looks like this. i) Open the neo-app.json file. | |
j) The destination “pollution-monitoring-service-dest” is defined in the neo-app.json file and through this HTML5 code invokes “pollutionmonitoring” Java service | neo-app.json |
Steps | Screenshots |
a) In the Java application, the destination “openaq-api-dest” has been configured in the web.xml file. | web.xml <resource-ref> <res-ref-name>openaq-api-dest</res-ref-name> <rest-type> com.sap.core.connectivity.api.http.HttpDestination </res-type> </resource-ref> |
b) This destination “openaq-api-dest” is being looked up in the "PollutionDataService" class. Once the destination look up has been done, all calls from the Java code to the open air quality service are triggered via this destination. | PollutionDataService.java ConnectivityConfiguration configuration = (ConnectivityConfiguration) ctx .lookup("java:comp/env/connectivityConfiguration"); // Get destination configuration for "destinationName" DestinationConfiguration destConfiguration = configuration.getConfiguration("openaq-api-dest”); |
c) There is a destination file ‘openaq-api-dest’ file that is available under the folder ‘Destinations-Provider’. This destination points to the open air quality service URL This destination needs to be uploaded to the “ITeLo Consulting (Provider)” account as shown in the steps below. | |
d) Navigate to “Java Application” pane of ITeLo Consulting (Provider) account and click on “pollutionmonitoring” Java application. | |
e) Navigate to “Destinations” pane of your pollutionmonitoring Java application and click on “Import Destination”. | |
f) Select the file location of “openaq-api-dest” file. | |
g) The destination would be added in your account as shown in the screenshot click on ‘Save’. |
Steps | Screenshots |
a) Using the neo console client, upload Keystores for OpenAQ ABC Petro Corp (Consumer) account. | neo upload-keystore --account <<ABC_PetroCorp_consumer_account_id>> --user <<your_user_id>> --location <<location of jssecacerts.jks>> --host <<your_landscape_host>> neo upload-keystore --account <<ABC_PetroCorp_consumer_account_id>> --user <<your_user_id>> --location <<location of cacerts.jks>> --host <<your_landscape_host>> |
b) Files cacerts.jks and jssecacerts.jks are defined under the folder KeyStore Services |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
24 | |
14 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 |