-
Notifications
You must be signed in to change notification settings - Fork 591
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
Monitoring: Regeneration #2427
Monitoring: Regeneration #2427
Conversation
packages/monitoring/package.json
Outdated
@@ -4,10 +4,37 @@ | |||
"version": "0.3.0", | |||
"author": "Google Inc", | |||
"description": "Stackdriver Monitoring API client for Node.js", | |||
"contributors": [ |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
packages/monitoring/src/v3/index.js
Outdated
module.exports = v3; |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
}); |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
packages/monitoring/src/index.js
Outdated
module.exports.v3.types = v3Protos; |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
@@ -17,7 +17,7 @@ | |||
|
|||
describe('MetricServiceSmokeTest', function() { | |||
if (!process.env.SMOKE_TEST_PROJECT) { | |||
throw new Error("Usage: SMOKE_TEST_PROJECT=<project_id> node #{$0}"); | |||
throw new Error("Usage: SMOKE_TEST_PROJECT=<project_id> npm run smoke-test"); |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
@@ -35,7 +35,7 @@ var SERVICE_ADDRESS = 'monitoring.googleapis.com'; | |||
|
|||
var DEFAULT_SERVICE_PORT = 443; | |||
|
|||
var CODE_GEN_NAME_VERSION = 'gapic/0.7.1'; | |||
var CODE_GEN_NAME_VERSION = 'gapic/0.3.0'; |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
@@ -31,7 +32,11 @@ function v3(options) { | |||
return result; | |||
} | |||
|
|||
v3.GAPIC_VERSION = '0.3.0'; |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
@@ -35,7 +35,7 @@ var SERVICE_ADDRESS = 'monitoring.googleapis.com'; | |||
|
|||
var DEFAULT_SERVICE_PORT = 443; | |||
|
|||
var CODE_GEN_NAME_VERSION = 'gapic/0.7.1'; | |||
var CODE_GEN_NAME_VERSION = 'gapic/0.3.0'; |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
@swcloud Made this simply the generated packages including the docs. I'll address the hand-edits in toolkit. |
@landrito LGTM except the GAPIC version number. @stephenplusplus may also need to approve it before he merges to the master. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I assume most of these comments apply to #2428 as well.
"email": "sawchuk@gmail.com" | ||
} | ||
], | ||
"version": "0.3.0", |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
'use strict'; | ||
|
||
describe('MetricServiceSmokeTest', function() { | ||
if (!process.env.SMOKE_TEST_PROJECT) { |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
client.listMonitoredResourceDescriptors({name: formattedName}).then(function(responses) { | ||
var resources = responses[0]; | ||
for (var i = 0; i < resources.length; ++i) { | ||
console.log(resources[i]); |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
||
describe('MetricServiceSmokeTest', function() { | ||
if (!process.env.SMOKE_TEST_PROJECT) { | ||
throw new Error("Usage: SMOKE_TEST_PROJECT=<project_id> node #{$0}"); |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
// The actual response object, if necessary. | ||
// var rawResponse = responses[2]; | ||
for (var i = 0; i < resources.length; ++i) { | ||
console.log(resources[i]) |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
||
/*! |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
}, | ||
"devDependencies": { | ||
"mocha": "^3.1.2" | ||
"mocha": "^3.2.0", | ||
"through2": "^2.0.3" |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
No description provided.