[go: nahoru, domu]

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-essential-contacts #3615

Merged
merged 71 commits into from
Nov 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
71 commits
Select commit Hold shift + click to select a range
9af8e16
initial generation of template files
sofisl May 15, 2021
72616a6
remove extraneous files
sofisl May 15, 2021
f9210a7
remove extraneous files
sofisl May 15, 2021
8d55c2f
feat: initial generation of tests and samples (#2)
sofisl Jun 1, 2021
7dda568
chore: release 1.0.0 (#5)
release-please[bot] Jun 2, 2021
7d08374
chore(deps): update dependency mocha to v8 (#6)
renovate-bot Jun 6, 2021
6926300
Update dependency sinon to v11 (#7)
renovate-bot Jun 8, 2021
74057d7
fix: GoogleAdsError missing using generator version after 1.3.0 (#3)
gcf-owl-bot[bot] Jun 10, 2021
57ae6a6
chore: release 1.0.1 (#13)
release-please[bot] Jun 10, 2021
7dca773
build: edit package name to match published version (#16)
gcf-owl-bot[bot] Jun 14, 2021
ade60c5
fix: make request optional in all cases (#17)
gcf-owl-bot[bot] Jun 23, 2021
2e3dfd0
chore: release 1.0.2 (#18)
release-please[bot] Jun 23, 2021
28f0d16
fix(deps): google-gax v2.17.0 with mTLS (#22)
bcoe Jun 29, 2021
3c11e82
chore: release 1.0.3 (#23)
release-please[bot] Jun 29, 2021
08e6e37
fix(deps): google-gax v2.17.1 (#26)
bcoe Jul 12, 2021
cb0e70b
chore: release 1.0.4 (#27)
release-please[bot] Jul 13, 2021
0fda258
fix: Updating WORKSPACE files to use the newest version of the Typesc…
gcf-owl-bot[bot] Jul 16, 2021
095f96c
chore: release 1.0.5 (#29)
release-please[bot] Jul 16, 2021
2dfeb01
chore: release 1.0.5 (#30)
release-please[bot] Jul 16, 2021
01eed97
chore(nodejs): update client ref docs link in metadata (#36)
fhinkel Aug 4, 2021
314238b
fix(build): migrate to using main branch (#38)
sofisl Aug 19, 2021
58f5692
fix(deps): google-gax v2.24.1 (#39)
bcoe Aug 19, 2021
10cdc4f
chore: release 1.0.6 (#40)
release-please[bot] Aug 19, 2021
223c35e
feat: turns on self-signed JWT feature flag (#41)
gcf-owl-bot[bot] Aug 23, 2021
bff3684
chore: release 1.1.0 (#42)
release-please[bot] Aug 23, 2021
57f254a
fix: flag module as GA (#44)
JustinBeckwith Aug 25, 2021
88f8824
chore: release 1.1.1 (#45)
release-please[bot] Aug 25, 2021
d8cdbb6
chore(deps): update dependency mocha to v9 (#47)
renovate-bot Aug 30, 2021
4aa1682
build(node): update deps used during postprocessing (#1243) (#54)
gcf-owl-bot[bot] Oct 14, 2021
8800711
chore: fix the wrong post processor image (#56)
Oct 27, 2021
926fea9
chore(deps): update dependency @types/node to v16 (#55)
renovate-bot Oct 27, 2021
0a62dec
chore(cloud-rad): delete api-extractor config (#57)
fhinkel Nov 3, 2021
eb422ee
chore(deps): update dependency sinon to v12 (#58)
renovate-bot Nov 4, 2021
270d38f
docs(samples): add example tags to generated samples (#59)
gcf-owl-bot[bot] Nov 12, 2021
1c6dcb2
build: add generated samples to .eslintignore (#60)
gcf-owl-bot[bot] Dec 10, 2021
c33a579
docs(node): support "stable"/"preview" release level (#1312) (#63)
gcf-owl-bot[bot] Dec 29, 2021
ed45bc9
chore: add api_shortname and library_type to repo metadata (#62)
parthea Dec 30, 2021
67540c7
docs(badges): tweak badge to use new preview/stable language (#1314) …
gcf-owl-bot[bot] Dec 30, 2021
d7f887a
test(nodejs): remove 15 add 16 (#1322) (#67)
gcf-owl-bot[bot] Jan 11, 2022
ea83848
build: update copyright year to 2022 (#69)
gcf-owl-bot[bot] Jan 20, 2022
968dd51
chore: update v2.12.0 gapic-generator-typescript (#71)
gcf-owl-bot[bot] Jan 27, 2022
8ca665f
chore(deps): update dependency sinon to v13 (#73)
renovate-bot Feb 2, 2022
198a0a2
docs(nodejs): version support policy edits (#1346) (#75)
gcf-owl-bot[bot] Feb 3, 2022
f10e8b0
docs(samples): include metadata file, add exclusions for samples to h…
gcf-owl-bot[bot] Feb 18, 2022
2f975d7
chore: update v2.14.2 gapic-generator-typescript (#80)
gcf-owl-bot[bot] Mar 16, 2022
4153474
build(node): update client library version in samples metadata (#1356…
gcf-owl-bot[bot] Apr 20, 2022
bd5bd9b
chore(deps): update dependency sinon to v14 (#90)
renovate-bot May 9, 2022
abedf68
build!: update library to use Node 12 (#92)
sofisl May 19, 2022
fcbf233
chore(main): release 2.0.0 (#93)
release-please[bot] Jun 6, 2022
fc52747
chore(deps): update dependency jsdoc-region-tag to v2 (#97)
renovate-bot Jun 10, 2022
24fe566
chore(deps): update dependency jsdoc-fresh to v2 (#96)
renovate-bot Jun 10, 2022
b865cf9
fix(docs): describe fallback rest option (#98)
gcf-owl-bot[bot] Jun 30, 2022
1fe15e8
chore(main): release 2.0.1 (#99)
release-please[bot] Jun 30, 2022
2c55ebe
chore(deps): update dependency linkinator to v4 (#104)
renovate-bot Jul 12, 2022
eccee7d
fix: better support for fallback mode (#105)
gcf-owl-bot[bot] Aug 23, 2022
c415403
fix: change import long to require (#106)
gcf-owl-bot[bot] Aug 23, 2022
2a2b830
fix: do not import the whole google-gax from proto JS (#1553) (#109)
gcf-owl-bot[bot] Aug 27, 2022
c8de428
fix: allow passing gax instance to client constructor (#110)
gcf-owl-bot[bot] Sep 1, 2022
07c74bc
fix: preserve default values in x-goog-request-params header (#111)
gcf-owl-bot[bot] Sep 14, 2022
16add83
test: use fully qualified request type name in tests (#113)
gcf-owl-bot[bot] Sep 23, 2022
dba9673
fix(deps): use google-gax v3.5.2 (#117)
alexander-fenster Nov 4, 2022
b8b4d60
chore(deps): update dependency @types/node to v18 (#115)
renovate-bot Nov 10, 2022
78ed6b5
fix: regenerated protos JS and TS definitions (#120)
gcf-owl-bot[bot] Nov 11, 2022
eafb4b4
chore(deps): update dependency jsdoc to v4 (#119)
renovate-bot Nov 11, 2022
67b7d53
chore(main): release 2.0.2 (#107)
release-please[bot] Nov 11, 2022
6dd658d
Merge remote-tracking branch 'migration/main' into nodejs-essential-c…
sofisl Nov 11, 2022
c2153aa
build: add release-please config, fix owlbot-config
sofisl Nov 11, 2022
7041911
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] Nov 11, 2022
9e37395
samples: add test
sofisl Nov 12, 2022
f5c2d09
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] Nov 12, 2022
d893e5a
Merge branch 'main' into nodejs-essential-contacts-migration
sofisl Nov 12, 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
1 change: 1 addition & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
"packages/google-cloud-dialogflow-cx": "3.1.2",
"packages/google-cloud-dialogflow": "5.3.0",
"packages/google-cloud-discoveryengine": "0.2.0",
"packages/google-cloud-essentialcontacts": "2.0.2",
"packages/google-cloud-eventarc": "2.2.0",
"packages/google-cloud-domains": "2.1.2",
"packages/google-cloud-gaming": "3.1.3",
Expand Down
20 changes: 20 additions & 0 deletions packages/google-cloud-essentialcontacts/.OwlBot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Copyright 2021 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

deep-remove-regex:
- /owl-bot-staging

deep-copy-regex:
- source: /google/cloud/essentialcontacts/(.*)/.*-nodejs
dest: /owl-bot-staging/google-cloud-essentialcontacts/$1
7 changes: 7 additions & 0 deletions packages/google-cloud-essentialcontacts/.eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
**/node_modules
**/coverage
test/fixtures
build/
docs/
protos/
samples/generated/
3 changes: 3 additions & 0 deletions packages/google-cloud-essentialcontacts/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "./node_modules/gts"
}
4 changes: 4 additions & 0 deletions packages/google-cloud-essentialcontacts/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
*.ts text eol=lf
*.js text eol=lf
protos/* linguist-generated
**/api-extractor.json linguist-language=JSON-with-Comments
14 changes: 14 additions & 0 deletions packages/google-cloud-essentialcontacts/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
**/*.log
**/node_modules
.coverage
coverage
.nyc_output
docs/
out/
build/
system-test/secrets.js
system-test/*key.json
*.lock
.DS_Store
package-lock.json
__pycache__
55 changes: 55 additions & 0 deletions packages/google-cloud-essentialcontacts/.jsdoc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
// Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
// ** This file is automatically generated by gapic-generator-typescript. **
// ** https://github.com/googleapis/gapic-generator-typescript **
// ** All changes to this file may be overwritten. **

'use strict';

module.exports = {
opts: {
readme: './README.md',
package: './package.json',
template: './node_modules/jsdoc-fresh',
recurse: true,
verbose: true,
destination: './docs/'
},
plugins: [
'plugins/markdown',
'jsdoc-region-tag'
],
source: {
excludePattern: '(^|\\/|\\\\)[._]',
include: [
'build/src',
'protos'
],
includePattern: '\\.js$'
},
templates: {
copyright: 'Copyright 2022 Google LLC',
includeDate: false,
sourceFiles: false,
systemName: '@google-cloud/essential-contacts',
theme: 'lumen',
default: {
outputSourceFiles: false
}
},
markdown: {
idInHeadings: true
}
};
29 changes: 29 additions & 0 deletions packages/google-cloud-essentialcontacts/.mocharc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
// Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
const config = {
"enable-source-maps": true,
"throw-deprecation": true,
"timeout": 10000,
"recursive": true
}
if (process.env.MOCHA_THROW_DEPRECATION === 'false') {
delete config['throw-deprecation'];
}
if (process.env.MOCHA_REPORTER) {
config.reporter = process.env.MOCHA_REPORTER;
}
if (process.env.MOCHA_REPORTER_OUTPUT) {
config['reporter-option'] = `output=${process.env.MOCHA_REPORTER_OUTPUT}`;
}
module.exports = config
24 changes: 24 additions & 0 deletions packages/google-cloud-essentialcontacts/.nycrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"report-dir": "./.coverage",
"reporter": ["text", "lcov"],
"exclude": [
"**/*-test",
"**/.coverage",
"**/apis",
"**/benchmark",
"**/conformance",
"**/docs",
"**/samples",
"**/scripts",
"**/protos",
"**/test",
"**/*.d.ts",
".jsdoc.js",
"**/.jsdoc.js",
"karma.conf.js",
"webpack-tests.config.js",
"webpack.config.js"
],
"exclude-after-remap": false,
"all": true
}
6 changes: 6 additions & 0 deletions packages/google-cloud-essentialcontacts/.prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
**/node_modules
**/coverage
test/fixtures
build/
docs/
protos/
17 changes: 17 additions & 0 deletions packages/google-cloud-essentialcontacts/.prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

module.exports = {
...require('gts/.prettierrc.json')
}
16 changes: 16 additions & 0 deletions packages/google-cloud-essentialcontacts/.repo-metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"client_documentation": "https://cloud.google.com/nodejs/docs/reference/essential-contacts/latest",
"product_documentation": "https://cloud.google.com/resource-manager/docs/managing-notification-contacts/",
"name": "essentialcontacts",
"requires_billing": true,
"release_level": "stable",
"language": "nodejs",
"api_id": "essentialcontacts.googleapis.com",
"distribution_name": "@google-cloud/essential-contacts",
"repo": "googleapis/google-cloud-node",
"issue_tracker": "https://github.com/googleapis/google-cloud-node/issues",
"name_pretty": "Essential Contacts API",
"default_version": "v1",
"api_shortname": "essentialcontacts",
"library_type": "GAPIC_AUTO"
}
105 changes: 105 additions & 0 deletions packages/google-cloud-essentialcontacts/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
# Changelog

## [2.0.2](https://github.com/googleapis/nodejs-essential-contacts/compare/v2.0.1...v2.0.2) (2022-11-11)


### Bug Fixes

* Allow passing gax instance to client constructor ([#110](https://github.com/googleapis/nodejs-essential-contacts/issues/110)) ([fb3d596](https://github.com/googleapis/nodejs-essential-contacts/commit/fb3d596a8dee0ab338485a862955757cfbcd99c2))
* Better support for fallback mode ([#105](https://github.com/googleapis/nodejs-essential-contacts/issues/105)) ([c23259b](https://github.com/googleapis/nodejs-essential-contacts/commit/c23259b0a493e5bcdabf408902ffe16be76e7cb0))
* Change import long to require ([#106](https://github.com/googleapis/nodejs-essential-contacts/issues/106)) ([f009752](https://github.com/googleapis/nodejs-essential-contacts/commit/f009752ac7a8267ef6444fa9eb7338e70e6687d6))
* **deps:** Use google-gax v3.5.2 ([#117](https://github.com/googleapis/nodejs-essential-contacts/issues/117)) ([f90a6e7](https://github.com/googleapis/nodejs-essential-contacts/commit/f90a6e75af5c23754bf67bea1b8fd55c96a1330f))
* Do not import the whole google-gax from proto JS ([#1553](https://github.com/googleapis/nodejs-essential-contacts/issues/1553)) ([#109](https://github.com/googleapis/nodejs-essential-contacts/issues/109)) ([c7e8827](https://github.com/googleapis/nodejs-essential-contacts/commit/c7e8827859caa1c23bc38f43ca71cfe8d6784dfd))
* Preserve default values in x-goog-request-params header ([#111](https://github.com/googleapis/nodejs-essential-contacts/issues/111)) ([5074ba2](https://github.com/googleapis/nodejs-essential-contacts/commit/5074ba241d3e5ac5dc4a47ef7fc9cc3761f406cb))
* Regenerated protos JS and TS definitions ([#120](https://github.com/googleapis/nodejs-essential-contacts/issues/120)) ([4989df1](https://github.com/googleapis/nodejs-essential-contacts/commit/4989df17b1c7d0deb7907f7659b0fd2032833e8f))
* Remove pip install statements ([#1546](https://github.com/googleapis/nodejs-essential-contacts/issues/1546)) ([#108](https://github.com/googleapis/nodejs-essential-contacts/issues/108)) ([9fb4d1c](https://github.com/googleapis/nodejs-essential-contacts/commit/9fb4d1c253480086fe101cef0817874b313d076a))
* use google-gax v3.3.0 ([c7e8827](https://github.com/googleapis/nodejs-essential-contacts/commit/c7e8827859caa1c23bc38f43ca71cfe8d6784dfd))

## [2.0.1](https://github.com/googleapis/nodejs-essential-contacts/compare/v2.0.0...v2.0.1) (2022-06-30)


### Bug Fixes

* **docs:** describe fallback rest option ([#98](https://github.com/googleapis/nodejs-essential-contacts/issues/98)) ([1ed45c6](https://github.com/googleapis/nodejs-essential-contacts/commit/1ed45c6a2b197f7784e13857c481d097da96dc6d))

## [2.0.0](https://github.com/googleapis/nodejs-essential-contacts/compare/v1.1.1...v2.0.0) (2022-05-19)


### ⚠ BREAKING CHANGES

* update library to use Node 12 (#92)

### Build System

* update library to use Node 12 ([#92](https://github.com/googleapis/nodejs-essential-contacts/issues/92)) ([b819928](https://github.com/googleapis/nodejs-essential-contacts/commit/b819928b746a8a819080416da1b06b91f88b1f20))

### [1.1.1](https://www.github.com/googleapis/nodejs-essential-contacts/compare/v1.1.0...v1.1.1) (2021-08-25)


### Bug Fixes

* flag module as GA ([#44](https://www.github.com/googleapis/nodejs-essential-contacts/issues/44)) ([8d31c91](https://www.github.com/googleapis/nodejs-essential-contacts/commit/8d31c9125ca659842795a42c3cfae41d89ff4cb9))

## [1.1.0](https://www.github.com/googleapis/nodejs-essential-contacts/compare/v1.0.6...v1.1.0) (2021-08-23)


### Features

* turns on self-signed JWT feature flag ([#41](https://www.github.com/googleapis/nodejs-essential-contacts/issues/41)) ([1e65471](https://www.github.com/googleapis/nodejs-essential-contacts/commit/1e65471768b57b96bf7e669818be6f53d8e5e6fb))

### [1.0.6](https://www.github.com/googleapis/nodejs-essential-contacts/compare/v1.0.5...v1.0.6) (2021-08-19)


### Bug Fixes

* **build:** migrate to using main branch ([#38](https://www.github.com/googleapis/nodejs-essential-contacts/issues/38)) ([600a78b](https://www.github.com/googleapis/nodejs-essential-contacts/commit/600a78b7cae96dbb46f450eb9438b7551b847460))
* **deps:** google-gax v2.24.1 ([#39](https://www.github.com/googleapis/nodejs-essential-contacts/issues/39)) ([8b55dd2](https://www.github.com/googleapis/nodejs-essential-contacts/commit/8b55dd2bc7ef8ecac7aa3be4441ee46b965b0867))

### [1.0.5](https://www.github.com/googleapis/nodejs-essential-contacts/compare/v1.0.4...v1.0.5) (2021-07-16)


### Bug Fixes

* Updating WORKSPACE files to use the newest version of the Typescript generator. ([#28](https://www.github.com/googleapis/nodejs-essential-contacts/issues/28)) ([0f07b63](https://www.github.com/googleapis/nodejs-essential-contacts/commit/0f07b63f26176f1b6b4315443cfa1cddeb5cf6cd))

### [1.0.5](https://www.github.com/googleapis/nodejs-essential-contacts/compare/v1.0.4...v1.0.5) (2021-07-16)


### Bug Fixes

* Updating WORKSPACE files to use the newest version of the Typescript generator. ([#28](https://www.github.com/googleapis/nodejs-essential-contacts/issues/28)) ([0f07b63](https://www.github.com/googleapis/nodejs-essential-contacts/commit/0f07b63f26176f1b6b4315443cfa1cddeb5cf6cd))

### [1.0.4](https://www.github.com/googleapis/nodejs-essential-contacts/compare/v1.0.3...v1.0.4) (2021-07-12)


### Bug Fixes

* **deps:** google-gax v2.17.1 ([#26](https://www.github.com/googleapis/nodejs-essential-contacts/issues/26)) ([7c8d854](https://www.github.com/googleapis/nodejs-essential-contacts/commit/7c8d854efb7d0a04efbe6efdd62a5ca5f89d70e5))

### [1.0.3](https://www.github.com/googleapis/nodejs-essential-contacts/compare/v1.0.2...v1.0.3) (2021-06-29)


### Bug Fixes

* **deps:** google-gax v2.17.0 with mTLS ([#22](https://www.github.com/googleapis/nodejs-essential-contacts/issues/22)) ([144d0a1](https://www.github.com/googleapis/nodejs-essential-contacts/commit/144d0a1224adb7ffe6efcde45a48d9b751611b01))

### [1.0.2](https://www.github.com/googleapis/nodejs-essential-contacts/compare/v1.0.1...v1.0.2) (2021-06-23)


### Bug Fixes

* make request optional in all cases ([#17](https://www.github.com/googleapis/nodejs-essential-contacts/issues/17)) ([840d58f](https://www.github.com/googleapis/nodejs-essential-contacts/commit/840d58fcc2f9eaae3122005c9da47009836d04a3))

### [1.0.1](https://www.github.com/googleapis/nodejs-essential-contacts/compare/v1.0.0...v1.0.1) (2021-06-10)


### Bug Fixes

* GoogleAdsError missing using generator version after 1.3.0 ([#3](https://www.github.com/googleapis/nodejs-essential-contacts/issues/3)) ([9a52efb](https://www.github.com/googleapis/nodejs-essential-contacts/commit/9a52efb8e21da5407123bc03b9501db42d5b8071))

## 1.0.0 (2021-06-01)


### Features

* initial generation of tests and samples ([#2](https://www.github.com/googleapis/nodejs-essential-contacts/issues/2)) ([5649308](https://www.github.com/googleapis/nodejs-essential-contacts/commit/56493085095b7801dc0091665b1da830fb580040))
Loading