GO-2022-0491 : Configuration API in EdgeXFoundry 2.1.0 and earlier exposes message bus credentials to local unauthenticated users in github.com/edgexfoundry/app-functions-sdk-go
The highest tagged major version is
v4 .
Discover Packages
github.com/edgexfoundry/app-functions-sdk-go
examples
advanced-target-type
command
Version:
v0.2.0-dev.53
Opens a new window with list of versions in this module.
Published: Oct 23, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
Advanced Target Type
This advanced-target-type Application Service demonstrates how to create an Application Service that expects a custom type to feed to the functions pipeline. For more detail refer to the SDK's main README's section on TargetType
To run this example:
Clone app-functions-sdk-go repo
run make build
cd examples/advance-target-type
run ./advance-target-type
Start PostMan
Load Post Person to Trgger.postman_collection.json
collection in PostMan
Run the Person Trigger
request
The following XML will be printed to the console by the Application Service and will be returned as the trigger HTTP response in PostMan.
<Person>
<FirstName>Sam</FirstName>
<LastName>Smith</LastName>
<Phone>
<CountryCode>1</CountryCode>
<AreaCode>480</AreaCode>
<LocalPrefix>970</LocalPrefix>
<LocalNumber>3476</LocalNumber>
</Phone>
<PhoneDisplay>+01(480) 970-3476</PhoneDisplay>
</Person>
Note that the PhoneDisplay field that is not present in the XML sent from PostMan is now present and filled out.
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.