IAV-848/feat(integration): Rename SHOPIFY → SHOPIFY_ACCESS_TOKEN & extract AgentWorkflowService with update support
Summary
Two related changes:
-
SHOPIFY→SHOPIFY_ACCESS_TOKEN: enum rename propagated across all layers to better reflect the credential nature. N8n key updated from"shopifyApi"to"shopifyAccessTokenApi". -
Workflow service extraction: workflow logic moved out of
AgentIntegrationServiceImplinto a dedicatedAgentWorkflowService. AddsupdateWorkflowForAgent()with automatic create-or-update routing.
Key Changes
-
CredentialType.SHOPIFY→SHOPIFY_ACCESS_TOKENin helper, validator, injector, HTTP client, mapping, andapplication.yml - New
AgentWorkflowServiceinterface +AgentWorkflowServiceImplhandling create, update, credential injection, fake credentials, and webhook injection -
createWorkflowForAgent()auto-routes toupdateWorkflowForAgent()when agent already has ann8nWorkflowId -
AgentIntegrationServicenow only handlescreateIntegrationForAgent() -
@NotBlank→@Positiveonintfields inShopifyOAuthConfigs -
@Builderadded toWorkflowRequestDTO