Remove ScheduledJob from AgentData.xml
ScheduledJob cannot be loaded via seed data - needs to be created through service Will create AgentQueuePoller via service call after rebuild
Showing
1 changed file
with
8 additions
and
20 deletions
| ... | @@ -3,22 +3,10 @@ | ... | @@ -3,22 +3,10 @@ |
| 3 | xsi:noNamespaceSchemaLocation="http://moqui.org/xsd/entity-facade-3.xsd" type="seed"> | 3 | xsi:noNamespaceSchemaLocation="http://moqui.org/xsd/entity-facade-3.xsd" type="seed"> |
| 4 | 4 | ||
| 5 | <!-- ========================================================= --> | 5 | <!-- ========================================================= --> |
| 6 | <!-- Agent Runtime Scheduled Job --> | ||
| 7 | <!-- ========================================================= --> | ||
| 8 | |||
| 9 | <ScheduledJob | ||
| 10 | jobName="AgentQueuePoller" | ||
| 11 | description="Polls Agent Queue and processes pending tasks" | ||
| 12 | serviceName="AgentServices.poll#AgentQueue" | ||
| 13 | cronExpression="0/30 * * * * ?" | ||
| 14 | runAsUser="ADMIN" | ||
| 15 | paused="N"/> | ||
| 16 | |||
| 17 | <!-- ========================================================= --> | ||
| 18 | <!-- Agent User Account (for authentication) --> | 6 | <!-- Agent User Account (for authentication) --> |
| 19 | <!-- ========================================================= --> | 7 | <!-- ========================================================= --> |
| 20 | 8 | ||
| 21 | <UserAccount | 9 | <moqui.security.UserAccount |
| 22 | userId="AGENT_CLAUDE" | 10 | userId="AGENT_CLAUDE" |
| 23 | username="agent-claude" | 11 | username="agent-claude" |
| 24 | currentPassword="16ac58bbfa332c1c55bd98b53e60720bfa90d394" | 12 | currentPassword="16ac58bbfa332c1c55bd98b53e60720bfa90d394" |
| ... | @@ -26,20 +14,20 @@ | ... | @@ -26,20 +14,20 @@ |
| 26 | enabled="Y" | 14 | enabled="Y" |
| 27 | description="Agent user for AI runtime"/> | 15 | description="Agent user for AI runtime"/> |
| 28 | 16 | ||
| 29 | <UserGroup userGroupId="AgentUsers" description="AI Agent Users"/> | 17 | <moqui.security.UserGroup userGroupId="AgentUsers" description="AI Agent Users"/> |
| 30 | <UserGroupMember userGroupId="AgentUsers" userId="AGENT_CLAUDE" fromDate="2026-02-04 00:00:00.000"/> | 18 | <moqui.security.UserGroupMember userGroupId="AgentUsers" userId="AGENT_CLAUDE" fromDate="2026-02-04 00:00:00.000"/> |
| 31 | 19 | ||
| 32 | <!-- Agent users have permission to execute delegation service --> | 20 | <!-- Agent users have permission to execute the delegation service --> |
| 33 | <ArtifactGroup artifactGroupId="AgentDelegationServices" description="Agent Tool Delegation Services"/> | 21 | <moqui.security.ArtifactGroup artifactGroupId="AgentDelegationServices" description="Agent Tool Delegation Services"/> |
| 34 | <ArtifactGroupMember artifactGroupId="AgentDelegationServices" artifactName="AgentServices.call#McpToolWithDelegation" artifactTypeEnumId="AT_SERVICE"/> | 22 | <moqui.security.ArtifactGroupMember artifactGroupId="AgentDelegationServices" artifactName="AgentServices.call#McpToolWithDelegation" artifactTypeEnumId="AT_SERVICE"/> |
| 35 | <ArtifactAuthz userGroupId="AgentUsers" artifactGroupId="AgentDelegationServices" authzTypeEnumId="AUTHZT_ALLOW" authzActionEnumId="AUTHZA_ALL"/> | 23 | <moqui.security.ArtifactAuthz userGroupId="AgentUsers" artifactGroupId="AgentDelegationServices" authzTypeEnumId="AUTHZT_ALLOW" authzActionEnumId="AUTHZA_ALL"/> |
| 36 | 24 | ||
| 37 | <!-- ========================================================= --> | 25 | <!-- ========================================================= --> |
| 38 | <!-- Sample AI Configuration (for testing) --> | 26 | <!-- Sample AI Configuration (for testing) --> |
| 39 | <!-- ========================================================= --> | 27 | <!-- ========================================================= --> |
| 40 | 28 | ||
| 41 | <!-- VLLM Configuration for Brainfood --> | 29 | <!-- VLLM Configuration for Brainfood --> |
| 42 | <ProductStoreAiConfig | 30 | <moqui.mcp.agent.ProductStoreAiConfig |
| 43 | productStoreId="POPCOMMERCE_RETAIL" | 31 | productStoreId="POPCOMMERCE_RETAIL" |
| 44 | aiConfigId="DEFAULT" | 32 | aiConfigId="DEFAULT" |
| 45 | serviceTypeEnumId="AistVllm" | 33 | serviceTypeEnumId="AistVllm" | ... | ... |
-
Please register or sign in to post a comment