GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — migrate code from googleapis/nodejs-asset by ahrarmonsur · Pull Request #2856 · GoogleCloudPlatform/nodejs-docs-samples

Conversation

@ahrarmonsur

@ahrarmonsur ahrarmonsur commented Nov 16, 2022

Copy link
Copy Markdown
Contributor
  • initialize repo
  • add a samples/package.json
  • chore: do a little lint cleanup (Add Logging API example. #53)
  • docs(samples): add quickstart code for ExportAssets (Added instructions for running the tests. Fixes #49. #50)
  • refactor(samples): convert sample tests from ava to mocha (Added Pub/Sub samples. #56)
  • fix: fix the lint rules (Move back to container-based Travis builds and removed some redundant tests. #58)
  • sample: Add quickstart sample code for BatchGetAsstesHistory. (Add logging example and link to instructions for Compute Engine as well #59)
  • Release v0.1.1 (Google Cloud Functions - Node.js Version #67)
  • fix: fix sample tests (Cannot deploy my app to App Engine after Installing Parse Dashboard #79)
  • Release v0.2.0 (Add region tags to GKE Dockerfile. #95)
  • fix(deps): update dependency yargs to v13 (Add basic Endpoints sample. #105)
  • chore(deps): update dependency mocha to v6
  • Release v0.2.1 (How to add the environment variables in Windows? #117)
  • Release @google-cloud/asset v0.3.0 (getApplicationDefault is undefined.  #121)
  • refactor: use execSync for tests (More Cloud Functions #127)
  • feat: introduces 'expression text', deprecates version field (Switch back to mocha from ava. #143)
  • docs: use repo-meta to generate README (Kraken app tests are flaky and break a lot #130)
  • chore: release 1.0.0 (Switch Speech sample to v1beta1 #146)
  • chore: release 1.1.0 (I have issue to add the json key file  #158)
  • chore: release 1.1.1 (Add list_datasets_and_projects sample #161)
  • chore: release 1.1.2 (Pubsub tests #164)
  • fix(deps): update dependency @google-cloud/storage to v3 (Start storagetransfer samples. #168)
  • chore: release 1.1.3 (Switch to individual API packages. #169)
  • chore: release 1.1.4 (Translate API samples #176)
  • fix(deps): update dependency yargs to v14
  • feat: introduce v1p2beta1 client (Auto-generate command instructions for README.md #181)
  • chore: release 1.2.0 (All Storage samples are now up to standard. #182)
  • docs: add real time feed api sample code (Add Translate API samples. Fixes #176. #184)
  • chore: release 1.2.1 (Export data from BigQuery samples #186)
  • chore: release 1.3.0 (Update all dependencies 🌴 #191)
  • chore: release 1.4.1 (Stackdriver product rename #209)
  • fix(deps): update dependency @google-cloud/storage to v4 (Simplify BigQuery samples according to our standard. #207)
  • chore: release 1.4.2 (Add quickstart tests #215)
  • fix(deps): update dependency yargs to v15 (Fix pagination #222)
  • chore: update license headers
  • chore: release 1.5.0 (Simplify Storage samples and their tests. #225)
  • feat(samples): update real time feed api sample code to use v1 API surface
  • chore(deps): update dependency mocha to v7 (Upgrade apps for env:flex. #241)
  • chore: release 1.6.0
  • chore: release 1.6.1 (Update Cloud Functions error sample to use the Error Reporting module #252)
  • feat!: converts library to TypeScript adding v1p1beta1 surface (@google-cloud/datastore 0.5.0 does not return entity keys with query results #250)
  • chore: release 2.0.0 (Update Language samples. #254)
  • chore: release 2.0.1 (Create My First Project-bb06314a336f.json #262)
  • chore: release 2.1.0 (Secure websockets on app engine (?) #265)
  • fix(deps): update dependency uuid to v7
  • chore: release 2.2.0 (Add sample / docs for HSTS for requiring https #271)
  • fix: in rare cases test can take longer than 180,000 timeout (Update Speech samples. #307)
  • chore: linting (Removed deprecated flag from app.yaml #309)
  • chore: release 3.0.0 (Not able to import in React.js | Not sure if browser support is available as no documentation about it #280)
  • fix(deps): update dependency uuid to v8 (Fix issue with read-only transaction #325)
  • fix(deps): update dependency @google-cloud/storage to v5 (Endpoints gRPC samples #330)
  • chore: release 3.1.0 (Add key parameter to translate quickstart #324)
  • chore(deps): update dependency mocha to v8 (update the sentiment threshold; fix a typo in some commented-out code. #341)
  • docs(samples): add sample code for SearchAllResources and SearchAllIamPolicies (sampleRate is not a field: undefined #343)
  • chore: release 3.2.0 (Replace node-mailer module with something else #338)
  • chore: release 3.3.0 (Update openApi config to use "security" instead of "x-security". #347)
  • chore: release 3.4.0 (speech streaming example doesn't work #350)
  • feat(samples): add sample code for ListAssets v1p5beta1 (package.json needs update to pull the right version of [email protected]  #355)
  • chore: release 3.5.0 (Update NL client library version #356)
  • chore: release 3.5.1 (updated readme for the renaming of files #372)
  • chore: release 3.6.0 (Add new video samples #382)
  • chore: release 3.7.0 (Update the sample template. #387)
  • fix(deps): update dependency yargs to v16 (update sample to use @google-cloud/error-reporting #391)
  • chore: release 3.7.1 (Add postgres samples #396)
  • chore: release 3.8.0 (insertRowsAsStream not showing full error log #399)
  • chore: release 3.9.0 (Move DLP from REST to gRPC + client libraries #413)
  • chore: release 3.9.1 (speechClient.recognize() giving empty array as response? #425)
  • chore: release 3.10.0 (Adds example with word time offsets. #437)
  • chore: release 3.11.0 (Unit Test instructions in README fail (missing semistandard dependency call-out) #446)
  • feat(samples): add samples for analyzeIamPolicy and analyzeIamPolicyLongrunning (Add openapi-appengine.yaml file for App Engine deployments. #433)
  • docs: fix yaml parsing error in comments ([DO NOT MERGE] Update/add tests + fix dependencies #452)
  • chore: release 3.12.0 (Update index.js #450)
  • chore: release 3.12.1 (Fix for the bug: pod error ImagePullBackOff #482)
  • chore: release 3.12.2 (Update Monitoring samples. #493)
  • chore: release 3.13.0 (Nitfix: move mock-only code out of region tag #494)
  • chore: release 3.14.0 (Temporarily revert "Remove video samples which have moved." #506)
  • samples: Update asset lib to v1 for ListAssets sample code (Remove video samples which have moved. #505)
  • chore: release 3.14.1 (How can I create audio file that node.js google speech server can recognize?? #508)
  • chore: release 3.15.0 (Cloud Tasks samples. #516)
  • chore: release 3.15.1 (bigquery-stream-data-nodejs docs - use correct json property to check for errors #519)
  • chore: release 3.15.2 (MQTT client JWT refresh and set TLS to 1.2 #521)
  • chore: release 3.15.3 (error ECONNREFUSED #523)
  • chore: release 3.15.4 (Move bigquery and vision samples. #535)
  • chore: release 3.15.5 (functions/datastore sample #536)
  • chore: release 3.16.0 (Iot mqtt tests #539)
  • chore: release 3.16.1 (Update comment and add region tags #540)
  • chore: release 3.17.0 (Update mqtt dependency #543)
  • chore: release 3.18.0 (Update README.md #549)
  • chore: release 3.19.0 (Move datastore samples. #552)
  • samples: add relationship support samples (Re-doing region tag changes to correct test error #560)
  • docs(samples): add auto-generated samples for Node with api short name in region tag (app.yaml s/python/nodejs in comment #562)
  • test: extend timeout for flaky tests (Bug fix for helloGCSGeneric() #567)
  • chore: release 3.20.0 (Getting started with "Hello World" Cloud Functions Sample - Docs Updates #570)
  • chore: release 3.21.0 (Change to endpoints managed rollout #576)
  • chore: release 3.22.0 (Added samples for App Engine Standard Environment #579)
  • samples: Move sample code end tag to the correct line for GetFeed (chore: update (most) dependencies + (some) samples #583)
  • chore(main): release 3.23.0 (Google Cloud IOT getClient example timeout with no other errors #603)
  • chore(main): release 3.23.1 (Fix typo in gcloud command #605)
  • build!: update library to use Node 12 (puppeteer sample (Headless Chrome) #625)
  • test: increase sample test timeout (Tweak HTTP sample comments #628)
  • fix(deps): update dependency @google-cloud/bigquery to v6 (Move description from docs into code sample #630)
  • fix(deps): update dependency @google-cloud/storage to v6 (Extract/re-work samples from "Execution environment" page #629)
  • samples: fix compute test, update dependency to V3 (Add description to code comments for HTTP #634)
  • chore(main): release 4.0.0 (Audio Stream Timing Out Instantly #626)
  • chore(main): release 4.1.0 (Add missing lint dependency #636)
  • chore(main): release 4.2.0 (Fix permission of bash script #645)
  • feat: add batchGetEffectiveIamPolicies sample code. (No need for the --disable-setuid-sandbox flag #654)
  • fix(deps): update dependency uuid to v9 (Upgrade repo-tools to fix some failing system tests. #657)
  • chore(main): release 4.3.0 (Migrate tests to Kokoro #652)
  • chore(main): release 4.4.0 (Do not deploy to AppEngine in Presubmit #659)
  • chore(main): release 4.5.0 (Slow "Browser" instance creation w/ Headless Chrome GAE Standard Node.js #671)

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@ahrarmonsur
ahrarmonsur requested a review from a team as a code owner November 16, 2022 21:04
@product-auto-label product-auto-label Bot added the samples Issues that are directly related to samples. label Nov 16, 2022
@snippet-bot

snippet-bot Bot commented Nov 16, 2022 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Here is the summary of changes.

You are about to add 15 region tags.
  • asset/snippets/analyzeIamPolicy.js:23, tag asset_quickstart_analyze_iam_policy
  • asset/snippets/analyzeIamPolicyLongrunningBigquery.js:23, tag asset_quickstart_analyze_iam_policy_longrunning_bigquery
  • asset/snippets/analyzeIamPolicyLongrunningGcs.js:23, tag asset_quickstart_analyze_iam_policy_longrunning_gcs
  • asset/snippets/createFeed.js:23, tag asset_quickstart_create_feed
  • asset/snippets/deleteFeed.js:23, tag asset_quickstart_delete_feed
  • asset/snippets/exportAssets.js:23, tag asset_quickstart_export_assets
  • asset/snippets/exportAssetsBigquery.js:23, tag asset_quickstart_export_assets_bigquery
  • asset/snippets/getBatchAssetHistory.js:23, tag asset_quickstart_batch_get_assets_history
  • asset/snippets/getBatchEffectiveIamPolicies.js:23, tag asset_quickstart_batch_get_effective_iam_policies
  • asset/snippets/getFeed.js:23, tag asset_quickstart_get_feed
  • asset/snippets/listAssets.js:24, tag asset_quickstart_list_assets
  • asset/snippets/listFeeds.js:23, tag asset_quickstart_list_feeds
  • asset/snippets/searchAllIamPolicies.js:23, tag asset_quickstart_search_all_iam_policies
  • asset/snippets/searchAllResources.js:23, tag asset_quickstart_search_all_resources
  • asset/snippets/updateFeed.js:23, tag asset_quickstart_update_feed

This comment is generated by snippet-bot.
If you find problems with this result, please file an issue at:
https://github.com/googleapis/repo-automation-bots/issues.
To update this comment, add snippet-bot:force-run label or use the checkbox below:

  • Refresh this comment
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@google-cla

google-cla Bot commented Nov 16, 2022

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

ace-n
ace-n suggested changes Nov 16, 2022
View reviewed changes

@ace-n ace-n left a comment •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a workflow config to .github/workflows for this, so that the tests run?

Be sure to add the config to .github/workflows/workflows.json, too. ✅

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@ahrarmonsur
ahrarmonsur requested a review from a team as a code owner November 16, 2022 21:18
@ahrarmonsur
ahrarmonsur requested a review from ace-n November 16, 2022 21:20
@ahrarmonsur ahrarmonsur mentioned this pull request Nov 17, 2022
Tests for asset/snippets/test/ need to be refactored #2864
Closed
@ahrarmonsur

ahrarmonsur commented Nov 17, 2022

Copy link
Copy Markdown
Contributor Author

The CI was failing due to lack of tests being carried over (the one mega-test in samples.test.js was marked as a quickstart test). However, it appears that one file was calling the tests for all the samples.

On @grayside's advice to unblock this PR, I have:

  • Created a tracking issue for language maintainers to refactor the tests to be sample-specific: Tests for asset/snippets/test/ need to be refactored #2864
  • Removed the workflow for asset samples

Context is in this conversation

ace-n reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

jkwlui and others added 21 commits November 17, 2022 10:53
@jkwlui Ace Nassri
initialize repo
2ffddaa
@jkwlui Ace Nassri
add a samples/package.json
e0ceb0a
@JustinBeckwith Ace Nassri
chore: do a little lint cleanup (#53)
49a6b8e
@peter-zheng-g Ace Nassri
docs(samples): add quickstart code for ExportAssets (#50)
05612ff
@nareshqlogic Ace Nassri
refactor(samples): convert sample tests from ava to mocha (#56)
f26e142
@JustinBeckwith Ace Nassri
fix: fix the lint rules (#58)
dd0c739
@peter-zheng-g Ace Nassri
sample: Add quickstart sample code for BatchGetAsstesHistory. (#59)
2836bd2
@jkwlui Ace Nassri
Release v0.1.1 (#67)
5d36e18
@JustinBeckwith Ace Nassri
fix: fix sample tests (#79)
532d97b
@JustinBeckwith Ace Nassri
Release v0.2.0 (#95)
cc970c2
@renovate Ace Nassri
fix(deps): update dependency yargs to v13 (#105)
3e661de
@renovate Ace Nassri
chore(deps): update dependency mocha to v6
d500d5c
chore(deps): update dependency mocha to v6

This PR contains the following updates:

| Package | Type | Update | Change | References |
|---|---|---|---|---|
| mocha | devDependencies | major | `^5.2.0` -> `^6.0.0` | [homepage](https://mochajs.org/), [source](https://togithub.com/mochajs/mocha) |

---

### Release Notes

<details>
<summary>mochajs/mocha</summary>

### [`v6.0.0`](https://togithub.com/mochajs/mocha/blob/master/CHANGELOG.md#&#8203;600--2019-02-18)

[Compare Source](https://togithub.com/mochajs/mocha/compare/v5.2.0...v6.0.0)

#### 🎉 Enhancements

-   [#&#8203;3726](https://togithub.com/mochajs/mocha/issues/3726): Add ability to unload files from `require` cache ([**@&#8203;plroebuck**](https://togithub.com/plroebuck))

#### 🐛 Fixes

-   [#&#8203;3737](https://togithub.com/mochajs/mocha/issues/3737): Fix falsy values from options globals ([**@&#8203;plroebuck**](https://togithub.com/plroebuck))
-   [#&#8203;3707](https://togithub.com/mochajs/mocha/issues/3707): Fix encapsulation issues for `Suite#_onlyTests` and `Suite#_onlySuites` ([**@&#8203;vkarpov15**](https://togithub.com/vkarpov15))
-   [#&#8203;3711](https://togithub.com/mochajs/mocha/issues/3711): Fix diagnostic messages dealing with plurality and markup of output ([**@&#8203;plroebuck**](https://togithub.com/plroebuck))
-   [#&#8203;3723](https://togithub.com/mochajs/mocha/issues/3723): Fix "reporter-option" to allow comma-separated options ([**@&#8203;boneskull**](https://togithub.com/boneskull))
-   [#&#8203;3722](https://togithub.com/mochajs/mocha/issues/3722): Fix code quality and performance of `lookupFiles` and `files` ([**@&#8203;plroebuck**](https://togithub.com/plroebuck))
-   [#&#8203;3650](https://togithub.com/mochajs/mocha/issues/3650), [#&#8203;3654](https://togithub.com/mochajs/mocha/issues/3654): Fix noisy error message when no files found ([**@&#8203;craigtaub**](https://togithub.com/craigtaub))
-   [#&#8203;3632](https://togithub.com/mochajs/mocha/issues/3632): Tests having an empty title are no longer confused with the "root" suite ([**@&#8203;juergba**](https://togithub.com/juergba))
-   [#&#8203;3666](https://togithub.com/mochajs/mocha/issues/3666): Fix missing error codes ([**@&#8203;vkarpov15**](https://togithub.com/vkarpov15))
-   [#&#8203;3684](https://togithub.com/mochajs/mocha/issues/3684): Fix exiting problem in Node.js v11.7.0+ ([**@&#8203;addaleax**](https://togithub.com/addaleax))
-   [#&#8203;3691](https://togithub.com/mochajs/mocha/issues/3691): Fix `--delay` (and other boolean options) not working in all cases ([**@&#8203;boneskull**](https://togithub.com/boneskull))
-   [#&#8203;3692](https://togithub.com/mochajs/mocha/issues/3692): Fix invalid command-line argument usage not causing actual errors ([**@&#8203;boneskull**](https://togithub.com/boneskull))
-   [#&#8203;3698](https://togithub.com/mochajs/mocha/issues/3698), [#&#8203;3699](https://togithub.com/mochajs/mocha/issues/3699): Fix debug-related Node.js options not working in all cases ([**@&#8203;boneskull**](https://togithub.com/boneskull))
-   [#&#8203;3700](https://togithub.com/mochajs/mocha/issues/3700): Growl notifications now show the correct number of tests run ([**@&#8203;outsideris**](https://togithub.com/outsideris))
-   [#&#8203;3686](https://togithub.com/mochajs/mocha/issues/3686): Avoid potential ReDoS when diffing large objects ([**@&#8203;cyjake**](https://togithub.com/cyjake))
-   [#&#8203;3715](https://togithub.com/mochajs/mocha/issues/3715): Fix incorrect order of emitted events when used programmatically ([**@&#8203;boneskull**](https://togithub.com/boneskull))
-   [#&#8203;3706](https://togithub.com/mochajs/mocha/issues/3706): Fix regression wherein `--reporter-option`/`--reporter-options` did not support comma-separated key/value pairs ([**@&#8203;boneskull**](https://togithub.com/boneskull))

#### 📖 Documentation

-   [#&#8203;3652](https://togithub.com/mochajs/mocha/issues/3652): Switch from Jekyll to Eleventy ([**@&#8203;Munter**](https://togithub.com/Munter))

#### 🔩 Other

-   [#&#8203;3677](https://togithub.com/mochajs/mocha/issues/3677): Add error objects for createUnsupportedError and createInvalidExceptionError ([**@&#8203;boneskull**](https://togithub.com/boneskull))
-   [#&#8203;3733](https://togithub.com/mochajs/mocha/issues/3733): Removed unnecessary processing in post-processing hook ([**@&#8203;wanseob**](https://togithub.com/wanseob))
-   [#&#8203;3730](https://togithub.com/mochajs/mocha/issues/3730): Update nyc to latest version ([**@&#8203;coreyfarrell**](https://togithub.com/coreyfarrell))
-   [#&#8203;3648](https://togithub.com/mochajs/mocha/issues/3648), [#&#8203;3680](https://togithub.com/mochajs/mocha/issues/3680): Fixes to support latest versions of [unexpected](https://npm.im/unexpected) and [unexpected-sinon](https://npm.im/unexpected-sinon) ([**@&#8203;sunesimonsen**](https://togithub.com/sunesimonsen))
-   [#&#8203;3638](https://togithub.com/mochajs/mocha/issues/3638): Add meta tag to site ([**@&#8203;MartijnCuppens**](https://togithub.com/MartijnCuppens))
-   [#&#8203;3653](https://togithub.com/mochajs/mocha/issues/3653): Fix parts of test suite failing to run on Windows ([**@&#8203;boneskull**](https://togithub.com/boneskull))

</details>

---

### Renovate configuration

:date: **Schedule**: "after 9am and before 3pm" (UTC).

:vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

:recycle: **Rebasing**: Whenever PR is stale, or if you modify the PR title to begin with "`rebase!`".

:no_bell: **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- renovate-rebase -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://togithub.com/marketplace/renovate). View repository job log [here](https://renovatebot.com/dashboard#googleapis/nodejs-asset).

#109 automerged by dpebot
@JustinBeckwith Ace Nassri
Release v0.2.1 (#117)
6397357
@jkwlui Ace Nassri
Release @google-cloud/asset v0.3.0 (#121)
fe0a166
* Release v0.3.0

* Update CHANGELOG.md
@JustinBeckwith Ace Nassri
refactor: use execSync for tests (#127)
03b3d4d
@yoshi-automation Ace Nassri
feat: introduces 'expression text', deprecates version field (#143)
b76124d
@JustinBeckwith Ace Nassri
docs: use repo-meta to generate README (#130)
7514b4e
@github-actions Ace Nassri
chore: release 1.0.0 (#146)
e0ba3bc
@yoshi-automation Ace Nassri
chore: release 1.1.0 (#158)
fe497f6
* updated CHANGELOG.md

* updated package.json

* updated samples/package.json
@yoshi-automation Ace Nassri
chore: release 1.1.1 (#161)
833ff54
* updated CHANGELOG.md

* updated package.json

* updated samples/package.json
@yoshi-automation Ace Nassri
chore: release 1.1.2 (#164)
bcad0fb
* updated CHANGELOG.md [ci skip]

* updated package.json [ci skip]

* updated samples/package.json [ci skip]
Benjamin E. Coe and others added 22 commits November 17, 2022 10:53
Benjamin E. Coe Ace Nassri
test: extend timeout for flaky tests (#567)
aaff031
@release-please Ace Nassri
chore: release 3.20.0 (#570)
f0b7f00
🤖 I have created a release \*beep\* \*boop\*
---
## [3.20.0](https://www.github.com/googleapis/nodejs-asset/compare/v3.19.0...v3.20.0) (2021-10-19)


### Features

* Update osconfig v1 and v1alpha RecurringSchedule.Frequency with DAILY frequency ([#569](https://www.github.com/googleapis/nodejs-asset/issues/569)) ([af03fd5](https://www.github.com/googleapis/nodejs-asset/commit/af03fd5c4fba4a258acf4c0332991bcb619fa10b))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
@release-please Ace Nassri
chore: release 3.21.0 (#576)
8b3f91c
🤖 I have created a release \*beep\* \*boop\*
---
## [3.21.0](https://www.github.com/googleapis/nodejs-asset/compare/v3.20.0...v3.21.0) (2021-11-09)


### Features

* OSConfig: add OS policy assignment rpcs ([#574](https://www.github.com/googleapis/nodejs-asset/issues/574)) ([ff9491d](https://www.github.com/googleapis/nodejs-asset/commit/ff9491d55bd527c451914b487ce08fed3068dbd8))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
@release-please Ace Nassri
chore: release 3.22.0 (#579)
f99111b
🤖 I have created a release \*beep\* \*boop\*
---
## [3.22.0](https://www.github.com/googleapis/nodejs-asset/compare/v3.21.0...v3.22.0) (2021-11-12)


### Features

* Update OSConfig API ([#578](https://www.github.com/googleapis/nodejs-asset/issues/578)) ([8af0ac8](https://www.github.com/googleapis/nodejs-asset/commit/8af0ac8a915b8b72d379b4e2a14c888ef98dfcf1))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
@peter-zheng-g Ace Nassri
samples: Move sample code end tag to the correct line for GetFeed (#583)
d5d79a4
@release-please Ace Nassri
chore(main): release 3.23.0 (#603)
0176b55
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
@release-please Ace Nassri
chore(main): release 3.23.1 (#605)
a692cca
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
@alexander-fenster @gcf-owl-bot Ace Nassri
build!: update library to use Node 12 (#625)
c5ea9ad
* feat!: Update library to use Node 12

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
@alexander-fenster Ace Nassri
test: increase sample test timeout (#628)
ce5a172
@renovate-bot Ace Nassri
fix(deps): update dependency @google-cloud/bigquery to v6 (#630)
27ff366
@renovate-bot Ace Nassri
fix(deps): update dependency @google-cloud/storage to v6 (#629)
76d415f
@sofisl Ace Nassri
samples: fix compute test, update dependency to V3 (#634)
130f26b
* samples: fix compute test, update dependency to V3
@release-please @gcf-owl-bot
@sofisl Ace Nassri
chore(main): release 4.0.0 (#626)
e60c13a
* chore(main): release 4.0.0

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: sofisl <[email protected]>
@release-please Ace Nassri
chore(main): release 4.1.0 (#636)
a861295
🤖 I have created a release *beep* *boop*
---


## [4.1.0](googleapis/nodejs-asset@v4.0.0...v4.1.0) (2022-06-29)


### Features

* support regapic LRO ([#635](googleapis/nodejs-asset#635)) ([140ce9d](googleapis/nodejs-asset@140ce9d))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
@release-please @gcf-owl-bot Ace Nassri
chore(main): release 4.2.0 (#645)
1e20b1a
* chore(main): release 4.2.0

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
@aaronlichen-hp @gcf-owl-bot Ace Nassri
feat: add batchGetEffectiveIamPolicies sample code. (#654)
231b118
* feat: add batchGetEffectiveIamPolicies sample code.

Add batchGetEffectiveIamPolicies sample code and also lint the protobuf
imports.

* chore: fix the Copyright year for getBatchEffectiveIamPolicies.js

* chore: refactor logging and remove loop for checking results

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* chore: modify the logging to print nested Object.

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
@renovate-bot Ace Nassri
fix(deps): update dependency uuid to v9 (#657)
3eab51d
@release-please @gcf-owl-bot Ace Nassri
chore(main): release 4.3.0 (#652)
03272c7
* chore(main): release 4.3.0

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
@release-please Ace Nassri
chore(main): release 4.4.0 (#659)
d41974f
🤖 I have created a release *beep* *boop*
---


## [4.4.0](googleapis/nodejs-asset@v4.3.0...v4.4.0) (2022-09-22)


### Features

* Add client library support for AssetService v1 SavedQuery APIs ([#662](googleapis/nodejs-asset#662)) ([68c8ece](googleapis/nodejs-asset@68c8ece))


### Bug Fixes

* Preserve default values in x-goog-request-params header ([#658](googleapis/nodejs-asset#658)) ([e351ed1](googleapis/nodejs-asset@e351ed1))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
@release-please @gcf-owl-bot Ace Nassri
chore(main): release 4.5.0 (#671)
dec876b
* chore(main): release 4.5.0

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Ahrar Monsur Ace Nassri
Adds workflows config for nodejs-asset
2b46d8c
Ahrar Monsur Ace Nassri
Removes workflow for asset samples to unblock CI failing due to badly…
0fab9fe
… written tests
@ace-n
ace-n force-pushed the nodejs-asset-migration branch from a82dc87 to 0fab9fe Compare November 17, 2022 18:53
ace-n
ace-n suggested changes Nov 17, 2022
View reviewed changes

@ace-n ace-n left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should these files be in asset/snippets/, or the asset directory itself?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread asset/snippets/test/samples.test.js
@@ -0,0 +1,262 @@
// Copyright 2021 Google LLC

@ace-n ace-n Nov 17, 2022

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you mean to include this file?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@ahrarmonsur ahrarmonsur Nov 17, 2022

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This singular test file includes not just the quickstart tests, but tests for all the other samples, as well. They are run sequentially.

I included it in the migration, so that when the language maintainers address the GH issue I created (#2864), they would have the body of the individual tests already and could use their best judgment to modify them as needed to decompose into separate test files. At that point, I imagine the samples.test.js will be deleted.

I figure inclusion of this file here is acceptable tech debt for the migration. Since @sofisl already discarded most of the tests for her migration to google-cloud-node, I didn't want to lose it in the migration/archival process.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

ace-n reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

@ahrarmonsur ahrarmonsur Nov 17, 2022

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To address your other comment about migration destination:
i (and I believe most others) are following the example set in the migration guide, written by @grayside. You can see here that the samples end up <product>/snippets:
https://docs.google.com/document/d/1YhpsM5ylBFDunRsd-Vq7pHRNUz3uh9TUbOkJOZwCmOk/edit?resourcekey=0--XOS_x8NmzOS8_Qws-Qsug#bookmark=kix.z1viwa6f4215

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

ace-n reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@ahrarmonsur
ahrarmonsur requested a review from ace-n November 17, 2022 19:46
@ahrarmonsur
Merge branch 'main' into nodejs-asset-migration
96531f0
ace-n
ace-n approved these changes Nov 17, 2022
View reviewed changes

@ace-n ace-n left a comment •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Omitting the snippets directory feels cleaner to me, but IMO it's not worth creating a new PR.

LGTM. ✅

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@ahrarmonsur
Merge branch 'main' into nodejs-asset-migration
430d47d
@ahrarmonsur
ahrarmonsur merged commit 47773ed into main Nov 18, 2022
@ahrarmonsur
ahrarmonsur deleted the nodejs-asset-migration branch November 18, 2022 03:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer
@ace-n ace-n ace-n approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

samples Issues that are directly related to samples.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

16 participants

@ahrarmonsur @ace-n @jkwlui @JustinBeckwith @peter-zheng-g @nareshqlogic @yoshi-automation @renovate-bot @cwxie-google @yuyifan-google @Larittic-GG @donghez-google @lvvvvvf @alexander-fenster @sofisl @aaronlichen-hp
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.