From dd0ba517482140426f61f7e8e21962e746eb279c Mon Sep 17 00:00:00 2001 From: TotalLag Date: Wed, 27 Nov 2024 11:00:52 -0600 Subject: [PATCH] remove workshop 8 --- docs/partner-integrations/assets/Layer0.svg | 19 - .../partner-integrations.md | 1 - src/web-ui/.env.template | 7 +- src/web-ui/.gitignore | 4 - src/web-ui/gen_env.sh | 3 - src/web-ui/index.html | 2 - src/web-ui/layer0.config.js | 113 - src/web-ui/layer0/browser.js | 15 - src/web-ui/layer0/cache.js | 38 - src/web-ui/layer0/routes.js | 78 - src/web-ui/layer0/service-worker.js | 28 - src/web-ui/layer0/transform.js | 19 - src/web-ui/layer0/webpack.layer0.config.js | 25 - src/web-ui/package-lock.json | 3140 +---------------- src/web-ui/package.json | 15 +- .../8.1-Layer0.ipynb | 241 -- .../images/AWS_RDS.jpg | Bin 119218 -> 0 bytes .../images/DeleteLayer0Deployment.png | Bin 109366 -> 0 bytes ...tailDemoStore-CFN-output-serviceDomain.png | Bin 212172 -> 0 bytes .../images/layer0-dev-tool.png | Bin 359923 -> 0 bytes 20 files changed, 40 insertions(+), 3708 deletions(-) delete mode 100644 docs/partner-integrations/assets/Layer0.svg delete mode 100644 src/web-ui/layer0.config.js delete mode 100644 src/web-ui/layer0/browser.js delete mode 100644 src/web-ui/layer0/cache.js delete mode 100644 src/web-ui/layer0/routes.js delete mode 100644 src/web-ui/layer0/service-worker.js delete mode 100644 src/web-ui/layer0/transform.js delete mode 100644 src/web-ui/layer0/webpack.layer0.config.js delete mode 100644 workshop/8-PerformanceOptimization/8.1-Layer0.ipynb delete mode 100644 workshop/8-PerformanceOptimization/images/AWS_RDS.jpg delete mode 100644 workshop/8-PerformanceOptimization/images/DeleteLayer0Deployment.png delete mode 100644 workshop/8-PerformanceOptimization/images/RetailDemoStore-CFN-output-serviceDomain.png delete mode 100644 workshop/8-PerformanceOptimization/images/layer0-dev-tool.png diff --git a/docs/partner-integrations/assets/Layer0.svg b/docs/partner-integrations/assets/Layer0.svg deleted file mode 100644 index 3a08748af..000000000 --- a/docs/partner-integrations/assets/Layer0.svg +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - - - - - - - - - - - - diff --git a/docs/partner-integrations/partner-integrations.md b/docs/partner-integrations/partner-integrations.md index b2d35ba0d..40b255ca5 100644 --- a/docs/partner-integrations/partner-integrations.md +++ b/docs/partner-integrations/partner-integrations.md @@ -7,4 +7,3 @@ AWS Partner | Workshops Overview | Workshop Links | Level | Duration ![mParticle logo](./assets/mparticle.svg) | [mParticle](https://mparticle.com/) is a Customer Data Platform that allows any brand to ingest data from multiple sources in real-time, apply data quality and governance over the ingested data and orchestrate the data to any marketing and technology stack your organization is using. In this workshop, you will configure real-time event flows to Amazon Personalize using the mParticle SDKs and then use that data to create customer profiles that can be used in marketing campaigns to customers via Braze. | [Real Time Personalization Events](https://github.com/aws-samples/retail-demo-store/blob/master/workshop/1-Personalization/Lab-6-Real-time-events-mParticle.ipynb)

[Personalized Customer Profiles and Messaging with any marketing tool (Braze) and mParticle](https://github.com/aws-samples/retail-demo-store/blob/master/workshop/6-CustomerDataPlatforms/6.2-mParticle.ipynb) | 300 | 1-1.5 hours ![Optimizely logo](./assets/optimizely.svg) | In this exercise we will define, launch, and evaluate the results of an A/B experiment of a personalized user experience using [Optimizely](https://www.optimizely.com/). | [AB Experiments for Personalization](https://github.com/aws-samples/retail-demo-store/blob/master/workshop/3-Experimentation/3.6-Optimizely-AB-Experiment.ipynb) | 200 | 30 minutes ![Segment logo](./assets/segment.svg) | [Segment](https://segment.com/) is a real-time events pipeline for customer data, as well as a customer data platform. In the Retail Demo Store, Segment is used to deliver real-time events from the web user interface to Amazon Personalize. These real-time events are also used to create customer profile with Amazon Personalize recommendations appended, which can then be used via the CDP to push data to marketing tools. | [Real Time Personalization Events](https://github.com/aws-samples/retail-demo-store/blob/master/workshop/1-Personalization/Lab-5-Real-time-events-Segment.ipynb)

[Customer Data Platforms and Personalize](https://github.com/aws-samples/retail-demo-store/blob/master/workshop/6-CustomerDataPlatforms/6.1-Segment.ipynb) | 300 | 1-1.5 hours -![Layer0 logo](./assets/Layer0.svg) | :warning: **This demo is currently going through some fixes and is likely to not work** :warning: [Layer0](https://layer0.co/) extends the capabilities of a traditional CDN by not only hosting your static content, but also providing server-side rendering for progressive web applications. Layer0 allows caching both your APIs and HTML at the network edge to provide your users with the fastest browsing experience. Teams can ship faster leveraging an enhanced developer experience to deploy code faster and with more frequency, view their code quickly in atomically deployed environments, and integrating their CDN configuration to the overall build process. Layer0 provides the tools needed to build the modern apps capable of providing the performance expected by modern consumers. | [Edge Optimization](https://github.com/aws-samples/retail-demo-store/blob/master/workshop/8-PerformanceOptimization/8.1-Layer0.ipynb) | 200 | 1 hour diff --git a/src/web-ui/.env.template b/src/web-ui/.env.template index 28b88f446..8a665f4f7 100644 --- a/src/web-ui/.env.template +++ b/src/web-ui/.env.template @@ -39,13 +39,8 @@ VITE_SEGMENT_WRITE_KEY=NONE # Set to NONE to disable Google Analytics integration, otherwise set to Measurement ID. VITE_GOOGLE_ANALYTICS_ID=NONE -# Configure Layer0 -# 'VITE_' prefix part MUST NOT be used here to prevent token disclosure in client side JS -VITE_LAYER0_ENABLED=false -AWS_IMAGE_SERVICE_DOMAIN= - # Configure Product personlization feature in web-ui BEDROCK_PRODUCT_PERSONALIZATION=FALSE # Configure s3 bucket name for room image uploads -VITE_ROOM_IMAGES_BUCKET= \ No newline at end of file +VITE_ROOM_IMAGES_BUCKET= diff --git a/src/web-ui/.gitignore b/src/web-ui/.gitignore index 791eb52ef..02eddd859 100644 --- a/src/web-ui/.gitignore +++ b/src/web-ui/.gitignore @@ -20,7 +20,3 @@ yarn-error.log* *.njsproj *.sln *.sw* - -# Layer0 -.layer0/ -dist-layer0/ \ No newline at end of file diff --git a/src/web-ui/gen_env.sh b/src/web-ui/gen_env.sh index 972943f67..cf56bc153 100755 --- a/src/web-ui/gen_env.sh +++ b/src/web-ui/gen_env.sh @@ -39,9 +39,6 @@ printf 'VITE_GOOGLE_ANALYTICS_ID=%s\n' "$GOOGLE_ANALYTICS_ID" >> .env printf 'VITE_MPARTICLE_API_KEY=%s\n' "$MPARTICLE_API_KEY" >> .env printf 'VITE_MPARTICLE_SECRET_KEY=%s\n' "$MPARTICLE_SECRET_KEY" >> .env -# Layer0 -printf 'VITE_LAYER0_ENABLED=false\n' >> .env - # Fenix Settings variables printf 'VITE_FENIX_TENANT_ID=%s\n' "$FENIX_TENANT_ID" >> .env printf 'VITE_FENIX_ZIP_DETECT_URL=%s\n' "$FENIX_ZIP_DETECT_URL" >> .env diff --git a/src/web-ui/index.html b/src/web-ui/index.html index 19c4c4d51..9915b1c12 100644 --- a/src/web-ui/index.html +++ b/src/web-ui/index.html @@ -11,8 +11,6 @@ Retail Demo Store - - <%= VITE_LAYER0_ENABLED === 'true' ? ``: '' %> <%= VITE_SEGMENT_WRITE_KEY === 'NONE' ? '' : `