|
| 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:16 |
| 19 | + annotations: |
| 20 | + require-adobe-auth: true |
| 21 | + final: true |
| 22 | + deleteFeed: |
| 23 | + function: actions/deleteFeed/index.js |
| 24 | + web: 'yes' |
| 25 | + runtime: nodejs:16 |
| 26 | + annotations: |
| 27 | + require-adobe-auth: true |
| 28 | + final: true |
| 29 | + getAllFeeds: |
| 30 | + function: actions/getAllFeeds/index.js |
| 31 | + web: 'yes' |
| 32 | + runtime: nodejs:16 |
| 33 | + annotations: |
| 34 | + require-adobe-auth: true |
| 35 | + final: true |
| 36 | + getFeedByUuid: |
| 37 | + function: actions/getAllFeeds/getByUuid.js |
| 38 | + web: 'yes' |
| 39 | + runtime: nodejs:16 |
| 40 | + annotations: |
| 41 | + require-adobe-auth: true |
| 42 | + final: true |
| 43 | + regenerateFeed: |
| 44 | + function: actions/regenerateFeed/index.js |
| 45 | + web: 'yes' |
| 46 | + runtime: nodejs:16 |
| 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:16 |
| 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 | + generatePartial: |
| 66 | + function: actions/regenerateFeed/generatePartial.js |
| 67 | + web: 'no' |
| 68 | + runtime: nodejs:16 |
| 69 | + inputs: |
| 70 | + eventCode: feed.generate |
| 71 | + annotations: |
| 72 | + require-adobe-auth: false |
| 73 | + final: true |
| 74 | + relations: |
| 75 | + event-listener-for: |
| 76 | + - feed.generate |
| 77 | + generateByCron: |
| 78 | + function: actions/regenerateFeed/generateByCron.js |
| 79 | + web: 'no' |
| 80 | + runtime: nodejs:16 |
| 81 | + annotations: |
| 82 | + require-adobe-auth: false |
| 83 | + final: true |
| 84 | + getAllStores: |
| 85 | + function: actions/magentoActions/getAllStores.js |
| 86 | + web: 'yes' |
| 87 | + runtime: nodejs:16 |
| 88 | + annotations: |
| 89 | + require-adobe-auth: true |
| 90 | + final: true |
| 91 | + getGqlSchema: |
| 92 | + function: actions/magentoActions/getGqlSchema.js |
| 93 | + web: 'yes' |
| 94 | + runtime: nodejs:16 |
| 95 | + annotations: |
| 96 | + require-adobe-auth: true |
| 97 | + final: true |
| 98 | + triggers: |
| 99 | + everyHalfOfHour: |
| 100 | + feed: /whisk.system/alarms/interval |
| 101 | + inputs: |
| 102 | + minutes: 30 |
| 103 | + rules: |
| 104 | + everyHalfOfHourRule: |
| 105 | + trigger: everyHalfOfHour |
| 106 | + action: generateByCron |
0 commit comments