You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+56-54Lines changed: 56 additions & 54 deletions
Original file line number
Diff line number
Diff line change
@@ -15,15 +15,16 @@ Clone the Git [repository](https://github.com/SAP/cloud-espm-v2.git) or download
15
15
16
16
# 1. Quick start guide
17
17
### Setting up the developer environment
18
-
1. Install [SAP JVM 8.*](https://tools.hana.ondemand.com/#cloud) or Java JDK 1.8 and setup the JAVA_HOME and PATH environment variables in your local machine
3.[Install SAP Development Tools for Eclipse](https://help.hana.ondemand.com/help/frameset.htm?76137a37711e1014839a8273b0e91070.html)
21
-
4. Install the [SAP HANA Cloud SDK](https://help.hana.ondemand.com/help/frameset.htm?7613843c711e1014839a8273b0e91070.html). Please download Java Web Tomcat 8 SDK
22
-
5. Use Java Web Tomcat 8 Runtime Environment as described in [Setup the Runtime Environment](https://help.hana.ondemand.com/help/frameset.htm?7613f000711e1014839a8273b0e91070.html) document
23
-
6. Signup for [HCP Trial account](https://hcp.sap.com/developers.html#section_4) if you don't have HCP Trial Account
18
+
1. Install Oracle Java SE Development Kit (JDK) 8 or [SAP JVM 8.*](https://help.hana.ondemand.com/help/frameset.htm?76137f42711e1014839a8273b0e91070.html) and set up the JAVA_HOME and PATH environment variables on your local machine.
3. (Optional: Only if you use SAP JVM) [Set up SAP JVM in Eclipse](https://help.hana.ondemand.com/help/frameset.htm?7613eaad711e1014839a8273b0e91070.html).
21
+
4.[Install SAP Development Tools for Eclipse](https://help.hana.ondemand.com/help/frameset.htm?76137a37711e1014839a8273b0e91070.html). Please use the link for Eclipse Neon.
22
+
5.[Install SAP HANA Cloud Platform SDK](https://help.hana.ondemand.com/help/frameset.htm?7613843c711e1014839a8273b0e91070.html). Please install Java Web Tomcat 8.
23
+
6.[Set up the Runtime Environment in Eclipse](https://help.hana.ondemand.com/help/frameset.htm?7613f000711e1014839a8273b0e91070.html). Please follow the steps for Java Web Tomcat 8 Runtime.
24
+
7. Register for a free developer account on [SAP HANA Cloud Platform](https://account.hanatrial.ondemand.com).
24
25
25
26
### Build the application and deploy
26
-
Below are the Steps to build and run espm application.
27
+
Below are the steps to build and run the ESPM application:
27
28
```sh
28
29
1.Git configuration in Eclipse
29
30
2.Maven configuration
@@ -36,76 +37,74 @@ Below are the Steps to build and run espm application.
36
37
37
38
#### 1.Git configuration in Eclipse
38
39
- From the Eclipse IDE main menu, choose Window > Preferences
39
-
- Enter git in the filter field in the top-left corner.
40
+
- Enter git in the filter field in the top-left corner
40
41
- Navigate to Team > Git > Configuration and select the Configuration node and add the following configuration
**Note! For most people the proxy value doesn’t need to be set but if you are working behind a proxy, then it should be set as per you environment**
45
+
**Note! For most people the proxy value doesn’t need to be set but if you are working behind a proxy, then it should be set as per you environment.**
45
46
46
47
#### 2.Maven configuration
47
48
- From the Eclipse IDE main menu, choose Window > Preferences
48
49
- Enter maven in the filter field in the top-left corner
49
50
- Navigate to Maven > User Settings and select the User Settings node
50
-
- If you are using Maven for the first time you need to create a settings.xml file at location C:/Users/<your-user-name>/.m2/settings.xml. The contents of the settings.xml file should looks like below snippet:
51
+
- If you have already installed Maven before you can click the open file link. If you are using Maven for the first time you need to create a settings.xml file at the location /Users/your-user-name/.m2/settings.xml. The contents of the settings.xml file should look like the snippet below.
- Note: If you are not working behind a proxy firewall you can remove the entire proxy section from the snippet
54
-
- Information: If you have already installed Maven before you can click open file link and add e.g. the proxy configuration to your settings.xml if not already there.
**Note! For most people the proxy value doesn’t need to be set, you can remove the entire proxy section from the snippet, but if you are working behind a proxy, then it should be set as per you environment.**
82
80
83
81
#### 3.Clone Git repository and import Maven project
84
-
- Open https://github.com/SAP/cloud-espm-v2 with your web browser
85
-
- Click on the Copy to clipboard so that the Git repository URL of the opened cloud-basecamp GitHub repository is copied to your clipboard.
82
+
- Open https://github.com/SAP/cloud-espm-v2 with your web browser.
83
+
- Click on the Copy to clipboard so that the Git repository URL of the opened GitHub repository is copied to your clipboard.
86
84
87
85

86
+
88
87
- In Eclipse, open the Git perspective. From the Eclipse IDE main menu, choose Window > Open Perspective > Other.... Select Git and choose Ok to open the Git perspective.
89
88
- In this perspective you have the Git Repositories view on the left. As long as there is no Git Repository defined you will see 3 links (as shown here) to add a repository to the view.
90
89
91
90

91
+
92
92
- In the corresponding menu (top-right of the view), click on the Clone a Git repository link.
93
93
- Because you copied before the cloud-basecamp Git repository URL to your clipboard, the fields (URI, Host, Repository path and Protocol) of the opened dialog are filled automatically with the correct values.
94
-
- Do not change anything, just click Next >
95
-
- On this wizard page check that the master branch is selected and click again on Next >
96
-
- On the last wizard page you can adjust the location of the local Git Repository, but for the scope of this tutorial we'll just leave the default as-is
97
-
- Click on Finish so that the remote cloud-basecamp Git repository (source code) is cloned to the local location specified on the last wizard page.
98
-
- In Eclipse, open File->Import->Existing Maven projects.
94
+
- Do not change anything, just click Next >.
95
+
- On this wizard page check that the master branch is selected and click again on Next >.
96
+
- On the last wizard page you can adjust the location of the local Git Repository, but for the scope of this tutorial we'll just leave the default as-is.
97
+
- Click on Finish so that the remote Git repository (source code) is cloned to the local location specified on the last wizard page.
98
+
- In Eclipse, open File->Import->Existing Maven projects and import the Maven project.
99
99
100
100
#### 4.Update dependencies and build Maven project
101
-
102
101
- Instruction to run update dependencies for the Maven project
103
102
- Right click on the web project in ESPM > and choose Maven > Click on Update Project
104
-
- Note! you need to modify the parent pom.xml for certain property values depending on your environment:
105
-
- local.server.proxy.settings - comment this out if you are not behind a proxy server. Else update your proxy settings here
106
-
- browser.proxy.settings - comment this out if your browser is not using a proxy. Else update your browser proxy settings here
107
-
- sap.cloud.sdk.version - The SAP HANA Cloud Platform SDK for Java Web Tomcat 8 version that you intend to run the application with. the minimum version supported is 3.22.10
108
-
- olingo.version - The Apache Olingo version that you intend the application to run with. The minimum version supported is 2.0.6
103
+
- Note! If you face errors you need to modify the parent pom.xml for certain property values depending on your environment:
104
+
- local.server.proxy.settings - delete this if you are not behind a proxy server, else update your proxy settings here
105
+
- browser.proxy.settings - delete this if your browser is not using a proxy, else update your browser proxy settings here
106
+
- sap.cloud.sdk.version - The SAP HANA Cloud Platform SDK for Java Web Tomcat 8 version that you intend to run the application with, the minimum version supported is 3.22.10
107
+
- olingo.version - The Apache Olingo version that you intend the application to run with, the minimum version supported is 2.0.6
109
108
110
109
The application can be built with the maven command to the parent pom.xml
111
110
@@ -122,9 +121,11 @@ i)Run the application in HCP Java Web Tomcat 8 Server
122
121
- Right click on the web project in ESPM > and choose the Run on Server option
- Make sure that Manually define a new server is selected and choose SAP > Java Web Tomcat 8 Server as server type. Leave all other settings unchanged and choose Finish
@@ -200,12 +200,13 @@ Below is the process to bind the database to the java application in HCP trial a
200
200
201
201
[help information on Binding applications to Database on HCP - Link 2](https://help.hana.ondemand.com/help/frameset.htm?216cef2158cc419fade9a8247d5008fa.html).
202
202
203
-
204
203
### Demo script for [ESPM Webshop](/docs/demoscript/WebshopREADME.md)
205
204
### Demo script for [ESPM Retailer-SalesorderApproval](/docs/demoscript/Retailer_SalesOrderApprovalREADME.md)
206
205
### Demo script for [ESPM Retailer-StockUpdate](/docs/demoscript/Retailer_StockUpdateREADME.md)
206
+
207
207
### Documentation for [Document Service](/docs/documentation/DocumentServiceREADME.md)
208
208
### Documentation for [SAP JAM Integration](/docs/documentation/SAPJAMIntegrationREADME.md)
209
+
209
210
# 2.Deep-dive guide
210
211
### Architecture Overview
211
212
The following diagram provides an overview of the ESPM Sample application architecture:
@@ -227,6 +228,7 @@ The ESPM Sample Application is a Maven based project which has a parent pom.xml
227
228
### The JPA Class diagram
228
229
229
230

231
+
230
232
### ESPM Source Code packages
231
233
**The espm-cloud-jpa has the following packages:**
0 commit comments