diff --git a/BigQueryDataTransfer/VERSION b/BigQueryDataTransfer/VERSION
index 87a0871112f9..60a2d3e96c80 100644
--- a/BigQueryDataTransfer/VERSION
+++ b/BigQueryDataTransfer/VERSION
@@ -1 +1 @@
-0.3.3
\ No newline at end of file
+0.4.0
\ No newline at end of file
diff --git a/Bigtable/VERSION b/Bigtable/VERSION
index 9fc80f937fab..87a0871112f9 100644
--- a/Bigtable/VERSION
+++ b/Bigtable/VERSION
@@ -1 +1 @@
-0.3.2
\ No newline at end of file
+0.3.3
\ No newline at end of file
diff --git a/Container/VERSION b/Container/VERSION
index 9fc80f937fab..87a0871112f9 100644
--- a/Container/VERSION
+++ b/Container/VERSION
@@ -1 +1 @@
-0.3.2
\ No newline at end of file
+0.3.3
\ No newline at end of file
diff --git a/Core/VERSION b/Core/VERSION
index 7df3a13a6dc3..ac25b2cc796a 100644
--- a/Core/VERSION
+++ b/Core/VERSION
@@ -1 +1 @@
-1.19.1
\ No newline at end of file
+1.19.2
\ No newline at end of file
diff --git a/Dataproc/VERSION b/Dataproc/VERSION
index 9fc80f937fab..87a0871112f9 100644
--- a/Dataproc/VERSION
+++ b/Dataproc/VERSION
@@ -1 +1 @@
-0.3.2
\ No newline at end of file
+0.3.3
\ No newline at end of file
diff --git a/Debugger/VERSION b/Debugger/VERSION
index b1d7abc0dbab..bcaffe19b5bb 100644
--- a/Debugger/VERSION
+++ b/Debugger/VERSION
@@ -1 +1 @@
-0.6.2
\ No newline at end of file
+0.7.0
\ No newline at end of file
diff --git a/Debugger/src/DebuggerClient.php b/Debugger/src/DebuggerClient.php
index 687ab71aa9e0..d99c45284eb5 100644
--- a/Debugger/src/DebuggerClient.php
+++ b/Debugger/src/DebuggerClient.php
@@ -38,7 +38,7 @@ class DebuggerClient
{
use ClientTrait;
- const VERSION = '0.6.2';
+ const VERSION = '0.7.0';
const DEFAULT_AGENT_VERSION = 'google.com/gcp-php/v0.1';
const FULL_CONTROL_SCOPE = 'https://www.googleapis.com/auth/cloud-platform';
diff --git a/Debugger/tests/Unit/AgentTest.php b/Debugger/tests/Unit/AgentTest.php
index 1597eb6966a4..70fd8d95f88a 100644
--- a/Debugger/tests/Unit/AgentTest.php
+++ b/Debugger/tests/Unit/AgentTest.php
@@ -62,8 +62,12 @@ public function tearDown()
public function testSpecifyStorage()
{
+ $logger = $this->prophesize(LoggerInterface::class);
$this->storage->load()->willReturn(['debuggeeId', []])->shouldBeCalled();
- $agent = new Agent(['storage' => $this->storage->reveal()]);
+ $agent = new Agent([
+ 'storage' => $this->storage->reveal(),
+ 'logger' => $logger->reveal()
+ ]);
}
public function testSpecifyLogger()
@@ -79,9 +83,6 @@ public function testSpecifyLogger()
$agent->handleLogpoint('INFO', 'message', ['context' => 'value']);
}
- /**
- * @group focus
- */
public function testDaemonOptions()
{
putenv('IS_BATCH_DAEMON_RUNNING=true');
diff --git a/Dialogflow/VERSION b/Dialogflow/VERSION
new file mode 100644
index 000000000000..6e8bf73aa550
--- /dev/null
+++ b/Dialogflow/VERSION
@@ -0,0 +1 @@
+0.1.0
diff --git a/Dialogflow/composer.json b/Dialogflow/composer.json
index 7f96e9b1f776..b1bc01e67e04 100644
--- a/Dialogflow/composer.json
+++ b/Dialogflow/composer.json
@@ -11,7 +11,7 @@
"extra": {
"component": {
"id": "cloud-dialogflow",
- "path": "src/",
+ "path": "Dialogflow",
"entry": null,
"target": "GoogleCloudPlatform/google-cloud-php-dialogflow.git"
}
@@ -20,6 +20,11 @@
"google/proto-client": "^0.37",
"google/gax": "^0.31.0"
},
+ "require-dev": {
+ "phpunit/phpunit": "^4.8|^5.0",
+ "google/cloud-core": "^1.14",
+ "phpdocumentor/reflection": "^3.0"
+ },
"suggest": {
"ext-grpc": "Enables use of gRPC, a universal high-performance RPC framework created by Google."
}
diff --git a/Dialogflow/phpunit-snippets.xml.dist b/Dialogflow/phpunit-snippets.xml.dist
new file mode 100644
index 000000000000..b92fd83e3c1b
--- /dev/null
+++ b/Dialogflow/phpunit-snippets.xml.dist
@@ -0,0 +1,19 @@
+
+
+
+
+ tests/Snippet
+
+
+
+
+ src
+
+ src/V[!a-zA-Z]*
+
+
+
+
diff --git a/Dialogflow/phpunit-system.xml.dist b/Dialogflow/phpunit-system.xml.dist
new file mode 100644
index 000000000000..f6deee15a036
--- /dev/null
+++ b/Dialogflow/phpunit-system.xml.dist
@@ -0,0 +1,16 @@
+
+
+
+
+ tests/System
+
+
+
+
+ src
+
+ src/V[!a-zA-Z]*
+
+
+
+
diff --git a/Dialogflow/phpunit.xml.dist b/Dialogflow/phpunit.xml.dist
new file mode 100644
index 000000000000..1c2b8f6b56d2
--- /dev/null
+++ b/Dialogflow/phpunit.xml.dist
@@ -0,0 +1,16 @@
+
+
+
+
+ tests/Unit
+
+
+
+
+ src
+
+ src/V[!a-zA-Z]*
+
+
+
+
diff --git a/Dialogflow/tests/System/bootstrap.php b/Dialogflow/tests/System/bootstrap.php
new file mode 100644
index 000000000000..38465605b9a8
--- /dev/null
+++ b/Dialogflow/tests/System/bootstrap.php
@@ -0,0 +1,5 @@
+get($uri);
+ try {
+ $res = $guzzle->get($uri);
+ } catch (RequestException $e) {
+ return '0.0.0';
+ }
$release = json_decode((string) $res->getBody(), true);
@@ -212,7 +217,11 @@ private function updateComposerFiles($tmpDir, array $components)
$composerFile = $component['tmpDir'] . DIRECTORY_SEPARATOR .'composer.json';
$composer = json_decode(file_get_contents($composerFile), true);
if (json_last_error() !== JSON_ERROR_NONE) {
- throw new \RuntimeException('Could not decode composer file '. $composerFile);
+ throw new \RuntimeException(sprintf(
+ 'Could not decode composer file %s. Got error %s',
+ $composerFile,
+ json_last_error_msg()
+ ));
}
foreach ($aliases as $alias) {
diff --git a/docs/manifest.json b/docs/manifest.json
index 3e1f5be90f7c..0dab20c21624 100644
--- a/docs/manifest.json
+++ b/docs/manifest.json
@@ -11,6 +11,7 @@
"name": "google/cloud",
"defaultService": "servicebuilder",
"versions": [
+ "v0.61.0",
"v0.60.0",
"v0.59.0",
"v0.58.1",
@@ -122,6 +123,7 @@
"name": "google/cloud-bigquerydatatransfer",
"defaultService": "bigquerydatatransfer/readme",
"versions": [
+ "v0.4.0",
"v0.3.3",
"v0.3.2",
"v0.3.1",
@@ -134,6 +136,7 @@
"name": "google/cloud-bigtable",
"defaultService": "bigtable/readme",
"versions": [
+ "v0.3.3",
"v0.3.2",
"v0.3.1",
"v0.3.0",
@@ -151,6 +154,7 @@
"name": "google/cloud-container",
"defaultService": "container/readme",
"versions": [
+ "v0.3.3",
"v0.3.2",
"v0.3.1",
"v0.3.0",
@@ -168,6 +172,7 @@
"name": "google/cloud-core",
"defaultService": "core/servicebuilder",
"versions": [
+ "v1.19.2",
"v1.19.1",
"v1.19.0",
"v1.18.0",
@@ -211,6 +216,7 @@
"name": "google/cloud-dataproc",
"defaultService": "dataproc/readme",
"versions": [
+ "v0.3.3",
"v0.3.2",
"v0.3.1",
"v0.3.0",
@@ -250,6 +256,7 @@
"name": "google/cloud-debugger",
"defaultService": "debugger/debuggerclient",
"versions": [
+ "v0.7.0",
"v0.6.2",
"v0.6.1",
"v0.6.0",
@@ -266,6 +273,7 @@
"name": "google/cloud-dialogflow",
"defaultService": "dialogflow/readme",
"versions": [
+ "v0.1.0",
"master"
]
},
@@ -274,6 +282,7 @@
"name": "google/cloud-dlp",
"defaultService": "dlp/readme",
"versions": [
+ "v0.8.0",
"v0.7.2",
"v0.7.1",
"v0.7.0",
@@ -300,6 +309,7 @@
"name": "google/cloud-error-reporting",
"defaultService": "errorreporting/readme",
"versions": [
+ "v0.9.4",
"v0.9.3",
"v0.9.2",
"v0.9.1",
@@ -332,6 +342,7 @@
"name": "google/cloud-firestore",
"defaultService": "firestore/firestoreclient",
"versions": [
+ "v0.8.1",
"v0.8.0",
"v0.7.0",
"v0.6.0",
@@ -357,6 +368,7 @@
"name": "google/cloud-iot",
"defaultService": "iot/readme",
"versions": [
+ "v0.1.2",
"v0.1.1",
"v0.1.0",
"master"
@@ -367,6 +379,7 @@
"name": "google/cloud-language",
"defaultService": "language/languageclient",
"versions": [
+ "v0.13.3",
"v0.13.2",
"v0.13.1",
"v0.13.0",
@@ -398,6 +411,7 @@
"name": "google/cloud-logging",
"defaultService": "logging/loggingclient",
"versions": [
+ "v1.10.3",
"v1.10.2",
"v1.10.1",
"v1.10.0",
@@ -431,6 +445,7 @@
"name": "google/cloud-monitoring",
"defaultService": "monitoring/readme",
"versions": [
+ "v0.9.3",
"v0.9.2",
"v0.9.1",
"v0.9.0",
@@ -461,6 +476,7 @@
"name": "google/cloud-oslogin",
"defaultService": "oslogin/readme",
"versions": [
+ "v0.3.3",
"v0.3.2",
"v0.3.1",
"v0.3.0",
@@ -478,6 +494,7 @@
"name": "google/cloud-pubsub",
"defaultService": "pubsub/pubsubclient",
"versions": [
+ "v1.1.3",
"v1.1.2",
"v1.1.1",
"v1.1.0",
@@ -514,6 +531,7 @@
"name": "google/cloud-spanner",
"defaultService": "spanner/spannerclient",
"versions": [
+ "v1.3.3",
"v1.3.2",
"v1.3.1",
"v1.3.0",
@@ -550,6 +568,7 @@
"name": "google/cloud-speech",
"defaultService": "speech/speechclient",
"versions": [
+ "v0.12.3",
"v0.12.2",
"v0.12.1",
"v0.12.0",
@@ -604,6 +623,7 @@
"name": "google/cloud-trace",
"defaultService": "trace/traceclient",
"versions": [
+ "v0.7.3",
"v0.7.2",
"v0.7.1",
"v0.7.0",
@@ -646,6 +666,7 @@
"name": "google/cloud-videointelligence",
"defaultService": "videointelligence/videointelligenceserviceclient",
"versions": [
+ "v0.10.3",
"v0.10.2",
"v0.10.1",
"v0.10.0",
@@ -675,6 +696,7 @@
"name": "google/cloud-vision",
"defaultService": "vision/visionclient",
"versions": [
+ "v0.11.3",
"v0.11.2",
"v0.11.1",
"v0.11.0",
diff --git a/src/ServiceBuilder.php b/src/ServiceBuilder.php
index 3c6ceebdba8f..2ce2bdd378a3 100644
--- a/src/ServiceBuilder.php
+++ b/src/ServiceBuilder.php
@@ -30,5 +30,5 @@ class ServiceBuilder extends CoreServiceBuilder
/**
* @deprecated
*/
- const VERSION = '0.60.0';
+ const VERSION = '0.61.0';
}
diff --git a/src/VERSION b/src/VERSION
new file mode 100644
index 000000000000..6c6aa7cb0918
--- /dev/null
+++ b/src/VERSION
@@ -0,0 +1 @@
+0.1.0
\ No newline at end of file
diff --git a/src/Version.php b/src/Version.php
index cc7d9727ccd3..147269dd65ec 100644
--- a/src/Version.php
+++ b/src/Version.php
@@ -22,5 +22,5 @@
*/
class Version
{
- const VERSION = '0.60.0';
+ const VERSION = '0.61.0';
}