diff --git a/shopware/app-bundle/1.0/config/packages/shopware_app.yaml b/shopware/app-bundle/1.0/config/packages/shopware_app.yaml new file mode 100644 index 00000000..645d80a3 --- /dev/null +++ b/shopware/app-bundle/1.0/config/packages/shopware_app.yaml @@ -0,0 +1,5 @@ +shopware_app: + shop_class: App\Entity\Shop + name: '%env(SHOPWARE_APP_NAME)%' + secret: '%env(SHOPWARE_APP_SECRET)%' + diff --git a/shopware/app-bundle/1.0/config/routes/shopware_app.yaml b/shopware/app-bundle/1.0/config/routes/shopware_app.yaml new file mode 100644 index 00000000..218e0228 --- /dev/null +++ b/shopware/app-bundle/1.0/config/routes/shopware_app.yaml @@ -0,0 +1,8 @@ +shopware_app_lifecycle: + resource: '@ShopwareAppBundle/Resources/config/routing/lifecycle.xml' + prefix: /app + +shopware_app_webhook: + resource: '@ShopwareAppBundle/Resources/config/routing/webhook.xml' + prefix: /app + diff --git a/shopware/app-bundle/1.0/manifest.json b/shopware/app-bundle/1.0/manifest.json new file mode 100644 index 00000000..33481859 --- /dev/null +++ b/shopware/app-bundle/1.0/manifest.json @@ -0,0 +1,13 @@ +{ + "bundles": { + "Shopware\\AppBundle\\ShopwareAppBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/", + "src/": "%SRC_DIR%/" + }, + "env": { + "SHOPWARE_APP_NAME": "TestApp", + "SHOPWARE_APP_SECRET": "MySecret" + } +} diff --git a/shopware/app-bundle/1.0/src/Entity/Shop.php b/shopware/app-bundle/1.0/src/Entity/Shop.php new file mode 100644 index 00000000..2d04f87b --- /dev/null +++ b/shopware/app-bundle/1.0/src/Entity/Shop.php @@ -0,0 +1,13 @@ +