Skip to content

Commit

Permalink
Merge pull request #3581 from googleapis/nodejs-domains-migration
Browse files Browse the repository at this point in the history
migrate code from googleapis/nodejs-domains
  • Loading branch information
sofisl authored Nov 12, 2022
2 parents a2868a3 + 402d150 commit ca955c7
Show file tree
Hide file tree
Showing 102 changed files with 97,816 additions and 0 deletions.
1 change: 1 addition & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,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-domains": "2.1.2",
"packages/google-cloud-gaming": "3.1.3",
"packages/google-cloud-functions": "2.2.3",
"packages/google-cloud-documentai": "6.1.0",
Expand Down
21 changes: 21 additions & 0 deletions packages/google-cloud-domains/.OwlBot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# 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/domains/(.*)/.*-nodejs
dest: /owl-bot-staging/google-cloud-domains/$1

7 changes: 7 additions & 0 deletions packages/google-cloud-domains/.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-domains/.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-domains/.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-domains/.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-domains/.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/domains',
theme: 'lumen',
default: {
outputSourceFiles: false
}
},
markdown: {
idInHeadings: true
}
};
29 changes: 29 additions & 0 deletions packages/google-cloud-domains/.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-domains/.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-domains/.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-domains/.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-domains/.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/domains/latest",
"api_id": "domains.googleapis.com",
"distribution_name": "@google-cloud/domains",
"release_level": "stable",
"default_version": "v1",
"language": "nodejs",
"name_pretty": "Cloud Domains",
"repo": "googleapis/google-cloud-node",
"product_documentation": "https://cloud.google.com/domains/",
"requires_billing": true,
"name": "domains",
"issue_tracker": "https://github.com/googleapis/google-cloud-node/issues",
"api_shortname": "domains",
"library_type": "GAPIC_AUTO"
}
127 changes: 127 additions & 0 deletions packages/google-cloud-domains/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
# Changelog

## [2.1.2](https://github.com/googleapis/nodejs-domains/compare/v2.1.1...v2.1.2) (2022-11-10)


### Bug Fixes

* **deps:** Use google-gax v3.5.2 ([#152](https://github.com/googleapis/nodejs-domains/issues/152)) ([f02b8a1](https://github.com/googleapis/nodejs-domains/commit/f02b8a167db37ef21410d0bdd3c656b9a7d471f9))
* Preserve default values in x-goog-request-params header ([#145](https://github.com/googleapis/nodejs-domains/issues/145)) ([c4aa0aa](https://github.com/googleapis/nodejs-domains/commit/c4aa0aa2324f365e4c700da916f399174b016ade))
* Regenerated protos JS and TS definitions ([#155](https://github.com/googleapis/nodejs-domains/issues/155)) ([b22ed55](https://github.com/googleapis/nodejs-domains/commit/b22ed5506ac16662b555793d41844619ed7b9889))

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


### Bug Fixes

* Allow passing gax instance to client constructor ([#144](https://github.com/googleapis/nodejs-domains/issues/144)) ([8bf7f53](https://github.com/googleapis/nodejs-domains/commit/8bf7f53f0011f89c87ee182ddf75dcc3c5cef188))
* Better support for fallback mode ([#139](https://github.com/googleapis/nodejs-domains/issues/139)) ([6d83b72](https://github.com/googleapis/nodejs-domains/commit/6d83b72d9ad9998d5ded5a1ad8aed4f464917b6f))
* Change import long to require ([#140](https://github.com/googleapis/nodejs-domains/issues/140)) ([f0155a2](https://github.com/googleapis/nodejs-domains/commit/f0155a211d70255155664a9776857cd37e9d46bf))
* Do not import the whole google-gax from proto JS ([#1553](https://github.com/googleapis/nodejs-domains/issues/1553)) ([#143](https://github.com/googleapis/nodejs-domains/issues/143)) ([c7cce8d](https://github.com/googleapis/nodejs-domains/commit/c7cce8db16bd58052bc6ac5226638ac07bc398c4))
* Remove pip install statements ([#1546](https://github.com/googleapis/nodejs-domains/issues/1546)) ([#142](https://github.com/googleapis/nodejs-domains/issues/142)) ([ac57104](https://github.com/googleapis/nodejs-domains/commit/ac571044a6299ee5b427b4d8adc84c358cee2cdd))

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


### Features

* support regapic LRO ([#135](https://github.com/googleapis/nodejs-domains/issues/135)) ([b1694a2](https://github.com/googleapis/nodejs-domains/commit/b1694a2669359b73efb7860fb30bafa60af77ca2))

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


### ⚠ BREAKING CHANGES

* update library to use Node 12 (#129)
* make v1 default service version (#110)

### Features

* make v1 default service version ([#110](https://github.com/googleapis/nodejs-domains/issues/110)) ([7fd70b8](https://github.com/googleapis/nodejs-domains/commit/7fd70b868314778e49c9d21eff398e0aae7a41c4))


### Build System

* update library to use Node 12 ([#129](https://github.com/googleapis/nodejs-domains/issues/129)) ([816aeb9](https://github.com/googleapis/nodejs-domains/commit/816aeb9a7137e0a3956005d8ffbcd2a2e6b3e6bb))

## [1.2.0](https://www.github.com/googleapis/nodejs-domains/compare/v1.1.0...v1.2.0) (2021-10-19)


### Features

* added library for Cloud Domains v1 API. Also added methods for the transfer-in flow ([ce97a96](https://www.github.com/googleapis/nodejs-domains/commit/ce97a96ef13e9a73a69b05b59729d2d4172adafc))

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


### Features

* turns on self-signed JWT feature flag ([#70](https://www.github.com/googleapis/nodejs-domains/issues/70)) ([ee9565a](https://www.github.com/googleapis/nodejs-domains/commit/ee9565a2a5f0971ea530ccd478cfe55467bfc4d9))

### [1.0.8](https://www.github.com/googleapis/nodejs-domains/compare/v1.0.7...v1.0.8) (2021-08-17)


### Bug Fixes

* **deps:** google-gax v2.24.1 ([#68](https://www.github.com/googleapis/nodejs-domains/issues/68)) ([a332f0b](https://www.github.com/googleapis/nodejs-domains/commit/a332f0b54c14da104bca7c1ba691a57797ec64a5))

### [1.0.7](https://www.github.com/googleapis/nodejs-domains/compare/v1.0.6...v1.0.7) (2021-08-13)


### Bug Fixes

* **build:** migrate to using main branch ([#66](https://www.github.com/googleapis/nodejs-domains/issues/66)) ([ec3edb2](https://www.github.com/googleapis/nodejs-domains/commit/ec3edb2750b7e393d8452c42f36a20a1c4fc8778))

### [1.0.6](https://www.github.com/googleapis/nodejs-domains/compare/v1.0.5...v1.0.6) (2021-07-16)


### Bug Fixes

* Updating WORKSPACE files to use the newest version of the Typescript generator. ([#58](https://www.github.com/googleapis/nodejs-domains/issues/58)) ([5c35455](https://www.github.com/googleapis/nodejs-domains/commit/5c35455f992ecdfb0fb71d74265dede9151bbd2b))

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


### Bug Fixes

* **deps:** google-gax v2.17.1 ([#56](https://www.github.com/googleapis/nodejs-domains/issues/56)) ([4a09020](https://www.github.com/googleapis/nodejs-domains/commit/4a090203e334403c7f4ef520834de61d53d400f6))

### [1.0.4](https://www.github.com/googleapis/nodejs-domains/compare/v1.0.3...v1.0.4) (2021-06-29)


### Bug Fixes

* **deps:** google-gax v2.17.0 with mTLS ([#53](https://www.github.com/googleapis/nodejs-domains/issues/53)) ([0522960](https://www.github.com/googleapis/nodejs-domains/commit/0522960d9504498991a05a2a5ffe3a2095c12ca4))

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


### Bug Fixes

* make request optional in all cases ([#49](https://www.github.com/googleapis/nodejs-domains/issues/49)) ([cb5fb16](https://www.github.com/googleapis/nodejs-domains/commit/cb5fb16ac3de2c444537ac8b6bdd8a166f544ed6))

### [1.0.2](https://www.github.com/googleapis/nodejs-domains/compare/v1.0.1...v1.0.2) (2021-05-25)


### Bug Fixes

* GoogleAdsError missing using generator version after 1.3.0 ([#42](https://www.github.com/googleapis/nodejs-domains/issues/42)) ([3830c18](https://www.github.com/googleapis/nodejs-domains/commit/3830c1832e65c5ecbfd821931582fd87cada793b))

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


### Bug Fixes

* **deps:** require google-gax v2.12.0 ([#34](https://www.github.com/googleapis/nodejs-domains/issues/34)) ([87a316a](https://www.github.com/googleapis/nodejs-domains/commit/87a316a5a1e3baeea370035676c514dde1268ca3))
* use require() to load JSON protos ([#37](https://www.github.com/googleapis/nodejs-domains/issues/37)) ([f526c4b](https://www.github.com/googleapis/nodejs-domains/commit/f526c4bae5388bc94e0bb28bea908b06e9f8c17a))

## 1.0.0 (2021-02-03)


### ⚠ BREAKING CHANGES

* initial stub of library

### Features

* initial stub of library ([6d3c6a2](https://www.github.com/googleapis/nodejs-domains/commit/6d3c6a246543457ce0edc7a471bafed6e61700f4))
Loading

0 comments on commit ca955c7

Please sign in to comment.