Simplify AgentData.xml
Remove ProductStoreAiConfig and enumerations that have FK issues Keep only essential data: AGENT_CLAUDE user, AgentUsers group, permissions Will add AI config after verifying basic infrastructure loads
Showing
1 changed file
with
1 additions
and
18 deletions
| ... | @@ -17,26 +17,9 @@ | ... | @@ -17,26 +17,9 @@ |
| 17 | <moqui.security.UserGroup userGroupId="AgentUsers" description="AI Agent Users"/> | 17 | <moqui.security.UserGroup userGroupId="AgentUsers" description="AI Agent Users"/> |
| 18 | <moqui.security.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"/> |
| 19 | 19 | ||
| 20 | <!-- Agent users have permission to execute the delegation service --> | 20 | <!-- Agent users have permission to execute delegation service --> |
| 21 | <moqui.security.ArtifactGroup artifactGroupId="AgentDelegationServices" description="Agent Tool Delegation Services"/> | 21 | <moqui.security.ArtifactGroup artifactGroupId="AgentDelegationServices" description="Agent Tool Delegation Services"/> |
| 22 | <moqui.security.ArtifactGroupMember artifactGroupId="AgentDelegationServices" artifactName="AgentServices.call#McpToolWithDelegation" artifactTypeEnumId="AT_SERVICE"/> | 22 | <moqui.security.ArtifactGroupMember artifactGroupId="AgentDelegationServices" artifactName="AgentServices.call#McpToolWithDelegation" artifactTypeEnumId="AT_SERVICE"/> |
| 23 | <moqui.security.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"/> |
| 24 | 24 | ||
| 25 | <!-- ========================================================= --> | ||
| 26 | <!-- Sample AI Configuration (for testing) --> | ||
| 27 | <!-- ========================================================= --> | ||
| 28 | |||
| 29 | <!-- VLLM Configuration for Brainfood --> | ||
| 30 | <ProductStoreAiConfig | ||
| 31 | productStoreId="POPC_DEFAULT" | ||
| 32 | aiConfigId="DEFAULT" | ||
| 33 | serviceTypeEnumId="AistVllm" | ||
| 34 | description="Brainfood VLLM for Agent Runtime" | ||
| 35 | endpointUrl="http://crunchy.private.brainfood.com:11434/v1" | ||
| 36 | apiKey="brainfood" | ||
| 37 | modelName="bf-ai" | ||
| 38 | temperature="0.7" | ||
| 39 | maxTokens="4096" | ||
| 40 | /> | ||
| 41 | |||
| 42 | </entity-facade-xml> | 25 | </entity-facade-xml> | ... | ... |
-
Please register or sign in to post a comment