GoogleCloudPlatform / GoogleCloudPlatform/java-docs-samples

container-registry: API deprecation

Đang mở
#10,180 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
priority: p2 samples triage me type: bug
Ngôn ngữ chính
Java
Star
1.9k
Fork
2.9k
Merge trung bình
3 ngày 3 giờ
Pull request đã merge (30 ngày)
17

Mô tả

The container-registry samples are currently returning errors in testing (e.g. #10129)

```
[ERROR] PERMISSION_DENIED: note creation is not allowed for note kind VULNERABILITY
```

Failing tests (10/10 `@Tests` for this doc set)

* testFindVulnerabilitiesForImage
* testCreateOccurrence
* testOccurrencesForImage
* testDeleteOccurrence
* testPollDiscoveryOccurrenceFinished
* testFindHighSeverityVulnerabilitiesForImage
* testOccurrencesForNote
* testCreateNote
* testDeleteNote
* testPubSub

This API has been deprecated; example docs page cited in samples https://cloud.google.com/container-registry/docs/container-analysis#supported_metadata_types

However, they're still referenced in active docs: https://cloud.google.com/artifact-analysis/docs/create-notes-occurrences#artifact-analysis-create-note-java

A temporary workaround to unblock #10129 is to skip these tests

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

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

Đánh giá

Issue này chưa được đánh giá.

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.