magento / pwa-studio

🛠Development tools to build, optimize and deploy Progressive Web Applications for Magento 2.
https://developer.adobe.com/commerce/pwa-studio/
Open Software License 3.0
1.07k stars 683 forks source link

Implement support module with WebAPI endpoint for development #29

Closed PWAStudioBot closed 5 years ago

PWAStudioBot commented 6 years ago

From @ericerway on March 28, 2018 17:29

As a developer, I want to quickly and easily set up a PWA development environment connected to a Magento 2 instance.

Enable this quick setup with a Web API endpoint for communication between the Magento 2 backend configuration and the PWA developer tools.

AC

  1. Web API endpoint for checking, and if necessary modifying, store configuration to the following requirements:

    • Magento is installed and responding
    • Magento version is within supported range specified in theme manifest
    • Storefront and admin are both HTTPS-only, with redirect-to-HTTPS enabled
    • TLS certificate is signed with SAN extensions
    • Static resource signing is disabled
    • SEO redirects are enabled
    • Template symlinking is allowed
    • Theme under development is installed and activated on the default store
  2. Web API endpoint (or additional response data from the endpoint defined in (1) above) for providing the following values:

    • Configured base URLs
    • Static asset path for the active theme, variant, and locale
    • File system path to the folder or symbolic link for theme assets
    • TLS certificate and certificate authority in PEM format
    • Buildpack connector which consumes API endpoint to provision and confirm store configuration
    • Stretch: Layout updates to disable "Layout XML Update" fields in admin when PWA theme is active
    • Test coverage and documentation (as appropriate)

Copied from original issue: magento-research/venia-pwa-concept#41

PWAStudioBot commented 6 years ago

From @DrewML on May 9, 2018 2:36

@zetlen This could be a good candidate for contribution, but it's missing too much info at the moment. Do you have detailed AC for what you need from this endpoint?

PWAStudioBot commented 6 years ago

From @zetlen on May 9, 2018 14:47

That's something @paliarush asked me for a while back, and I owe it. I'll write that up ASAP.

PWAStudioBot commented 6 years ago

From @DrewML on May 15, 2018 17:38

Removing the Help Wanted label until actionable AC has been specified.

PWAStudioBot commented 6 years ago

From @DrewML on June 2, 2018 8:9

@ericerway @zetlen this is a pretty large ticket for an external contribution. Can we chop this up into separate stories? Seems like most of the listed items could be separate tickets.

PWAStudioBot commented 6 years ago

From @zetlen on June 8, 2018 16:50

Definitely. The tickets would be:

PWAStudioBot commented 6 years ago

From @zetlen on June 8, 2018 16:50

Please add or break down anything you think is extra.

PWAStudioBot commented 6 years ago

From @miguelbalparda on June 12, 2018 13:28

Magento is installed and responding Magento version is within supported range specified in theme manifest

anystore.com/magento_version i.e https://82503e2667.nxcli.net/magento_version might help here.

zetlen commented 6 years ago

Will need redefinition due to #248.

awilcoxa commented 5 years ago

Closing as complete as all associated issues have been merged/closed