Skip to content

Commit c9c4f5a

Browse files
feat: move API to typescript code generation (#135)
* remove docs/ * move to ts * update synthtool * run synthtool * remove unneeded grafeas client * update synthtool * remove grafeas client * cap class name * broken link * make it work * lint * debug * sample test work * test * test * retry 10 times * finalize synth.py * clean a little bit * replace once, add to excludes * fix doc * feedback * import os * feedback * fix * remove file properly * make it work * linkinator * Update linkinator configure * rerun synthtool for resources reorder * remove google/api proto in list * remove unneeded proto files in list * format * new line in proto list * run synthtool
1 parent 5b6c5ac commit c9c4f5a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

container-analysis/snippets/occurrencesForNote.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ async function main(
4040
const [occurrences] = await client.getGrafeasClient().listNoteOccurrences({
4141
name: formattedNote,
4242
});
43+
4344
if (occurrences.length) {
4445
console.log('Occurrences:');
4546
occurrences.forEach(occurrence => {

container-analysis/snippets/test/containerAnalysis.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const noteId = `test-note-${uuidVal}`;
2929
const resourceUrl = `gcr.io/test-project/test-image-${uuidVal}`;
3030
const subscriptionId = `occurrence-subscription-${uuidVal}`;
3131
const timeoutSeconds = 5;
32-
const retries = 5;
32+
const retries = 10;
3333

3434
const {PubSub} = require('@google-cloud/pubsub');
3535
const pubsub = new PubSub();

0 commit comments

Comments
 (0)