Skip to content

Commit

Permalink
Merge pull request #3608 from googleapis/nodejs-service-management-mi…
Browse files Browse the repository at this point in the history
…gration

migrate code from googleapis/nodejs-service-management
  • Loading branch information
sofisl authored Nov 12, 2022
2 parents df3b231 + 922940c commit 4219295
Show file tree
Hide file tree
Showing 58 changed files with 68,897 additions and 0 deletions.
1 change: 1 addition & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"packages/gapic-node-templating": "0.0.0",
"packages/google-api-apikeys": "0.1.3",
"packages/google-api-servicemanagement": "1.1.3",
"packages/google-cloud-apigateway": "2.1.2",
"packages/google-api-serviceusage": "2.1.2",
"packages/google-api-servicecontrol": "2.0.3",
Expand Down
24 changes: 24 additions & 0 deletions packages/google-api-servicemanagement/.OwlBot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# 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/api/servicemanagement/(v.*)/.*-nodejs
dest: /owl-bot-staging/google-api-servicemanagement/$1

begin-after-commit-hash: ea0f18027eafb4801813fa253f16ffeef904b4c6

7 changes: 7 additions & 0 deletions packages/google-api-servicemanagement/.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-api-servicemanagement/.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-api-servicemanagement/.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-api-servicemanagement/.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-api-servicemanagement/.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/service-management',
theme: 'lumen',
default: {
outputSourceFiles: false
}
},
markdown: {
idInHeadings: true
}
};
29 changes: 29 additions & 0 deletions packages/google-api-servicemanagement/.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-api-servicemanagement/.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-api-servicemanagement/.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-api-servicemanagement/.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-api-servicemanagement/.repo-metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"issue_tracker": "https://github.com/googleapis/google-cloud-node/issues",
"distribution_name": "@google-cloud/service-management",
"client_documentation": "https://cloud.google.com/nodejs/docs/reference/service-management/latest",
"product_documentation": "https://cloud.google.com/service-infrastructure/docs/overview/",
"name_pretty": "Service Management API",
"release_level": "stable",
"default_version": "v1",
"name": "service-management",
"api_id": "servicemanagement.googleapis.com",
"requires_billing": true,
"language": "nodejs",
"repo": "googleapis/google-cloud-node",
"api_shortname": "servicemanagement",
"library_type": "GAPIC_AUTO"
}
157 changes: 157 additions & 0 deletions packages/google-api-servicemanagement/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,157 @@
# Changelog

## [1.1.3](https://github.com/googleapis/nodejs-service-management/compare/v1.1.2...v1.1.3) (2022-11-10)


### Bug Fixes

* Preserve default values in x-goog-request-params header ([#169](https://github.com/googleapis/nodejs-service-management/issues/169)) ([ef47431](https://github.com/googleapis/nodejs-service-management/commit/ef4743106afc35191647a626c8f3a8a08634ebd1))
* Regenerated protos JS and TS definitions ([#178](https://github.com/googleapis/nodejs-service-management/issues/178)) ([9c00293](https://github.com/googleapis/nodejs-service-management/commit/9c00293b6213b8ba0e2d56fd2208d90b60c38d0d))

## [1.1.2](https://github.com/googleapis/nodejs-service-management/compare/v1.1.1...v1.1.2) (2022-09-01)


### Bug Fixes

* Allow passing gax instance to client constructor ([#166](https://github.com/googleapis/nodejs-service-management/issues/166)) ([deda310](https://github.com/googleapis/nodejs-service-management/commit/deda3102c60ed95a03de5f4ae123c858d9af1cf4))
* Do not import the whole google-gax from proto JS ([#1553](https://github.com/googleapis/nodejs-service-management/issues/1553)) ([#165](https://github.com/googleapis/nodejs-service-management/issues/165)) ([aa21cf2](https://github.com/googleapis/nodejs-service-management/commit/aa21cf2c463c6410be8f9dc8906493dc78f131c1))

## [1.1.1](https://github.com/googleapis/nodejs-service-management/compare/v1.1.0...v1.1.1) (2022-08-23)


### Bug Fixes

* better support for fallback mode ([#161](https://github.com/googleapis/nodejs-service-management/issues/161)) ([a84e12c](https://github.com/googleapis/nodejs-service-management/commit/a84e12c4dd4edc5b8486f7b1d47ce109b1927099))
* change import long to require ([#162](https://github.com/googleapis/nodejs-service-management/issues/162)) ([309942f](https://github.com/googleapis/nodejs-service-management/commit/309942f977356bcaaf77a1ee439e5d4389f011ec))
* remove pip install statements ([#1546](https://github.com/googleapis/nodejs-service-management/issues/1546)) ([#164](https://github.com/googleapis/nodejs-service-management/issues/164)) ([41397e6](https://github.com/googleapis/nodejs-service-management/commit/41397e628dcbc33e54d1f052343df51d8ae8a771))

## [1.1.0](https://github.com/googleapis/nodejs-service-management/compare/v1.0.0...v1.1.0) (2022-06-30)


### Features

* support regapic LRO ([#154](https://github.com/googleapis/nodejs-service-management/issues/154)) ([9871067](https://github.com/googleapis/nodejs-service-management/commit/9871067a828e4ec332906f2013956f9b2ade2b00))

## [1.0.0](https://github.com/googleapis/nodejs-service-management/compare/v0.4.0...v1.0.0) (2022-05-31)


### ⚠ BREAKING CHANGES

* promote to stable (#140)
* update library to use Node 12 (#138)

### Features

* promote to stable ([#140](https://github.com/googleapis/nodejs-service-management/issues/140)) ([f40509e](https://github.com/googleapis/nodejs-service-management/commit/f40509ee35dbafff16e4300d2173be5c41abacf4))


### Bug Fixes

* fixes for dynamic routing and streaming descriptors ([#142](https://github.com/googleapis/nodejs-service-management/issues/142)) ([6d02ca8](https://github.com/googleapis/nodejs-service-management/commit/6d02ca800a29eb3b6383127efe43ad8e603992c3))


### Build System

* update library to use Node 12 ([#138](https://github.com/googleapis/nodejs-service-management/issues/138)) ([a9eed29](https://github.com/googleapis/nodejs-service-management/commit/a9eed29598c8b56d4c80161d0046be0db4430c66))

## [0.4.0](https://github.com/googleapis/nodejs-service-management/compare/v0.3.1...v0.4.0) (2022-03-08)


### ⚠ BREAKING CHANGES

* Remove EnableService and DisableService RPC methods and related protos from service management API

### Features

* Remove EnableService and DisableService RPC methods and related protos from service management API ([d3919ab](https://github.com/googleapis/nodejs-service-management/commit/d3919abbf7ba458cc71e8038604f56d598571fe4))

### [0.3.1](https://github.com/googleapis/nodejs-service-management/compare/v0.3.0...v0.3.1) (2021-09-10)


### Bug Fixes

* **build:** set default branch to main ([#85](https://github.com/googleapis/nodejs-service-management/issues/85)) ([b343eac](https://github.com/googleapis/nodejs-service-management/commit/b343eaca04b4f651c737d8a84baa5a75a361c4b0))

## [0.3.0](https://github.com/googleapis/nodejs-service-management/compare/v0.2.6...v0.3.0) (2021-08-23)


### Features

* turns on self-signed JWT feature flag ([#81](https://github.com/googleapis/nodejs-service-management/issues/81)) ([237698f](https://github.com/googleapis/nodejs-service-management/commit/237698f72dfdd14e95d956a2e45f6db423e45e23))

### [0.2.6](https://github.com/googleapis/nodejs-service-management/compare/v0.2.5...v0.2.6) (2021-08-17)


### Bug Fixes

* **deps:** google-gax v2.24.1 ([#79](https://github.com/googleapis/nodejs-service-management/issues/79)) ([b679b6c](https://github.com/googleapis/nodejs-service-management/commit/b679b6c3dff457764698044b8b325a52922fbb46))

### [0.2.5](https://github.com/googleapis/nodejs-service-management/compare/v0.2.4...v0.2.5) (2021-07-12)


### Bug Fixes

* **deps:** google-gax v2.17.1 ([#70](https://github.com/googleapis/nodejs-service-management/issues/70)) ([fc4f996](https://github.com/googleapis/nodejs-service-management/commit/fc4f99666252f8f06f399438aedebb6e5502f2e9))

### [0.2.4](https://github.com/googleapis/nodejs-service-management/compare/v0.2.3...v0.2.4) (2021-06-30)


### Bug Fixes

* **deps:** google-gax v2.17.0 with mTLS ([#67](https://github.com/googleapis/nodejs-service-management/issues/67)) ([39328cd](https://github.com/googleapis/nodejs-service-management/commit/39328cdd1389ab2bddb1744bb8a77774e5a924c2))

### [0.2.3](https://github.com/googleapis/nodejs-service-management/compare/v0.2.2...v0.2.3) (2021-06-25)


### Bug Fixes

* make request optional in all cases ([#61](https://github.com/googleapis/nodejs-service-management/issues/61)) ([8ba608c](https://github.com/googleapis/nodejs-service-management/commit/8ba608caad06f54c0f4fb650b18948a1143440f4))

### [0.2.2](https://github.com/googleapis/nodejs-service-management/compare/v0.2.1...v0.2.2) (2021-05-25)


### Bug Fixes

* GoogleAdsError missing using generator version after 1.3.0 ([#54](https://github.com/googleapis/nodejs-service-management/issues/54)) ([9376a6c](https://github.com/googleapis/nodejs-service-management/commit/9376a6c9836b9460d512a8fbd32094cc4f5ccb85))

### [0.2.1](https://github.com/googleapis/nodejs-service-management/compare/v0.2.0...v0.2.1) (2021-05-24)


### Bug Fixes

* **deps:** require google-gax v2.12.0 ([#48](https://github.com/googleapis/nodejs-service-management/issues/48)) ([e679ea9](https://github.com/googleapis/nodejs-service-management/commit/e679ea9d735b9edd25913b990e3a0d037025c984))
* use require() to load JSON protos ([#50](https://github.com/googleapis/nodejs-service-management/issues/50)) ([786af32](https://github.com/googleapis/nodejs-service-management/commit/786af32612aed97ef4ec55b2d0b02932e351be38))

## 0.2.0 (2021-03-30)


### ⚠ BREAKING CHANGES

* initial stub of library

### Features

* add initial samples ([#2](https://github.com/googleapis/nodejs-service-management/issues/2)) ([e12039f](https://github.com/googleapis/nodejs-service-management/commit/e12039fff76d1d76692c7f87852c2e878c0f847f))
* initial stub of library ([728ac20](https://github.com/googleapis/nodejs-service-management/commit/728ac209c44ba39714fb8c8acb38a7c0163acd6c))


### Bug Fixes

* **build:** release first version of library as v0.2.0 ([#14](https://github.com/googleapis/nodejs-service-management/issues/14)) ([3707e68](https://github.com/googleapis/nodejs-service-management/commit/3707e680f7cd038ea4b6c7589a5846b8ce5fcc96))

## 0.2.0 (2021-03-30)


### ⚠ BREAKING CHANGES

* initial stub of library

### Features

* add initial samples ([#2](https://github.com/googleapis/nodejs-service-management/issues/2)) ([e12039f](https://github.com/googleapis/nodejs-service-management/commit/e12039fff76d1d76692c7f87852c2e878c0f847f))
* initial stub of library ([728ac20](https://github.com/googleapis/nodejs-service-management/commit/728ac209c44ba39714fb8c8acb38a7c0163acd6c))


### Bug Fixes

* **build:** release first version of library as v0.2.0 ([#14](https://github.com/googleapis/nodejs-service-management/issues/14)) ([3707e68](https://github.com/googleapis/nodejs-service-management/commit/3707e680f7cd038ea4b6c7589a5846b8ce5fcc96))
Loading

0 comments on commit 4219295

Please sign in to comment.