Skip to content

Commit

Permalink
Merge pull request #3616 from googleapis/nodejs-private-catalog-migra…
Browse files Browse the repository at this point in the history
…tion

migrate code from googleapis/nodejs-private-catalog
  • Loading branch information
sofisl authored Nov 12, 2022
2 parents 884b6df + 1b75785 commit e07bbb1
Show file tree
Hide file tree
Showing 44 changed files with 33,874 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 @@ -61,6 +61,7 @@
"packages/google-cloud-oslogin": "4.0.4",
"packages/google-cloud-phishingprotection": "3.0.6",
"packages/google-cloud-policytroubleshooter": "2.0.6",
"packages/google-cloud-privatecatalog": "2.0.4",
"packages/google-cloud-recommender": "5.0.4",
"packages/google-cloud-redis": "3.1.5",
"packages/google-cloud-resourcemanager": "4.1.3",
Expand Down
20 changes: 20 additions & 0 deletions packages/google-cloud-privatecatalog/.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/privatecatalog/(.*)/.*-nodejs
dest: /owl-bot-staging/google-cloud-privatecatalog/$1
7 changes: 7 additions & 0 deletions packages/google-cloud-privatecatalog/.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-privatecatalog/.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-privatecatalog/.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-privatecatalog/.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-privatecatalog/.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/private-catalog',
theme: 'lumen',
default: {
outputSourceFiles: false
}
},
markdown: {
idInHeadings: true
}
};
29 changes: 29 additions & 0 deletions packages/google-cloud-privatecatalog/.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-privatecatalog/.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-privatecatalog/.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-privatecatalog/.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-privatecatalog/.repo-metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "cloudprivatecatalog",
"name_pretty": "Private Catalog",
"product_documentation": "https://cloud.google.com/private-catalog/",
"client_documentation": "https://cloud.google.com/nodejs/docs/reference/private-catalog/latest",
"issue_tracker": "https://github.com/googleapis/google-cloud-node/issues",
"release_level": "preview",
"language": "nodejs",
"repo": "googleapis/google-cloud-node",
"distribution_name": "@google-cloud/private-catalog",
"api_id": "privatecatalog.googleapis.com",
"default_version": "v1beta1",
"requires_billing": true,
"api_shortname": "cloudprivatecatalog",
"library_type": "GAPIC_AUTO"
}
94 changes: 94 additions & 0 deletions packages/google-cloud-privatecatalog/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
# Changelog

## [2.0.4](https://github.com/googleapis/nodejs-private-catalog/compare/v2.0.3...v2.0.4) (2022-11-11)


### Bug Fixes

* **deps:** Use google-gax v3.5.2 ([#111](https://github.com/googleapis/nodejs-private-catalog/issues/111)) ([8a0d368](https://github.com/googleapis/nodejs-private-catalog/commit/8a0d368277802a788989c270ad400117010c0855))
* Preserve default values in x-goog-request-params header ([#104](https://github.com/googleapis/nodejs-private-catalog/issues/104)) ([4259f2f](https://github.com/googleapis/nodejs-private-catalog/commit/4259f2f26191b70e98cab9b2a75bef793ce3d7da))
* Regenerated protos JS and TS definitions ([#114](https://github.com/googleapis/nodejs-private-catalog/issues/114)) ([ffce6dc](https://github.com/googleapis/nodejs-private-catalog/commit/ffce6dc1534a49c2ae7354f32c28d03b90cd69d7))

## [2.0.3](https://github.com/googleapis/nodejs-private-catalog/compare/v2.0.2...v2.0.3) (2022-09-01)


### Bug Fixes

* Allow passing gax instance to client constructor ([#102](https://github.com/googleapis/nodejs-private-catalog/issues/102)) ([f162180](https://github.com/googleapis/nodejs-private-catalog/commit/f1621809c2773b4df97efe5d8ade8208ac8f95b4))
* Do not import the whole google-gax from proto JS ([#1553](https://github.com/googleapis/nodejs-private-catalog/issues/1553)) ([#101](https://github.com/googleapis/nodejs-private-catalog/issues/101)) ([54959ca](https://github.com/googleapis/nodejs-private-catalog/commit/54959cae8e8743c2bed567bacb9a36d0645c99ba))

## [2.0.2](https://github.com/googleapis/nodejs-private-catalog/compare/v2.0.1...v2.0.2) (2022-08-23)


### Bug Fixes

* better support for fallback mode ([#97](https://github.com/googleapis/nodejs-private-catalog/issues/97)) ([fb44b6c](https://github.com/googleapis/nodejs-private-catalog/commit/fb44b6c08f068ae0b0b240ecf5834483a17d653a))
* change import long to require ([#98](https://github.com/googleapis/nodejs-private-catalog/issues/98)) ([b67b633](https://github.com/googleapis/nodejs-private-catalog/commit/b67b63324e8a6f3bd5e36f403cbc92710576957e))
* remove pip install statements ([#1546](https://github.com/googleapis/nodejs-private-catalog/issues/1546)) ([#100](https://github.com/googleapis/nodejs-private-catalog/issues/100)) ([8dd298f](https://github.com/googleapis/nodejs-private-catalog/commit/8dd298f04e1d272697421c03a7c2a53942dd673b))

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


### Bug Fixes

* **docs:** describe fallback rest option ([#90](https://github.com/googleapis/nodejs-private-catalog/issues/90)) ([d41ecfe](https://github.com/googleapis/nodejs-private-catalog/commit/d41ecfecc4164cf023de6bddd09e07b4751eb07f))

## [2.0.0](https://github.com/googleapis/nodejs-private-catalog/compare/v1.1.1...v2.0.0) (2022-05-17)


### ⚠ BREAKING CHANGES

* update library to use Node 12 (#85)

### Build System

* update library to use Node 12 ([#85](https://github.com/googleapis/nodejs-private-catalog/issues/85)) ([e696cd7](https://github.com/googleapis/nodejs-private-catalog/commit/e696cd7c16ce8a80822e1f85cd35c2b072ea8d80))

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


### Bug Fixes

* **build:** switch primary branch to main ([#37](https://www.github.com/googleapis/nodejs-private-catalog/issues/37)) ([0d9868a](https://www.github.com/googleapis/nodejs-private-catalog/commit/0d9868aae4968603b418474f5154020225149a1c))

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


### Features

* turns on self-signed JWT feature flag ([#34](https://www.github.com/googleapis/nodejs-private-catalog/issues/34)) ([c278f63](https://www.github.com/googleapis/nodejs-private-catalog/commit/c278f635190b42687871e846193eb7b77df3e69f))

### [1.0.4](https://www.github.com/googleapis/nodejs-private-catalog/compare/v1.0.3...v1.0.4) (2021-08-17)


### Bug Fixes

* **deps:** google-gax v2.24.1 ([#32](https://www.github.com/googleapis/nodejs-private-catalog/issues/32)) ([20fe51a](https://www.github.com/googleapis/nodejs-private-catalog/commit/20fe51a9f2f588c744847905954cd16cc0e4a2bc))

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


### Bug Fixes

* Updating WORKSPACE files to use the newest version of the Typescript generator. ([#24](https://www.github.com/googleapis/nodejs-private-catalog/issues/24)) ([1b28824](https://www.github.com/googleapis/nodejs-private-catalog/commit/1b288240c644adadb8b6b330353875d08221e965))

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


### Bug Fixes

* **deps:** google-gax v2.17.1 ([#22](https://www.github.com/googleapis/nodejs-private-catalog/issues/22)) ([d0a067f](https://www.github.com/googleapis/nodejs-private-catalog/commit/d0a067f7d480b959f741130b1e5965d57d922507))

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


### Bug Fixes

* **deps:** require google-gax v2.17.0 ([#17](https://www.github.com/googleapis/nodejs-private-catalog/issues/17)) ([2fea82d](https://www.github.com/googleapis/nodejs-private-catalog/commit/2fea82d58484c8786da3121dfb2c252787d01a99))

## 1.0.0 (2021-06-10)


### Features

* add initial lib stub ([03e88c0](https://www.github.com/googleapis/nodejs-private-catalog/commit/03e88c03ecd68f6b269efbe56cfb7fcda9836f91))
Loading

0 comments on commit e07bbb1

Please sign in to comment.