-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* init support for bundling request * merge * gtx fic * add baseline test for logging - unfinished * pick up gax change of exposing bundleDescriptor * repeated field extraction * local logging unit test work * clean up * update baseline * update client_config.json * feedback * move duplicate code
- Loading branch information
1 parent
65ea018
commit 264fb7b
Showing
69 changed files
with
12,544 additions
and
29 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
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
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
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,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 2020 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 2019 Google, LLC.', | ||
includeDate: false, | ||
sourceFiles: false, | ||
systemName: 'logging', | ||
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,5 @@ | ||
{ | ||
"enable-source-maps": true, | ||
"throw-deprecation": true, | ||
"timeout": 10000 | ||
} |
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 @@ | ||
Logging: Nodejs Client |
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,10 @@ | ||
{ | ||
"recurse": true, | ||
"skip": [ | ||
"https://codecov.io/gh/googleapis/", | ||
"www.googleapis.com", | ||
"img.shields.io" | ||
], | ||
"silent": true, | ||
"concurrency": 10 | ||
} |
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,49 @@ | ||
{ | ||
"name": "logging", | ||
"version": "0.1.0", | ||
"description": "Logging client for Node.js", | ||
"repository": "googleapis/nodejs-logging", | ||
"license": "Apache-2.0", | ||
"author": "Google LLC", | ||
"files": [ | ||
"build/src", | ||
"build/protos" | ||
], | ||
"main": "build/src/index.js", | ||
"scripts": { | ||
"clean": "gts clean", | ||
"compile": "tsc -p . && cp -r protos build/", | ||
"compile-protos": "compileProtos src", | ||
"docs": "jsdoc -c .jsdoc.js", | ||
"docs-test": "linkinator docs", | ||
"fix": "gts fix", | ||
"lint": "gts check", | ||
"predocs-test": "npm run docs", | ||
"prepare": "npm run compile-protos && npm run compile", | ||
"system-test": "c8 mocha build/system-test", | ||
"test": "c8 mocha build/test" | ||
}, | ||
"dependencies": { | ||
"google-gax": "^1.15.1" | ||
}, | ||
"devDependencies": { | ||
"@types/mocha": "^5.2.7", | ||
"@types/node": "^12.12.30", | ||
"c8": "^7.1.0", | ||
"gts": "^1.1.2", | ||
"jsdoc": "^3.6.3", | ||
"jsdoc-fresh": "^1.0.2", | ||
"jsdoc-region-tag": "^1.0.4", | ||
"linkinator": "^2.0.3", | ||
"mocha": "^6.2.2", | ||
"pack-n-play": "^1.0.0-2", | ||
"null-loader": "^3.0.0", | ||
"ts-loader": "^6.2.1", | ||
"typescript": "~3.7.5", | ||
"webpack": "^4.42.0", | ||
"webpack-cli": "^3.3.11" | ||
}, | ||
"engines": { | ||
"node": ">=8.13.0" | ||
} | ||
} |
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 @@ | ||
package.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,25 @@ | ||
google/protobuf/descriptor.proto | ||
google/api/field_behavior.proto | ||
google/api/label.proto | ||
google/api/launch_stage.proto | ||
google/protobuf/struct.proto | ||
google/api/monitored_resource.proto | ||
google/api/resource.proto | ||
google/protobuf/duration.proto | ||
google/api/http.proto | ||
google/api/annotations.proto | ||
google/logging/type/http_request.proto | ||
google/logging/type/log_severity.proto | ||
google/protobuf/any.proto | ||
google/protobuf/timestamp.proto | ||
google/rpc/status.proto | ||
google/logging/v2/log_entry.proto | ||
google/api/client.proto | ||
google/protobuf/empty.proto | ||
google/protobuf/field_mask.proto | ||
google/logging/v2/logging_config.proto | ||
google/logging/v2/logging.proto | ||
google/api/distribution.proto | ||
google/api/metric.proto | ||
google/logging/v2/logging_metrics.proto | ||
google/cloud/common_resources.proto |
52 changes: 52 additions & 0 deletions
52
baselines/logging/protos/google/cloud/common_resources.proto.baseline
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,52 @@ | ||
// Copyright 2020 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. | ||
|
||
// This file contains stub messages for common resources in GCP. | ||
// It is not intended to be directly generated, and is instead used by | ||
// other tooling to be able to match common resource patterns. | ||
syntax = "proto3"; | ||
|
||
package google.cloud; | ||
|
||
import "google/api/resource.proto"; | ||
|
||
|
||
option (google.api.resource_definition) = { | ||
type: "cloudresourcemanager.googleapis.com/Project" | ||
pattern: "projects/{project}" | ||
}; | ||
|
||
|
||
option (google.api.resource_definition) = { | ||
type: "cloudresourcemanager.googleapis.com/Organization" | ||
pattern: "organizations/{organization}" | ||
}; | ||
|
||
|
||
option (google.api.resource_definition) = { | ||
type: "cloudresourcemanager.googleapis.com/Folder" | ||
pattern: "folders/{folder}" | ||
}; | ||
|
||
|
||
option (google.api.resource_definition) = { | ||
type: "cloudbilling.googleapis.com/BillingAccount" | ||
pattern: "billingAccounts/{billing_account}" | ||
}; | ||
|
||
option (google.api.resource_definition) = { | ||
type: "locations.googleapis.com/Location" | ||
pattern: "projects/{project}/locations/{location}" | ||
}; | ||
|
Oops, something went wrong.