IBM / cp4i-deployment-samples

Samples for deploying Cloud Pak for Integration capabilities in a pipeline
Apache License 2.0
22 stars 94 forks source link

Declarative apis #322

Closed DanRoseus closed 1 year ago

DanRoseus commented 1 year ago

DDD pipelines all run:

image

Able to GET/POST for EEI:

fermi-dan-1-click-dev $ curl -k -H "X-IBM-Client-Id: ${API_CLIENT_ID}" "${API_BASE_URL}/quote?QuoteID=$QUOTE_ID"
{
    "address": "790 Arrowhead Court, Portsmouth",
    "licensePlate": "WMC-9628",
    "name": "Ronny Doyle",
    "descriptionOfDamage": "Wheel fell off",
    "usState": "VA",
    "quoteid": "01fe483a-c422-45c0-801e-930dede61f8e",
    "email": "RonnyDoyle@mail.com",
    "claimStatus": "7"
}

fermi-dan-1-click-dev $ curl -k "${API_BASE_URL}/quote" \
>   -H "X-IBM-Client-Id: ${API_CLIENT_ID}" \
>   -d '{
>     "name": "Barack Obama",
>     "email": "comments@whitehouse.gov",
>     "age": "50",
>     "address": "1600 Pennsylvania Avenue",
>     "usState": "DC",
>     "licensePlate": "EK 3333",
>     "descriptionOfDamage": "420"
>   }'
{"name":"Barack Obama","email":"comments@whitehouse.gov","age":"50","address":"1600 Pennsylvania Avenue","usState":"DC","licensePlate":"EK 3333","descriptionOfDamage":"420","quoteid":"9244d2e2-ff89-11ed-99f5-ac1e4fe90000"}