Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Added API to delete connection, and added patch for multi-tenancy OOB connection #232

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

sagarkhole4
Copy link

@sagarkhole4 sagarkhole4 commented Jan 22, 2025

Description

When issuing credentials using the out-of-band protocol with connection reuse disabled or when establishing a new connection, the connection gets successfully established, but the credentials remain in the request-sent state indefinitely.

This issue does not occur when reusing an existing connection. In such cases, the credential issuance process transitions to the appropriate final state as expected.

  1. Delete Connection Functionality:

    • Implemented functionality to delete an existing connection.
    • Validates connection state before deletion to ensure data consistency.
  2. Patch for Multitenancy OOB Connection:

    • Fixed an issue with Out-Of-Band (OOB) connections in a multitenancy environment.
    • Improved compatibility with existing multitenancy configurations.

Issue created on credo-ts Clicl here

… oob connection

Signed-off-by: Sagar Khole <sagar.khole@ayanworks.com>
@GHkrishna
Copy link
Contributor

Can we also have a short description of the issue that the patch is solving?

@sagarkhole4 sagarkhole4 requested a review from GHkrishna January 28, 2025 11:19
Signed-off-by: Sagar Khole <sagar.khole@ayanworks.com>
@sagarkhole4 sagarkhole4 force-pushed the fix/multi-tenancy-oob-connection branch from 8af64b8 to 39a53f5 Compare January 28, 2025 11:20
- .returnWhenIsConnected(connectionRecord.id, { timeoutMs })
- .then((connectionRecord) => this.emitWithConnection(outOfBandRecord, connectionRecord, messages))
- .catch((error) => {
+ // this.connectionsApi
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
+ // this.connectionsApi
+ Remove the commented code if not necessary

@sairanjit
Copy link
Contributor

sairanjit commented Jan 28, 2025

@sagarkhole4 if .then is the issue then should the same work for the dedicated agent ? Or is this only specific to multitenant agents ?

@GHkrishna GHkrishna changed the base branch from develop-dco-fixed to develop January 31, 2025 07:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants