Skip to content

Commit

Permalink
Merge pull request #3607 from googleapis/nodejs-appengine-admin-migra…
Browse files Browse the repository at this point in the history
…tion

migrate code from googleapis/nodejs-appengine-admin
  • Loading branch information
sofisl authored Nov 12, 2022
2 parents 6d26c07 + ef1293b commit 937dddd
Show file tree
Hide file tree
Showing 119 changed files with 92,385 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-appengine": "2.1.2",
"packages/google-cloud-accessapproval": "2.1.2",
"packages/google-cloud-apigeeconnect": "2.1.3",
"packages/google-cloud-asset": "4.5.0",
Expand Down
24 changes: 24 additions & 0 deletions packages/google-appengine/.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/appengine/(v.*)/.*-nodejs
dest: /owl-bot-staging/google-appengine/$1

begin-after-commit-hash: 40278112d2922ec917140dcb5cc6d5ef2923aeb2

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

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


### Bug Fixes

* Allow passing gax instance to client constructor ([#156](https://github.com/googleapis/nodejs-appengine-admin/issues/156)) ([b203e7e](https://github.com/googleapis/nodejs-appengine-admin/commit/b203e7eb65d947e00be58f80fc6cf3f94ad8de8b))
* **deps:** Use google-gax v3.5.2 ([#164](https://github.com/googleapis/nodejs-appengine-admin/issues/164)) ([8525dac](https://github.com/googleapis/nodejs-appengine-admin/commit/8525dac6e50bd9c9cf8bd7b6ff6c431b6900d5ad))
* Do not import the whole google-gax from proto JS ([#1553](https://github.com/googleapis/nodejs-appengine-admin/issues/1553)) ([#155](https://github.com/googleapis/nodejs-appengine-admin/issues/155)) ([eaff462](https://github.com/googleapis/nodejs-appengine-admin/commit/eaff462965a3440556f7b959ea881f9e317817a8))
* Preserve default values in x-goog-request-params header ([#158](https://github.com/googleapis/nodejs-appengine-admin/issues/158)) ([3636c4a](https://github.com/googleapis/nodejs-appengine-admin/commit/3636c4a967718909c397de4bca372e351ce56a83))
* Regenerated protos JS and TS definitions ([#167](https://github.com/googleapis/nodejs-appengine-admin/issues/167)) ([f629b53](https://github.com/googleapis/nodejs-appengine-admin/commit/f629b536ee41a787594d1168eb0715903a0975b1))
* use google-gax v3.3.0 ([eaff462](https://github.com/googleapis/nodejs-appengine-admin/commit/eaff462965a3440556f7b959ea881f9e317817a8))

## [2.1.1](https://github.com/googleapis/nodejs-appengine-admin/compare/v2.1.0...v2.1.1) (2022-08-23)


### Bug Fixes

* better support for fallback mode ([#150](https://github.com/googleapis/nodejs-appengine-admin/issues/150)) ([ec76f66](https://github.com/googleapis/nodejs-appengine-admin/commit/ec76f6685ad06a47e3b0d3facdf4c1a0020244e0))
* change import long to require ([#152](https://github.com/googleapis/nodejs-appengine-admin/issues/152)) ([62e67ec](https://github.com/googleapis/nodejs-appengine-admin/commit/62e67ec394573b41b24aebef89a12dbf3a3f42e2))
* remove pip install statements ([#1546](https://github.com/googleapis/nodejs-appengine-admin/issues/1546)) ([#154](https://github.com/googleapis/nodejs-appengine-admin/issues/154)) ([f31d99b](https://github.com/googleapis/nodejs-appengine-admin/commit/f31d99bb423a295bea56e2a8aee0ada9823fbb7f))

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


### Features

* support regapic LRO ([#140](https://github.com/googleapis/nodejs-appengine-admin/issues/140)) ([0185670](https://github.com/googleapis/nodejs-appengine-admin/commit/01856700f02bd5ec178aac4ab0378feebee0fda9))

## [2.0.0](https://github.com/googleapis/nodejs-appengine-admin/compare/v1.2.0...v2.0.0) (2022-06-10)


### ⚠ BREAKING CHANGES

* update library to use Node 12 (#134)

### Features

* add Application.service_account ([#130](https://github.com/googleapis/nodejs-appengine-admin/issues/130)) ([698f05e](https://github.com/googleapis/nodejs-appengine-admin/commit/698f05e03e81b24602a6f6a681186540722698e8))


### Build System

* update library to use Node 12 ([#134](https://github.com/googleapis/nodejs-appengine-admin/issues/134)) ([df3424a](https://github.com/googleapis/nodejs-appengine-admin/commit/df3424ac8a77e8549f42300e4182a721e8ef4755))

## [1.2.0](https://github.com/googleapis/nodejs-appengine-admin/compare/v1.1.0...v1.2.0) (2022-03-23)


### Features

* promote to stable ([#119](https://github.com/googleapis/nodejs-appengine-admin/issues/119)) ([4d84360](https://github.com/googleapis/nodejs-appengine-admin/commit/4d84360f97c4417ae0ba4690b2c8511794640d94))

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


### Features

* turns on self-signed JWT feature flag ([#78](https://www.github.com/googleapis/nodejs-appengine-admin/issues/78)) ([df643dd](https://www.github.com/googleapis/nodejs-appengine-admin/commit/df643dd9f37d966a09490c6f4edfb5fa9d0a0d9f))

### [1.0.6](https://www.github.com/googleapis/nodejs-appengine-admin/compare/v1.0.5...v1.0.6) (2021-08-17)


### Bug Fixes

* **deps:** google-gax v2.24.1 ([#76](https://www.github.com/googleapis/nodejs-appengine-admin/issues/76)) ([471b3e9](https://www.github.com/googleapis/nodejs-appengine-admin/commit/471b3e9e4d493f32bc30d1927a47f02018ffb845))

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


### Bug Fixes

* Updating WORKSPACE files to use the newest version of the Typescript generator. ([#67](https://www.github.com/googleapis/nodejs-appengine-admin/issues/67)) ([e4c206c](https://www.github.com/googleapis/nodejs-appengine-admin/commit/e4c206c55eef567387bdf8f9c7a342986b85c146))

### [1.0.4](https://www.github.com/googleapis/nodejs-appengine-admin/compare/v1.0.3...v1.0.4) (2021-07-12)


### Bug Fixes

* **deps:** google-gax v2.17.1 ([#65](https://www.github.com/googleapis/nodejs-appengine-admin/issues/65)) ([dd73dd5](https://www.github.com/googleapis/nodejs-appengine-admin/commit/dd73dd52d0fbc1ac08c9b03292f286a20a2f4db3))

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


### Bug Fixes

* **deps:** google-gax v2.17.0 with mTLS ([#62](https://www.github.com/googleapis/nodejs-appengine-admin/issues/62)) ([ae1c209](https://www.github.com/googleapis/nodejs-appengine-admin/commit/ae1c209bea986cedb9a814f0695138d578fa33d6))

### [1.0.2](https://www.github.com/googleapis/nodejs-appengine-admin/compare/v1.0.1...v1.0.2) (2021-06-22)


### Bug Fixes

* make request optional in all cases ([#56](https://www.github.com/googleapis/nodejs-appengine-admin/issues/56)) ([1262e7e](https://www.github.com/googleapis/nodejs-appengine-admin/commit/1262e7e449888f56d8fb28801059783c077f6a17))

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


### Bug Fixes

* GoogleAdsError missing using generator version after 1.3.0 ([#49](https://www.github.com/googleapis/nodejs-appengine-admin/issues/49)) ([13a7d7e](https://www.github.com/googleapis/nodejs-appengine-admin/commit/13a7d7e975e583191ede000ee650be9fff7a87fa))

## [1.0.0](https://www.github.com/googleapis/nodejs-appengine-admin/compare/v0.2.1...v1.0.0) (2021-05-20)


### Features

* promote the library to 1.0 ([#46](https://www.github.com/googleapis/nodejs-appengine-admin/issues/46)) ([8c1e9b7](https://www.github.com/googleapis/nodejs-appengine-admin/commit/8c1e9b793364e51cc7d140ab6df531016ad197c2))

### [0.2.1](https://www.github.com/googleapis/nodejs-appengine-admin/compare/v0.2.0...v0.2.1) (2021-05-19)


### Bug Fixes

* **deps:** require google-gax v2.12.0 ([#39](https://www.github.com/googleapis/nodejs-appengine-admin/issues/39)) ([f6c8735](https://www.github.com/googleapis/nodejs-appengine-admin/commit/f6c873571770a56d5d46449b63c0adfc1375ced5))
* use require() to load JSON protos ([#42](https://www.github.com/googleapis/nodejs-appengine-admin/issues/42)) ([d406ced](https://www.github.com/googleapis/nodejs-appengine-admin/commit/d406ced6996c5b0128a69fde745b86f0e67107cb))

## 0.2.0 (2021-03-30)


### ⚠ BREAKING CHANGES

* initial stub of library

### Features

* add initial samples and tests ([#2](https://www.github.com/googleapis/nodejs-appengine-admin/issues/2)) ([b3bbb90](https://www.github.com/googleapis/nodejs-appengine-admin/commit/b3bbb90f2495d5dcd4155c151901be77fe755af6))
* add samples ([3a94c12](https://www.github.com/googleapis/nodejs-appengine-admin/commit/3a94c12ab8b48e21adda12c44f14e4b66e91a1cd))
* initial stub of library ([713ee9c](https://www.github.com/googleapis/nodejs-appengine-admin/commit/713ee9c67c67c88e284e5ae99a3b0db0dff0fe88))


### Bug Fixes

* **build:** release first version of library as v0.2.0 ([#9](https://www.github.com/googleapis/nodejs-appengine-admin/issues/9)) ([ac79b04](https://www.github.com/googleapis/nodejs-appengine-admin/commit/ac79b04160eb048d8918aae0f85cf350779ef78f))
* start at Node 12 ([ed04ab3](https://www.github.com/googleapis/nodejs-appengine-admin/commit/ed04ab3721329aed75b5a9b092f20080c632f8e0))
Loading

0 comments on commit 937dddd

Please sign in to comment.