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-eventarc #3587

Merged
merged 68 commits into from
Nov 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
31ae1a6
feat: initial stub of library
bcoe Jun 30, 2021
65f53ea
feat!: initial generation of library (#1)
bcoe Jul 9, 2021
4b4d3c4
docs: remove unused comments (#3)
bcoe Jul 9, 2021
c213674
chore: release 1.0.0 (#2)
release-please[bot] Jul 9, 2021
1aa5f91
chore(deps): update dependency sinon to v11 (#6)
renovate-bot Jul 10, 2021
b49a71e
fix(deps): google-gax v2.17.1 (#7)
bcoe Jul 12, 2021
b9a0a29
chore: release 1.0.1 (#8)
release-please[bot] Jul 12, 2021
9bf473c
fix: Updating WORKSPACE files to use the newest version of the Typesc…
gcf-owl-bot[bot] Jul 16, 2021
e9e61ab
chore: release 1.0.2 (#10)
release-please[bot] Jul 21, 2021
bffa2b5
chore(nodejs): update client ref docs link in metadata (#15)
fhinkel Aug 4, 2021
666e32a
fix(deps): google-gax v2.24.1 (#18)
bcoe Aug 17, 2021
570a6fb
chore: release 1.0.3 (#19)
release-please[bot] Aug 17, 2021
2077dba
feat: turns on self-signed JWT feature flag (#20)
gcf-owl-bot[bot] Aug 23, 2021
eb3ab9c
chore: release 1.1.0 (#21)
release-please[bot] Aug 23, 2021
6fbc319
chore: disable renovate dependency dashboard (#1194) (#22)
gcf-owl-bot[bot] Aug 25, 2021
60161fc
chore: release 1.1.1 (#23)
release-please[bot] Sep 7, 2021
1f70af8
chore: relocate owl bot post processor (#26)
SurferJeffAtGoogle Sep 21, 2021
aca098b
docs(samples): add auto-generated Node samples (#28)
gcf-owl-bot[bot] Sep 27, 2021
ec68add
fix: flag module as GA (#25)
JustinBeckwith Sep 27, 2021
745ee19
chore: release 1.1.2 (#29)
release-please[bot] Sep 27, 2021
dcbce61
build(node): update deps used during postprocessing (#1243) (#32)
gcf-owl-bot[bot] Oct 14, 2021
80e7a5c
chore(deps): update dependency @types/node to v16 (#33)
renovate-bot Oct 26, 2021
f29efcf
chore(deps): update dependency sinon to v12 (#34)
renovate-bot Nov 4, 2021
ea31844
docs(samples): add example tags to generated samples (#35)
gcf-owl-bot[bot] Nov 12, 2021
57cb737
build: add generated samples to .eslintignore (#36)
gcf-owl-bot[bot] Dec 10, 2021
b2b379e
meta: do not publish eventarc publishing proto (should be its own lib…
gcf-owl-bot[bot] Dec 20, 2021
89025e9
docs(node): support "stable"/"preview" release level (#1312) (#40)
gcf-owl-bot[bot] Dec 29, 2021
05b9e68
docs(badges): tweak badge to use new preview/stable language (#1314) …
gcf-owl-bot[bot] Dec 30, 2021
fb4a055
chore: add api_shortname and library_type to repo metadata (#39)
parthea Dec 31, 2021
f85b035
test(nodejs): remove 15 add 16 (#1322) (#43)
gcf-owl-bot[bot] Jan 11, 2022
907ce3b
chore: add codeowners (#47)
dinagraves Jan 20, 2022
5385c05
build: update copyright year to 2022 (#45)
gcf-owl-bot[bot] Jan 20, 2022
3e54a15
chore: update v2.12.0 gapic-generator-typescript (#48)
gcf-owl-bot[bot] Jan 27, 2022
dbee0ef
chore(deps): update dependency sinon to v13 (#50)
renovate-bot Feb 2, 2022
f560107
docs(nodejs): version support policy edits (#1346) (#53)
gcf-owl-bot[bot] Feb 3, 2022
056dad0
feat: Add Channel and ChannelConnection resources (#51)
gcf-owl-bot[bot] Feb 14, 2022
d83ca13
chore(main): release 1.2.0 (#54)
release-please[bot] Feb 14, 2022
0e68104
docs(samples): include metadata file, add exclusions for samples to h…
gcf-owl-bot[bot] Feb 18, 2022
8e8a4bd
chore: update v2.14.2 gapic-generator-typescript (#59)
gcf-owl-bot[bot] Mar 16, 2022
0d66a29
build(node): update client library version in samples metadata (#1356…
gcf-owl-bot[bot] Apr 21, 2022
d144481
chore(deps): update dependency @types/mocha to v9 (#67)
renovate-bot May 3, 2022
720de39
chore: remove unused imports (#69)
gcf-owl-bot[bot] May 6, 2022
51897c2
chore(deps): update dependency sinon to v14 (#71)
renovate-bot May 9, 2022
9d733da
build!: update library to use Node 12 (#73)
sofisl May 19, 2022
3fd92fe
feat: Add Provider resources (#75)
gcf-owl-bot[bot] May 20, 2022
b5864f6
chore(main): release 2.0.0 (#74)
release-please[bot] May 26, 2022
5307acc
chore(deps): update dependency jsdoc-fresh to v2 (#77)
renovate-bot Jun 10, 2022
4ceb44b
chore(deps): update dependency jsdoc-region-tag to v2 (#78)
renovate-bot Jun 10, 2022
e26b813
feat: support regapic LRO (#79)
gcf-owl-bot[bot] Jun 30, 2022
0cacbf0
chore(main): release 2.1.0 (#80)
release-please[bot] Jun 30, 2022
866e0b9
chore(deps): update dependency linkinator to v4 (#84)
renovate-bot Jul 7, 2022
32aed45
fix: better support for fallback mode (#87)
gcf-owl-bot[bot] Aug 23, 2022
18583b6
fix: change import long to require (#89)
gcf-owl-bot[bot] Aug 23, 2022
b7e0088
fix: do not import the whole google-gax from proto JS (#1553) (#93)
gcf-owl-bot[bot] Aug 27, 2022
e3d969f
fix: allow passing gax instance to client constructor (#94)
gcf-owl-bot[bot] Sep 1, 2022
354838e
chore(main): release 2.1.1 (#90)
release-please[bot] Sep 7, 2022
79752c7
fix: preserve default values in x-goog-request-params header (#97)
gcf-owl-bot[bot] Sep 14, 2022
409413e
test: use fully qualified request type name in tests (#100)
gcf-owl-bot[bot] Sep 23, 2022
1e9c3dc
fix(deps): use google-gax v3.5.2 (#104)
alexander-fenster Nov 4, 2022
4b0eee3
chore(deps): update dependency @types/node to v18 (#102)
renovate-bot Nov 10, 2022
0927614
chore(deps): update dependency jsdoc to v4 (#106)
renovate-bot Nov 10, 2022
67521d4
fix: regenerated protos JS and TS definitions (#107)
gcf-owl-bot[bot] Nov 11, 2022
52ed0eb
feat: Add CMEK support to Eventarc client library (#108)
gcf-owl-bot[bot] Nov 11, 2022
6d2c5c3
chore(main): release 2.2.0 (#98)
release-please[bot] Nov 11, 2022
977dca1
Merge remote-tracking branch 'migration/main' into nodejs-eventarc-mi…
sofisl Nov 11, 2022
ffa8668
build: add release-please config, fix owlbot-config
sofisl Nov 11, 2022
ca3bcdd
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] Nov 11, 2022
614a193
Merge branch 'main' into nodejs-eventarc-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 @@ -29,6 +29,7 @@
"packages/google-cloud-deploy": "2.2.2",
"packages/google-cloud-dialogflow": "5.3.0",
"packages/google-cloud-discoveryengine": "0.2.0",
"packages/google-cloud-eventarc": "2.2.0",
"packages/google-cloud-domains": "2.1.2",
"packages/google-cloud-gaming": "3.1.3",
"packages/google-cloud-functions": "2.2.3",
Expand Down
20 changes: 20 additions & 0 deletions packages/google-cloud-eventarc/.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/eventarc/(v.*)/.*-nodejs
dest: /owl-bot-staging/google-cloud-eventarc/$1
7 changes: 7 additions & 0 deletions packages/google-cloud-eventarc/.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-eventarc/.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-eventarc/.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-eventarc/.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-eventarc/.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/eventarc',
theme: 'lumen',
default: {
outputSourceFiles: false
}
},
markdown: {
idInHeadings: true
}
};
29 changes: 29 additions & 0 deletions packages/google-cloud-eventarc/.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-eventarc/.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-eventarc/.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-eventarc/.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')
}
17 changes: 17 additions & 0 deletions packages/google-cloud-eventarc/.repo-metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "eventarc",
"name_pretty": "Eventarc",
"product_documentation": "https://cloud.google.com/eventarc/",
"client_documentation": "https://cloud.google.com/nodejs/docs/reference/eventarc/latest",
"issue_tracker": "https://github.com/googleapis/google-cloud-node/issues",
"release_level": "stable",
"language": "nodejs",
"repo": "googleapis/google-cloud-node",
"distribution_name": "@google-cloud/eventarc",
"api_id": "eventarc.googleapis.com",
"default_version": "v1",
"requires_billing": true,
"api_shortname": "eventarc",
"library_type": "GAPIC_AUTO",
"codeowner_team": "@googleapis/aap-dpes"
}
110 changes: 110 additions & 0 deletions packages/google-cloud-eventarc/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
# Changelog

## [2.2.0](https://github.com/googleapis/nodejs-eventarc/compare/v2.1.1...v2.2.0) (2022-11-11)


### Features

* Add CMEK support to Eventarc client library ([#108](https://github.com/googleapis/nodejs-eventarc/issues/108)) ([dc3435d](https://github.com/googleapis/nodejs-eventarc/commit/dc3435d0aa624ad5e72acf84e82d38c056a1227f))


### Bug Fixes

* **deps:** Use google-gax v3.5.2 ([#104](https://github.com/googleapis/nodejs-eventarc/issues/104)) ([29fc837](https://github.com/googleapis/nodejs-eventarc/commit/29fc83738cf6e9a5e55baedd89b2ed03dc49f4b0))
* Preserve default values in x-goog-request-params header ([#97](https://github.com/googleapis/nodejs-eventarc/issues/97)) ([1a91d8e](https://github.com/googleapis/nodejs-eventarc/commit/1a91d8e7442d5336a862cb131b672d248a371aec))
* Regenerated protos JS and TS definitions ([#107](https://github.com/googleapis/nodejs-eventarc/issues/107)) ([00fb085](https://github.com/googleapis/nodejs-eventarc/commit/00fb0854e7ba4c477437d9221086dccb88756a5c))

## [2.1.1](https://github.com/googleapis/nodejs-eventarc/compare/v2.1.0...v2.1.1) (2022-09-01)


### Bug Fixes

* Allow passing gax instance to client constructor ([#94](https://github.com/googleapis/nodejs-eventarc/issues/94)) ([4510e6a](https://github.com/googleapis/nodejs-eventarc/commit/4510e6ae4129e391391a7dcf8a1d1ffdb32e5562))
* Better support for fallback mode ([#87](https://github.com/googleapis/nodejs-eventarc/issues/87)) ([b3d5dc0](https://github.com/googleapis/nodejs-eventarc/commit/b3d5dc00e6b3543c962a6ec105fce70472d0ed3c))
* Change import long to require ([#89](https://github.com/googleapis/nodejs-eventarc/issues/89)) ([6804ddf](https://github.com/googleapis/nodejs-eventarc/commit/6804ddf83e3df1d74a83db2a56ef23e934ef0cc7))
* Do not import the whole google-gax from proto JS ([#1553](https://github.com/googleapis/nodejs-eventarc/issues/1553)) ([#93](https://github.com/googleapis/nodejs-eventarc/issues/93)) ([3b133cd](https://github.com/googleapis/nodejs-eventarc/commit/3b133cdab07b4c302a1b9b48c897e8c4f8c6b3d9))
* Remove pip install statements ([#1546](https://github.com/googleapis/nodejs-eventarc/issues/1546)) ([#92](https://github.com/googleapis/nodejs-eventarc/issues/92)) ([4fccc50](https://github.com/googleapis/nodejs-eventarc/commit/4fccc5011cd9c4b22f16de3942eeba2313b08e46))

## [2.1.0](https://github.com/googleapis/nodejs-eventarc/compare/v2.0.0...v2.1.0) (2022-06-30)


### Features

* support regapic LRO ([#79](https://github.com/googleapis/nodejs-eventarc/issues/79)) ([dcdcd8a](https://github.com/googleapis/nodejs-eventarc/commit/dcdcd8ac2f282f4bbf373e803da88487c7a81f1d))

## [2.0.0](https://github.com/googleapis/nodejs-eventarc/compare/v1.2.0...v2.0.0) (2022-05-20)


### ⚠ BREAKING CHANGES

* update library to use Node 12 (#73)

### Features

* Add Provider resources ([#75](https://github.com/googleapis/nodejs-eventarc/issues/75)) ([ccda3a7](https://github.com/googleapis/nodejs-eventarc/commit/ccda3a7d2981b79cc692f8103c4f096ecc9fcf08))


### Build System

* update library to use Node 12 ([#73](https://github.com/googleapis/nodejs-eventarc/issues/73)) ([bd5c2a1](https://github.com/googleapis/nodejs-eventarc/commit/bd5c2a15758e5b387df663fcfa7cb2df1c416ebc))

## [1.2.0](https://github.com/googleapis/nodejs-eventarc/compare/v1.1.2...v1.2.0) (2022-02-14)


### Features

* Add Channel and ChannelConnection resources ([#51](https://github.com/googleapis/nodejs-eventarc/issues/51)) ([bfae8c3](https://github.com/googleapis/nodejs-eventarc/commit/bfae8c32b6a3d3dec9bab906777d0cfae962dab6))

### [1.1.2](https://www.github.com/googleapis/nodejs-eventarc/compare/v1.1.1...v1.1.2) (2021-09-27)


### Bug Fixes

* flag module as GA ([#25](https://www.github.com/googleapis/nodejs-eventarc/issues/25)) ([d918ba1](https://www.github.com/googleapis/nodejs-eventarc/commit/d918ba13ae87dbfca799b6136a0c31bc4c24cb71))

### [1.1.1](https://www.github.com/googleapis/nodejs-eventarc/compare/v1.1.0...v1.1.1) (2021-09-07)


### Bug Fixes

* **build:** migrate to using main branch ([#17](https://www.github.com/googleapis/nodejs-eventarc/issues/17)) ([f84f6ee](https://www.github.com/googleapis/nodejs-eventarc/commit/f84f6ee1aa8a86f8b78f0281c09ea3db388acfc1))

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


### Features

* turns on self-signed JWT feature flag ([#20](https://www.github.com/googleapis/nodejs-eventarc/issues/20)) ([32e7d47](https://www.github.com/googleapis/nodejs-eventarc/commit/32e7d47e695f6ea181ad40dd241c94ac218af6e0))

### [1.0.3](https://www.github.com/googleapis/nodejs-eventarc/compare/v1.0.2...v1.0.3) (2021-08-17)


### Bug Fixes

* **deps:** google-gax v2.24.1 ([#18](https://www.github.com/googleapis/nodejs-eventarc/issues/18)) ([b79618b](https://www.github.com/googleapis/nodejs-eventarc/commit/b79618b20957262678fa00c85203b045c6e34b63))

### [1.0.2](https://www.github.com/googleapis/nodejs-eventarc/compare/v1.0.1...v1.0.2) (2021-07-21)


### Bug Fixes

* Updating WORKSPACE files to use the newest version of the Typescript generator. ([#9](https://www.github.com/googleapis/nodejs-eventarc/issues/9)) ([8b5a101](https://www.github.com/googleapis/nodejs-eventarc/commit/8b5a101bc9c00aecdc387a93051e0b27b4dee121))

### [1.0.1](https://www.github.com/googleapis/nodejs-eventarc/compare/v1.0.0...v1.0.1) (2021-07-12)


### Bug Fixes

* **deps:** google-gax v2.17.1 ([#7](https://www.github.com/googleapis/nodejs-eventarc/issues/7)) ([462a712](https://www.github.com/googleapis/nodejs-eventarc/commit/462a712952481c1763908f094d493f3485ffc093))

## 1.0.0 (2021-07-09)


### ⚠ BREAKING CHANGES

* initial generation of library (#1)

### Features

* initial generation of library ([#1](https://www.github.com/googleapis/nodejs-eventarc/issues/1)) ([087c84e](https://www.github.com/googleapis/nodejs-eventarc/commit/087c84ebec0ee6f5e0ad277b0c488bfabbc73ffd))
* initial stub of library ([bda50f0](https://www.github.com/googleapis/nodejs-eventarc/commit/bda50f0b9ebe8d347f1e99b321dd4185e92ee982))
Loading