Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add API artifact data to allow admin group for calling API #39

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 20 additions & 20 deletions data/ArtifactSeedData.xml
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This data looks weird in IDE, so I reformat it
image

Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>

<entity-facade-xml type="ext-seed">
    <!-- Seed Data for ArtifactLogType -->
    <co.hotwax.alc.ArtifactLogType artifactLogTypeId="SALES_ORDER" artifactLogTypeName="Sales Order"/>
    <co.hotwax.alc.ArtifactLogType artifactLogTypeId="PRODUCT" artifactLogTypeName="Product"/>
    <co.hotwax.alc.ArtifactLogType artifactLogTypeId="TRANSFER_ORDER" artifactLogTypeName="Transfer Order"/>
    <co.hotwax.alc.ArtifactLogType artifactLogTypeId="PURCHASE_ORDER" artifactLogTypeName="Purchase Order"/>
    <co.hotwax.alc.ArtifactLogType artifactLogTypeId="INVENTORY" artifactLogTypeName="Inventory"/>
    <co.hotwax.alc.ArtifactLogType artifactLogTypeId="FULFILLMENT" artifactLogTypeName="Fulfillment"/>
    <co.hotwax.alc.ArtifactLogType artifactLogTypeId="RETURN" artifactLogTypeName="Return"/>
    <co.hotwax.alc.ArtifactLogType artifactLogTypeId="CYCLE_COUNT" artifactLogTypeName="Cycle Count"/>
    <co.hotwax.alc.ArtifactLogType artifactLogTypeId="PARTY" artifactLogTypeName="Party"/>
<!-- Seed Data for ArtifactLogType -->
<co.hotwax.alc.ArtifactLogType artifactLogTypeId="SALES_ORDER" artifactLogTypeName="Sales Order"/>
<co.hotwax.alc.ArtifactLogType artifactLogTypeId="PRODUCT" artifactLogTypeName="Product"/>
<co.hotwax.alc.ArtifactLogType artifactLogTypeId="TRANSFER_ORDER" artifactLogTypeName="Transfer Order"/>
<co.hotwax.alc.ArtifactLogType artifactLogTypeId="PURCHASE_ORDER" artifactLogTypeName="Purchase Order"/>
<co.hotwax.alc.ArtifactLogType artifactLogTypeId="INVENTORY" artifactLogTypeName="Inventory"/>
<co.hotwax.alc.ArtifactLogType artifactLogTypeId="FULFILLMENT" artifactLogTypeName="Fulfillment"/>
<co.hotwax.alc.ArtifactLogType artifactLogTypeId="RETURN" artifactLogTypeName="Return"/>
<co.hotwax.alc.ArtifactLogType artifactLogTypeId="CYCLE_COUNT" artifactLogTypeName="Cycle Count"/>
<co.hotwax.alc.ArtifactLogType artifactLogTypeId="PARTY" artifactLogTypeName="Party"/>

    <!-- Seed Data for SystemMessageRemote -->
    <moqui.service.message.SystemMessageRemote systemMessageRemoteId="SHOPIFY" systemMessageRemoteName="Shopify"/>
    <moqui.service.message.SystemMessageRemote systemMessageRemoteId="HOTWAX" systemMessageRemoteName="HotWax"/>
    <moqui.service.message.SystemMessageRemote systemMessageRemoteId="NETSUITE" systemMessageRemoteName="NetSuite"/>
    <moqui.service.message.SystemMessageRemote systemMessageRemoteId="LOOP" systemMessageRemoteName="Loop"/>
    <moqui.service.message.SystemMessageRemote systemMessageRemoteId="ITERABLE" systemMessageRemoteName="Iterable"/>
    <moqui.service.message.SystemMessageRemote systemMessageRemoteId="SHIPHAWK" systemMessageRemoteName="ShipHawk"/>
<!-- Seed Data for SystemMessageRemote -->
<moqui.service.message.SystemMessageRemote systemMessageRemoteId="SHOPIFY" systemMessageRemoteName="Shopify"/>
<moqui.service.message.SystemMessageRemote systemMessageRemoteId="HOTWAX" systemMessageRemoteName="HotWax"/>
<moqui.service.message.SystemMessageRemote systemMessageRemoteId="NETSUITE" systemMessageRemoteName="NetSuite"/>
<moqui.service.message.SystemMessageRemote systemMessageRemoteId="LOOP" systemMessageRemoteName="Loop"/>
<moqui.service.message.SystemMessageRemote systemMessageRemoteId="ITERABLE" systemMessageRemoteName="Iterable"/>
<moqui.service.message.SystemMessageRemote systemMessageRemoteId="SHIPHAWK" systemMessageRemoteName="ShipHawk"/>

    <!-- Seed Data for ArtifactLogIdType -->
    <co.hotwax.alc.ArtifactLogIdType artifactLogIdTypeId="INTERNAL" artifactLogIdTypeName="Internal Id"/>
    <co.hotwax.alc.ArtifactLogIdType artifactLogIdTypeId="COMMON" artifactLogIdTypeName="Commonly Known Id"/>
<!-- Seed Data for ArtifactLogIdType -->
<co.hotwax.alc.ArtifactLogIdType artifactLogIdTypeId="INTERNAL" artifactLogIdTypeName="Internal Id"/>
<co.hotwax.alc.ArtifactLogIdType artifactLogIdTypeId="COMMON" artifactLogIdTypeName="Commonly Known Id"/>
</entity-facade-xml>
1 change: 1 addition & 0 deletions data/ComponentSetupData.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<entity-facade-xml type="ext-seed">
<artifactGroups artifactGroupId="ALC_APP" description="Artifact Life Cycle app">
<artifacts artifactName="component://artifactLifeCycle/screen/ArtifactLifeCycleApp.xml" artifactTypeEnumId="AT_XML_SCREEN" inheritAuthz="Y"/>
<artifacts artifactName="/artifact-life-cycle" artifactTypeEnumId="AT_REST_PATH" inheritAuthz="Y"/>
<!-- Full permissions for the ADMIN user group -->
<authz artifactAuthzId="ALC_APP_ADMIN" userGroupId="ADMIN" authzTypeEnumId="AUTHZT_ALWAYS" authzActionEnumId="AUTHZA_ALL"/>
</artifactGroups>
Expand Down