GoogleCloudPlatform / GoogleCloudPlatform/java-docs-samples
container-registry: API deprecation
- 主要语言
- Java
- 星标
- 1.9k
- 派生
- 2.9k
- 平均合并
- 3 天 3 小时
- 30 天内合并 PR
- 17
描述
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
贡献指南
评估
这个 Issue 还没有评估数据。