Skip to content
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
1 change: 1 addition & 0 deletions shopify/HELP.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The Shopify Help file template.
3 changes: 3 additions & 0 deletions shopify/README.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

The files in this directory are used as templates for the ant create-component target, +
please do not modify them without understanding the effect that it will have on that build target.
72 changes: 72 additions & 0 deletions shopify/config/ShopifyUiLabels.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->

<resource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/ofbiz-properties.xsd">
<property key="ShopifyApplication">
<value xml:lang="en">Shopify Application</value>
<value xml:lang="zh">Shopify应用程序</value>
<value xml:lang="zh-TW">Shopify應用程式</value>
</property>
<property key="ShopifyCompanyName">
<value xml:lang="en">OFBiz: Shopify</value>
<value xml:lang="zh-TW">OFBiz: Shopify</value>
</property>
<property key="ShopifyCompanySubtitle">
<value xml:lang="en">Part of the Apache OFBiz Family of Open Source Software</value>
<value xml:lang="it">Un modulo della famiglia di software open source Apache OFBiz</value>
<value xml:lang="zh">开源软件OFBiz的组成部分</value>
<value xml:lang="zh-TW">開源軟體OFBiz的組成部分</value>
</property>
<property key="ShopifyViewPermissionError">
<value xml:lang="en">You are not allowed to view this page.</value>
<value xml:lang="zh">不允许你浏览这个页面。</value>
<value xml:lang="zh-TW">不允許您檢視這個頁面.</value>
</property>
<property key="ShopifyConfigurations">
<value xml:lang="en">Shopify Configurations</value>
</property>
<property key="ShopifyAddShopifyConfiguration">
<value xml:lang="en">Add Shopify Configuration</value>
</property>
<property key="ShopifyConfigurationAdded">
<value xml:lang="en">Shopify Configuration added successfully</value>
</property>
<property key="ShopifyRequiredFieldMissingApiUrl">
<value xml:lang="en">Required Field is missing : API Url</value>
</property>
<property key="ShopifyRequiredFieldMissingUsername">
<value xml:lang="en">Required Field is missing : Username</value>
</property>
<property key="ShopifyRequiredFieldMissingPassword">
<value xml:lang="en">Required Field is missing : Password</value>
</property>
<property key="ExceptionInCreateUpdateShopifyConfiguration">
<value xml:lang="en">Exception in createUpdateShopifyConfiguration</value>
</property>
<property key="ShopifyApiUrlMissing">
<value xml:lang="en">Shopify api url is not configured.</value>
</property>
<property key="ShopifyApiUsernameMissing">
<value xml:lang="en">Shopify api username is not configured.</value>
</property>
<property key="ShopifyApiPasswordMissing">
<value xml:lang="en">Shopify api password is not configured.</value>
</property>
</resource>
38 changes: 38 additions & 0 deletions shopify/data/ShopifyDemoData.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->

<entity-engine-xml>
<ProductStore productStoreId="9000"/>
<WebSite webSiteId="SHOPIFY" siteName="Shopify" productStoreId="9000"/>
<!--Catalog specific to Shopify-->
<ProdCatalog prodCatalogId="SHOPIFY_CATALOG" catalogName="Shopify Catalog" useQuickAdd="Y"/>
<ProductStoreCatalog productStoreId="9000" prodCatalogId="SHOPIFY_CATALOG" fromDate="2009-11-05 12:00:00.0" sequenceNum="4"/>

<ProductCategory productCategoryId="SHOP_BROWSE_ROOT" productCategoryTypeId="CATALOG_CATEGORY" categoryName="Browse Root" description="Browse Root" longDescription="Shopify Catalog Primary Browse Root Category"/>
<ProductCategory productCategoryId="SHOP_CATALOG_SEARCH" productCategoryTypeId="SEARCH_CATEGORY" categoryName="Catalog Search" description="Catalog Search" longDescription="Search Products - only products in this category will show up in a search in CATALOG"/>
<ProductCategory productCategoryId="SHOP_PURCHASE_ALLOW" productCategoryTypeId="CATALOG_CATEGORY" categoryName="Purchase Allow" longDescription="Products in this category are enabled for purchasing"/>
<ProductCategory productCategoryId="SHOP_VIEW_ALLOW" productCategoryTypeId="CATALOG_CATEGORY" categoryName="View Allow" description="Products in this category are visible on web site."/>

<ProdCatalogCategory prodCatalogId="SHOPIFY_CATALOG" productCategoryId="SHOP_BROWSE_ROOT" prodCatalogCategoryTypeId="PCCT_BROWSE_ROOT" fromDate="2018-01-01 12:00:00.000" sequenceNum="1"/>
<ProdCatalogCategory prodCatalogId="SHOPIFY_CATALOG" productCategoryId="SHOP_PURCHASE_ALLOW" prodCatalogCategoryTypeId="PCCT_PURCH_ALLW" fromDate="2018-01-01 12:00:00.000" sequenceNum="2"/>
<ProdCatalogCategory prodCatalogId="SHOPIFY_CATALOG" productCategoryId="SHOP_VIEW_ALLOW" prodCatalogCategoryTypeId="PCCT_VIEW_ALLW" fromDate="2018-01-01 12:00:00.000" sequenceNum="3"/>
<ProdCatalogCategory prodCatalogId="SHOPIFY_CATALOG" productCategoryId="SHOP_CATALOG_SEARCH" prodCatalogCategoryTypeId="PCCT_SEARCH" fromDate="2018-01-01 12:00:00.000" sequenceNum="4"/>

</entity-engine-xml>
29 changes: 29 additions & 0 deletions shopify/data/ShopifySecurityGroupDemoData.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->

<entity-engine-xml>
<SecurityGroupPermission fromDate="2001-05-13 12:00:00.0" groupId="FULLADMIN" permissionId="SHOPIFY_ADMIN"/>
<SecurityGroupPermission fromDate="2001-05-13 12:00:00.0" groupId="FLEXADMIN" permissionId="SHOPIFY_CREATE"/>
<SecurityGroupPermission fromDate="2001-05-13 12:00:00.0" groupId="FLEXADMIN" permissionId="SHOPIFY_DELETE"/>
<SecurityGroupPermission fromDate="2001-05-13 12:00:00.0" groupId="FLEXADMIN" permissionId="SHOPIFY_UPDATE"/>
<SecurityGroupPermission fromDate="2001-05-13 12:00:00.0" groupId="FLEXADMIN" permissionId="SHOPIFY_VIEW"/>
<SecurityGroupPermission fromDate="2001-05-13 12:00:00.0" groupId="VIEWADMIN" permissionId="SHOPIFY_VIEW"/>
<SecurityGroupPermission fromDate="2001-05-13 12:00:00.0" groupId="BIZADMIN" permissionId="SHOPIFY_ADMIN"/>
</entity-engine-xml>
30 changes: 30 additions & 0 deletions shopify/data/ShopifySecurityPermissionSeedData.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->

<entity-engine-xml>
<SecurityPermission description="View operations in the Shopify Component." permissionId="SHOPIFY_VIEW"/>
<SecurityPermission description="Create operations in the Shopify Component." permissionId="SHOPIFY_CREATE"/>
<SecurityPermission description="Update operations in the Shopify Component." permissionId="SHOPIFY_UPDATE"/>
<SecurityPermission description="Delete operations in the Shopify Component." permissionId="SHOPIFY_DELETE"/>
<SecurityPermission description="ALL operations in the Shopify Component." permissionId="SHOPIFY_ADMIN"/>

<SecurityGroupPermission fromDate="2001-05-13 12:00:00.0" groupId="SUPER" permissionId="SHOPIFY_ADMIN"/>

</entity-engine-xml>
23 changes: 23 additions & 0 deletions shopify/data/ShopifyTypeData.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->

<entity-engine-xml>

</entity-engine-xml>
29 changes: 29 additions & 0 deletions shopify/data/helpdata/HELP_Shopify.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->

<section xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="5.0"
xmlns:xl="http://www.w3.org/1999/xlink"
xmlns:xi="http://www.w3.org/2001/XInclude"
xsi:schemaLocation="http://docbook.org/ns/docbook ../../../content/dtd/docbook.xsd"
xmlns="http://docbook.org/ns/docbook">
<title>Shopify Overview</title>
<para>The Shopify Help file template.</para>
</section>

35 changes: 35 additions & 0 deletions shopify/documents/Shopify.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<?xml version="1.0"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->

<chapter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="5.0"
xmlns:xl="http://www.w3.org/1999/xlink"
xmlns:xi="http://www.w3.org/2001/XInclude"
xsi:schemaLocation="http://docbook.org/ns/docbook ../../../applications/content/dtd/docbook.xsd"
xmlns="http://docbook.org/ns/docbook">

<title><anchor xml:id="Shopify"/>The Shopify Component</title>
<section>
<title>Introduction</title>
<para>
</para>
</section>
<xi:include href="../data/helpdata/HELP_Shopify.xml" />

</chapter>
31 changes: 31 additions & 0 deletions shopify/entitydef/entitymodel.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->

<entitymodel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/entitymodel.xsd">
<!-- ========================================================= -->
<!-- ======================== Defaults ======================= -->
<!-- ========================================================= -->
<title>Entity of Shopify Component</title>
<description>None</description>
<copyright></copyright>
<version></version>

</entitymodel>
53 changes: 53 additions & 0 deletions shopify/ofbiz-component.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->

<ofbiz-component name="shopify"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/ofbiz-component.xsd">
<!-- define resource loaders; most common is to use the component resource loader -->
<resource-loader name="main" type="component"/>

<!-- place the config directory on the classpath to access configuration files -->
<classpath type="dir" location="config"/>
<!-- entity resources: model(s), eca(s), group, and data definitions -->
<entity-resource type="model" reader-name="main" loader="main" location="entitydef/entitymodel.xml"/>
<!-- <entity-resource type="eca" reader-name="main" loader="main" location="entitydef/eecas.xml"/> -->
<entity-resource type="data" reader-name="seed" loader="main" location="data/ShopifyTypeData.xml"/>
<entity-resource type="data" reader-name="seed" loader="main" location="data/ShopifySecurityPermissionSeedData.xml"/>
<entity-resource type="data" reader-name="demo" loader="main" location="data/ShopifySecurityGroupDemoData.xml"/>
<entity-resource type="data" reader-name="demo" loader="main" location="data/ShopifyDemoData.xml"/>

<!-- service resources: model(s), eca(s) and group definitions -->
<service-resource type="model" loader="main" location="servicedef/services.xml"/>
<!--
<service-resource type="eca" loader="main" location="servicedef/secas.xml"/>
<service-resource type="group" loader="main" location="servicedef/groups.xml"/>
-->

<test-suite loader="main" location="testdef/ShopifyTests.xml"/>

<!-- web applications; will be mounted when using the embedded container -->
<webapp name="shopify"
title="Shopify"
server="default-server"
location="webapp/shopify"
base-permission="OFBTOOLS,SHOPIFY"
mount-point="/shopify"/>
</ofbiz-component>
Loading