Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

migrate code from googleapis/nodejs-bigquery-reservation #3413

Merged
merged 109 commits into from
Oct 13, 2022
Merged
Changes from 1 commit
Commits
Show all changes
109 commits
Select commit Hold shift + click to select a range
6c971df
chore: add initial files for launch
steffnay Jun 18, 2020
fc3c039
feat: generate v1 of the API (#2)
steffnay Jul 14, 2020
d694e0d
chore: release 1.0.0 (#3)
release-please[bot] Jul 14, 2020
98167ac
chore(deps): update dependency mocha to v8 (#4)
renovate-bot Jul 15, 2020
6aab1fb
chore: add dev dependencies for cloud-rad ref docs (#8)
fhinkel Jul 21, 2020
faf9e8e
chore(deps): update dependency ts-loader to v8 (#5)
renovate-bot Jul 22, 2020
e916625
build: use the latest build and docs config (#13)
steffnay Sep 10, 2020
c403694
chore: start tracking obsolete files (#14)
yoshi-automation Sep 11, 2020
587a0a1
build(test): recursively find test files; fail on unsupported depende…
yoshi-automation Sep 12, 2020
aaa62ed
chore: update bucket for cloud-rad (#17)
yoshi-automation Oct 1, 2020
ddae235
build(node_library): migrate to Trampoline V2 (#18)
yoshi-automation Oct 5, 2020
cd9c8f1
chore(deps): update dependency webpack-cli to v4 (#21)
renovate-bot Oct 12, 2020
d6dd316
chore(deps): update dependency webpack to v5 (#20)
renovate-bot Oct 14, 2020
2a08da7
build: only check --engine-strict for production deps (#22)
yoshi-automation Oct 16, 2020
35ba3d5
chore: clean up Node.js TOC for cloud-rad (#23)
yoshi-automation Oct 21, 2020
d8c4391
docs: updated code of conduct (includes update to actions) (#26)
yoshi-automation Oct 27, 2020
89380fb
build(node): add KOKORO_BUILD_ARTIFACTS_SUBDIR to env (#27)
yoshi-automation Nov 2, 2020
9235c15
fix: do not modify options object, use defaultScopes (#28)
alexander-fenster Nov 6, 2020
71ca7a8
chore: release 1.0.1 (#29)
release-please[bot] Nov 16, 2020
96a2749
fix(browser): check for fetch on window
yoshi-automation Nov 23, 2020
a626c6c
build: stop tracking generated files
yoshi-automation Nov 24, 2020
ab833f9
docs: spelling correction for "targetting" (#36)
yoshi-automation Nov 25, 2020
ed10c1d
chore: release 1.0.2 (#34)
release-please[bot] Nov 30, 2020
00cc4f1
fix(deps): roll back dependency @google-cloud/bigquery-reservation to…
renovate-bot Dec 1, 2020
fb4cb01
chore: generate GAPIC metadata JSON file (#39)
yoshi-automation Dec 4, 2020
4270434
docs: add instructions for authenticating for system tests (#41)
yoshi-automation Dec 22, 2020
e0301e1
chore: update license headers (#42)
yoshi-automation Jan 2, 2021
7f65a4a
feat: introduce style enumeration (#43)
yoshi-automation Jan 9, 2021
cef0d43
chore: release 1.1.0 (#44)
release-please[bot] Jan 12, 2021
512d36d
refactor(nodejs): move build cop to flakybot (#46)
yoshi-automation Jan 27, 2021
2e0bfd9
chore: update CODEOWNERS config (#47)
JustinBeckwith Feb 3, 2021
c0f0051
build: adds UNORDERED_LIST enum (#48)
yoshi-automation Feb 4, 2021
3bf0d7d
build: update gapic-generator-typescript to v1.2.10. (#49)
yoshi-automation Mar 7, 2021
8583177
chore(deps): update dependency sinon to v10 (#50)
renovate-bot Mar 23, 2021
a504596
chore: migrate to owl bot (#51)
SurferJeffAtGoogle Apr 2, 2021
bd4509c
chore(deps): update dependency @types/sinon to v10 (#55)
renovate-bot Apr 14, 2021
3acbebd
fix(deps): require google-gax v2.12.0 (#64)
alexander-fenster May 7, 2021
9ccc7f9
chore: new owl bot post processor docker image (#66)
gcf-owl-bot[bot] May 10, 2021
0b5186c
fix: use require() to load JSON protos (#67)
gcf-owl-bot[bot] May 11, 2021
0d03351
chore: update gapic-generator-typescript to v1.3.2 (#68)
gcf-owl-bot[bot] May 11, 2021
714686a
chore: release 1.1.1 (#65)
release-please[bot] May 13, 2021
7f269b8
chore(deps): update dependency sinon to v11 (#71)
renovate-bot May 25, 2021
e6cda03
fix: GoogleAdsError missing using generator version after 1.3.0 (#72)
gcf-owl-bot[bot] May 25, 2021
9554cdc
chore: release 1.1.2 (#73)
release-please[bot] Jun 7, 2021
d7f5b51
chore(nodejs): remove api-extractor dependencies (#78)
fhinkel Jun 10, 2021
182c086
fix: make request optional in all cases (#80)
gcf-owl-bot[bot] Jun 22, 2021
bf2afdb
chore: release 1.1.3 (#81)
release-please[bot] Jun 25, 2021
b64b1a8
fix(deps): google-gax v2.17.0 with mTLS (#84)
bcoe Jun 30, 2021
1243732
chore: release 1.1.4 (#86)
release-please[bot] Jun 30, 2021
80d7f0e
fix(deps): google-gax v2.17.1 (#87)
bcoe Jul 12, 2021
925aa5d
chore: release 1.1.5 (#88)
release-please[bot] Jul 12, 2021
94b9595
fix: Updating WORKSPACE files to use the newest version of the Typesc…
gcf-owl-bot[bot] Jul 16, 2021
7d5fb23
chore: release 1.1.6 (#90)
release-please[bot] Jul 21, 2021
006f7d7
chore(nodejs): update client ref docs link in metadata (#95)
fhinkel Aug 4, 2021
1932bf7
fix(build): migrate to using main branch (#97)
sofisl Aug 11, 2021
e041f83
fix(deps): google-gax v2.24.1 (#99)
bcoe Aug 17, 2021
0a92eb8
feat: turns on self-signed JWT feature flag (#100)
gcf-owl-bot[bot] Aug 23, 2021
b81cbb2
chore: release 1.2.0 (#101)
release-please[bot] Aug 23, 2021
4a2af67
feat: Deprecated SearchAssignments in favor of SearchAllAssignments
gcf-owl-bot[bot] Sep 1, 2021
125de60
chore: release 1.3.0 (#104)
release-please[bot] Sep 1, 2021
6066cc4
docs(samples): add auto-generated samples for Node with api short nam…
gcf-owl-bot[bot] Oct 5, 2021
5a1da24
build(node): update deps used during postprocessing (#1243) (#112)
gcf-owl-bot[bot] Oct 14, 2021
c4abaf3
chore(cloud-rad): delete api-extractor config (#113)
fhinkel Oct 27, 2021
9ff267e
chore: fix the wrong post processor image (#115)
Oct 27, 2021
11c8193
chore(deps): update dependency @types/node to v16 (#114)
renovate-bot Oct 27, 2021
b7ff1aa
chore(deps): update dependency sinon to v12 (#116)
renovate-bot Nov 4, 2021
f86258c
docs(samples): add example tags to generated samples (#117)
gcf-owl-bot[bot] Nov 12, 2021
b2922e0
build: add generated samples to .eslintignore (#118)
gcf-owl-bot[bot] Dec 10, 2021
5723ef3
docs(node): support "stable"/"preview" release level (#1312) (#122)
gcf-owl-bot[bot] Dec 29, 2021
f890b80
feat: increase the logical timeout (retry deadline) to 5 minutes (#120)
gcf-owl-bot[bot] Dec 30, 2021
3a806c0
chore: release 1.4.0 (#123)
release-please[bot] Dec 30, 2021
3dc11c5
docs(badges): tweak badge to use new preview/stable language (#1314) …
gcf-owl-bot[bot] Dec 30, 2021
1381e76
chore: add api_shortname and library_type to repo metadata (#121)
parthea Dec 30, 2021
c5b0dab
test(nodejs): remove 15 add 16 (#1322) (#126)
gcf-owl-bot[bot] Jan 11, 2022
fb695a6
chore: update v2.12.0 gapic-generator-typescript (#132)
gcf-owl-bot[bot] Jan 27, 2022
4ed6312
chore(deps): update dependency sinon to v13 (#134)
renovate-bot Feb 2, 2022
0374478
docs(nodejs): version support policy edits (#1346) (#136)
gcf-owl-bot[bot] Feb 3, 2022
16baed4
docs(samples): include metadata file, add exclusions for samples to h…
gcf-owl-bot[bot] Feb 18, 2022
ad8896d
chore(deps): update dependency gts to v3 (#127)
renovate-bot Mar 7, 2022
b1a310c
chore: update v2.14.2 gapic-generator-typescript (#141)
gcf-owl-bot[bot] Mar 17, 2022
9233e42
docs: cleanup and clarifications (#147)
gcf-owl-bot[bot] Apr 11, 2022
6ea340a
build(node): update client library version in samples metadata (#1356…
gcf-owl-bot[bot] Apr 21, 2022
3e729eb
chore(deps): update dependency @types/mocha to v9 (#151)
renovate-bot May 3, 2022
fb48568
chore(deps): update dependency sinon to v14 (#154)
renovate-bot May 9, 2022
4180214
build!: update library to use Node 12 (#155)
sofisl May 20, 2022
8f79eb4
chore(main): release 2.0.0 (#157)
release-please[bot] Jun 9, 2022
6cd35c4
chore(deps): update dependency jsdoc-region-tag to v2 (#160)
renovate-bot Jun 10, 2022
b6eca07
chore(deps): update dependency jsdoc-fresh to v2 (#159)
renovate-bot Jun 10, 2022
4bff301
fix(docs): document fallback rest option (#161)
gcf-owl-bot[bot] Jun 30, 2022
9dba218
chore(deps): update dependency linkinator to v4 (#164)
renovate-bot Jul 8, 2022
18b0ff9
fix: better support for fallback mode (#165)
gcf-owl-bot[bot] Aug 23, 2022
0063894
fix: change import long to require (#166)
gcf-owl-bot[bot] Aug 23, 2022
81565d5
fix: do not import the whole google-gax from proto JS (#1553) (#168)
gcf-owl-bot[bot] Aug 27, 2022
32cd939
fix: allow passing gax instance to client constructor (#169)
gcf-owl-bot[bot] Sep 1, 2022
d68b688
chore(main): release 2.0.1 (#162)
release-please[bot] Sep 7, 2022
9790641
fix: preserve default values in x-goog-request-params header (#170)
gcf-owl-bot[bot] Sep 14, 2022
d47d6d1
build: use fully qualified request type name in tests (#173)
gcf-owl-bot[bot] Sep 22, 2022
652f3ac
chore(main): release 2.0.2 (#171)
release-please[bot] Sep 26, 2022
e799216
Merge remote-tracking branch 'migration/main' into nodejs-bigquery-re…
sofisl Oct 13, 2022
3d4fd5c
build: add release-please config, fix owlbot-config
sofisl Oct 13, 2022
9f98f12
Update quickstart.js
sofisl Oct 13, 2022
9c88b4d
run lint
sofisl Oct 13, 2022
9405057
Update quickstart.js
sofisl Oct 13, 2022
7db26df
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] Oct 13, 2022
c7a97dc
Merge branch 'nodejs-bigquery-reservation-migration' of https://githu…
gcf-owl-bot[bot] Oct 13, 2022
ce9f7b7
run lint
sofisl Oct 13, 2022
d5f1553
Merge branch 'main' into nodejs-bigquery-reservation-migration
sofisl Oct 13, 2022
fd68be3
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] Oct 13, 2022
4dc059a
Merge branch 'main' into nodejs-bigquery-reservation-migration
sofisl Oct 13, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update quickstart.js
  • Loading branch information
sofisl authored Oct 13, 2022
commit 9f98f129f74df607405949f25f4c3a3a921e5382
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,19 @@

const {assert} = require('chai');
const cp = require('child_process');
const {describe, it} = require('mocha');

const {before, describe, it} = require('mocha');
const {ReservationServiceClient} = require('@google-cloud/bigquery-reservation');
const client = new ReservationServiceClient();
const execSync = cmd => cp.execSync(cmd, {encoding: 'utf-8'});

const project = process.env.GCLOUD_PROJECT;

describe('Quickstart', () => {
let projectId;
before(() => {
projectId = client.getProjectId();
});

it('should run quickstart', async () => {
const stdout = execSync(`node ./quickstart.js ${project}`);
assert.match(stdout, /found [0-9]+ reservations/);
Expand Down