Register Connector
In order to start using the platform with any specific technology, we must register the Connector
.
We would like to do the certificate discovery and such Connector
must therefore implement the Discovery Provider
Function Group
.
Register Connector
using the API
The connector can be registered using the Connector
API:
curl -X POST \
--cacert [ca-cert] \
--cert [client-cert] \
--cert-type [type] \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
--data '
{
"name": "Network Discovery Provider",
"url", "https://network-discovery-provider-service:8080",
"authType": "none"
}' \
https://[domain]:[port]/api/v1/connectors
When there is no error, Connector
is successfully registered, and its uuid
is sent back:
{
"uuid": "ef092b12-e181-4734-8e34-73152612a945"
}
We can use that to get details about the Connector
in the future API calls:
curl -X GET \
--cacert [ca-cert] \
--cert [client-cert] \
--cert-type [type] \
-H "Accept: application/json" \
https://[domain]:[port]/api/v1/connectors/ef092b12-e181-4734-8e34-73152612a945
#https://[domain]:[port]/api/v1/connectors/{uuid}
Register Connector
using the Web Interface
Follow these steps for register new Network Discovery Provider
.
- Log in to the Administration Interface
https://[domain]:[port]/administrator
- Click Connectors in the left menu
- Click Add new connector (plus symbol )
- Fill in the columns with the attributes:
- URL:
https://network-discovery-provider-service:8080
- Authentication Type:
No Auth
- URL:
- Click Connect
Now you can see the details of the connected Connector
.
- Fill in the
Connector
name:Network Discovery Provider
- Click Create to make the
Connector
available to other components
You have registered Network Discovery Provider
Connector
.