Can I use the full C# library from within an automation script to, for example, perform basic network communications such as sending out an HTTP request to an ip address and parse the response? Is there another/better way to do this.
Thanks in advance and Happy Holidays to everyone.
Hi Jeff,
Yes you can, but need to manage everything yourself, things like IP/Port, timeout, retries, etc.
The standard way in DataMiner would be to create an HTTP connector that would handle the communication, there you already have those things implemented and you can change them by editing you Element.
Yes, you would need to create a new connector (protocol).
https://community.dataminer.services/documentation/how-to-create-an-http-connector-coinmarketcap-use-case/
Hi Jeff – FYI as it happens, one of our top guns in connector development and data engineering Mieke just wrapped up a new training module that will go live right after the x-mas break. It’s called “DataMiner Connector Integration: HTTP Basics”.
The course can be found here:
https://community.dataminer.services/courses/dataminer-connector-integration-http-basics/
Additional info:
1. A practical development use-case using CoinMarketCap API: https://community.dataminer.services/documentation/how-to-create-an-http-connector-coinmarketcap-use-case/
2. The internal flow explained:
a. Concept: https://community.dataminer.services/documentation/data-ingest-control-plane-internal-flow-concept/
b. HTTP : https://community.dataminer.services/documentation/data-ingest-control-plane-internal-flow-http/
3. HTTP connectors in our Development Library: https://help.dataminer.services/development/#t=DataMinerDevelopmentLibrary_Customerpart1PDGPDGConnectionsHTTP.htm
This should provide you enough info to get started.
Jorge,
Thanks for your response. I assume that would require creating a new standard Protocol, correct? If not, is there any documentation I can look at to get more information on this HTTP connector?
Thanks again