Creating Endpoints
Last updated
Last updated
To create an endpoint you will need to use a number of different services APIs.
based on the selected connector
based on the selected connector
You first need to know what connector you will be using with your endpoint.
You can view all the connectors using the connector-depot's .
This request will list all the available connectors. You will need the id
of the connector you want to use with the endpoint.
Now that you know the connector ID, you will need to save the endpoint to the endpoint-depot.
an example request would be as follows:
Be sure to get use the correct contentRepo
and contentRepoVersion
when saving the endpoint. View the specific connector's doc for more details.
The response returned after the endpoint is saved will contain the endpoint ID. You will need to make note of this ID and use it in the following API.
Once an endpoint is created and you have it's ID, you need to save config to connect to your chosen repository. The adapter read config is only available for connectors level 2 or level 3. The config is required to sync content from the repository or for full Impulse capabilities, such as diff reporting. Without this config, the content will not be picked up and saved into Impulse.
endPointId
The endpoint ID of the associated endpoint
taxiPickupURL
The relative URL of the pickup taxi
Public Impulse uses the value: http://taxi-pickup-app:8080
taxiDropoffURL
The relative URL of the drop off taxi
Public Impulse uses the value: http://taxi-
dropoff-app:8080
Making the example request:
This same request can be used to update the adapter config. To update the config use the same endPointId
in the request. This will update any existing config with that endpoint ID or create a new config if one does not exist.
Once an endpoint is created and you have it's ID, you need to save config to connect to your chosen connector. The taxi pickup config is required for source connectors. These are connectors with either level 2 or level 3. If you are using the endpoint as a source you must save taxi pickup config. The config is required to sync content from the repository or for full Impulse capabilities, such as diff reporting. Without this config, the content will not be picked up and saved into Impulse.
The AdapterURL
is the relative URL to the connector's read adapter.
Once an endpoint is created and you have it's ID, you need to save config to connect to your chosen repository. The adapter write config is only available for connectors level 1 or level 3. The config is required to sync content to the repository. Without this config, the content will not be saved to a destination repository.
endPointId
The endpoint ID of the associated endpoint
taxiPickupURL
The relative URL of the pickup taxi
Public Impulse uses the value: http://taxi-pickup-app:8080
taxiDropoffURL
The relative URL of the drop off taxi
Public Impulse uses the value: http://taxi-
dropoff-app:8080
Making the example request:
This same request can be used to update the adapter config. To update the config use the same endPointId
in the request. This will update any existing config with that endpoint ID or create a new config if one does not exist.
Once an endpoint is created and you have it's ID, you need to save config to connect to your chosen connector. The taxi drop off config is required for destination connectors. These are connectors with either level 1 or level 3. If you are using the endpoint as a destination you must save taxi drop off config. Without this config, the content will not be saved to a repository.
The AdapterURL
is the relative URL to the connector's write adapter.
You can do this by using the endpoint-depot .
Based on which connector you want to use for the endpoint you will use a different config API. View the specific and for more information. For this example we will use the dotCMS source connector. As such you will need to create the config payload. All connectors configs have few matching attributes.
The dotCMS adapter has specific properties that are listed in both the and the .
Based on which connector you have chosen, you will use a different value in the . For this example we will use the dotCMS source connector. The example request would look like the following.
Based on which connector you want to use for the endpoint you will use a different config API. View the specific and for more information. For this example we will use the dotCMS destination connector. As such you will need to create the config payload. All connectors configs have few matching attributes.
The dotCMS adapter has specific properties that are listed in both the and the .
Based on which connector you have chosen, you will use a different value in the . For this example we will use the dotCMS destination connector. The example request would look like the following.