Connections
  • 17 May 2024
  • 3 Minutes to read
  • Contributors
  • Dark
    Light
  • PDF

Connections

  • Dark
    Light
  • PDF

Article summary

In order to be able to see a particular project or create connections in a project, you need to be a project owner. Contact your organization owner to change your project role.

Xponent has connections that define the base level of connectivity (supported connection types include database, message queue, web service etc). Connections are used to communicate with external systems. An adaptor uses a connection to do a particular operation.

For Example:  A single connection may have many adaptors.

  • Database Read, Write, Delete, and Listener etc. 
  • Message Queue Read, Write, and Listener etc.

For all connectors using AWS keys requiring rotation, this process must occur at the predetermined frequency. From now onwards updating connection and credential details in the Hub will automatically propagate the changes to all deployed graphs using that connector. There's no need to stop and redeploy graphs; the application detects all affected graphs and applies the changes accordingly.

Creating a New Connection

To create a connection in a project, navigate to the project admin page, choose Projects from the left-hand side menu, and then choose the desired project from the list.

Depending on your role, you may see many projects in this list.

  1. Go to Project Settings and select the Connections tab. 
  2. Click the Create Connection button. The Create Connection window is displayed.
  3. Choose the required connection Type from the dropdown menu.
  4. Create the Connection Name in the pop-up window. Provide a functional name rather than a development stage name

For Example:
CustomerDB rather than DevelopmentDB. It makes easier to propagate the connection through multiple environments.

Depending on the connection type, you will see different parameters to complete before the connection is ready:

Once the connection is configured with new information, the Save Edits button will appear.

To enable the Test Connection, it is mandatory to save the changes.

Once the modified configuration is saved, the button changes to No Unsaved Changes and the Test Connection buttons gets appears.

Testing a Connection

Once the connection details have been saved, the Test Connection button appears below the connection details.

  • Click the Test Connection button to test the connection. It will confirm whether we can reach the service or not.

After successfully testing the connection, the button name changes to Connection Verified.

Publishing a Connection

Once you have successfully tested the connection, the Publish Connection button will be enabled. Publishing connections will propagate the updated connection details to all deployed graphs using that connection without the need to stop and restart the graphs.

The Publish button will initially appear greyed out. It will be activated and turn green only after meeting the following criteria:

  • The connection must be used in a deployed graph.
  • The connection must have had edits made to it since the graph was deployed.
  • The connection has been tested and passed.

  • Click the Publish Connection button to publish the configured connection. 

A pop-up will display the total number of deployed graphs that will be impacted. Before publishing, it will inform you that the engine will temporarily stop the graphs while acquiring the new connection details, after which the graphs will be automatically restarted. 

The number displayed in the pop-up will change based on the impacted deployed graphs

  • Click Yes to publish the connection credentials. Afterward, all deployed graphs will immediately start using the new connection credentials.
  • Click Cancel if you are not sure or ready to make this change. Cancelling means that the connection details will not be published; however, the connection details that you updated in the Hub will be saved in the Hub, and you'll see a status of Unpublished Edits.

The feature will not be enabled for old graphs that have already been deployed. To enable this feature, restarting the graphs is mandatory.

Encountering issues while publishing connection details is common, often due to factors like invalid credentials or network problems. The initial troubleshooting step involves attempting the process again and carefully verifying the connection details.

Now all connection statuses can be identified using the following indicators:

  • Published: Indicates that the connection is published to the engine, and all impacted deployed graphs are using the current connection and credentials details.
  • Unpublished Edits: Indicates connection details have been changed and saved to the hub but not yet published to the engine.



Expand or Collapse the Connection

The selection of the Expand icon will expand the list of the same type of connections.

Selection of the Collapse icon will collapse the list of the same type of connections.

Deleting a Connection

The selection of the Delete icon will delete the related connection.

Changing a Connection Name

Selection of the required connection allows you to modify the name.

  • Click Save Edits to save the modified name.


Related Pages


Is it helpful? React and share your comment

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.
ESC

Eddy AI, facilitating knowledge discovery through conversational intelligence