Skip to content

Commit e70b711

Browse files
committed
Add SaaS compartibility
1 parent 40d79c6 commit e70b711

132 files changed

Lines changed: 83710 additions & 51688 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

ExtensionRegistration.js

Lines changed: 0 additions & 17 deletions
This file was deleted.

actions/meshGql.js

Lines changed: 0 additions & 26 deletions
This file was deleted.

adobe-api/mesh/mesh.json.dist

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,6 @@
11
{
22
"meshConfig": {
33
"sources": [
4-
{
5-
"name": "REST",
6-
"handler": {
7-
"openapi": {
8-
"source": "MAGENTO-URL/rest/schema?services=storeStoreRepositoryV1,storeGroupRepositoryV1,storeWebsiteRepositoryV1",
9-
"schemaHeaders": {
10-
"Authorization": "Bearer MAGENTO-TOKEN"
11-
},
12-
"operationHeaders": {
13-
"Authorization": "Bearer {context.headers['m-ac-rest-api-token']}",
14-
"Content-Type": "application/json"
15-
},
16-
"includeHttpDetails": true
17-
}
18-
}
19-
},
204
{
215
"name": "GraphQL",
226
"handler": {

app.config.yaml

Lines changed: 6 additions & 94 deletions
Original file line numberDiff line numberDiff line change
@@ -1,94 +1,6 @@
1-
application:
2-
actions: actions
3-
web: web-src
4-
runtimeManifest:
5-
packages:
6-
feed-generator:
7-
license: Apache-2.0
8-
inputs:
9-
LOG_LEVEL: debug
10-
apiKey: $SERVICE_API_KEY
11-
mesh_source_url: $MESH_SOURCE_URL
12-
m-ac-rest-api-token: $AC_API_TOKEN
13-
m-ac-gql-store-code: $AC_DEFAULT_STORE_CODE
14-
actions:
15-
saveFeed:
16-
function: actions/saveFeed/index.js
17-
web: 'yes'
18-
runtime: nodejs:20
19-
annotations:
20-
require-adobe-auth: true
21-
final: true
22-
deleteFeed:
23-
function: actions/deleteFeed/index.js
24-
web: 'yes'
25-
runtime: nodejs:20
26-
annotations:
27-
require-adobe-auth: true
28-
final: true
29-
getAllFeeds:
30-
function: actions/getAllFeeds/index.js
31-
web: 'yes'
32-
runtime: nodejs:20
33-
annotations:
34-
require-adobe-auth: true
35-
final: true
36-
getFeedByUuid:
37-
function: actions/getAllFeeds/getByUuid.js
38-
web: 'yes'
39-
runtime: nodejs:20
40-
annotations:
41-
require-adobe-auth: true
42-
final: true
43-
regenerateFeed:
44-
function: actions/regenerateFeed/index.js
45-
web: 'yes'
46-
runtime: nodejs:20
47-
inputs:
48-
providerId: $FEED_GENERATOR_PROVIDER_ID
49-
eventCode: feed.generate
50-
annotations:
51-
require-adobe-auth: true
52-
final: true
53-
processGeneration:
54-
function: actions/regenerateFeed/generate.js
55-
web: 'no'
56-
runtime: nodejs:20
57-
inputs:
58-
eventCode: feed.generate
59-
annotations:
60-
require-adobe-auth: false
61-
final: true
62-
relations:
63-
event-listener-for:
64-
- feed.generate
65-
generateByCron:
66-
function: actions/regenerateFeed/generateByCron.js
67-
web: 'no'
68-
runtime: nodejs:20
69-
annotations:
70-
require-adobe-auth: false
71-
final: true
72-
getAllStores:
73-
function: actions/magentoActions/getAllStores.js
74-
web: 'yes'
75-
runtime: nodejs:20
76-
annotations:
77-
require-adobe-auth: true
78-
final: true
79-
getGqlSchema:
80-
function: actions/magentoActions/getGqlSchema.js
81-
web: 'yes'
82-
runtime: nodejs:20
83-
annotations:
84-
require-adobe-auth: true
85-
final: true
86-
triggers:
87-
everyHalfOfHour:
88-
feed: /whisk.system/alarms/interval
89-
inputs:
90-
minutes: 30
91-
rules:
92-
everyHalfOfHourRule:
93-
trigger: everyHalfOfHour
94-
action: generateByCron
1+
extensions:
2+
commerce/backend-ui/1:
3+
$include: src/commerce-backend-ui-1/ext.config.yaml
4+
productDependencies:
5+
- code: COMMC
6+
minVersion: 2.4.5

extension-manifest.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
{
2-
"name": "Feed Generator",
2+
"name": "comwrap-feed-generator",
33
"id": "comwrap-feed-generator",
44
"description": "Feed Generator - Extension that allow to create different product feed files from Adobe Commerce products",
5-
"version": "1.0.0"
5+
"displayName": "Feed Generator - Extension that allow to create different product feed files from Adobe Commerce products",
6+
"version": "1.0.0",
7+
"platform": "web"
68
}

0 commit comments

Comments
 (0)