Skip to content

Commit

Permalink
Merge pull request #3611 from googleapis/nodejs-dms-migration
Browse files Browse the repository at this point in the history
migrate code from googleapis/nodejs-dms
  • Loading branch information
sofisl authored Nov 12, 2022
2 parents 76a098d + 95cb732 commit f2bd44d
Show file tree
Hide file tree
Showing 59 changed files with 55,490 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 @@ -23,6 +23,7 @@
"packages/google-cloud-billing": "3.1.3",
"packages/google-cloud-billing-budgets": "4.1.2",
"packages/google-cloud-certificatemanager": "0.6.2",
"packages/google-cloud-clouddms": "2.1.2",
"packages/google-cloud-contactcenterinsights": "2.1.2",
"packages/google-cloud-channel": "2.2.0",
"packages/google-cloud-contentwarehouse": "0.1.2",
Expand Down
20 changes: 20 additions & 0 deletions packages/google-cloud-clouddms/.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/clouddms/(.*)/.*-nodejs
dest: /owl-bot-staging/google-cloud-clouddms/$1
7 changes: 7 additions & 0 deletions packages/google-cloud-clouddms/.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-clouddms/.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-clouddms/.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-clouddms/.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-clouddms/.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/dms',
theme: 'lumen',
default: {
outputSourceFiles: false
}
},
markdown: {
idInHeadings: true
}
};
29 changes: 29 additions & 0 deletions packages/google-cloud-clouddms/.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-clouddms/.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-clouddms/.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-clouddms/.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-clouddms/.repo-metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "clouddms",
"aoi_shortname": "datamigration",
"name_pretty": "Cloud Database Migration Service",
"product_documentation": "https://cloud.google.com/database-migration/",
"client_documentation": "https://cloud.google.com/nodejs/docs/reference/dms/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/dms",
"api_id": "datamigration.googleapis.com",
"requires_billing": true,
"default_version": "v1",
"api_shortname": "dms",
"library_type": "GAPIC_AUTO"
}
94 changes: 94 additions & 0 deletions packages/google-cloud-clouddms/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
# Changelog

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


### Bug Fixes

* **deps:** Use google-gax v3.5.2 ([#115](https://github.com/googleapis/nodejs-dms/issues/115)) ([d260ba2](https://github.com/googleapis/nodejs-dms/commit/d260ba2ae215ed5f8fefc67c2208e3597aa3c90c))
* Preserve default values in x-goog-request-params header ([#108](https://github.com/googleapis/nodejs-dms/issues/108)) ([78512f5](https://github.com/googleapis/nodejs-dms/commit/78512f56e32dd9758653220c5751dda5f03f9dab))
* Regenerated protos JS and TS definitions ([#118](https://github.com/googleapis/nodejs-dms/issues/118)) ([64fdb51](https://github.com/googleapis/nodejs-dms/commit/64fdb51490a9b16182b20509710b637848a00409))

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


### Bug Fixes

* Allow passing gax instance to client constructor ([#107](https://github.com/googleapis/nodejs-dms/issues/107)) ([b90e1bf](https://github.com/googleapis/nodejs-dms/commit/b90e1bf394cfd86007241c8d786ddeca2bbd7178))
* Better support for fallback mode ([#102](https://github.com/googleapis/nodejs-dms/issues/102)) ([8ac6651](https://github.com/googleapis/nodejs-dms/commit/8ac6651be4422f4cfa4d43aa0fa050e5c186627a))
* Change import long to require ([#103](https://github.com/googleapis/nodejs-dms/issues/103)) ([0d7d555](https://github.com/googleapis/nodejs-dms/commit/0d7d55597c70bb6edc5f2dcaf7840fae4e8644a3))
* Do not import the whole google-gax from proto JS ([#1553](https://github.com/googleapis/nodejs-dms/issues/1553)) ([#106](https://github.com/googleapis/nodejs-dms/issues/106)) ([9e7d8e4](https://github.com/googleapis/nodejs-dms/commit/9e7d8e46f989591ade8b06559516bd2c56f83658))
* Remove pip install statements ([#1546](https://github.com/googleapis/nodejs-dms/issues/1546)) ([#105](https://github.com/googleapis/nodejs-dms/issues/105)) ([85ff0f7](https://github.com/googleapis/nodejs-dms/commit/85ff0f7da4a925d96b477faa6161bcf2b8244b51))

## [2.1.0](https://github.com/googleapis/nodejs-dms/compare/v2.0.0...v2.1.0) (2022-07-12)


### Features

* support regapic LRO ([#97](https://github.com/googleapis/nodejs-dms/issues/97)) ([733c394](https://github.com/googleapis/nodejs-dms/commit/733c3940e86ca015fc61223a2ec0de41a25e4e89))

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


### ⚠ BREAKING CHANGES

* update library to use Node 12 (#90)

### Build System

* update library to use Node 12 ([#90](https://github.com/googleapis/nodejs-dms/issues/90)) ([168f46f](https://github.com/googleapis/nodejs-dms/commit/168f46f8314ff0b6ce59ca8e8236b26a98e923ab))

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


### Features

* turns on self-signed JWT feature flag ([#39](https://github.com/googleapis/nodejs-dms/issues/39)) ([ab31ef7](https://github.com/googleapis/nodejs-dms/commit/ab31ef7135716e3e304cf4988900ec59b0a77bef))

### [1.0.5](https://github.com/googleapis/nodejs-dms/compare/v1.0.4...v1.0.5) (2021-08-17)


### Bug Fixes

* **deps:** google-gax v2.24.1 ([#37](https://github.com/googleapis/nodejs-dms/issues/37)) ([ee8483a](https://github.com/googleapis/nodejs-dms/commit/ee8483a069e32a189579d44423fd726e9731b2e9))

### [1.0.4](https://github.com/googleapis/nodejs-dms/compare/v1.0.3...v1.0.4) (2021-08-13)


### Bug Fixes

* **build:** migrate to using main branch ([#35](https://github.com/googleapis/nodejs-dms/issues/35)) ([7a25f92](https://github.com/googleapis/nodejs-dms/commit/7a25f9251f1877877e79f4477c073952de29348e))

### [1.0.3](https://github.com/googleapis/nodejs-dms/compare/v1.0.2...v1.0.3) (2021-07-16)


### Bug Fixes

* Updating WORKSPACE files to use the newest version of the Typescript generator. ([#27](https://github.com/googleapis/nodejs-dms/issues/27)) ([c3858dc](https://github.com/googleapis/nodejs-dms/commit/c3858dcfbf41d4a4eaf3eecd9056a72b6623a14b))

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


### Bug Fixes

* **deps:** google-gax v2.17.1 ([#25](https://github.com/googleapis/nodejs-dms/issues/25)) ([1ea55d9](https://github.com/googleapis/nodejs-dms/commit/1ea55d95e5648be81a6a85d9260ba0bf27f82571))

### [1.0.1](https://github.com/googleapis/nodejs-dms/compare/v1.0.0...v1.0.1) (2021-06-30)


### Bug Fixes

* **deps:** google-gax v2.17.0 with mTLS ([#22](https://github.com/googleapis/nodejs-dms/issues/22)) ([cbee80d](https://github.com/googleapis/nodejs-dms/commit/cbee80d1db4e8a3982630a9a863f82e98ffeddf2))

## 1.0.0 (2021-05-25)


### Features

* add samples ([#2](https://github.com/googleapis/nodejs-dms/issues/2)) ([18b317a](https://github.com/googleapis/nodejs-dms/commit/18b317a010278321a39a0f9052c74f128806ea92))
* initial release ([1746468](https://github.com/googleapis/nodejs-dms/commit/17464680ee5773136f9a1136d2599307072735b8))


### Bug Fixes

* GoogleAdsError missing using generator version after 1.3.0 ([#3](https://github.com/googleapis/nodejs-dms/issues/3)) ([dbc9a20](https://github.com/googleapis/nodejs-dms/commit/dbc9a204e0925d6c6494a3d9e378d1e9670e6ef9))
Loading

0 comments on commit f2bd44d

Please sign in to comment.