adobe / commerce-cif-graphql-integration-reference Goto Github PK
View Code? Open in Web Editor NEW3rd-party GraphQL integration with AEM Commerce
License: Apache License 2.0
3rd-party GraphQL integration with AEM Commerce
License: Apache License 2.0
This code is not supported by any team at Adobe, but it still bears our name. This can be confusing to developers, and when things don't work (and they won't) we still have to support them. Best to archive to send a clear signal that this code should NOT be used, or only for reference.
Running the aio
deploy command should deploy the code successfully.
Unable to deploy the code via Windows system into Adobe IO
we get below error
Readme.MD
file.System : windows
Version : latest
After running npm run deploy command project should deploy successfully
After running npm run deploy command i am getting below error
Serverless Error ---------------------------------------
Failed to deploy package (graphql-reference) due to error: PUT https://adobeioruntime.net/%0D/api/v1/namespaces/51906-cifintegration/packages/graphql-reference?overwrite=true Returned HTTP 405 (Method Not Allowed) --> "Response Missing Error Message."
run npm run deploy
2020-08-10T07_23_09_198Z-debug.log
2020-08-10T07_28_24_911Z-debug.log
Hi Team,
While trying to make a call to Magento Graphql from AdobeIO Action NodeJS code. It doesn't return the response to the endpoint of AdobeIO runtime. But it works absolutely fine. If we do a REST call and get the response the data from AdobeIO runtime.
NOTE: we are getting the response from Magento in Adobe IO Node JS. But Adobe IO runtime response produces null.
Reference Community thread : https://experienceleaguecommunities.adobe.com/t5/adobe-i-o-runtime-questions/invoke-graphql-query-from-adobe-io/qaq-p/382168
No typos. GraphQL is written as GraphiQL.
GraphQL is written as GraphiQL
Search for 'graphiql' in README.md
Was trying out the reference project and setup on Adobe IO Runtime.
I have following Raw json response from Magento GraphQl, similarly I want it from Adobe IO endpoint.
How we use it in place of already existing RAW JSON ?
{
"data": {
"products": {
"items": [
{
"__typename": "ConfigurableProduct",
"id": 278,
"color": null,
"sku": "SKUID01",
"name": "Mountain Kit",
"description": {
"html": "
Description
"This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
@openwhisk/wskdebug
, adobe/aio-apps-action
, adobe/aio-cli-setup-action
, axios
, chai
, core-js
, eslint-plugin-react
, graphiql
, inquirer
, regenerator-runtime
)@adobe/aio-lib-state
, @adobe/aio-sdk
, @adobe/exc-app
)actions/checkout
, actions/setup-node
, adobe/aio-apps-action
, axios
, chai
, chalk
, dataloader
, eslint
, graphiql
, graphql
, graphql-tools
, inquirer
, mocha
, mocha-junit-reporter
, node
, react
, react-dom
, sinon
).circleci/config.yml
circleci/node 10.16.3
.github/workflows/deploy_prod.yml
actions/checkout v2
actions/setup-node v1
adobe/aio-cli-setup-action 1.1.0
adobe/aio-apps-action 2.0.1
adobe/aio-apps-action 2.0.1
.github/workflows/deploy_stage.yml
actions/checkout v2
actions/setup-node v1
adobe/aio-cli-setup-action 1.1.0
adobe/aio-apps-action 2.0.1
.github/workflows/pr_test.yml
actions/checkout v2
actions/setup-node v1
adobe/aio-cli-setup-action 1.1.0
adobe/aio-apps-action 2.0.1
adobe/aio-apps-action 2.0.1
package.json
@adobe/aio-lib-state 1.1.2
@adobe/aio-sdk 3.0.0
@adobe/exc-app 0.2.47
core-js 3.20.3
dataloader 1.4.0
graphiql 1.5.16
graphql 14.7.0
graphql-tools 3.1.1
prop-types 15.8.1
react 17.0.2
react-dom 17.0.2
regenerator-runtime 0.13.9
@openwhisk/wskdebug 1.3.0
axios ^0.27.2
chai 4.3.5
chalk ^4.1.2
eslint 7.32.0
eslint-plugin-header 3.1.1
eslint-plugin-react 7.28.0
git-clone 0.2.0
inquirer ^8.2.0
mocha 8.4.0
mocha-junit-reporter 1.23.3
mocha-multi-reporters 1.5.1
mock-require 3.0.3
nyc 15.1.0
sinon 7.5.0
node ^10 || ^12 || ^14
As the code is deployed in Adobe IO point and AEM picks up the data as graphql request from endpoint.
How do we verify the console logs in Node Loader JS file. It doesn't logs as part of chrome logs
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.