Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: project-flogo/contrib
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.15.0-rc.3
Choose a base ref
...
head repository: project-flogo/contrib
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref

Commits on Nov 16, 2021

  1. Copy the full SHA
    f4525bc View commit details
  2. Merge pull request #148 from project-flogo/function-return-type

    Fix boolean return types
    vijaynalawade authored Nov 16, 2021
    Copy the full SHA
    45ac645 View commit details

Commits on Nov 17, 2021

  1. Corrected millisecond

    vnalawad-tibco committed Nov 17, 2021
    Copy the full SHA
    e9bceb8 View commit details

Commits on Nov 18, 2021

  1. Merge pull request #149 from project-flogo/datetime-ms-corection

    Corrected millisecond
    vijaynalawade authored Nov 18, 2021
    Copy the full SHA
    8117573 View commit details

Commits on May 11, 2022

  1. fix function examples

    awakchau-tibco committed May 11, 2022
    Copy the full SHA
    ec917bd View commit details

Commits on May 12, 2022

  1. Merge pull request #154 from awakchau-tibco/master

    fix function examples
    vijaynalawade authored May 12, 2022
    Copy the full SHA
    7bfc6b3 View commit details

Commits on Feb 23, 2023

  1. Bump golang.org/x/text from 0.3.2 to 0.3.8 in /activity/jsexec

    Bumps [golang.org/x/text](https://github.com/golang/text) from 0.3.2 to 0.3.8.
    - [Release notes](https://github.com/golang/text/releases)
    - [Commits](golang/text@v0.3.2...v0.3.8)
    
    ---
    updated-dependencies:
    - dependency-name: golang.org/x/text
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Feb 23, 2023
    Copy the full SHA
    d558276 View commit details

Commits on Feb 28, 2023

  1. Merge pull request #158 from project-flogo/dependabot/go_modules/acti…

    …vity/jsexec/golang.org/x/text-0.3.8
    
    Bump golang.org/x/text from 0.3.2 to 0.3.8 in /activity/jsexec
    vijaynalawade authored Feb 28, 2023
    Copy the full SHA
    5e72c44 View commit details
  2. Bump golang.org/x/text in /activity/jsexec/examples/microgateway/api

    Bumps [golang.org/x/text](https://github.com/golang/text) from 0.3.2 to 0.3.8.
    - [Release notes](https://github.com/golang/text/releases)
    - [Commits](golang/text@v0.3.2...v0.3.8)
    
    ---
    updated-dependencies:
    - dependency-name: golang.org/x/text
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Feb 28, 2023
    Copy the full SHA
    fd8dd5f View commit details

Commits on Apr 27, 2023

  1. Merge pull request #160 from project-flogo/dependabot/go_modules/acti…

    …vity/jsexec/examples/microgateway/api/golang.org/x/text-0.3.8
    
    Bump golang.org/x/text from 0.3.2 to 0.3.8 in /activity/jsexec/examples/microgateway/api
    vnalawad-tibco authored Apr 27, 2023
    Copy the full SHA
    362052b View commit details

Commits on May 24, 2023

  1. Copy the full SHA
    f931eda View commit details

Commits on May 25, 2023

  1. Merge pull request #161 from abhijitWakchaure/master

    add go.mod and version API
    abhijitWakchaure authored May 25, 2023
    Copy the full SHA
    e81098f View commit details

Commits on Feb 6, 2024

  1. Add JQ function to JSON category (#165)

    * added new jqFunction
    
    * return array always (#163)
    
    Co-authored-by: “jdattatr-tibco” <“jdattatr@tibco.com”>
    
    * Added valueType to json.jq return type
    
    * updated README for jq
    
    ---------
    
    Co-authored-by: “jdattatr-tibco” <“jdattatr@tibco.com”>
    Co-authored-by: jdattatr-tibco <95629097+jdattatr-tibco@users.noreply.github.com>
    Co-authored-by: Vijay Nalawade <74347756+vnalawad-tibco@users.noreply.github.com>
    4 people authored Feb 6, 2024
    Copy the full SHA
    a905a01 View commit details

Commits on Dec 14, 2024

  1. Copy the full SHA
    098bc65 View commit details
  2. Corrected readme

    vnalawad-tibco committed Dec 14, 2024
    Copy the full SHA
    f0dac93 View commit details
  3. Copy the full SHA
    44e3b47 View commit details
  4. Copy the full SHA
    5a92fed View commit details
  5. Copy the full SHA
    4c5319c View commit details

Commits on Dec 15, 2024

  1. Copy the full SHA
    06e331d View commit details
  2. Updated readme

    vnalawad-tibco committed Dec 15, 2024
    Copy the full SHA
    959f745 View commit details
  3. Updated readme

    vnalawad-tibco committed Dec 15, 2024
    Copy the full SHA
    c891b3d View commit details
  4. Updated readme

    vnalawad-tibco committed Dec 15, 2024
    Copy the full SHA
    ff7ba56 View commit details

Commits on Dec 16, 2024

  1. Merge pull request #168 from project-flogo/soap-client-activity

    First version of SOAP Client activity for Flogo
    vnalawad-tibco authored Dec 16, 2024
    Copy the full SHA
    6cd4b15 View commit details
1 change: 1 addition & 0 deletions VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v0.15.1
4 changes: 1 addition & 3 deletions activity/jsexec/examples/microgateway/api/go.mod
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
module api

require (
github.com/dlclark/regexp2 v1.2.0 // indirect
github.com/go-sourcemap/sourcemap v2.1.2+incompatible // indirect
github.com/project-flogo/contrib/activity/jsexec v0.10.0
github.com/project-flogo/contrib/trigger/rest v0.10.0
github.com/project-flogo/core v0.9.4-hf.1
github.com/project-flogo/microgateway v0.0.0-20190319203104-747b5cae041f
github.com/stretchr/testify v1.4.0
golang.org/x/text v0.3.2 // indirect
golang.org/x/text v0.3.8 // indirect
)

go 1.12
2 changes: 1 addition & 1 deletion activity/jsexec/go.mod
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@ require (
github.com/pkg/errors v0.9.1 // indirect
github.com/project-flogo/core v0.9.4-hf.1
github.com/stretchr/testify v1.4.0
golang.org/x/text v0.3.2 // indirect
golang.org/x/text v0.3.8 // indirect
)

go 1.12
26 changes: 24 additions & 2 deletions activity/jsexec/go.sum
Original file line number Diff line number Diff line change
@@ -17,15 +17,37 @@ github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UV
github.com/stretchr/testify v1.4.0 h1:2E4SXV/wtOkTonXsotYi4li6zVWxYlZuYNCXe9XRJyk=
github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
github.com/xeipuuv/gojsonschema v1.1.0/go.mod h1:5yf86TLmAcydyeJq5YvxkGPE2fm/u4myDekKRoLuqhs=
github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
go.uber.org/atomic v1.4.0 h1:cxzIVoETapQEqDhQu3QfnvXAV4AlzcvUCxkVUFw3+EU=
go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE=
go.uber.org/multierr v1.1.0 h1:HoEmRHQPVSqub6w2z2d2EOVs2fjyFRGyofhKuyDq0QI=
go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0=
go.uber.org/zap v1.9.1 h1:XCJQEf3W6eZaVwhRBof6ImoYGJSITeKWsyeh3HFu/5o=
go.uber.org/zap v1.9.1/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q=
golang.org/x/text v0.3.2 h1:tW2bmiBqwgJj/UpqtC8EpXEZVYOwU0yG4iWbprSVAcs=
golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4=
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c=
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
golang.org/x/text v0.3.8 h1:nAL+RVCQ9uMn3vJZbV+MRnydTJFPf8qqY42YiA6MrqY=
golang.org/x/text v0.3.8/go.mod h1:E6s5w1FMmriuDzIBO73fBruAKo1PCIq6d2Q6DHfQ8WQ=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc=
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v2 v2.2.2 h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw=
46 changes: 46 additions & 0 deletions activity/soapclient/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<!--
title: SOAP Client
weight: 4618
-->

# SOAP Client
This activity allows you to invoke a SOAP service.

## Installation

### Flogo CLI
```bash
flogo install github.com/project-flogo/contrib/activity/soapclient
```

## Configuration

### Settings:
| Name | Type | Description
|:--- | :--- | :---
| soapServiceEndpoint | string | SOAP Service Endpoint - **REQUIRED**
| soapVersion | string | SOAP Version to be used. Supported Versions: **1.1** and **1.2** - **REQUIRED**
| timeout | integer| Request timeout in seconds
| enableTLS | bool | Set to true when using certificates. If set to false and SOAP Service Endpoint starts with `https` then certificate validation is set to false.
| xmlMode | bool | Use this mode when you want to directly map XML data to request SOAP header and body and access SOAP response in XML data format. When not set, activity will convert configured request body and headers from JSON to XML and response body and headers from XML to JSON based on JSON schema
| xmlAttributePrefix | string | When `xmlMode=false`, use this field to define XML attribute representation in JSON data. e.g If prefix is set to '@', `<car electric="true">Tesla</car>` will be converted to `{"car": {"@electric": "true", "#text": "Tesla"}}`. The default is set to '-'
| serverCertificate | string | When enableTLS set to true, configure a PEM encoded CA or Server certificate. Set either base64 encoded certificate value or file path with prefix `file://`
| clientCertificate | string | When enableTLS set to true, configure a PEM encoded Client certificate. Set either base64 encoded certificate value or file path with prefix `file://`
| clientKey | string | When enableTLS set to true, configure a PEM encoded Clinent Key certificate. Set either base64 encoded certificate value or file path with prefix `file://`

### Input:
| Name | Type | Description
|:--- | :--- | :---
| soapAction | string | The SOAP action to be set in the header
| httpQueryParams | any | The HTTP query parameters to be sent. You can configure JSON schema for this field. To configure schema, hover over the field and select `Coerce with Schema` option after clicking `...`
| soapRequestHeaders | any | The SOAP request headers to be sent. When `xmlMode=false`, you can configure JSON schema for this field. To configure schema, hover over the field and select `Coerce with Schema` option after clicking `...`
| soapRequestBody | any | The SOAP request headers to be sent. When `xmlMode=false`, you can configure JSON schema for this field. To configure schema, hover over the field and select `Coerce with Schema` option after clicking `...`

### Output:
| Name | Type | Description
|:--- | :--- | :---
| httpStatus | int | The HTTP status code
| isFault | bool | Set to true when fault returned in the response
| soapResponsePayload | any | The SOAP response payload received in case of success. When `xmlMode=false`, you can configure JSON schema for this field. To configure schema, hover over the field and select `Coerce with Schema` option after clicking `...`. When `xmlMode=true`, output will be XML string.
| soapResponseHeaders | any | The SOAP response headers received. When `xmlMode=false`, you can configure JSON schema for this field. To configure schema, hover over the field and select `Coerce with Schema` option after clicking `...`. When `xmlMode=true`, output will be XML string.
| soapResponseFault | any | The SOAP response payload received in case of success. When `xmlMode=false`, you can configure JSON schema for this field. To configure schema, hover over the field and select `Coerce with Schema` option after clicking `...`. When `xmlMode=true`, output will be XML string.
Loading