Fix AgentData.xml entity names
Remove package prefixes from entity names to match data loader format - ScheduledJob instead of moqui.service.ScheduledJob - UserAccount instead of moqui.security.UserAccount - UserGroup instead of moqui.security.UserGroup - UserGroupMember instead of moqui.security.UserGroupMember - ArtifactGroup instead of moqui.security.ArtifactGroup - ArtifactGroupMember instead of moqui.security.ArtifactGroupMember - ArtifactAuthz instead of moqui.security.ArtifactAuthz - ProductStoreAiConfig instead of moqui.mcp.agent.ProductStoreAiConfig
Showing
1 changed file
with
9 additions
and
9 deletions
| ... | @@ -6,7 +6,7 @@ | ... | @@ -6,7 +6,7 @@ |
| 6 | <!-- Agent Runtime Scheduled Job --> | 6 | <!-- Agent Runtime Scheduled Job --> |
| 7 | <!-- ========================================================= --> | 7 | <!-- ========================================================= --> |
| 8 | 8 | ||
| 9 | <moqui.service.ScheduledJob | 9 | <ScheduledJob |
| 10 | jobName="AgentQueuePoller" | 10 | jobName="AgentQueuePoller" |
| 11 | description="Polls Agent Queue and processes pending tasks" | 11 | description="Polls Agent Queue and processes pending tasks" |
| 12 | serviceName="AgentServices.poll#AgentQueue" | 12 | serviceName="AgentServices.poll#AgentQueue" |
| ... | @@ -18,7 +18,7 @@ | ... | @@ -18,7 +18,7 @@ |
| 18 | <!-- Agent User Account (for authentication) --> | 18 | <!-- Agent User Account (for authentication) --> |
| 19 | <!-- ========================================================= --> | 19 | <!-- ========================================================= --> |
| 20 | 20 | ||
| 21 | <moqui.security.UserAccount | 21 | <UserAccount |
| 22 | userId="AGENT_CLAUDE" | 22 | userId="AGENT_CLAUDE" |
| 23 | username="agent-claude" | 23 | username="agent-claude" |
| 24 | currentPassword="16ac58bbfa332c1c55bd98b53e60720bfa90d394" | 24 | currentPassword="16ac58bbfa332c1c55bd98b53e60720bfa90d394" |
| ... | @@ -26,20 +26,20 @@ | ... | @@ -26,20 +26,20 @@ |
| 26 | enabled="Y" | 26 | enabled="Y" |
| 27 | description="Agent user for AI runtime"/> | 27 | description="Agent user for AI runtime"/> |
| 28 | 28 | ||
| 29 | <moqui.security.UserGroup userGroupId="AgentUsers" description="AI Agent Users"/> | 29 | <UserGroup userGroupId="AgentUsers" description="AI Agent Users"/> |
| 30 | <moqui.security.UserGroupMember userGroupId="AgentUsers" userId="AGENT_CLAUDE" fromDate="2026-02-04 00:00:00.000"/> | 30 | <UserGroupMember userGroupId="AgentUsers" userId="AGENT_CLAUDE" fromDate="2026-02-04 00:00:00.000"/> |
| 31 | 31 | ||
| 32 | <!-- Agent users have permission to execute the delegation service --> | 32 | <!-- Agent users have permission to execute delegation service --> |
| 33 | <moqui.security.ArtifactGroup artifactGroupId="AgentDelegationServices" description="Agent Tool Delegation Services"/> | 33 | <ArtifactGroup artifactGroupId="AgentDelegationServices" description="Agent Tool Delegation Services"/> |
| 34 | <moqui.security.ArtifactGroupMember artifactGroupId="AgentDelegationServices" artifactName="AgentServices.call#McpToolWithDelegation" artifactTypeEnumId="AT_SERVICE"/> | 34 | <ArtifactGroupMember artifactGroupId="AgentDelegationServices" artifactName="AgentServices.call#McpToolWithDelegation" artifactTypeEnumId="AT_SERVICE"/> |
| 35 | <moqui.security.ArtifactAuthz userGroupId="AgentUsers" artifactGroupId="AgentDelegationServices" authzTypeEnumId="AUTHZT_ALLOW" authzActionEnumId="AUTHZA_ALL"/> | 35 | <ArtifactAuthz userGroupId="AgentUsers" artifactGroupId="AgentDelegationServices" authzTypeEnumId="AUTHZT_ALLOW" authzActionEnumId="AUTHZA_ALL"/> |
| 36 | 36 | ||
| 37 | <!-- ========================================================= --> | 37 | <!-- ========================================================= --> |
| 38 | <!-- Sample AI Configuration (for testing) --> | 38 | <!-- Sample AI Configuration (for testing) --> |
| 39 | <!-- ========================================================= --> | 39 | <!-- ========================================================= --> |
| 40 | 40 | ||
| 41 | <!-- VLLM Configuration for Brainfood --> | 41 | <!-- VLLM Configuration for Brainfood --> |
| 42 | <moqui.mcp.agent.ProductStoreAiConfig | 42 | <ProductStoreAiConfig |
| 43 | productStoreId="POPCOMMERCE_RETAIL" | 43 | productStoreId="POPCOMMERCE_RETAIL" |
| 44 | aiConfigId="DEFAULT" | 44 | aiConfigId="DEFAULT" |
| 45 | serviceTypeEnumId="AistVllm" | 45 | serviceTypeEnumId="AistVllm" | ... | ... |
-
Please register or sign in to post a comment