Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

migrate code from googleapis/nodejs-retail #3648

Merged
merged 105 commits into from
Nov 17, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
105 commits
Select commit Hold shift + click to select a range
53b5e6c
chore: add initial files for launch
sofisl Jan 8, 2021
369ad39
feat!: initial stub of library
sofisl Jan 12, 2021
56fa48f
feat: add initial samples (#2)
sofisl Jan 13, 2021
c8232d5
chore: release 1.0.0 (#1)
release-please[bot] Jan 13, 2021
2ef9b11
chore: update package name, build config, protos (#14)
yoshi-automation Feb 6, 2021
fac314b
refactor(nodejs): move build cop to flakybot (#16)
yoshi-automation Feb 7, 2021
0671bff
feat(docs): promote to ga (#18)
bcoe Mar 2, 2021
881b625
chore: release 1.1.0 (#19)
release-please[bot] Mar 2, 2021
78943e3
build: update gapic-generator-typescript to v1.2.10. (#20)
yoshi-automation Mar 7, 2021
86ea366
chore: migrate to owl bot (#21)
SurferJeffAtGoogle Mar 18, 2021
0399e27
chore(deps): update dependency sinon to v10 (#28)
renovate-bot Mar 23, 2021
c63c668
chore(deps): update dependency @types/sinon to v10 (#39)
renovate-bot Apr 14, 2021
29c6922
chore(deps): update dependency ts-loader to v9 (#43)
renovate-bot Apr 19, 2021
38b6f53
fix(deps): require google-gax v2.12.0 (#47)
alexander-fenster May 7, 2021
9ad54c4
chore: new owl bot post processor docker image (#49)
gcf-owl-bot[bot] May 10, 2021
d46a263
fix: use require() to load JSON protos (#50)
gcf-owl-bot[bot] May 11, 2021
2fa7c95
chore: update gapic-generator-typescript to v1.3.2 (#51)
gcf-owl-bot[bot] May 11, 2021
05291ce
chore: release 1.1.1 (#48)
release-please[bot] May 13, 2021
4f95009
chore(deps): update dependency sinon to v11 (#54)
renovate-bot May 25, 2021
ddfe74d
fix: GoogleAdsError missing using generator version after 1.3.0 (#55)
gcf-owl-bot[bot] May 25, 2021
88a26be
chore: release 1.1.2 (#56)
release-please[bot] May 25, 2021
41842d5
fix: make request optional in all cases (#62)
gcf-owl-bot[bot] Jun 22, 2021
d762344
chore: release 1.1.3 (#63)
release-please[bot] Jun 25, 2021
a2ae895
fix(deps): require google-gax v2.17.0 (#66)
bcoe Jul 1, 2021
efb568c
chore: release 1.1.4 (#68)
release-please[bot] Jul 1, 2021
2420c65
fix(deps): google-gax v2.17.1 (#69)
bcoe Jul 12, 2021
0ef5edb
chore: release 1.1.5 (#70)
release-please[bot] Jul 13, 2021
8987bca
chore: release 1.1.5 (#71)
release-please[bot] Jul 13, 2021
e4618e1
fix: Updating WORKSPACE files to use the newest version of the Typesc…
gcf-owl-bot[bot] Jul 16, 2021
6724d8a
chore: release 1.1.6 (#74)
release-please[bot] Jul 16, 2021
a6b9129
feat: Add restricted Retail Search features for Retail API v2beta. (#79)
gcf-owl-bot[bot] Jul 30, 2021
f233c3d
docs: remove remaining private links (#85)
gcf-owl-bot[bot] Aug 2, 2021
fae3a66
docs: Remove HTML tags from Cloud Retail API library docs (#86)
gcf-owl-bot[bot] Aug 2, 2021
aa4c54f
chore: release 1.2.0 (#80)
release-please[bot] Aug 2, 2021
400dd1b
chore(nodejs): update client ref docs link in metadata (#88)
fhinkel Aug 4, 2021
eb48db9
docs(retail): Quote several literal expressions for better rendering …
gcf-owl-bot[bot] Aug 5, 2021
f4616ab
fix(deps): google-gax v2.24.1 (#91)
bcoe Aug 17, 2021
47d95e8
chore: release 1.2.1 (#92)
release-please[bot] Aug 17, 2021
fd4b8ed
docs: Keep the API doc up-to-date feat: update grpc service config se…
gcf-owl-bot[bot] Aug 25, 2021
ef06f48
chore: disable renovate dependency dashboard (#1194) (#97)
gcf-owl-bot[bot] Aug 25, 2021
b2c8c05
fix(build): set default branch to main (#98)
bcoe Sep 10, 2021
45528a4
chore: release 1.2.2 (#99)
release-please[bot] Sep 10, 2021
dbf7ed9
build(node): update deps used during postprocessing (#1243) (#106)
gcf-owl-bot[bot] Oct 14, 2021
7f3dfee
docs: Keep the API doc up-to-date
gcf-owl-bot[bot] Oct 19, 2021
55ed1b2
chore: release 1.3.0 (#108)
release-please[bot] Oct 19, 2021
e5779b9
chore: fix the wrong post processor image (#110)
Oct 27, 2021
7159a04
chore(deps): update dependency @types/node to v16 (#109)
renovate-bot Oct 27, 2021
a7885f5
docs: fix docstring formatting (#111)
gcf-owl-bot[bot] Oct 27, 2021
cd00c36
feat: Add local inventory ingestion APIs to product service in alpha …
gcf-owl-bot[bot] Oct 29, 2021
f3a432b
chore(cloud-rad): delete api-extractor config (#115)
fhinkel Nov 4, 2021
770cbe4
chore: release 1.4.0 (#113)
release-please[bot] Nov 4, 2021
88c6d1f
chore(deps): update dependency sinon to v12 (#114)
renovate-bot Nov 4, 2021
b04ce47
docs(samples): add example tags to generated samples (#116)
gcf-owl-bot[bot] Nov 10, 2021
8dde01a
feat: update grpc service config settings to reflect correct API dead…
gcf-owl-bot[bot] Nov 23, 2021
299d458
chore: release 1.5.0 (#118)
release-please[bot] Nov 29, 2021
950308f
build: add generated samples to .eslintignore (#120)
gcf-owl-bot[bot] Dec 10, 2021
79f3bb2
docs(node): support "stable"/"preview" release level (#1312) (#123)
gcf-owl-bot[bot] Dec 29, 2021
fac544f
chore: add api_shortname and library_type to repo metadata (#122)
parthea Dec 30, 2021
8ec9e1c
docs(badges): tweak badge to use new preview/stable language (#1314) …
gcf-owl-bot[bot] Dec 30, 2021
4b04ca3
test(nodejs): remove 15 add 16 (#1322) (#127)
gcf-owl-bot[bot] Jan 11, 2022
83d09ff
build: update copyright year to 2022 (#129)
gcf-owl-bot[bot] Jan 20, 2022
6fb130c
chore: update v2.12.0 gapic-generator-typescript (#132)
gcf-owl-bot[bot] Jan 26, 2022
1e20e28
feat: add ControlService feat: and ServingConfigService (#139)
gcf-owl-bot[bot] Feb 2, 2022
0a15b20
docs(nodejs): version support policy edits (#1346) (#143)
gcf-owl-bot[bot] Feb 4, 2022
4487e32
chore(deps): update dependency sinon to v13 (#138)
renovate-bot Feb 5, 2022
1e809fd
test: create/delete test resources scripts (#145)
nmykhailets Feb 15, 2022
f9453e3
chore(main): release 1.6.0 (#141)
release-please[bot] Feb 15, 2022
a864a92
chore(samples): add cloud-retail-team as sample owners (#137)
chenlei1216 Feb 16, 2022
9b34eba
docs(samples): include metadata file, add exclusions for samples to h…
gcf-owl-bot[bot] Feb 18, 2022
2093cf5
chore: remove unused imports in google/cloud/retail/v2 (#154)
gcf-owl-bot[bot] Mar 2, 2022
8f0ae3a
chore(samples): interactive tutorials code samples for CRUD products …
nmykhailets Mar 8, 2022
6c75511
chore(main): release 1.6.1 (#158)
release-please[bot] Mar 23, 2022
8289a91
feat: users can skip validation, search personalization, return ids, …
gcf-owl-bot[bot] Apr 1, 2022
e984a3b
chore(main): release 1.7.0 (#161)
release-please[bot] Apr 4, 2022
98310ed
feat: support batch products purge (v2alpha) (#167)
gcf-owl-bot[bot] Apr 8, 2022
9cf811c
chore(main): release 1.8.0 (#168)
release-please[bot] Apr 11, 2022
222583c
build(node): update client library version in samples metadata (#1356…
gcf-owl-bot[bot] Apr 20, 2022
6467896
chore(deps): update dependency @types/mocha to v9 (#175)
renovate-bot May 3, 2022
35744ba
chore(main): release 1.8.1 (#170)
release-please[bot] May 6, 2022
e136974
chore(deps): update dependency sinon to v14 (#178)
renovate-bot May 9, 2022
427a662
build!: update library to use Node 12 (#181)
sofisl May 20, 2022
c4669fb
feat: allow users to disable spell check in search requests (#183)
gcf-owl-bot[bot] Jun 3, 2022
d15fcf5
chore(deps): update dependency jsdoc-fresh to v2 (#188)
renovate-bot Jun 10, 2022
6e3283a
chore(deps): update dependency jsdoc-region-tag to v2 (#189)
renovate-bot Jun 10, 2022
6821bd5
fix(deps): update dependency @google-cloud/bigquery to v6 (#186)
renovate-bot Jun 20, 2022
2db8e97
chore(main): release 2.0.0 (#184)
release-please[bot] Jun 30, 2022
e4ba4ae
feat: support regapic LRO
gcf-owl-bot[bot] Jul 4, 2022
f3e831e
fix(deps): update dependency @google-cloud/storage to v6 (#185)
renovate-bot Jul 4, 2022
11cddb4
chore(deps): update dependency linkinator to v4 (#194)
renovate-bot Jul 13, 2022
6412954
chore: remove unused proto imports (#199)
gcf-owl-bot[bot] Aug 19, 2022
3c4690f
fix: better support for fallback mode (#204)
gcf-owl-bot[bot] Aug 23, 2022
81f0ccf
fix: change import long to require (#205)
gcf-owl-bot[bot] Aug 23, 2022
210b752
fix: do not import the whole google-gax from proto JS (#1553) (#208)
gcf-owl-bot[bot] Aug 27, 2022
8d0bdbc
fix: allow passing gax instance to client constructor (#206)
gcf-owl-bot[bot] Sep 1, 2022
0df8431
feat: Model Services, BatchRemoveCatalogAttributes, ExactSearchableOp…
gcf-owl-bot[bot] Sep 20, 2022
8a72f95
chore(main): release 2.1.0 (#193)
release-please[bot] Sep 20, 2022
3a02257
test: use fully qualified type names (#218)
gcf-owl-bot[bot] Sep 28, 2022
bfdf507
chore(deps): update dependency @types/node to v18 (#219)
renovate-bot Nov 16, 2022
1d8a341
chore(deps): update dependency jsdoc to v4 (#223)
renovate-bot Nov 16, 2022
b07becb
fix(deps): use google-gax v3.5.2 (#221)
alexander-fenster Nov 16, 2022
36bdec5
samples: pull in latest typeless bot, clean up some comments (#224)
gcf-owl-bot[bot] Nov 16, 2022
022a594
chore(main): release 2.1.1 (#225)
release-please[bot] Nov 16, 2022
a96ff49
Merge remote-tracking branch 'migration/main' into nodejs-retail-migr…
sofisl Nov 16, 2022
c85fd04
build: add release-please config, fix owlbot-config
sofisl Nov 16, 2022
0751b43
Merge branch 'main' into nodejs-retail-migration
sofisl Nov 17, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@
"packages/google-cloud-redis": "3.1.5",
"packages/google-cloud-resourcemanager": "4.1.3",
"packages/google-cloud-resourcesettings": "2.0.3",
"packages/google-cloud-retail": "2.1.1",
"packages/google-cloud-scheduler": "3.0.5",
"packages/google-cloud-secretmanager": "4.1.4",
"packages/google-cloud-security-privateca": "4.1.2",
Expand Down
21 changes: 21 additions & 0 deletions packages/google-cloud-retail/.OwlBot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# 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/retail/(.*)/.*-nodejs
dest: /owl-bot-staging/google-cloud-retail/$1

7 changes: 7 additions & 0 deletions packages/google-cloud-retail/.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-retail/.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-retail/.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-retail/.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-retail/.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/retail',
theme: 'lumen',
default: {
outputSourceFiles: false
}
},
markdown: {
idInHeadings: true
}
};
29 changes: 29 additions & 0 deletions packages/google-cloud-retail/.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-retail/.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-retail/.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-retail/.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-retail/.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/retail/latest",
"api_id": "retail.googleapis.com",
"distribution_name": "@google-cloud/retail",
"release_level": "stable",
"default_version": "v2beta",
"language": "nodejs",
"name_pretty": "Retail API",
"repo": "googleapis/google-cloud-node",
"product_documentation": "https://cloud.google.com/recommendations/",
"requires_billing": true,
"name": "retail",
"issue_tracker": "https://github.com/googleapis/google-cloud-node/issues",
"api_shortname": "retail",
"library_type": "GAPIC_AUTO",
"codeowner_team": "@googleapis/cloud-retail-team"
}
Loading