From f5c069b119f0e853a1d55eeab5270a0acf930f3a Mon Sep 17 00:00:00 2001 From: richardrobertreitz Date: Wed, 6 Aug 2025 11:13:49 +0000 Subject: [PATCH 1/5] rest(edge): added edge REST call demo --- edge.REST | 87 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 87 insertions(+) create mode 100644 edge.REST diff --git a/edge.REST b/edge.REST new file mode 100644 index 0000000..6e009d7 --- /dev/null +++ b/edge.REST @@ -0,0 +1,87 @@ +# username is the email + +POST https://hub.apps.edge.platform.mg3.mdb.osc.live/api/v1/login HTTP/1.1 +content-type: application/json + +{ + "password": "", + "username": "" +} + +### + +POST https://hub.apps.edge.platform.mg3.mdb.osc.live/api/v1/auth/org/create HTTP/1.1 +Authorization: Bearer 123 +content-type: application/json + +{ + "Address": "edp-developer-framework address", + "Name": "edp-developer-framework", + "Phone": "01234567890", + "Type": "developer" +} + +### + +POST https://hub.apps.edge.platform.mg3.mdb.osc.live/api/v1/auth/org/show HTTP/1.1 +Authorization: Bearer 123 + +### + +POST https://hub.apps.edge.platform.mg3.mdb.osc.live/api/v1/auth/user/show HTTP/1.1 +Authorization: Bearer 123 + +### + +POST https://hub.apps.edge.platform.mg3.mdb.osc.live/api/v1/auth/ctrl/ShowApp HTTP/1.1 +Authorization: Bearer 123 + +{ + "App": { + "key": { + "organization": "edp-developer-framework", + "name": "HelloWorldAuto", + "version": "1.0" + } + }, + "Region": "EU" +} + +### + +POST https://hub.apps.edge.platform.mg3.mdb.osc.live/api/v1/auth/ctrl/CreateApp HTTP/1.1 +content-type: application/json + +{ + "App": { + "key": { + "organization": "edp-developer-framework", + "name": "HelloWorldAuto", + "version": "1.0" + }, + "image_path": "edp.buildth.ing/devfw-cicd/fibonacci_pipeline:development", + "image_type": "Docker", + "access_ports": "tcp:80", + "default_flavor": { + "name": "EU.small" + }, + "deployment": "docker", + "required_outbound_connections": null + }, + "Region": "EU" +} + +### + +POST https://hub.apps.edge.platform.mg3.mdb.osc.live/api/v1/auth/ctrl/DeleteApp HTTP/1.1 + +{ + "App": { + "key": { + "organization": "edp-developer-framework", + "name": "HelloWorldAuto", + "version": "1.0" + } + }, + "Region": "EU" +} From 34e5ea5847efc06acd838e470d82811d62e43279 Mon Sep 17 00:00:00 2001 From: giteaAdmin Date: Tue, 28 Oct 2025 14:07:09 +0000 Subject: [PATCH 2/5] Update .github/workflows/.github-ci.yaml --- .github/workflows/.github-ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/.github-ci.yaml b/.github/workflows/.github-ci.yaml index c4aef4a..4050a21 100644 --- a/.github/workflows/.github-ci.yaml +++ b/.github/workflows/.github-ci.yaml @@ -6,7 +6,7 @@ on: jobs: build: - runs-on: ubuntu-22.04 + runs-on: ubuntu-host steps: - From f3be1963d392b02a7fc40e7ba730bbe0abe5a63d Mon Sep 17 00:00:00 2001 From: giteaAdmin Date: Tue, 28 Oct 2025 14:11:29 +0000 Subject: [PATCH 3/5] Update .github/workflows/.github-ci.yaml --- .github/workflows/.github-ci.yaml | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/.github/workflows/.github-ci.yaml b/.github/workflows/.github-ci.yaml index 4050a21..baf8b8d 100644 --- a/.github/workflows/.github-ci.yaml +++ b/.github/workflows/.github-ci.yaml @@ -33,21 +33,18 @@ jobs: registry: ${{ steps.repository.outputs.registry }} username: "${{ secrets.PACKAGES_USER }}" password: "${{ secrets.PACKAGES_TOKEN }}" - - - name: Set up QEMU - uses: docker/setup-qemu-action@v3 - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - with: - buildkitd-flags: '--allow-insecure-entitlement network.host' - driver-opts: network=host + #- + # name: Set up Docker Buildx + # uses: docker/setup-buildx-action@v3 + # with: + # buildkitd-flags: '--allow-insecure-entitlement network.host' + # driver-opts: network=host - name: Build and push uses: docker/build-push-action@v6 with: push: true - allow: network.host - network: host - platforms: linux/amd64,linux/arm64 + #allow: network.host + #network: host + #platforms: linux/amd64 tags: ${{ steps.docker.outputs.tags }} From 763cac05e91bc52a02b1ff286913710bc003aa07 Mon Sep 17 00:00:00 2001 From: giteaAdmin Date: Wed, 29 Oct 2025 09:17:05 +0000 Subject: [PATCH 4/5] Update .github/workflows/.github-ci.yaml --- .github/workflows/.github-ci.yaml | 9 --------- 1 file changed, 9 deletions(-) diff --git a/.github/workflows/.github-ci.yaml b/.github/workflows/.github-ci.yaml index baf8b8d..92acbf2 100644 --- a/.github/workflows/.github-ci.yaml +++ b/.github/workflows/.github-ci.yaml @@ -33,18 +33,9 @@ jobs: registry: ${{ steps.repository.outputs.registry }} username: "${{ secrets.PACKAGES_USER }}" password: "${{ secrets.PACKAGES_TOKEN }}" - #- - # name: Set up Docker Buildx - # uses: docker/setup-buildx-action@v3 - # with: - # buildkitd-flags: '--allow-insecure-entitlement network.host' - # driver-opts: network=host - name: Build and push uses: docker/build-push-action@v6 with: push: true - #allow: network.host - #network: host - #platforms: linux/amd64 tags: ${{ steps.docker.outputs.tags }} From 14a5cbf66a6ebcef90dfb674bbe4d41c274090e9 Mon Sep 17 00:00:00 2001 From: richardrobertreitz Date: Wed, 29 Oct 2025 16:22:47 +0000 Subject: [PATCH 5/5] Update .github/workflows/.github-ci.yaml --- .github/workflows/.github-ci.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/.github-ci.yaml b/.github/workflows/.github-ci.yaml index 92acbf2..7fce44c 100644 --- a/.github/workflows/.github-ci.yaml +++ b/.github/workflows/.github-ci.yaml @@ -38,4 +38,5 @@ jobs: uses: docker/build-push-action@v6 with: push: true + platforms: linux/amd64,linux/arm64 tags: ${{ steps.docker.outputs.tags }}