From 5f51f705d5675c6f6b8889ad929d1fbc16fd1e73 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 1 Sep 2023 17:41:07 +0200 Subject: [PATCH] chore(deps): update github-actions (#67) * chore(deps): update github-actions * chore: re-formatted protobuf files * ci: re-formatted scorecards.yaml * chore: downgrade iter8 manually again --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: chgl --- .github/workflows/benchmarks.yaml | 4 +- .github/workflows/buf.yaml | 6 +-- .github/workflows/build-grpc-utils-image.yaml | 12 ++--- .github/workflows/ci.yaml | 50 +++++++++---------- .github/workflows/codeql.yaml | 8 +-- .github/workflows/lint-pr-title.yaml | 2 +- .github/workflows/mega-linter.yml | 4 +- .github/workflows/nightly-chaos.yaml | 8 +-- .github/workflows/release-please.yaml | 2 +- .github/workflows/scorecards.yaml | 12 ++--- .github/workflows/trivy.yaml | 2 +- src/Vfps/Protos/vfps/api/v1/namespaces.proto | 12 ++--- src/Vfps/Protos/vfps/api/v1/pseudonyms.proto | 8 +-- 13 files changed, 60 insertions(+), 70 deletions(-) diff --git a/.github/workflows/benchmarks.yaml b/.github/workflows/benchmarks.yaml index 93dd90a..7bc551a 100644 --- a/.github/workflows/benchmarks.yaml +++ b/.github/workflows/benchmarks.yaml @@ -24,7 +24,7 @@ jobs: pull-requests: write steps: - name: Checkout - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3 + uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 with: fetch-depth: 0 @@ -38,7 +38,7 @@ jobs: run: dotnet run -c Release --project=src/Vfps.Benchmarks - name: Store benchmark result - uses: benchmark-action/github-action-benchmark@3b3014adac5e456db8ad428ccc01bec75242487f # tag=v1.14.0 + uses: benchmark-action/github-action-benchmark@70405016b032d44f409e4b1b451c40215cbe2393 # v1.18.0 with: name: PseudonymGeneratorBenchmarks tool: "benchmarkdotnet" diff --git a/.github/workflows/buf.yaml b/.github/workflows/buf.yaml index 34434e6..9c63792 100644 --- a/.github/workflows/buf.yaml +++ b/.github/workflows/buf.yaml @@ -15,9 +15,9 @@ jobs: contents: read pull-requests: write steps: - - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3 + - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 - - uses: bufbuild/buf-setup-action@ebfad693a1cf43c5a8fc187a3f6ffc9d4b5dea8f # tag=v1.8.0 + - uses: bufbuild/buf-setup-action@eb60cd0de4f14f1f57cf346916b8cd69a9e7ed0b # v1.26.1 with: github_token: ${{ secrets.GITHUB_TOKEN }} @@ -25,7 +25,7 @@ jobs: working-directory: src/Vfps run: buf format --exit-code - - uses: bufbuild/buf-lint-action@d35dc843e3e1d4d7ec2d4b6eef89ff040b85cf28 # tag=v1.0.2 + - uses: bufbuild/buf-lint-action@bd48f53224baaaf0fc55de9a913e7680ca6dbea4 # v1.0.3 with: input: src/Vfps # Doesn't currently work due to the weird file setup. Fails with: diff --git a/.github/workflows/build-grpc-utils-image.yaml b/.github/workflows/build-grpc-utils-image.yaml index 3525bbf..31aa82e 100644 --- a/.github/workflows/build-grpc-utils-image.yaml +++ b/.github/workflows/build-grpc-utils-image.yaml @@ -20,23 +20,23 @@ jobs: contents: read steps: - name: Checkout - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3 + uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 - name: Container meta for the gRPC utils image id: container_grpc_utils_meta - uses: docker/metadata-action@69f6fc9d46f2f8bf0d5491e4aabe0bb8c6a4678a # tag=v4 + uses: docker/metadata-action@818d4b7b91585d195f67373fd9cb0332e31a7175 # v4 with: images: | ghcr.io/${{ github.repository }}-grpc-utils - name: Set up QEMU - uses: docker/setup-qemu-action@8b122486cedac8393e77aa9734c3528886e4a1a8 # tag=v2 + uses: docker/setup-qemu-action@2b82ce82d56a2a04d2637cd93a637ae1b359c0a7 # v2 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@dc7b9719a96d48369863986a06765841d7ea23f6 # tag=v2 + uses: docker/setup-buildx-action@885d1462b80bc1c1c7f0b00334ad271f09369c55 # v2 - name: Login to GitHub Container Registry - uses: docker/login-action@49ed152c8eca782a232dede0303416e8f356c37b # tag=v2 + uses: docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc # v2 if: ${{ github.event_name != 'pull_request' }} with: registry: ghcr.io @@ -44,7 +44,7 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} - name: Build and push gRPC utils image - uses: docker/build-push-action@c84f38281176d4c9cdb1626ffafcd6b3911b5d94 # tag=v3 + uses: docker/build-push-action@1104d471370f9806843c095c1db02b5a90c5f8b6 # v3 with: push: ${{ github.event_name != 'pull_request' }} tags: ${{ steps.container_grpc_utils_meta.outputs.tags }} diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index ee69bf8..b2a48d3 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -29,32 +29,32 @@ jobs: api-image-name: ${{ env.IMAGE_NAME }} steps: - name: Checkout - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3 + uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 with: fetch-depth: 0 - name: Container meta for api image id: container_meta - uses: docker/metadata-action@69f6fc9d46f2f8bf0d5491e4aabe0bb8c6a4678a # tag=v4 + uses: docker/metadata-action@818d4b7b91585d195f67373fd9cb0332e31a7175 # v4 with: images: | ${{ env.IMAGE_NAME }} - name: Container meta for the unit test image id: container_tests_meta - uses: docker/metadata-action@69f6fc9d46f2f8bf0d5491e4aabe0bb8c6a4678a # tag=v4 + uses: docker/metadata-action@818d4b7b91585d195f67373fd9cb0332e31a7175 # v4 with: images: | ghcr.io/${{ github.repository }}-tests - name: Set up QEMU - uses: docker/setup-qemu-action@8b122486cedac8393e77aa9734c3528886e4a1a8 # tag=v2 + uses: docker/setup-qemu-action@2b82ce82d56a2a04d2637cd93a637ae1b359c0a7 # v2 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@dc7b9719a96d48369863986a06765841d7ea23f6 # tag=v2 + uses: docker/setup-buildx-action@885d1462b80bc1c1c7f0b00334ad271f09369c55 # v2 - name: Login to GitHub Container Registry - uses: docker/login-action@49ed152c8eca782a232dede0303416e8f356c37b # tag=v2 + uses: docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc # v2 if: ${{ github.event_name != 'pull_request' }} with: registry: ghcr.io @@ -63,7 +63,7 @@ jobs: # ran first to avoid pushing failing images when running on master. - name: Run unit tests - uses: docker/build-push-action@c84f38281176d4c9cdb1626ffafcd6b3911b5d94 # tag=v3 + uses: docker/build-push-action@1104d471370f9806843c095c1db02b5a90c5f8b6 # v3 with: push: false load: true @@ -75,7 +75,7 @@ jobs: # can't use `load` and `push` at the same time, so differentiate by whether its a PR or not - name: Build and push api image - uses: docker/build-push-action@c84f38281176d4c9cdb1626ffafcd6b3911b5d94 # tag=v3 + uses: docker/build-push-action@1104d471370f9806843c095c1db02b5a90c5f8b6 # v3 id: build with: load: ${{ github.event_name == 'pull_request' }} @@ -114,7 +114,7 @@ jobs: thresholds: "60 80" - name: Add Coverage PR Comment - uses: marocchino/sticky-pull-request-comment@39c5b5dc7717447d0cba270cd115037d32d28443 # tag=v2.2.0 + uses: marocchino/sticky-pull-request-comment@efaaab3fd41a9c3de579aba759d2552635e590fd # v2.8.0 if: ${{ github.event_name == 'pull_request' }} with: recreate: true @@ -129,7 +129,7 @@ jobs: - name: Upload container images if: ${{ github.event_name == 'pull_request' }} - uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 # tag=v3.1.0 + uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2 with: name: container-image-artifacts path: | @@ -145,14 +145,14 @@ jobs: pull-requests: write steps: - name: Checkout - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3 + uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@dc7b9719a96d48369863986a06765841d7ea23f6 # tag=v2 + uses: docker/setup-buildx-action@885d1462b80bc1c1c7f0b00334ad271f09369c55 # v2 - name: Download container images if: ${{ github.event_name == 'pull_request' }} - uses: actions/download-artifact@fb598a63ae348fa914e94cd0ff38f362e927b741 # tag=v3.0.0 + uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2 with: name: container-image-artifacts path: /tmp @@ -228,7 +228,7 @@ jobs: } >> ghz-output.md - name: Append sticky comment with ghz output - uses: marocchino/sticky-pull-request-comment@39c5b5dc7717447d0cba270cd115037d32d28443 # tag=v2.2.0 + uses: marocchino/sticky-pull-request-comment@efaaab3fd41a9c3de579aba759d2552635e590fd # v2.8.0 if: ${{ github.event_name == 'pull_request' }} with: append: true @@ -249,11 +249,11 @@ jobs: - build steps: - name: Checkout - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3 + uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 - name: Download container images if: ${{ github.event_name == 'pull_request' }} - uses: actions/download-artifact@fb598a63ae348fa914e94cd0ff38f362e927b741 # tag=v3.0.0 + uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2 with: name: container-image-artifacts path: /tmp @@ -286,17 +286,17 @@ jobs: pull-requests: write steps: - name: Checkout - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3 + uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 - uses: iter8-tools/iter8@9b867240dcaa77858d2458f52a3845e47ea2c657 # v0.13.17 - name: Create KinD cluster - uses: helm/kind-action@9e8295d178de23cbfbd8fa16cf844eec1d773a07 # v1.4.0 + uses: helm/kind-action@dda0770415bac9fc20092cacbc54aa298604d140 # v1.8.0 with: cluster_name: kind - name: Download container images - uses: actions/download-artifact@fb598a63ae348fa914e94cd0ff38f362e927b741 # tag=v3.0.0 + uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2 with: name: container-image-artifacts path: /tmp @@ -350,7 +350,7 @@ jobs: } >> iter8-output.md - name: Append sticky comment with iter8 report - uses: marocchino/sticky-pull-request-comment@39c5b5dc7717447d0cba270cd115037d32d28443 # tag=v2.2.0 + uses: marocchino/sticky-pull-request-comment@efaaab3fd41a9c3de579aba759d2552635e590fd # v2.8.0 if: ${{ github.event_name == 'pull_request' }} with: append: true @@ -358,7 +358,7 @@ jobs: - name: Upload report if: always() - uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 # tag=v3.1.0 + uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2 with: name: iter8-report.html path: | @@ -372,7 +372,7 @@ jobs: - name: Upload cluster dump if: always() - uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 # tag=v3.1.0 + uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2 with: name: kind-cluster-dump.txt path: | @@ -392,14 +392,14 @@ jobs: packages: write steps: - name: Login to GitHub Container Registry - uses: docker/login-action@49ed152c8eca782a232dede0303416e8f356c37b # tag=v2 + uses: docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc # v2 with: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Install Cosign - uses: sigstore/cosign-installer@9becc617647dfa20ae7b1151972e9b3a2c338a2b # tag=v2.8.1 + uses: sigstore/cosign-installer@c85d0e205a72a294fe064f618a87dbac13084086 # v2.8.1 - name: Sign vfps image env: @@ -421,7 +421,7 @@ jobs: actions: read # for detecting the Github Actions environment. id-token: write # for creating OIDC tokens for signing. packages: write # for uploading attestations. - uses: slsa-framework/slsa-github-generator/.github/workflows/generator_container_slsa3.yml@v1.4.0 + uses: slsa-framework/slsa-github-generator/.github/workflows/generator_container_slsa3.yml@v1.9.0 with: image: ${{ needs.build.outputs.api-image-name }} digest: ${{ needs.build.outputs.api-image-digest }} diff --git a/.github/workflows/codeql.yaml b/.github/workflows/codeql.yaml index 435c7bf..f176c21 100644 --- a/.github/workflows/codeql.yaml +++ b/.github/workflows/codeql.yaml @@ -34,7 +34,7 @@ jobs: language: ["csharp"] steps: - name: Checkout repository - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3 + uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 - name: Install .NET uses: actions/setup-dotnet@a351d9ea84bc76ec7508debf02a39d88f8b6c0c0 # tag=v2 @@ -44,7 +44,7 @@ jobs: # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v2 + uses: github/codeql-action/init@00e563ead9f72a8461b24876bee2d0c2e8bd2ee8 # v2 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -57,7 +57,7 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild - uses: github/codeql-action/autobuild@v2 + uses: github/codeql-action/autobuild@00e563ead9f72a8461b24876bee2d0c2e8bd2ee8 # v2 # ℹī¸ Command-line programs to run using the OS shell. # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun @@ -70,6 +70,6 @@ jobs: # ./location_of_script_within_repo/buildscript.sh - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 + uses: github/codeql-action/analyze@00e563ead9f72a8461b24876bee2d0c2e8bd2ee8 # v2 with: category: "/language:${{matrix.language}}" diff --git a/.github/workflows/lint-pr-title.yaml b/.github/workflows/lint-pr-title.yaml index e50b274..88b5f2a 100644 --- a/.github/workflows/lint-pr-title.yaml +++ b/.github/workflows/lint-pr-title.yaml @@ -14,7 +14,7 @@ jobs: name: Lint PR title runs-on: ubuntu-22.04 steps: - - uses: amannn/action-semantic-pull-request@01d5fd8a8ebb9aafe902c40c53f0f4744f7381eb # tag=v5.0.2 + - uses: amannn/action-semantic-pull-request@c3cd5d1ea3580753008872425915e343e351ab54 # v5.2.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: diff --git a/.github/workflows/mega-linter.yml b/.github/workflows/mega-linter.yml index 4cd396e..8b939e5 100644 --- a/.github/workflows/mega-linter.yml +++ b/.github/workflows/mega-linter.yml @@ -31,7 +31,7 @@ jobs: steps: # Git Checkout - name: Checkout Code - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3 + uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 with: fetch-depth: 0 # If you use VALIDATE_ALL_CODEBASE = true, you can remove this line to improve performances @@ -40,7 +40,7 @@ jobs: id: ml # You can override MegaLinter flavor used to have faster performances # More info at https://oxsecurity.github.io/megalinter/flavors/ - uses: oxsecurity/megalinter@8fd433c675d27ceca5a61ace53177c1bbfbf7f49 # tag=v6.18.0 + uses: oxsecurity/megalinter@93700f8c21c59ea784a32abe23896e49e54463b8 # v6.22.2 env: # All available variables are described in documentation # https://oxsecurity.github.io/megalinter/configuration/ diff --git a/.github/workflows/nightly-chaos.yaml b/.github/workflows/nightly-chaos.yaml index 806178d..4945f9b 100644 --- a/.github/workflows/nightly-chaos.yaml +++ b/.github/workflows/nightly-chaos.yaml @@ -15,16 +15,16 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Checkout - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3 + uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 with: fetch-depth: 0 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@dc7b9719a96d48369863986a06765841d7ea23f6 # tag=v2 + uses: docker/setup-buildx-action@885d1462b80bc1c1c7f0b00334ad271f09369c55 # v2 - name: Build stress testing image id: build-image - uses: docker/build-push-action@c84f38281176d4c9cdb1626ffafcd6b3911b5d94 # tag=v3 + uses: docker/build-push-action@1104d471370f9806843c095c1db02b5a90c5f8b6 # v3 with: push: false load: true @@ -34,7 +34,7 @@ jobs: target: stress-test - name: Create KinD cluster - uses: helm/kind-action@9e8295d178de23cbfbd8fa16cf844eec1d773a07 # tag=v1.4.0 + uses: helm/kind-action@dda0770415bac9fc20092cacbc54aa298604d140 # v1.8.0 with: cluster_name: kind diff --git a/.github/workflows/release-please.yaml b/.github/workflows/release-please.yaml index f1e2998..de3aaf2 100644 --- a/.github/workflows/release-please.yaml +++ b/.github/workflows/release-please.yaml @@ -15,7 +15,7 @@ jobs: pull-requests: write steps: - - uses: google-github-actions/release-please-action@2a4590f9c1d322790253d997de5cad7f7ad4bc1b # tag=v3.5.1 + - uses: google-github-actions/release-please-action@ca6063f4ed81b55db15b8c42d1b6f7925866342d # v3.7.11 with: token: ${{ secrets.MIRACUM_BOT_SEMANTIC_RELEASE_TOKEN }} release-type: simple diff --git a/.github/workflows/scorecards.yaml b/.github/workflows/scorecards.yaml index 85dcefc..8165597 100644 --- a/.github/workflows/scorecards.yaml +++ b/.github/workflows/scorecards.yaml @@ -10,9 +10,9 @@ on: # To guarantee Maintained check is occasionally updated. See # https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained schedule: - - cron: '37 19 * * 1' + - cron: "37 19 * * 1" push: - branches: [ "master" ] + branches: ["master"] # Declare default permissions as read only. permissions: read-all @@ -32,12 +32,12 @@ jobs: steps: - name: "Checkout code" - uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0 + uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 with: persist-credentials: false - name: "Run analysis" - uses: ossf/scorecard-action@99c53751e09b9529366343771cc321ec74e9bd3d # v2.0.6 + uses: ossf/scorecard-action@08b4669551908b1024bb425080c797723083c031 # v2.2.0 with: results_file: results.sarif results_format: sarif @@ -59,7 +59,7 @@ jobs: # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF # format to the repository Actions tab. - name: "Upload artifact" - uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 # v3.1.0 + uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2 with: name: SARIF file path: results.sarif @@ -67,6 +67,6 @@ jobs: # Upload the results to GitHub's code scanning dashboard. - name: "Upload to code-scanning" - uses: github/codeql-action/upload-sarif@807578363a7869ca324a79039e6db9c843e0e100 # v2.1.27 + uses: github/codeql-action/upload-sarif@00e563ead9f72a8461b24876bee2d0c2e8bd2ee8 # v2.21.5 with: sarif_file: results.sarif diff --git a/.github/workflows/trivy.yaml b/.github/workflows/trivy.yaml index 3cb6ed0..0551d10 100644 --- a/.github/workflows/trivy.yaml +++ b/.github/workflows/trivy.yaml @@ -31,6 +31,6 @@ jobs: severity: "CRITICAL,HIGH" - name: Upload Trivy scan results to GitHub Security tab - uses: github/codeql-action/upload-sarif@v2 + uses: github/codeql-action/upload-sarif@00e563ead9f72a8461b24876bee2d0c2e8bd2ee8 # v2 with: sarif_file: "trivy-results.sarif" diff --git a/src/Vfps/Protos/vfps/api/v1/namespaces.proto b/src/Vfps/Protos/vfps/api/v1/namespaces.proto index 22ef075..26ff6d3 100644 --- a/src/Vfps/Protos/vfps/api/v1/namespaces.proto +++ b/src/Vfps/Protos/vfps/api/v1/namespaces.proto @@ -19,23 +19,17 @@ service NamespaceService { // get information about a namespace rpc Get(NamespaceServiceGetRequest) returns (NamespaceServiceGetResponse) { - option (google.api.http) = { - get: "/v1/namespaces/{name}" - }; + option (google.api.http) = {get: "/v1/namespaces/{name}"}; } // list all namespaces rpc GetAll(NamespaceServiceGetAllRequest) returns (NamespaceServiceGetAllResponse) { - option (google.api.http) = { - get: "/v1/namespaces" - }; + option (google.api.http) = {get: "/v1/namespaces"}; } // delete a namespace and all pseudonyms it contains rpc Delete(NamespaceServiceDeleteRequest) returns (NamespaceServiceDeleteResponse) { - option (google.api.http) = { - delete: "/v1/namespaces/{name}" - }; + option (google.api.http) = {delete: "/v1/namespaces/{name}"}; } } diff --git a/src/Vfps/Protos/vfps/api/v1/pseudonyms.proto b/src/Vfps/Protos/vfps/api/v1/pseudonyms.proto index c06cd2d..11e4d9e 100644 --- a/src/Vfps/Protos/vfps/api/v1/pseudonyms.proto +++ b/src/Vfps/Protos/vfps/api/v1/pseudonyms.proto @@ -20,16 +20,12 @@ service PseudonymService { // get information about the given pseudonym. Including its original value. rpc Get(PseudonymServiceGetRequest) returns (PseudonymServiceGetResponse) { - option (google.api.http) = { - get: "/v1/namespaces/{namespace}/pseudonyms/{pseudonym_value}" - }; + option (google.api.http) = {get: "/v1/namespaces/{namespace}/pseudonyms/{pseudonym_value}"}; } // list all pseudonyms in the given namespace rpc List(PseudonymServiceListRequest) returns (PseudonymServiceListResponse) { - option (google.api.http) = { - get: "/v1/namespaces/{namespace}/pseudonyms" - }; + option (google.api.http) = {get: "/v1/namespaces/{namespace}/pseudonyms"}; } }