From 4be9e565981d58d8d04f4e33770a8fd60b53b47c Mon Sep 17 00:00:00 2001 From: Alex Yau Date: Wed, 17 Jan 2024 17:45:57 +1100 Subject: [PATCH 1/5] Use secure signals instead of ESP --- .../publish-secure-signal-examples.yml | 8 ++--- .vscode/launch.json | 6 ++-- .vscode/settings.json | 2 +- .vscode/tasks.json | 30 +++++++++--------- .../server_only/.dockerignore | 0 .../server_only/.eslintrc.js | 0 .../server_only/.gitignore | 0 .../server_only/Dockerfile | 0 .../server_only/README.md | 2 +- .../server_only/package-lock.json | 0 .../server_only/package.json | 0 .../server_only/public/ads.js | 0 .../server_only/public/images/favicon.png | Bin .../server_only/public/stylesheets/app.css | 0 .../server_only/public/stylesheets/style.css | 0 .../server_only/server.js | 0 .../server_only/views/ads.html | 0 .../server_only/views/error.html | 0 .../server_only/views/footer.html | 0 .../server_only/views/header.html | 0 .../server_only/views/identity.html | 0 .../server_only/views/index.html | 0 .../server_only/views/login.html | 0 .../with_sdk_v3/.dockerignore | 0 .../with_sdk_v3/.eslintrc.js | 0 .../with_sdk_v3/.gitignore | 0 .../with_sdk_v3/Dockerfile | 0 .../with_sdk_v3/README.md | 4 +-- .../with_sdk_v3/package-lock.json | 0 .../with_sdk_v3/package.json | 0 .../with_sdk_v3/public/ads.js | 0 .../with_sdk_v3/public/images/favicon.png | Bin .../with_sdk_v3/public/stylesheets/app.css | 0 .../with_sdk_v3/public/stylesheets/style.css | 0 .../with_sdk_v3/server.js | 0 .../with_sdk_v3/views/error.html | 0 .../with_sdk_v3/views/index.html | 0 .../with_sdk_v3/views/intro.html | 0 .../with_sdk_v3/views/login.html | 0 39 files changed, 26 insertions(+), 26 deletions(-) rename examples/{google-esp-integration => google-secure-signals-integration}/server_only/.dockerignore (100%) rename examples/{google-esp-integration => google-secure-signals-integration}/server_only/.eslintrc.js (100%) rename examples/{google-esp-integration => google-secure-signals-integration}/server_only/.gitignore (100%) rename examples/{google-esp-integration => google-secure-signals-integration}/server_only/Dockerfile (100%) rename examples/{google-esp-integration => google-secure-signals-integration}/server_only/README.md (99%) rename examples/{google-esp-integration => google-secure-signals-integration}/server_only/package-lock.json (100%) rename examples/{google-esp-integration => google-secure-signals-integration}/server_only/package.json (100%) rename examples/{google-esp-integration => google-secure-signals-integration}/server_only/public/ads.js (100%) rename examples/{google-esp-integration => google-secure-signals-integration}/server_only/public/images/favicon.png (100%) rename examples/{google-esp-integration => google-secure-signals-integration}/server_only/public/stylesheets/app.css (100%) rename examples/{google-esp-integration => google-secure-signals-integration}/server_only/public/stylesheets/style.css (100%) rename examples/{google-esp-integration => google-secure-signals-integration}/server_only/server.js (100%) rename examples/{google-esp-integration => google-secure-signals-integration}/server_only/views/ads.html (100%) rename examples/{google-esp-integration => google-secure-signals-integration}/server_only/views/error.html (100%) rename examples/{google-esp-integration => google-secure-signals-integration}/server_only/views/footer.html (100%) rename examples/{google-esp-integration => google-secure-signals-integration}/server_only/views/header.html (100%) rename examples/{google-esp-integration => google-secure-signals-integration}/server_only/views/identity.html (100%) rename examples/{google-esp-integration => google-secure-signals-integration}/server_only/views/index.html (100%) rename examples/{google-esp-integration => google-secure-signals-integration}/server_only/views/login.html (100%) rename examples/{google-esp-integration => google-secure-signals-integration}/with_sdk_v3/.dockerignore (100%) rename examples/{google-esp-integration => google-secure-signals-integration}/with_sdk_v3/.eslintrc.js (100%) rename examples/{google-esp-integration => google-secure-signals-integration}/with_sdk_v3/.gitignore (100%) rename examples/{google-esp-integration => google-secure-signals-integration}/with_sdk_v3/Dockerfile (100%) rename examples/{google-esp-integration => google-secure-signals-integration}/with_sdk_v3/README.md (99%) rename examples/{google-esp-integration => google-secure-signals-integration}/with_sdk_v3/package-lock.json (100%) rename examples/{google-esp-integration => google-secure-signals-integration}/with_sdk_v3/package.json (100%) rename examples/{google-esp-integration => google-secure-signals-integration}/with_sdk_v3/public/ads.js (100%) rename examples/{google-esp-integration => google-secure-signals-integration}/with_sdk_v3/public/images/favicon.png (100%) rename examples/{google-esp-integration => google-secure-signals-integration}/with_sdk_v3/public/stylesheets/app.css (100%) rename examples/{google-esp-integration => google-secure-signals-integration}/with_sdk_v3/public/stylesheets/style.css (100%) rename examples/{google-esp-integration => google-secure-signals-integration}/with_sdk_v3/server.js (100%) rename examples/{google-esp-integration => google-secure-signals-integration}/with_sdk_v3/views/error.html (100%) rename examples/{google-esp-integration => google-secure-signals-integration}/with_sdk_v3/views/index.html (100%) rename examples/{google-esp-integration => google-secure-signals-integration}/with_sdk_v3/views/intro.html (100%) rename examples/{google-esp-integration => google-secure-signals-integration}/with_sdk_v3/views/login.html (100%) diff --git a/.github/workflows/publish-secure-signal-examples.yml b/.github/workflows/publish-secure-signal-examples.yml index ff519fc3..6861d3c2 100644 --- a/.github/workflows/publish-secure-signal-examples.yml +++ b/.github/workflows/publish-secure-signal-examples.yml @@ -25,14 +25,14 @@ jobs: id: meta uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38 with: - images: ${{ env.REGISTRY }}/iabtechlab/uid2-esp-example-srvonly + images: ${{ env.REGISTRY }}/iabtechlab/uid2-secure-signals-example-srvonly tags: | type=sha,format=short type=raw,value=latest - name: Build and push Docker server_only image uses: docker/build-push-action@v2 with: - context: examples/google-esp-integration/server_only + context: examples/google-secure-signals-integration/server_only push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} @@ -54,14 +54,14 @@ jobs: id: meta uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38 with: - images: ${{ env.REGISTRY }}/iabtechlab/uid2-esp-example-jssdk + images: ${{ env.REGISTRY }}/iabtechlab/uid2-secure-signals-example-jssdk tags: | type=sha,format=short type=raw,value=latest - name: Build and push Docker standard image uses: docker/build-push-action@v2 with: - context: examples/google-esp-integration/with_sdk_v3 + context: examples/google-secure-signals-integration/with_sdk_v3 push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} diff --git a/.vscode/launch.json b/.vscode/launch.json index 02956d4a..897bd4ff 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -27,14 +27,14 @@ "postDebugTask": "Terminate Prebid CSTG" }, { - "name": "Launch ESP (Chrome)", + "name": "Launch Secure Signals (Chrome)", "type": "chrome", "request": "launch", "url": "http://localhost:9090", "webRoot": "${workspaceRoot}/", "sourceMaps": true, - "preLaunchTask": "Start ESP", - "postDebugTask": "Terminate ESP", + "preLaunchTask": "Start Secure Signals", + "postDebugTask": "Terminate Secure Signals", "sourceMapPathOverrides": { "webpack://@uid2/uid2-sdk/./*": "${webRoot}/*" } diff --git a/.vscode/settings.json b/.vscode/settings.json index abd61730..fb6a2472 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -11,7 +11,7 @@ "editor.defaultFormatter": "esbenp.prettier-vscode", "editor.formatOnSave": true, "editor.codeActionsOnSave": { - "source.fixAll.eslint": true + "source.fixAll.eslint": "explicit" }, "editor.tabSize": 2 } diff --git a/.vscode/tasks.json b/.vscode/tasks.json index fb4ea7f2..6fe2c907 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -37,11 +37,11 @@ } }, { - "label": "Build ESP Image", + "label": "Build Secure Signals Image", "type": "docker-build", "dockerBuild": { - "context": "${workspaceFolder}/examples/google-esp-integration/with_sdk_v3", - "tag": "uid2-esp-example" + "context": "${workspaceFolder}/examples/google-secure-signals-integration/with_sdk_v3", + "tag": "uid2-secure-signals-example" } }, { @@ -110,12 +110,12 @@ } }, { - "label": "Run ESP Container", + "label": "Run Secure Signals Container", "type": "docker-run", - "dependsOn": ["Build ESP Image"], + "dependsOn": ["Build Secure Signals Image"], "dockerRun": { - "image": "uid2-esp-example", - "containerName": "uid2-esp-example", + "image": "uid2-secure-signals-example", + "containerName": "uid2-secure-signals-example", "ports": [ { "hostPort": 9090, @@ -124,12 +124,12 @@ ], "volumes": [ { - "localPath": "${workspaceFolder}/examples/google-esp-integration/with_sdk_v3/views", + "localPath": "${workspaceFolder}/examples/google-secure-signals-integration/with_sdk_v3/views", "containerPath": "/usr/src/app/views", "permissions": "ro" } ], - "envFiles": ["${workspaceFolder}/examples/google-esp-integration/with_sdk_v3/.env"], + "envFiles": ["${workspaceFolder}/examples/google-secure-signals-integration/with_sdk_v3/.env"], "remove": true } }, @@ -142,8 +142,8 @@ "dependsOn": ["Run Prebid CSTG Container"] }, { - "label": "Start ESP", - "dependsOn": ["webpack-dev-server", "Run ESP Container"] + "label": "Start Secure Signals", + "dependsOn": ["webpack-dev-server", "Run Secure Signals Container"] }, { "label": "Terminate CSTG Container", @@ -156,9 +156,9 @@ "command": "docker stop uid2-prebid-cstg-example" }, { - "label": "Terminate ESP Container", + "label": "Terminate Secure Signals Container", "type": "shell", - "command": "docker stop uid2-esp-example" + "command": "docker stop uid2-secure-signals-example" }, { "label": "Terminate All Tasks", @@ -175,8 +175,8 @@ "dependsOn": ["Terminate All Tasks", "Terminate Prebid CSTG Container"] }, { - "label": "Terminate ESP", - "dependsOn": ["Terminate All Tasks", "Terminate ESP Container"] + "label": "Terminate Secure Signals", + "dependsOn": ["Terminate All Tasks", "Terminate Secure Signals Container"] } ], "inputs": [ diff --git a/examples/google-esp-integration/server_only/.dockerignore b/examples/google-secure-signals-integration/server_only/.dockerignore similarity index 100% rename from examples/google-esp-integration/server_only/.dockerignore rename to examples/google-secure-signals-integration/server_only/.dockerignore diff --git a/examples/google-esp-integration/server_only/.eslintrc.js b/examples/google-secure-signals-integration/server_only/.eslintrc.js similarity index 100% rename from examples/google-esp-integration/server_only/.eslintrc.js rename to examples/google-secure-signals-integration/server_only/.eslintrc.js diff --git a/examples/google-esp-integration/server_only/.gitignore b/examples/google-secure-signals-integration/server_only/.gitignore similarity index 100% rename from examples/google-esp-integration/server_only/.gitignore rename to examples/google-secure-signals-integration/server_only/.gitignore diff --git a/examples/google-esp-integration/server_only/Dockerfile b/examples/google-secure-signals-integration/server_only/Dockerfile similarity index 100% rename from examples/google-esp-integration/server_only/Dockerfile rename to examples/google-secure-signals-integration/server_only/Dockerfile diff --git a/examples/google-esp-integration/server_only/README.md b/examples/google-secure-signals-integration/server_only/README.md similarity index 99% rename from examples/google-esp-integration/server_only/README.md rename to examples/google-secure-signals-integration/server_only/README.md index 21b26f66..3d2ae618 100644 --- a/examples/google-esp-integration/server_only/README.md +++ b/examples/google-secure-signals-integration/server_only/README.md @@ -1,4 +1,4 @@ -# Server-Only UID2 ESP Integration Example +# Server-Only UID2 Secure Signals Integration Example This example demonstrates how a content publisher who is working with [Google Interactive Media Ads(IMA) SDKs](https://developers.google.com/interactive-media-ads/docs/sdks/html5/client-side) can use [Google Secure Signal](https://support.google.com/admanager/answer/10488752) to share UID2 directly with bidders, in a server-only implementation of UID2. diff --git a/examples/google-esp-integration/server_only/package-lock.json b/examples/google-secure-signals-integration/server_only/package-lock.json similarity index 100% rename from examples/google-esp-integration/server_only/package-lock.json rename to examples/google-secure-signals-integration/server_only/package-lock.json diff --git a/examples/google-esp-integration/server_only/package.json b/examples/google-secure-signals-integration/server_only/package.json similarity index 100% rename from examples/google-esp-integration/server_only/package.json rename to examples/google-secure-signals-integration/server_only/package.json diff --git a/examples/google-esp-integration/server_only/public/ads.js b/examples/google-secure-signals-integration/server_only/public/ads.js similarity index 100% rename from examples/google-esp-integration/server_only/public/ads.js rename to examples/google-secure-signals-integration/server_only/public/ads.js diff --git a/examples/google-esp-integration/server_only/public/images/favicon.png b/examples/google-secure-signals-integration/server_only/public/images/favicon.png similarity index 100% rename from examples/google-esp-integration/server_only/public/images/favicon.png rename to examples/google-secure-signals-integration/server_only/public/images/favicon.png diff --git a/examples/google-esp-integration/server_only/public/stylesheets/app.css b/examples/google-secure-signals-integration/server_only/public/stylesheets/app.css similarity index 100% rename from examples/google-esp-integration/server_only/public/stylesheets/app.css rename to examples/google-secure-signals-integration/server_only/public/stylesheets/app.css diff --git a/examples/google-esp-integration/server_only/public/stylesheets/style.css b/examples/google-secure-signals-integration/server_only/public/stylesheets/style.css similarity index 100% rename from examples/google-esp-integration/server_only/public/stylesheets/style.css rename to examples/google-secure-signals-integration/server_only/public/stylesheets/style.css diff --git a/examples/google-esp-integration/server_only/server.js b/examples/google-secure-signals-integration/server_only/server.js similarity index 100% rename from examples/google-esp-integration/server_only/server.js rename to examples/google-secure-signals-integration/server_only/server.js diff --git a/examples/google-esp-integration/server_only/views/ads.html b/examples/google-secure-signals-integration/server_only/views/ads.html similarity index 100% rename from examples/google-esp-integration/server_only/views/ads.html rename to examples/google-secure-signals-integration/server_only/views/ads.html diff --git a/examples/google-esp-integration/server_only/views/error.html b/examples/google-secure-signals-integration/server_only/views/error.html similarity index 100% rename from examples/google-esp-integration/server_only/views/error.html rename to examples/google-secure-signals-integration/server_only/views/error.html diff --git a/examples/google-esp-integration/server_only/views/footer.html b/examples/google-secure-signals-integration/server_only/views/footer.html similarity index 100% rename from examples/google-esp-integration/server_only/views/footer.html rename to examples/google-secure-signals-integration/server_only/views/footer.html diff --git a/examples/google-esp-integration/server_only/views/header.html b/examples/google-secure-signals-integration/server_only/views/header.html similarity index 100% rename from examples/google-esp-integration/server_only/views/header.html rename to examples/google-secure-signals-integration/server_only/views/header.html diff --git a/examples/google-esp-integration/server_only/views/identity.html b/examples/google-secure-signals-integration/server_only/views/identity.html similarity index 100% rename from examples/google-esp-integration/server_only/views/identity.html rename to examples/google-secure-signals-integration/server_only/views/identity.html diff --git a/examples/google-esp-integration/server_only/views/index.html b/examples/google-secure-signals-integration/server_only/views/index.html similarity index 100% rename from examples/google-esp-integration/server_only/views/index.html rename to examples/google-secure-signals-integration/server_only/views/index.html diff --git a/examples/google-esp-integration/server_only/views/login.html b/examples/google-secure-signals-integration/server_only/views/login.html similarity index 100% rename from examples/google-esp-integration/server_only/views/login.html rename to examples/google-secure-signals-integration/server_only/views/login.html diff --git a/examples/google-esp-integration/with_sdk_v3/.dockerignore b/examples/google-secure-signals-integration/with_sdk_v3/.dockerignore similarity index 100% rename from examples/google-esp-integration/with_sdk_v3/.dockerignore rename to examples/google-secure-signals-integration/with_sdk_v3/.dockerignore diff --git a/examples/google-esp-integration/with_sdk_v3/.eslintrc.js b/examples/google-secure-signals-integration/with_sdk_v3/.eslintrc.js similarity index 100% rename from examples/google-esp-integration/with_sdk_v3/.eslintrc.js rename to examples/google-secure-signals-integration/with_sdk_v3/.eslintrc.js diff --git a/examples/google-esp-integration/with_sdk_v3/.gitignore b/examples/google-secure-signals-integration/with_sdk_v3/.gitignore similarity index 100% rename from examples/google-esp-integration/with_sdk_v3/.gitignore rename to examples/google-secure-signals-integration/with_sdk_v3/.gitignore diff --git a/examples/google-esp-integration/with_sdk_v3/Dockerfile b/examples/google-secure-signals-integration/with_sdk_v3/Dockerfile similarity index 100% rename from examples/google-esp-integration/with_sdk_v3/Dockerfile rename to examples/google-secure-signals-integration/with_sdk_v3/Dockerfile diff --git a/examples/google-esp-integration/with_sdk_v3/README.md b/examples/google-secure-signals-integration/with_sdk_v3/README.md similarity index 99% rename from examples/google-esp-integration/with_sdk_v3/README.md rename to examples/google-secure-signals-integration/with_sdk_v3/README.md index 8b0ae8fa..ff5b4ab4 100644 --- a/examples/google-esp-integration/with_sdk_v3/README.md +++ b/examples/google-secure-signals-integration/with_sdk_v3/README.md @@ -1,4 +1,4 @@ -# UID2 SDK ESP Integration Example +# UID2 SDK Secure Signals Integration Example This example demonstrates how a content publisher who is working with [Google Interactive Media Ads(IMA) SDKs](https://developers.google.com/interactive-media-ads/docs/sdks/html5/client-side) can use [Google Secure Signal](https://support.google.com/admanager/answer/10488752) and the [Client-Side Identity JavaScript SDK](https://github.com/IABTechLab/uid2docs/blob/main/api/v2/sdks/client-side-identity.md) (also known as the UID2 SDK) to share UID2 directly with bidders, in an implementation that uses this SDK. @@ -22,7 +22,7 @@ The easiest way to try the example is to do the following: UID2_JS_SDK_URL=http://localhost:9091/uid2-sdk.js ``` 1. Click the Run and Debug tab or hit `Crtl+Shift+D` -1. Select `Launch ESP (Chrome)` from the configuration dropdown +1. Select `Launch Secure Signals (Chrome)` from the configuration dropdown 1. Click `Start Debugging` or hit F5 ### Running the Docker commands manually diff --git a/examples/google-esp-integration/with_sdk_v3/package-lock.json b/examples/google-secure-signals-integration/with_sdk_v3/package-lock.json similarity index 100% rename from examples/google-esp-integration/with_sdk_v3/package-lock.json rename to examples/google-secure-signals-integration/with_sdk_v3/package-lock.json diff --git a/examples/google-esp-integration/with_sdk_v3/package.json b/examples/google-secure-signals-integration/with_sdk_v3/package.json similarity index 100% rename from examples/google-esp-integration/with_sdk_v3/package.json rename to examples/google-secure-signals-integration/with_sdk_v3/package.json diff --git a/examples/google-esp-integration/with_sdk_v3/public/ads.js b/examples/google-secure-signals-integration/with_sdk_v3/public/ads.js similarity index 100% rename from examples/google-esp-integration/with_sdk_v3/public/ads.js rename to examples/google-secure-signals-integration/with_sdk_v3/public/ads.js diff --git a/examples/google-esp-integration/with_sdk_v3/public/images/favicon.png b/examples/google-secure-signals-integration/with_sdk_v3/public/images/favicon.png similarity index 100% rename from examples/google-esp-integration/with_sdk_v3/public/images/favicon.png rename to examples/google-secure-signals-integration/with_sdk_v3/public/images/favicon.png diff --git a/examples/google-esp-integration/with_sdk_v3/public/stylesheets/app.css b/examples/google-secure-signals-integration/with_sdk_v3/public/stylesheets/app.css similarity index 100% rename from examples/google-esp-integration/with_sdk_v3/public/stylesheets/app.css rename to examples/google-secure-signals-integration/with_sdk_v3/public/stylesheets/app.css diff --git a/examples/google-esp-integration/with_sdk_v3/public/stylesheets/style.css b/examples/google-secure-signals-integration/with_sdk_v3/public/stylesheets/style.css similarity index 100% rename from examples/google-esp-integration/with_sdk_v3/public/stylesheets/style.css rename to examples/google-secure-signals-integration/with_sdk_v3/public/stylesheets/style.css diff --git a/examples/google-esp-integration/with_sdk_v3/server.js b/examples/google-secure-signals-integration/with_sdk_v3/server.js similarity index 100% rename from examples/google-esp-integration/with_sdk_v3/server.js rename to examples/google-secure-signals-integration/with_sdk_v3/server.js diff --git a/examples/google-esp-integration/with_sdk_v3/views/error.html b/examples/google-secure-signals-integration/with_sdk_v3/views/error.html similarity index 100% rename from examples/google-esp-integration/with_sdk_v3/views/error.html rename to examples/google-secure-signals-integration/with_sdk_v3/views/error.html diff --git a/examples/google-esp-integration/with_sdk_v3/views/index.html b/examples/google-secure-signals-integration/with_sdk_v3/views/index.html similarity index 100% rename from examples/google-esp-integration/with_sdk_v3/views/index.html rename to examples/google-secure-signals-integration/with_sdk_v3/views/index.html diff --git a/examples/google-esp-integration/with_sdk_v3/views/intro.html b/examples/google-secure-signals-integration/with_sdk_v3/views/intro.html similarity index 100% rename from examples/google-esp-integration/with_sdk_v3/views/intro.html rename to examples/google-secure-signals-integration/with_sdk_v3/views/intro.html diff --git a/examples/google-esp-integration/with_sdk_v3/views/login.html b/examples/google-secure-signals-integration/with_sdk_v3/views/login.html similarity index 100% rename from examples/google-esp-integration/with_sdk_v3/views/login.html rename to examples/google-secure-signals-integration/with_sdk_v3/views/login.html From 429cd8bfacd6009068ca8e24aeb34774de363a3c Mon Sep 17 00:00:00 2001 From: Alex Yau Date: Wed, 17 Jan 2024 17:48:02 +1100 Subject: [PATCH 2/5] More readme changes --- .../google-secure-signals-integration/server_only/README.md | 4 ++-- .../google-secure-signals-integration/with_sdk_v3/README.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/google-secure-signals-integration/server_only/README.md b/examples/google-secure-signals-integration/server_only/README.md index 3d2ae618..a77b9656 100644 --- a/examples/google-secure-signals-integration/server_only/README.md +++ b/examples/google-secure-signals-integration/server_only/README.md @@ -11,14 +11,14 @@ For an example application using the [Client-Side Identity JavaScript SDK](https The easiest way to try the example is to use the following Docker Build command: ``` -docker build . -t uid2-esp-server +docker build . -t uid2-secure-signals-server docker run -it --rm -p 3000:3000 \ -e UID2_BASE_URL="https://operator-integ.uidapi.com" \ -e UID2_API_KEY="" \ -e UID2_CLIENT_SECRET="" \ -e SESSION_KEY="" \ -e AD_TAG_URL="" \ - uid2-esp-server + uid2-secure-signals-server ``` The following table lists the environment variables that you must specify to start the application. diff --git a/examples/google-secure-signals-integration/with_sdk_v3/README.md b/examples/google-secure-signals-integration/with_sdk_v3/README.md index ff5b4ab4..7e6bea0b 100644 --- a/examples/google-secure-signals-integration/with_sdk_v3/README.md +++ b/examples/google-secure-signals-integration/with_sdk_v3/README.md @@ -30,14 +30,14 @@ The easiest way to try the example is to do the following: The other way to try the example is to use the following Docker Build command. First, open this folder in your terminal, then run the following: ``` -docker build . -t uid2-esp-standard +docker build . -t uid2-secure-signals-standard docker run -it --rm -p 3000:3000 ` -e UID2_BASE_URL="https://operator-integ.uidapi.com" ` -e UID2_API_KEY="" ` -e UID2_CLIENT_SECRET="" ` -e AD_TAG_URL="https://pubads.g.doubleclick.net/gampad/ads?iu=/21775744923/extrernal/adx-test-tag&tfcd=0&npa=0&sz=640x480&gdfp_req=1&output=vast&unviewed_position_start=1&env=vp&impl=s&correlator=" ` -e UID2_JS_SDK_URL="" ` - uid2-esp-standard + uid2-secure-signals-standard ``` The following table lists the environment variables that you must specify to start the application. From 2da7da464ef622c39315ca93d73f32f7af8a8583 Mon Sep 17 00:00:00 2001 From: Alex Yau Date: Thu, 25 Jan 2024 13:37:45 +1100 Subject: [PATCH 3/5] Change github workflows from esp to "secure signals" --- ...ecure-signal-examples-docker-image-server-only.yaml | 10 +++++----- ...e-secure-signal-examples-docker-image-standard.yaml | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/release-secure-signal-examples-docker-image-server-only.yaml b/.github/workflows/release-secure-signal-examples-docker-image-server-only.yaml index 75b7df54..25bf509b 100644 --- a/.github/workflows/release-secure-signal-examples-docker-image-server-only.yaml +++ b/.github/workflows/release-secure-signal-examples-docker-image-server-only.yaml @@ -18,18 +18,18 @@ jobs: uses: IABTechLab/uid2-shared-actions/.github/workflows/shared-increase-version-number.yaml@v2 with: release_type: ${{ inputs.release_type }} - working_dir: examples/google-esp-integration/server_only + working_dir: examples/google-secure-signals-integration/server_only secrets: inherit - publishForESPExampleSrvOnly: + publishForSecureSignalsExampleSrvOnly: uses: IABTechLab/uid2-shared-actions/.github/workflows/shared-publish-to-docker-versioned.yaml@v2 needs: incrementVersionNumber with: new_version: ${{ needs.incrementVersionNumber.outputs.new_version }} image_tag: ${{ needs.incrementVersionNumber.outputs.image_tag }} release_type: ${{ inputs.release_type }} - docker_file: examples/google-esp-integration/server_only/Dockerfile - docker_context: examples/google-esp-integration/server_only - docker_image_name: iabtechlab/uid2-esp-example-srvonly + docker_file: examples/google-secure-signals-integration/server_only/Dockerfile + docker_context: examples/google-secure-signals-integration/server_only + docker_image_name: iabtechlab/uid2-secure-signals-example-srvonly docker_registry: ghcr.io secrets: inherit diff --git a/.github/workflows/release-secure-signal-examples-docker-image-standard.yaml b/.github/workflows/release-secure-signal-examples-docker-image-standard.yaml index 19adcca3..ec071de9 100644 --- a/.github/workflows/release-secure-signal-examples-docker-image-standard.yaml +++ b/.github/workflows/release-secure-signal-examples-docker-image-standard.yaml @@ -17,18 +17,18 @@ jobs: uses: IABTechLab/uid2-shared-actions/.github/workflows/shared-increase-version-number.yaml@v2 with: release_type: ${{ inputs.release_type }} - working_dir: examples/google-esp-integration/with_sdk_v3 + working_dir: examples/google-secure-signals-integration/with_sdk_v3 secrets: inherit - publishForESPExampleJssdk: + publishForSecureSignalsExampleJssdk: uses: IABTechLab/uid2-shared-actions/.github/workflows/shared-publish-to-docker-versioned.yaml@v2 needs: incrementVersionNumber with: new_version: ${{ needs.incrementVersionNumber.outputs.new_version }} image_tag: ${{ needs.incrementVersionNumber.outputs.image_tag }} release_type: ${{ inputs.release_type }} - docker_file: examples/google-esp-integration/with_sdk_v3/Dockerfile - docker_context: examples/google-esp-integration/with_sdk_v3 - docker_image_name: iabtechlab/uid2-esp-example-jssdk + docker_file: examples/google-secure-signals-integration/with_sdk_v3/Dockerfile + docker_context: examples/google-secure-signals-integration/with_sdk_v3 + docker_image_name: iabtechlab/uid2-secure-signals-example-jssdk docker_registry: ghcr.io secrets: inherit From 49c63c338abc314d8851ef1bc3b7e42ed0242052 Mon Sep 17 00:00:00 2001 From: Alex Yau Date: Thu, 25 Jan 2024 13:38:08 +1100 Subject: [PATCH 4/5] Change html views to use secure signals folders --- .../server_only/views/header.html | 2 +- .../with_sdk_v3/views/intro.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/google-secure-signals-integration/server_only/views/header.html b/examples/google-secure-signals-integration/server_only/views/header.html index 72a0a0fb..1c76f84e 100644 --- a/examples/google-secure-signals-integration/server_only/views/header.html +++ b/examples/google-secure-signals-integration/server_only/views/header.html @@ -32,7 +32,7 @@

Server-Only UID2 Integration Example

Server-Only Integration. [Source Code]

diff --git a/examples/google-secure-signals-integration/with_sdk_v3/views/intro.html b/examples/google-secure-signals-integration/with_sdk_v3/views/intro.html index 6b37bf4b..1e1e0b01 100644 --- a/examples/google-secure-signals-integration/with_sdk_v3/views/intro.html +++ b/examples/google-secure-signals-integration/with_sdk_v3/views/intro.html @@ -9,7 +9,7 @@

Client-Side UID2 SDK Integration Example

href="https://unifiedid.com/docs/guides/google-ss-integration#uid2-client-side-javascript-sdk-integration" >standard UID2 integration. [Source Code]

From 8c672d5b7079228ff5a7cf67c96380ba5019c67b Mon Sep 17 00:00:00 2001 From: Release Workflow Date: Thu, 25 Jan 2024 04:21:42 +0000 Subject: [PATCH 5/5] [CI Pipeline] Released Snapshot version: 1.0.0-SNAPSHOT --- .../google-secure-signals-integration/server_only/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/google-secure-signals-integration/server_only/package.json b/examples/google-secure-signals-integration/server_only/package.json index 850293fa..6ed2b079 100644 --- a/examples/google-secure-signals-integration/server_only/package.json +++ b/examples/google-secure-signals-integration/server_only/package.json @@ -1,6 +1,6 @@ { "name": "uid2-publisher", - "version": "1.0.0", + "version": "1.0.0-SNAPSHOT", "private": true, "license": "BSD-2-Clause", "engineStrict": true,