Coder Social home page Coder Social logo

adobe / commerce-cif-graphql-integration-reference Goto Github PK

View Code? Open in Web Editor NEW
24.0 27.0 23.0 1.5 MB

3rd-party GraphQL integration with AEM Commerce

License: Apache License 2.0

JavaScript 97.29% HTML 1.62% CSS 1.09%
commerce cif adobe-io graphql serverless

commerce-cif-graphql-integration-reference's People

Contributors

cjelger avatar dependabot[bot] avatar herzog31 avatar laurentiumagureanu avatar martinbuergi avatar mhaack avatar renovate[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

commerce-cif-graphql-integration-reference's Issues

Archive this repo

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.

Unable to deploy the project into Adobe IO as instructed.

Expected Behaviour

Running the aio deploy command should deploy the code successfully.

Actual Behaviour

Unable to deploy the code via Windows system into Adobe IO
we get below error
MicrosoftTeams-image (2)

Reproduce Scenario (including but not limited to)

Steps to Reproduce

  1. Clone the repo.
  2. Follow the instructions to deploy as per Readme.MD file.
  3. we get the error.

Platform and Version

System : windows
Version : latest

Sample Code that illustrates the problem

Logs taken while reproducing problem

405 method not allowed

Expected Behaviour

After running npm run deploy command project should deploy successfully

Actual Behaviour

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."

Reproduce Scenario (including but not limited to)

Steps to Reproduce

run npm run deploy
2020-08-10T07_23_09_198Z-debug.log
2020-08-10T07_28_24_911Z-debug.log

Platform and Version

Sample Code that illustrates the problem

Logs taken while reproducing problem

Issue while making graphql call from Adobe IO Actions.

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

Typo - README.md

Expected Behaviour

No typos. GraphQL is written as GraphiQL.

Actual Behaviour

GraphQL is written as GraphiQL

Reproduce Scenario (including but not limited to)

Search for 'graphiql' in README.md

Steps to Reproduce

Platform and Version

Sample Code that illustrates the problem

Logs taken while reproducing problem

Get data out mock data from Magento GraphQL response.

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

"
}
]
}
}
}

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

circleci
.circleci/config.yml
  • circleci/node 10.16.3
github-actions
.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
npm
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

  • Check this box to trigger a request for Renovate to run again on this repository

Debugging in Node js from AEM.

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.