Skip to content

IAV-848/feat: Add agent integration lookup by credential type and fix component scan exclusion

salaheddine zidani a demandé de fusionner feature/IAV-848 vers develop

Summary

Two independent changes bundled in this update.

1. Agent integration lookup by credential type

Added two new endpoints to query agent integrations directly by CredentialType enum:

  • GET /agent-integrations/agent/{agentUid}/exists?credentialType=TELEGRAM — check existence
  • GET /agent-integrations/agent/{agentUid}/by-type?credentialType=TELEGRAM — retrieve with enriched credential info

2. Component scan exclusion for memory package

Added a REGEX filter to @ComponentScan to exclude com.izemx.iavia.common.agent.common.memory.* from the orchestration service context.


Changes

File Change
Paths.java Added CHECK_EXISTS_BY_TYPE, GET_BY_AGENT_UID_AND_TYPE
AgentIntegrationController Two new GET endpoints
AgentIntegrationService Two new method signatures
AgentIntegrationServiceImpl Implementations with N8N enrichment + error handling
AgentIntegrationRepository existsByAgentUidAndCredentialType, findByAgentUidAndCredentialType
IaviaOrchestrationServiceApplication Added memory package exclusion filter
OrchestrationFunctionalError AGENT_INTEGRATION_CHECK_EXISTING_FAILED, AGENT_INTEGRATION_RETRIEVE_FAILED
CREDENTIAL_TYPE_MAPPINGS Added INSTAGRAM_HEADER_AUTH mapping

Related Issues

Closes IAV-848

Rapports de requête de fusion