File tree Expand file tree Collapse file tree 2 files changed +31
-4
lines changed Expand file tree Collapse file tree 2 files changed +31
-4
lines changed Original file line number Diff line number Diff line change 3
3
# ref. https://help.sap.com/viewer/368c481cd6954bdfa5d0435479fd4eaf/LATEST/en-US/03b32eb2c5c249f0a59bcd27c44d1e4e.html
4
4
GROOVY_VERSION=2.4.12
5
5
echo " Setting up Groovy runtime $GROOVY_VERSION ..."
6
- curl -O " https://archive.apache.org/dist/groovy/$GROOVY_VERSION /distribution/apache-groovy-binary-$GROOVY_VERSION .zip"
6
+ curl -f - O " https://archive.apache.org/dist/groovy/$GROOVY_VERSION /distribution/apache-groovy-binary-$GROOVY_VERSION .zip"
7
7
unzip -qo apache-groovy-binary* .zip
8
8
echo " Setting up Groovy runtime $GROOVY_VERSION ... DONE"
9
9
@@ -12,7 +12,22 @@ echo "Downloading SCPI APIs..."
12
12
mkdir -p ' lib'
13
13
(
14
14
cd lib || exit 1
15
- curl -O --cookie ' eula_3_1_agreed=tools.hana.ondemand.com/developer-license-3_1.txt' https://tools.hana.ondemand.com/additional/com.sap.it.public.generic.api-2.20.0.jar
16
- curl -O --cookie ' eula_3_1_agreed=tools.hana.ondemand.com/developer-license-3_1.txt' https://tools.hana.ondemand.com/additional/cloud.integration.script.apis-1.36.1.jar
15
+ curl -f -O --cookie ' eula_3_1_agreed=tools.hana.ondemand.com/developer-license-3_1.txt' \
16
+ ' https://tools.hana.ondemand.com/additional/com.sap.it.public.generic.api-2.22.0.jar'
17
+ if [ " $? " -ne " 0" ]; then
18
+ echo " Generic API not found; update links with latest version from https://tools.hana.ondemand.com/#cloudintegration"
19
+ exit 1
20
+ fi
21
+ curl -f -O --cookie ' eula_3_1_agreed=tools.hana.ondemand.com/developer-license-3_1.txt' \
22
+ ' https://tools.hana.ondemand.com/additional/cloud.integration.script.apis-2.7.1.jar'
23
+ if [ " $? " -ne " 0" ]; then
24
+ echo " Scripting API not found; update links with latest version from https://tools.hana.ondemand.com/#cloudintegration"
25
+ exit 1
26
+ fi
17
27
)
18
- echo " Downloading SCPI APIs... DONE"
28
+ if [ " $? " -ne " 0" ]; then
29
+ echo " Downloading SCPI APIs... FAILED"
30
+ exit 1
31
+ else
32
+ echo " Downloading SCPI APIs... DONE"
33
+ fi
Original file line number Diff line number Diff line change @@ -98,6 +98,18 @@ class MessageImpl implements Message {
98
98
throw new RuntimeException ()
99
99
}
100
100
101
+ void setSoapHeaders (java.util.List l ) {
102
+ throw new RuntimeException ()
103
+ }
104
+
105
+ void clearSoapHeaders () {
106
+ throw new RuntimeException ()
107
+ }
108
+
109
+ java.util.List getSoapHeaders () {
110
+ throw new RuntimeException ()
111
+ }
112
+
101
113
@Override
102
114
String toString () {
103
115
def result = " MessageImpl\n "
You can’t perform that action at this time.
0 commit comments