Once the trial account set-up is completed, get into your Subaccount 'trial' and create an instance for Integration Suite Service under 'Instances and Subscriptions'.
Once done, assign the Role Collection 'Integration_Provisioner' to the user (you) under the Security -> Users -> select user -> Assign Role Collection.
Once successfully activated, move back to the BTP Cockpit, run the Booster - Enable Integration Suite on your Subaccount to activate the necessary roles.
Assign the newly created Role Collections which are relevant for the Integration Suite capabilities to the user (you 😉 ).
<!-- This policy can be used to create or modify the standard HTTP request and response messages -->
<AssignMessage async="false" continueOnError="false" enabled="true" xmlns='http://www.sap.com/apimgmt'>
<!-- Sets a new value to the existing parameter -->
<Set>
<Headers>
<Header name="Accept-Encoding">gzip,deflate</Header>
</Headers>
</Set>
<IgnoreUnresolvedVariables>false</IgnoreUnresolvedVariables>
<AssignTo createNew="false" type="request"></AssignTo>
</AssignMessage>
<KeyValueMapOperations mapIdentifier="BasicAuthCredentials" continueOnError="false" enabled="true" xmlns="http://www.sap.com/apimgmt">
<!-- Read parameter with key "username" and assign its value to private variable BasicAuthUsername-->
<Get assignTo="private.BasicAuthUsername" index='1'>
<Key><Parameter>username</Parameter></Key>
</Get>
<!-- Read parameter with key "password" and assign its value to private variable BasicAuthPassword-->
<Get assignTo="private.BasicAuthPassword" index='1'>
<Key><Parameter>password</Parameter></Key>
</Get>
<Scope>environment</Scope>
</KeyValueMapOperations>
<BasicAuthentication async='true' continueOnError='false' enabled='true' xmlns='http://www.sap.com/apimgmt'>
<!-- Operation can be Encode or Decode -->
<Operation>Encode</Operation>
<IgnoreUnresolvedVariables>false</IgnoreUnresolvedVariables>
<!-- for Encode, User element can be used to dynamically populate the user value -->
<User ref='private.BasicAuthUsername'></User>
<!-- for Encode, Password element can be used to dynamically populate the password value -->
<Password ref='private.BasicAuthPassword'></Password>
<!-- Assign to is used to assign the encoded value of username and password to a variable. This should not be used if the operation is Decode -->
<AssignTo createNew="true">request.header.Authorization</AssignTo>
</BasicAuthentication>
importClass(com.sap.gateway.ip.core.customdev.util.Message);
importClass(java.util.HashMap);
function processData(message) {
var query;
query = "$filter=CreationDate eq datetime'" + new Date().toISOString().split('T')[0] + "T00:00:00'";
message.setProperty('query', query);
message.setProperty('date', new Date().toISOString().split('T')[0]);
return message;
}
importClass(com.sap.gateway.ip.core.customdev.util.Message);
importClass(java.util.HashMap);
function processData(message) {
var body = String(message.getBody(new java.lang.String().getClass()));
//create json from string object
var iAmount = 0;
body = JSON.parse(body);
if(body.feed.entry) {
if (body.feed.entry.length && body.feed.entry.length > 1) {
//sum of total amount
for(var i=0; i<body.feed.entry.length; i++) {
iAmount = iAmount + parseFloat(body.feed.entry[i].content.properties.TotalNetAmount);
}
message.setProperty('Amount', iAmount.toString() + " " + body.feed.entry[0].content.properties.TransactionCurrency);
} else {
message.setProperty('Amount', body.feed.entry.content.properties.TotalNetAmount + " " + body.feed.entry.content.properties.TransactionCurrency);
}
} else {
message.setProperty('Amount', '0 USD');
}
return message;
}
{ "text": "Sales Order created for the Amount: ${property.Amount} on ${property.date}" }
SAP Integration Advisor is an intelligent integration content management system that helps you accelerate the development of business-oriented interfaces and mappings. It uses a machine learning-based proposal approach that helps you to accelerate your efforts.
You can decide based on your business expertise or on the proposals from the advisor which fields you would like to select and click on save. Once saved, you can have the MIG for further processing.
cd Principal Propagation
cd /root/ca
openssl genrsa -aes256 -out private/ca.key.pem 4096
chmod 400 private/ca.key.pem
openssl req -config openssl.cnf -key private/ca.key.pem -new -x509 -days 7300 -sha256 -extensions v3_ca -out certs/ca.cert.pem
chmod 444 certs/ca.cert.pem
openssl x509 -noout -text -in certs/ca.cert.pem
cd Principal Propagation
cd /root/ca/intermediate
mkdir certs crl csr newcerts private
chmod 700 private
touch index.txt
echo 1000 > serial
echo 1000 > /root/ca/intermediate/crlnumber
cd /root/ca
openssl genrsa -aes256 -out intermediate/private/intermediate.key.pem 4096
chmod 400 intermediate/private/intermediate.key.pem
openssl req -config intermediate/openssl.cnf -new -sha256 -key intermediate/private/intermediate.key.pem \
-out intermediate/csr/intermediate.csr.pem
openssl ca -config openssl.cnf -extensions v3_intermediate_ca -days 3650 -notext -md sha256 \
-in intermediate/csr/intermediate.csr.pem -out intermediate/certs/intermediate.cert.pem
chmod 444 intermediate/certs/intermediate.cert.pem
openssl x509 -noout -text -in intermediate/certs/intermediate.cert.pem
openssl verify -CAfile certs/ca.cert.pem intermediate/certs/intermediate.cert.pem
# (optional)
cat intermediate/certs/intermediate.cert.pem certs/ca.cert.pem > intermediate/certs/ca-chain.cert.pem
chmod 444 intermediate/certs/ca-chain.cert.pem
openssl x509 -outform der -in ca.cert.pem -out ca.cert
openssl x509 -outform der -in intermediate.cert.pem -out intermediate.cert
openssl pkcs12 -export -clcerts -in intermediate.crt -inkey intermediate.key -out intermediate.p12
server:
customMiddleware:
- name: fiori-tools-proxy
afterMiddleware: compression
configuration:
ignoreCertError: false # If set to true, certificate errors will be ignored. E.g. self-signed certificates will be accepted
ui5:
path:
- /resources
- /test-resources
url: https://ui5.sap.com
backend:
- scp: true
path: /sap
url: http://s4hana-pp:44300
destination: s4hana-pp
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
30 | |
19 | |
10 | |
10 | |
8 | |
7 | |
7 | |
7 | |
6 | |
6 |