Skip to content

Commit

Permalink
Merge pull request #3570 from googleapis/nodejs-workflows-migration
Browse files Browse the repository at this point in the history
migrate code from googleapis/nodejs-workflows
  • Loading branch information
sofisl authored Nov 12, 2022
2 parents 8af4429 + f0b3085 commit d0b823f
Show file tree
Hide file tree
Showing 83 changed files with 52,434 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 @@ -50,6 +50,7 @@
"packages/google-cloud-texttospeech": "4.0.4",
"packages/google-cloud-translate": "7.0.4",
"packages/google-cloud-videointelligence": "4.1.1",
"packages/google-cloud-workflows-executions": "2.2.0",
"packages/google-cloud-webrisk": "3.2.0",
"packages/google-container": "4.4.0",
"packages/google-devtools-artifactregistry": "2.0.2",
Expand Down
22 changes: 22 additions & 0 deletions packages/google-cloud-workflows-executions/.OwlBot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# 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/workflows/executions/(.*)/.*-nodejs
dest: /owl-bot-staging/google-cloud-workflows-executions/$1
- source: /google/cloud/workflows/(.*)/.*-nodejs
dest: /owl-bot-staging/google-cloud-workflows-executions/$1
7 changes: 7 additions & 0 deletions packages/google-cloud-workflows-executions/.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-workflows-executions/.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-workflows-executions/.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-workflows-executions/.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-workflows-executions/.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/workflows',
theme: 'lumen',
default: {
outputSourceFiles: false
}
},
markdown: {
idInHeadings: true
}
};
29 changes: 29 additions & 0 deletions packages/google-cloud-workflows-executions/.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-workflows-executions/.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-workflows-executions/.prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
**/node_modules
**/coverage
test/fixtures
build/
docs/
protos/
8 changes: 8 additions & 0 deletions packages/google-cloud-workflows-executions/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
bracketSpacing: false
printWidth: 80
semi: true
singleQuote: true
tabWidth: 2
trailingComma: es5
useTabs: false
17 changes: 17 additions & 0 deletions packages/google-cloud-workflows-executions/.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-workflows-executions/.repo-metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "workflows",
"name_pretty": "Workflows",
"product_documentation": "https://cloud.google.com/workflows/docs/",
"client_documentation": "https://cloud.google.com/nodejs/docs/reference/workflows/latest",
"issue_tracker": "https://github.com/googleapis/google-cloud-node/issues",
"release_level": "stable",
"language": "nodejs",
"repo": "googleapis/google-cloud-node",
"distribution_name": "@google-cloud/workflows",
"api_id": "workflows.googleapis.com",
"requires_billing": true,
"default_version": "v1",
"api_shortname": "workflows",
"library_type": "GAPIC_AUTO",
"codeowner_team": "@googleapis/aap-dpes"
}
166 changes: 166 additions & 0 deletions packages/google-cloud-workflows-executions/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,166 @@
# Changelog

## [2.2.0](https://github.com/googleapis/nodejs-workflows/compare/v2.1.1...v2.2.0) (2022-11-11)


### Features

* Accept google-gax instance as a parameter ([#161](https://github.com/googleapis/nodejs-workflows/issues/161)) ([d0ae307](https://github.com/googleapis/nodejs-workflows/commit/d0ae307edf537b071b2425f718354414dcc1b3c4))


### Bug Fixes

* **deps:** Use google-gax v3.5.2 ([#172](https://github.com/googleapis/nodejs-workflows/issues/172)) ([9dc2c62](https://github.com/googleapis/nodejs-workflows/commit/9dc2c6267c90cc5d1273801645b182a73e745ff7))
* Do not import the whole google-gax from proto JS ([#1553](https://github.com/googleapis/nodejs-workflows/issues/1553)) ([#160](https://github.com/googleapis/nodejs-workflows/issues/160)) ([ce8fb0f](https://github.com/googleapis/nodejs-workflows/commit/ce8fb0f19788a4d7e95a3cdcc41432a7307e2275))
* Preserve default values in x-goog-request-params header ([#165](https://github.com/googleapis/nodejs-workflows/issues/165)) ([741cf60](https://github.com/googleapis/nodejs-workflows/commit/741cf608e1b775a7d9529bbb0a42029bcac7e752))
* Regenerated protos JS and TS definitions ([#175](https://github.com/googleapis/nodejs-workflows/issues/175)) ([2109309](https://github.com/googleapis/nodejs-workflows/commit/21093097fe481347737294d100ae9434a5c52845))
* use google-gax v3.3.0 ([ce8fb0f](https://github.com/googleapis/nodejs-workflows/commit/ce8fb0f19788a4d7e95a3cdcc41432a7307e2275))

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


### Bug Fixes

* better support for fallback mode ([#154](https://github.com/googleapis/nodejs-workflows/issues/154)) ([28911e9](https://github.com/googleapis/nodejs-workflows/commit/28911e9643f23783568b1a855792067b5ad8dde4))
* change import long to require ([#156](https://github.com/googleapis/nodejs-workflows/issues/156)) ([c236dda](https://github.com/googleapis/nodejs-workflows/commit/c236dda4b8c9d9098ded34119face5bfaa224552))
* remove pip install statements ([#1546](https://github.com/googleapis/nodejs-workflows/issues/1546)) ([#159](https://github.com/googleapis/nodejs-workflows/issues/159)) ([971982a](https://github.com/googleapis/nodejs-workflows/commit/971982aa6d8394f2ff08c19ed879074caedfe591))

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


### Features

* support regapic LRO ([#146](https://github.com/googleapis/nodejs-workflows/issues/146)) ([a513afb](https://github.com/googleapis/nodejs-workflows/commit/a513afb8499dd3e377b0c43ee31aeaacbf39c0e9))

## [2.0.0](https://github.com/googleapis/nodejs-workflows/compare/v1.4.0...v2.0.0) (2022-05-20)


### ⚠ BREAKING CHANGES

* update library to use Node 12 (#140)

### Bug Fixes

* **workflows:** add ancillary service bindings to service_yaml ([#116](https://github.com/googleapis/nodejs-workflows/issues/116)) ([e6b432f](https://github.com/googleapis/nodejs-workflows/commit/e6b432f51dfcff0249ac80f368705340218124f6))


### Build System

* update library to use Node 12 ([#140](https://github.com/googleapis/nodejs-workflows/issues/140)) ([e9f9ff9](https://github.com/googleapis/nodejs-workflows/commit/e9f9ff95d1c3374d98986cc3d13e011f760d406e))

## [1.4.0](https://www.github.com/googleapis/nodejs-workflows/compare/v1.3.1...v1.4.0) (2021-11-08)


### Features

* add a stack_trace field to the Error messages specifying where the error occured feat: add call_log_level field to Execution messages doc: clarify requirement to escape strings within JSON arguments ([#106](https://www.github.com/googleapis/nodejs-workflows/issues/106)) ([7ba49ae](https://www.github.com/googleapis/nodejs-workflows/commit/7ba49ae965a80e5a44e7add4d626524635c2f3e1))

### [1.3.1](https://www.github.com/googleapis/nodejs-workflows/compare/v1.3.0...v1.3.1) (2021-09-09)


### Bug Fixes

* **build:** migrate to using main branch ([#92](https://www.github.com/googleapis/nodejs-workflows/issues/92)) ([1f6e084](https://www.github.com/googleapis/nodejs-workflows/commit/1f6e084c99b648f9e02a5067ef6e7be4c04c1392))

## [1.3.0](https://www.github.com/googleapis/nodejs-workflows/compare/v1.2.6...v1.3.0) (2021-08-23)


### Features

* turns on self-signed JWT feature flag ([#89](https://www.github.com/googleapis/nodejs-workflows/issues/89)) ([c17023b](https://www.github.com/googleapis/nodejs-workflows/commit/c17023b8091a2372ff12ee8dd622bf1db82bcefa))

### [1.2.6](https://www.github.com/googleapis/nodejs-workflows/compare/v1.2.5...v1.2.6) (2021-08-17)


### Bug Fixes

* **deps:** google-gax v2.24.1 ([#87](https://www.github.com/googleapis/nodejs-workflows/issues/87)) ([ccc4a47](https://www.github.com/googleapis/nodejs-workflows/commit/ccc4a47846bbc6a8725a3abecf899cbacf6a10a6))

### [1.2.5](https://www.github.com/googleapis/nodejs-workflows/compare/v1.2.4...v1.2.5) (2021-07-21)


### Bug Fixes

* Updating WORKSPACE files to use the newest version of the Typescript generator. ([#80](https://www.github.com/googleapis/nodejs-workflows/issues/80)) ([0b782cf](https://www.github.com/googleapis/nodejs-workflows/commit/0b782cff0eddcd158fcbd272c76e54e35b6d336c))

### [1.2.4](https://www.github.com/googleapis/nodejs-workflows/compare/v1.2.3...v1.2.4) (2021-07-12)


### Bug Fixes

* **deps:** google-gax v2.17.1 ([#78](https://www.github.com/googleapis/nodejs-workflows/issues/78)) ([5e2c265](https://www.github.com/googleapis/nodejs-workflows/commit/5e2c2659d25c2927db2e93091ccd426909a079e5))

### [1.2.3](https://www.github.com/googleapis/nodejs-workflows/compare/v1.2.2...v1.2.3) (2021-06-29)


### Bug Fixes

* **deps:** google-gax v2.17.0 with mTLS ([#75](https://www.github.com/googleapis/nodejs-workflows/issues/75)) ([878255f](https://www.github.com/googleapis/nodejs-workflows/commit/878255f1c9e8be666f469eb35d486efa6ebb3e20))

### [1.2.2](https://www.github.com/googleapis/nodejs-workflows/compare/v1.2.1...v1.2.2) (2021-06-22)


### Bug Fixes

* make request optional in all cases ([#69](https://www.github.com/googleapis/nodejs-workflows/issues/69)) ([8e001de](https://www.github.com/googleapis/nodejs-workflows/commit/8e001de596a68c4705086ece713f1c8712462739))

### [1.2.1](https://www.github.com/googleapis/nodejs-workflows/compare/v1.2.0...v1.2.1) (2021-05-26)


### Bug Fixes

* GoogleAdsError missing using generator version after 1.3.0 ([#61](https://www.github.com/googleapis/nodejs-workflows/issues/61)) ([7f776b8](https://www.github.com/googleapis/nodejs-workflows/commit/7f776b893eaac71b35512be32c13f7c1e5f00cde))

## [1.2.0](https://www.github.com/googleapis/nodejs-workflows/compare/v1.1.0...v1.2.0) (2021-05-10)


### Features

* adds v1 API surface ([#52](https://www.github.com/googleapis/nodejs-workflows/issues/52)) ([c1ddc23](https://www.github.com/googleapis/nodejs-workflows/commit/c1ddc237ea9965881176d93b3fe678da260fc4fc))
* update release level to GA ([#54](https://www.github.com/googleapis/nodejs-workflows/issues/54)) ([5f05e45](https://www.github.com/googleapis/nodejs-workflows/commit/5f05e45f113756f5727fcd4a900652dd51bdb8ac))


### Bug Fixes

* **deps:** require google-gax v2.12.0 ([#48](https://www.github.com/googleapis/nodejs-workflows/issues/48)) ([e642151](https://www.github.com/googleapis/nodejs-workflows/commit/e6421515b0a34ed1e9e5290c7fafe6fb7ad7390e))

## [1.1.0](https://www.github.com/googleapis/nodejs-workflows/compare/v1.0.2...v1.1.0) (2021-01-09)


### Features

* adds style enumeration ([#30](https://www.github.com/googleapis/nodejs-workflows/issues/30)) ([de3c259](https://www.github.com/googleapis/nodejs-workflows/commit/de3c259d08dae7edd775310c0db35fa089f58db3))

### [1.0.2](https://www.github.com/googleapis/nodejs-workflows/compare/v1.0.1...v1.0.2) (2020-11-25)


### Bug Fixes

* better fallback feature detection, jsdoc update ([#23](https://www.github.com/googleapis/nodejs-workflows/issues/23)) ([2d4e44d](https://www.github.com/googleapis/nodejs-workflows/commit/2d4e44d789185b02735acb295c2431d9f02441e5))

### [1.0.1](https://www.github.com/googleapis/nodejs-workflows/compare/v1.0.0...v1.0.1) (2020-11-07)


### Bug Fixes

* do not modify options object, use defaultScopes ([#20](https://www.github.com/googleapis/nodejs-workflows/issues/20)) ([42bbbc5](https://www.github.com/googleapis/nodejs-workflows/commit/42bbbc51d0445b49ac80ec435e8ac2b38455d8ee))

## 1.0.0 (2020-09-17)


### ⚠ BREAKING CHANGES

* initial library generation (#8)

### Features

* add .repo-metadata.json and generate README ([#4](https://www.github.com/googleapis/nodejs-workflows/issues/4)) ([bddc804](https://www.github.com/googleapis/nodejs-workflows/commit/bddc80498f96dca332f06cc9f3f352d1569b177f))
* convert to TypeScript ([#2](https://www.github.com/googleapis/nodejs-workflows/issues/2)) ([18776d2](https://www.github.com/googleapis/nodejs-workflows/commit/18776d2192c7a6bff80d908c43511eba45d9b76d))
* initial implementation of library ([da40c83](https://www.github.com/googleapis/nodejs-workflows/commit/da40c838dffb7307775bfdd3859bdf8e12998bc5))
* initial library generation ([#8](https://www.github.com/googleapis/nodejs-workflows/issues/8)) ([159871a](https://www.github.com/googleapis/nodejs-workflows/commit/159871a2b5fb24bae7d5b830b6e9f39e75405591))


### Bug Fixes

* import should be from [@google-cloud](https://www.github.com/google-cloud) ([#5](https://www.github.com/googleapis/nodejs-workflows/issues/5)) ([5dd6461](https://www.github.com/googleapis/nodejs-workflows/commit/5dd6461833e2d555dbae0572c7cccef00f5df40e))
* package name was not set correctly in synth.py ([#6](https://www.github.com/googleapis/nodejs-workflows/issues/6)) ([e307a2d](https://www.github.com/googleapis/nodejs-workflows/commit/e307a2d85bc3953afae5a9098db761fa908c1c7c))
Loading

0 comments on commit d0b823f

Please sign in to comment.