Convert Publisher yaml to classic pipeline

Đang mở
#755 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
30/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
azure
Lĩnh vực
api, devops

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện lệnh sử dụng classic release pipeline, publisherPath, artifactPath/configuration.extractor.yaml và đối số jwttesttoken được mô tả trong issue. Hoàn tất khi một JWT hợp lệ gồm ba phần đến được APIOps Publisher mà không gặp lỗi định dạng và các artifact được phát hành lên APIM.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Release version

ApiOps v6.0.1.7

Question Details

Subject: Issue with JWT Token Handling in APIOps Publisher Pipeline

Description: As my Organization has restrictions in creating Yaml pipelines at release level. I am trying to create a classic release pipeline for publisher pipeline .We are encountering an issue where the APIOps Publisher pipeline does not correctly handle the JWT token. Even after hardcoding a valid JWT token, the execution fails with the following error:
JWT is not well formed, there are no dots (.).
The token needs to be in JWS or JWE Compact Serialization Format.

Troubleshooting Steps Taken:

Verified that the JWT token is correctly formatted (three parts separated by dots).
Printed the token before execution to confirm correct passing.
Removed unnecessary quotes while passing the token in the command.
Expected behavior

The APIOps Publisher should accept the valid JWT token without throwing a format error and publish the artifacts to APIM

Actual behavior

The tool incorrectly reports that the token is not well-formed, preventing execution.

Reproduction Steps
Download and extract the latest APIOps Publisher tool.
Define a valid JWT token with three parts (header.payload.signature).
Execute the following command:& "$publisherPath" --config "$artifactPath/configuration.extractor.yaml" --token $jwttesttoken

The process fails, stating that the JWT token is not well-formed.

Ngôn ngữ chính
C#
Star
448
Fork
247
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Azure/apiops

Tất cả issue của Azure/apiops

Issue tương tự

Thêm issue về C#

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.