-
Notifications
You must be signed in to change notification settings - Fork 596
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3412 from googleapis/nodejs-memcache-migration
migrate code from googleapis/nodejs-memcache
- Loading branch information
Showing
65 changed files
with
48,897 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# 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/memcache/(.*)/.*-nodejs | ||
dest: /owl-bot-staging/google-cloud-memcache/$1 | ||
|
||
begin-after-commit-hash: fb91803ccef5d7c695139b22788b309e2197856b | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
**/node_modules | ||
**/coverage | ||
test/fixtures | ||
build/ | ||
docs/ | ||
protos/ | ||
samples/generated/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"extends": "./node_modules/gts" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/memcache', | ||
theme: 'lumen', | ||
default: { | ||
outputSourceFiles: false | ||
} | ||
}, | ||
markdown: { | ||
idInHeadings: true | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
**/node_modules | ||
**/coverage | ||
test/fixtures | ||
build/ | ||
docs/ | ||
protos/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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') | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"language": "nodejs", | ||
"requires_billing": true, | ||
"product_documentation": "https://cloud.google.com/memorystore/docs/memcached", | ||
"repo": "googleapis/google-cloud-node", | ||
"default_version": "v1", | ||
"name_pretty": "Memorystore for Memcached", | ||
"release_level": "stable", | ||
"distribution_name": "@google-cloud/memcache", | ||
"name": "memcache", | ||
"client_documentation": "https://cloud.google.com/nodejs/docs/reference/memcache/latest", | ||
"api_id": "memcache.googleapis.com", | ||
"issue_tracker": "https://issuetracker.google.com/savedsearches/5169231", | ||
"api_shortname": "memcache", | ||
"library_type": "GAPIC_AUTO" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,160 @@ | ||
# Changelog | ||
|
||
## [2.1.2](https://github.com/googleapis/nodejs-memcache/compare/v2.1.1...v2.1.2) (2022-09-21) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* Allow passing gax instance to client constructor ([#216](https://github.com/googleapis/nodejs-memcache/issues/216)) ([6d5a65a](https://github.com/googleapis/nodejs-memcache/commit/6d5a65a5fd0881e38d72083aefc614bdd2360f19)) | ||
* Preserve default values in x-goog-request-params header ([#218](https://github.com/googleapis/nodejs-memcache/issues/218)) ([8d8c968](https://github.com/googleapis/nodejs-memcache/commit/8d8c96866345800625f01edee0c42a675710fa22)) | ||
|
||
## [2.1.1](https://github.com/googleapis/nodejs-memcache/compare/v2.1.0...v2.1.1) (2022-08-27) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* better support for fallback mode ([#209](https://github.com/googleapis/nodejs-memcache/issues/209)) ([8398c52](https://github.com/googleapis/nodejs-memcache/commit/8398c52666aca0a251852edc3b3d341bdfa11902)) | ||
* change import long to require ([#211](https://github.com/googleapis/nodejs-memcache/issues/211)) ([9139124](https://github.com/googleapis/nodejs-memcache/commit/91391240a20101ef11b1805973bd772fda8edabe)) | ||
* do not import the whole google-gax from proto JS ([#1553](https://github.com/googleapis/nodejs-memcache/issues/1553)) ([#215](https://github.com/googleapis/nodejs-memcache/issues/215)) ([12ee008](https://github.com/googleapis/nodejs-memcache/commit/12ee00812abedba79271ea2dd97e042e1cab22bf)) | ||
* remove pip install statements ([#1546](https://github.com/googleapis/nodejs-memcache/issues/1546)) ([#214](https://github.com/googleapis/nodejs-memcache/issues/214)) ([35b9a7b](https://github.com/googleapis/nodejs-memcache/commit/35b9a7bef37482d3f7209c16b6cd87fab0f72ea8)) | ||
* use google-gax v3.3.0 ([12ee008](https://github.com/googleapis/nodejs-memcache/commit/12ee00812abedba79271ea2dd97e042e1cab22bf)) | ||
|
||
## [2.1.0](https://github.com/googleapis/nodejs-memcache/compare/v2.0.0...v2.1.0) (2022-06-30) | ||
|
||
|
||
### Features | ||
|
||
* support regapic LRO ([#201](https://github.com/googleapis/nodejs-memcache/issues/201)) ([2151fc9](https://github.com/googleapis/nodejs-memcache/commit/2151fc9b1524bd8f3eed8492dc7baeb26d2db3ed)) | ||
|
||
## [2.0.0](https://github.com/googleapis/nodejs-memcache/compare/v1.5.1...v2.0.0) (2022-05-17) | ||
|
||
|
||
### ⚠ BREAKING CHANGES | ||
|
||
* update library to use Node 12 (#196) | ||
|
||
### Build System | ||
|
||
* update library to use Node 12 ([#196](https://github.com/googleapis/nodejs-memcache/issues/196)) ([776f934](https://github.com/googleapis/nodejs-memcache/commit/776f93402453fc1b33394d80e19f3478efca42b4)) | ||
|
||
### [1.5.1](https://www.github.com/googleapis/nodejs-memcache/compare/v1.5.0...v1.5.1) (2021-09-08) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* **build:** update branch to main ([#150](https://www.github.com/googleapis/nodejs-memcache/issues/150)) ([8c534ef](https://www.github.com/googleapis/nodejs-memcache/commit/8c534efaa39919a8df10622c9fa4e7dae18f5f61)) | ||
|
||
## [1.5.0](https://www.github.com/googleapis/nodejs-memcache/compare/v1.4.7...v1.5.0) (2021-08-23) | ||
|
||
|
||
### Features | ||
|
||
* turns on self-signed JWT feature flag ([#147](https://www.github.com/googleapis/nodejs-memcache/issues/147)) ([2914811](https://www.github.com/googleapis/nodejs-memcache/commit/2914811e7094e157af785fb52fe7211d2f4073cb)) | ||
|
||
### [1.4.7](https://www.github.com/googleapis/nodejs-memcache/compare/v1.4.6...v1.4.7) (2021-08-17) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* **deps:** google-gax v2.24.1 ([#144](https://www.github.com/googleapis/nodejs-memcache/issues/144)) ([b50e358](https://www.github.com/googleapis/nodejs-memcache/commit/b50e3582e3e0381484617b23d2e2b63c2e4c4254)) | ||
|
||
### [1.4.6](https://www.github.com/googleapis/nodejs-memcache/compare/v1.4.5...v1.4.6) (2021-07-21) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* Updating WORKSPACE files to use the newest version of the Typescript generator. ([#136](https://www.github.com/googleapis/nodejs-memcache/issues/136)) ([619f23e](https://www.github.com/googleapis/nodejs-memcache/commit/619f23ec0c25c8e5dd97894ada5f65ae763d2721)) | ||
|
||
### [1.4.5](https://www.github.com/googleapis/nodejs-memcache/compare/v1.4.4...v1.4.5) (2021-07-12) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* **deps:** google-gax v2.17.1 ([#134](https://www.github.com/googleapis/nodejs-memcache/issues/134)) ([0a53a9b](https://www.github.com/googleapis/nodejs-memcache/commit/0a53a9b9febde8ac007105ee7356df90278c4949)) | ||
|
||
### [1.4.4](https://www.github.com/googleapis/nodejs-memcache/compare/v1.4.3...v1.4.4) (2021-06-29) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* **deps:** google-gax v2.17.0 with mTLS ([#131](https://www.github.com/googleapis/nodejs-memcache/issues/131)) ([f475455](https://www.github.com/googleapis/nodejs-memcache/commit/f47545548fe2bc478984a7ab715995fc32aee7cd)) | ||
|
||
### [1.4.3](https://www.github.com/googleapis/nodejs-memcache/compare/v1.4.2...v1.4.3) (2021-06-22) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* make request optional in all cases ([#125](https://www.github.com/googleapis/nodejs-memcache/issues/125)) ([3b296ba](https://www.github.com/googleapis/nodejs-memcache/commit/3b296ba1e2598054ed391979b616ddf03f0b89f4)) | ||
|
||
### [1.4.2](https://www.github.com/googleapis/nodejs-memcache/compare/v1.4.1...v1.4.2) (2021-05-29) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* GoogleAdsError missing using generator version after 1.3.0 ([#116](https://www.github.com/googleapis/nodejs-memcache/issues/116)) ([d892630](https://www.github.com/googleapis/nodejs-memcache/commit/d89263085fd359b47105c1fa3e78fd3cfb2f1d3c)) | ||
|
||
### [1.4.1](https://www.github.com/googleapis/nodejs-memcache/compare/v1.4.0...v1.4.1) (2021-05-12) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* **deps:** require google-gax v2.12.0 ([#107](https://www.github.com/googleapis/nodejs-memcache/issues/107)) ([5a10a63](https://www.github.com/googleapis/nodejs-memcache/commit/5a10a632b62e00b2fe488deb92885bdc14f09f92)) | ||
* use require() to load JSON protos ([#110](https://www.github.com/googleapis/nodejs-memcache/issues/110)) ([8335678](https://www.github.com/googleapis/nodejs-memcache/commit/8335678c41a08fb0b811db48540ff232b802e47a)) | ||
|
||
## [1.4.0](https://www.github.com/googleapis/nodejs-memcache/compare/v1.3.0...v1.4.0) (2021-03-01) | ||
|
||
|
||
### Features | ||
|
||
* add v1 version ([#88](https://www.github.com/googleapis/nodejs-memcache/issues/88)) ([105dc47](https://www.github.com/googleapis/nodejs-memcache/commit/105dc474f33479cca0888116a9d63a4f9abc59ac)) | ||
* **docs:** indicate ga status ([#91](https://www.github.com/googleapis/nodejs-memcache/issues/91)) ([f5a4313](https://www.github.com/googleapis/nodejs-memcache/commit/f5a4313e5ee55887ea9c2350dcabd12b9ba2e5e0)) | ||
|
||
## [1.3.0](https://www.github.com/googleapis/nodejs-memcache/compare/v1.2.1...v1.3.0) (2021-01-09) | ||
|
||
|
||
### Features | ||
|
||
* adds style enumeration ([#85](https://www.github.com/googleapis/nodejs-memcache/issues/85)) ([07e4454](https://www.github.com/googleapis/nodejs-memcache/commit/07e44541b9056d83a9505b72913c2b52ecd6e859)) | ||
|
||
### [1.2.1](https://www.github.com/googleapis/nodejs-memcache/compare/v1.2.0...v1.2.1) (2020-11-25) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* **browser:** check for fetch on window ([8d54934](https://www.github.com/googleapis/nodejs-memcache/commit/8d54934fcd7d4ef97f6adbbff383414bd0c23c58)) | ||
* do not modify options object, use defaultScopes ([#76](https://www.github.com/googleapis/nodejs-memcache/issues/76)) ([b48f1ef](https://www.github.com/googleapis/nodejs-memcache/commit/b48f1efd8df276d542cead808f5b602fabdc047b)) | ||
|
||
## [1.2.0](https://www.github.com/googleapis/nodejs-memcache/compare/v1.1.0...v1.2.0) (2020-06-28) | ||
|
||
|
||
### Features | ||
|
||
* move ts target to es2018 from es2016 ([#30](https://www.github.com/googleapis/nodejs-memcache/issues/30)) ([086b37f](https://www.github.com/googleapis/nodejs-memcache/commit/086b37f5d49f26c137bcc0941d6ec80f7ceb17fb)) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* proper fallback option handling ([7515a7e](https://www.github.com/googleapis/nodejs-memcache/commit/7515a7e680ee87f63e344eab63a74522f4cf1720)) | ||
|
||
## [1.1.0](https://www.github.com/googleapis/nodejs-memcache/compare/v1.0.0...v1.1.0) (2020-06-04) | ||
|
||
|
||
### Features | ||
|
||
* check status of long running operation by its name ([#23](https://www.github.com/googleapis/nodejs-memcache/issues/23)) ([2256227](https://www.github.com/googleapis/nodejs-memcache/commit/22562276b0f53e338b3fc925d8830879261f8209)) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* remove eslint, update gax, fix generated protos, run the generator ([#13](https://www.github.com/googleapis/nodejs-memcache/issues/13)) ([93da9fb](https://www.github.com/googleapis/nodejs-memcache/commit/93da9fbf2da01ba4ba8caf6d3403cc08093dd5aa)) | ||
|
||
## 1.0.0 (2020-04-03) | ||
|
||
|
||
### ⚠ BREAKING CHANGES | ||
|
||
* initial generation of library (#3) | ||
|
||
### Features | ||
|
||
* initial generation of library ([#3](https://www.github.com/googleapis/nodejs-memcache/issues/3)) ([a94f499](https://www.github.com/googleapis/nodejs-memcache/commit/a94f499651bc3f56032261c51a030c893c71d7c3)) |
Oops, something went wrong.