From 4fd49a7e94cc5169ebb58470590c8478b51d1299 Mon Sep 17 00:00:00 2001 From: Chad Wilson Date: Fri, 12 Jul 2024 17:16:39 +0800 Subject: [PATCH] Update gauge-proto to latest while re-generating for protobuf 4 compatibility (#362) Signed-off-by: Chad Wilson --- Gemfile.lock | 3 +- gauge-proto | 2 +- gauge-ruby.gemspec | 1 - lib/messages_pb.rb | 381 ++++++------------------------------ lib/services_pb.rb | 11 +- lib/services_services_pb.rb | 113 +++++++---- lib/spec_pb.rb | 296 ++++------------------------ ruby.json | 2 +- 8 files changed, 184 insertions(+), 625 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 9c8b751..fdc5c4f 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,8 +1,7 @@ PATH remote: . specs: - gauge-ruby (0.9.1) - google-protobuf (>= 3, < 4) + gauge-ruby (0.9.2) grpc (~> 1.10, >= 1.10.0, < 1.65) parser (>= 3.1, < 4.0) unparser (>= 0.6.4, < 0.7.0) diff --git a/gauge-proto b/gauge-proto index e30b9fe..46eb614 160000 --- a/gauge-proto +++ b/gauge-proto @@ -1 +1 @@ -Subproject commit e30b9fe632aab27e1e9e02c23ac5a664b52ea25d +Subproject commit 46eb6144d984897b04de5bb5ea90699fb110b9f0 diff --git a/gauge-ruby.gemspec b/gauge-ruby.gemspec index f02ec2e..c7adc31 100644 --- a/gauge-ruby.gemspec +++ b/gauge-ruby.gemspec @@ -21,7 +21,6 @@ Gem::Specification.new do |s| s.add_runtime_dependency 'parser', '>= 3.1', '< 4.0' s.add_runtime_dependency 'unparser', '>= 0.6.4', '< 0.7.0' s.add_runtime_dependency 'grpc', '~> 1.10', '>= 1.10.0', '< 1.65' - s.add_runtime_dependency 'google-protobuf', '>= 3', '< 4' s.add_development_dependency 'grpc-tools', '~> 1.10', '>= 1.10.0', '< 1.65' s.required_ruby_version = ">= 3.1" end diff --git a/lib/messages_pb.rb b/lib/messages_pb.rb index 65d7f05..0225c1a 100644 --- a/lib/messages_pb.rb +++ b/lib/messages_pb.rb @@ -1,331 +1,72 @@ +# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: messages.proto require 'google/protobuf' require 'spec_pb' -Google::Protobuf::DescriptorPool.generated_pool.build do - add_file("messages.proto", :syntax => :proto3) do - add_message "gauge.messages.KillProcessRequest" do - end - add_message "gauge.messages.ExecutionStatusResponse" do - optional :executionResult, :message, 1, "gauge.messages.ProtoExecutionResult" - end - add_message "gauge.messages.ExecutionStartingRequest" do - optional :currentExecutionInfo, :message, 1, "gauge.messages.ExecutionInfo" - optional :suiteResult, :message, 2, "gauge.messages.ProtoSuiteResult" - end - add_message "gauge.messages.ExecutionEndingRequest" do - optional :currentExecutionInfo, :message, 1, "gauge.messages.ExecutionInfo" - optional :suiteResult, :message, 2, "gauge.messages.ProtoSuiteResult" - end - add_message "gauge.messages.SpecExecutionStartingRequest" do - optional :currentExecutionInfo, :message, 1, "gauge.messages.ExecutionInfo" - optional :specResult, :message, 2, "gauge.messages.ProtoSpecResult" - end - add_message "gauge.messages.SpecExecutionEndingRequest" do - optional :currentExecutionInfo, :message, 1, "gauge.messages.ExecutionInfo" - optional :specResult, :message, 2, "gauge.messages.ProtoSpecResult" - end - add_message "gauge.messages.ScenarioExecutionStartingRequest" do - optional :currentExecutionInfo, :message, 1, "gauge.messages.ExecutionInfo" - optional :scenarioResult, :message, 2, "gauge.messages.ProtoScenarioResult" - end - add_message "gauge.messages.ScenarioExecutionEndingRequest" do - optional :currentExecutionInfo, :message, 1, "gauge.messages.ExecutionInfo" - optional :scenarioResult, :message, 2, "gauge.messages.ProtoScenarioResult" - end - add_message "gauge.messages.StepExecutionStartingRequest" do - optional :currentExecutionInfo, :message, 1, "gauge.messages.ExecutionInfo" - optional :stepResult, :message, 2, "gauge.messages.ProtoStepResult" - end - add_message "gauge.messages.StepExecutionEndingRequest" do - optional :currentExecutionInfo, :message, 1, "gauge.messages.ExecutionInfo" - optional :stepResult, :message, 2, "gauge.messages.ProtoStepResult" - end - add_message "gauge.messages.ExecutionArg" do - optional :flagName, :string, 1 - repeated :flagValue, :string, 2 - end - add_message "gauge.messages.ExecutionInfo" do - optional :currentSpec, :message, 1, "gauge.messages.SpecInfo" - optional :currentScenario, :message, 2, "gauge.messages.ScenarioInfo" - optional :currentStep, :message, 3, "gauge.messages.StepInfo" - optional :stacktrace, :string, 4 - optional :projectName, :string, 5 - repeated :ExecutionArgs, :message, 6, "gauge.messages.ExecutionArg" - optional :numberOfExecutionStreams, :int32, 7 - optional :runnerId, :int32, 8 - end - add_message "gauge.messages.SpecInfo" do - optional :name, :string, 1 - optional :fileName, :string, 2 - optional :isFailed, :bool, 3 - repeated :tags, :string, 4 - end - add_message "gauge.messages.ScenarioInfo" do - optional :name, :string, 1 - optional :isFailed, :bool, 2 - repeated :tags, :string, 3 - end - add_message "gauge.messages.StepInfo" do - optional :step, :message, 1, "gauge.messages.ExecuteStepRequest" - optional :isFailed, :bool, 2 - optional :stackTrace, :string, 3 - optional :errorMessage, :string, 4 - end - add_message "gauge.messages.ExecuteStepRequest" do - optional :actualStepText, :string, 1 - optional :parsedStepText, :string, 2 - optional :scenarioFailing, :bool, 3 - repeated :parameters, :message, 4, "gauge.messages.Parameter" - end - add_message "gauge.messages.StepValidateRequest" do - optional :stepText, :string, 1 - optional :numberOfParameters, :int32, 2 - optional :stepValue, :message, 3, "gauge.messages.ProtoStepValue" - end - add_message "gauge.messages.StepValidateResponse" do - optional :isValid, :bool, 1 - optional :errorMessage, :string, 2 - optional :errorType, :enum, 3, "gauge.messages.StepValidateResponse.ErrorType" - optional :suggestion, :string, 4 - end - add_enum "gauge.messages.StepValidateResponse.ErrorType" do - value :STEP_IMPLEMENTATION_NOT_FOUND, 0 - value :DUPLICATE_STEP_IMPLEMENTATION, 1 - end - add_message "gauge.messages.SuiteExecutionResult" do - optional :suiteResult, :message, 1, "gauge.messages.ProtoSuiteResult" - end - add_message "gauge.messages.SuiteExecutionResultItem" do - optional :resultItem, :message, 1, "gauge.messages.ProtoItem" - end - add_message "gauge.messages.StepNamesRequest" do - end - add_message "gauge.messages.StepNamesResponse" do - repeated :steps, :string, 1 - end - add_message "gauge.messages.ScenarioDataStoreInitRequest" do - end - add_message "gauge.messages.SpecDataStoreInitRequest" do - end - add_message "gauge.messages.SuiteDataStoreInitRequest" do - end - add_message "gauge.messages.ParameterPosition" do - optional :oldPosition, :int32, 1 - optional :newPosition, :int32, 2 - end - add_message "gauge.messages.RefactorRequest" do - optional :oldStepValue, :message, 1, "gauge.messages.ProtoStepValue" - optional :newStepValue, :message, 2, "gauge.messages.ProtoStepValue" - repeated :paramPositions, :message, 3, "gauge.messages.ParameterPosition" - optional :saveChanges, :bool, 4 - end - add_message "gauge.messages.FileChanges" do - optional :fileName, :string, 1 - optional :fileContent, :string, 2 - repeated :diffs, :message, 3, "gauge.messages.TextDiff" - end - add_message "gauge.messages.RefactorResponse" do - optional :success, :bool, 1 - optional :error, :string, 2 - repeated :filesChanged, :string, 3 - repeated :fileChanges, :message, 4, "gauge.messages.FileChanges" - end - add_message "gauge.messages.StepNameRequest" do - optional :stepValue, :string, 1 - end - add_message "gauge.messages.StepNameResponse" do - optional :isStepPresent, :bool, 1 - repeated :stepName, :string, 2 - optional :hasAlias, :bool, 3 - optional :fileName, :string, 4 - optional :span, :message, 5, "gauge.messages.Span" - end - add_message "gauge.messages.UnsupportedMessageResponse" do - optional :message, :string, 1 - end - add_message "gauge.messages.CacheFileRequest" do - optional :content, :string, 1 - optional :filePath, :string, 2 - optional :isClosed, :bool, 3 - optional :status, :enum, 4, "gauge.messages.CacheFileRequest.FileStatus" - end - add_enum "gauge.messages.CacheFileRequest.FileStatus" do - value :CHANGED, 0 - value :CLOSED, 1 - value :CREATED, 2 - value :DELETED, 3 - value :OPENED, 4 - end - add_message "gauge.messages.StepPositionsRequest" do - optional :filePath, :string, 1 - end - add_message "gauge.messages.StepPositionsResponse" do - repeated :stepPositions, :message, 1, "gauge.messages.StepPositionsResponse.StepPosition" - optional :error, :string, 2 - end - add_message "gauge.messages.StepPositionsResponse.StepPosition" do - optional :stepValue, :string, 1 - optional :span, :message, 2, "gauge.messages.Span" - end - add_message "gauge.messages.ImplementationFileGlobPatternRequest" do - end - add_message "gauge.messages.ImplementationFileGlobPatternResponse" do - repeated :globPatterns, :string, 1 - end - add_message "gauge.messages.ImplementationFileListRequest" do - end - add_message "gauge.messages.ImplementationFileListResponse" do - repeated :implementationFilePaths, :string, 1 - end - add_message "gauge.messages.StubImplementationCodeRequest" do - optional :implementationFilePath, :string, 1 - repeated :codes, :string, 2 - end - add_message "gauge.messages.TextDiff" do - optional :span, :message, 1, "gauge.messages.Span" - optional :content, :string, 2 - end - add_message "gauge.messages.FileDiff" do - optional :filePath, :string, 1 - repeated :textDiffs, :message, 2, "gauge.messages.TextDiff" - end - add_message "gauge.messages.KeepAlive" do - optional :pluginId, :string, 1 - end - add_message "gauge.messages.Empty" do - end - add_message "gauge.messages.Message" do - optional :messageType, :enum, 1, "gauge.messages.Message.MessageType" - optional :messageId, :int64, 2 - optional :executionStartingRequest, :message, 3, "gauge.messages.ExecutionStartingRequest" - optional :specExecutionStartingRequest, :message, 4, "gauge.messages.SpecExecutionStartingRequest" - optional :specExecutionEndingRequest, :message, 5, "gauge.messages.SpecExecutionEndingRequest" - optional :scenarioExecutionStartingRequest, :message, 6, "gauge.messages.ScenarioExecutionStartingRequest" - optional :scenarioExecutionEndingRequest, :message, 7, "gauge.messages.ScenarioExecutionEndingRequest" - optional :stepExecutionStartingRequest, :message, 8, "gauge.messages.StepExecutionStartingRequest" - optional :stepExecutionEndingRequest, :message, 9, "gauge.messages.StepExecutionEndingRequest" - optional :executeStepRequest, :message, 10, "gauge.messages.ExecuteStepRequest" - optional :executionEndingRequest, :message, 11, "gauge.messages.ExecutionEndingRequest" - optional :stepValidateRequest, :message, 12, "gauge.messages.StepValidateRequest" - optional :stepValidateResponse, :message, 13, "gauge.messages.StepValidateResponse" - optional :executionStatusResponse, :message, 14, "gauge.messages.ExecutionStatusResponse" - optional :stepNamesRequest, :message, 15, "gauge.messages.StepNamesRequest" - optional :stepNamesResponse, :message, 16, "gauge.messages.StepNamesResponse" - optional :suiteExecutionResult, :message, 17, "gauge.messages.SuiteExecutionResult" - optional :killProcessRequest, :message, 18, "gauge.messages.KillProcessRequest" - optional :scenarioDataStoreInitRequest, :message, 19, "gauge.messages.ScenarioDataStoreInitRequest" - optional :specDataStoreInitRequest, :message, 20, "gauge.messages.SpecDataStoreInitRequest" - optional :suiteDataStoreInitRequest, :message, 21, "gauge.messages.SuiteDataStoreInitRequest" - optional :stepNameRequest, :message, 22, "gauge.messages.StepNameRequest" - optional :stepNameResponse, :message, 23, "gauge.messages.StepNameResponse" - optional :refactorRequest, :message, 24, "gauge.messages.RefactorRequest" - optional :refactorResponse, :message, 25, "gauge.messages.RefactorResponse" - optional :unsupportedMessageResponse, :message, 26, "gauge.messages.UnsupportedMessageResponse" - optional :cacheFileRequest, :message, 27, "gauge.messages.CacheFileRequest" - optional :stepPositionsRequest, :message, 28, "gauge.messages.StepPositionsRequest" - optional :stepPositionsResponse, :message, 29, "gauge.messages.StepPositionsResponse" - optional :implementationFileListRequest, :message, 30, "gauge.messages.ImplementationFileListRequest" - optional :implementationFileListResponse, :message, 31, "gauge.messages.ImplementationFileListResponse" - optional :stubImplementationCodeRequest, :message, 32, "gauge.messages.StubImplementationCodeRequest" - optional :fileDiff, :message, 33, "gauge.messages.FileDiff" - optional :implementationFileGlobPatternRequest, :message, 34, "gauge.messages.ImplementationFileGlobPatternRequest" - optional :implementationFileGlobPatternResponse, :message, 35, "gauge.messages.ImplementationFileGlobPatternResponse" - optional :suiteExecutionResultItem, :message, 36, "gauge.messages.SuiteExecutionResultItem" - optional :keepAlive, :message, 37, "gauge.messages.KeepAlive" - end - add_enum "gauge.messages.Message.MessageType" do - value :ExecutionStarting, 0 - value :SpecExecutionStarting, 1 - value :SpecExecutionEnding, 2 - value :ScenarioExecutionStarting, 3 - value :ScenarioExecutionEnding, 4 - value :StepExecutionStarting, 5 - value :StepExecutionEnding, 6 - value :ExecuteStep, 7 - value :ExecutionEnding, 8 - value :StepValidateRequest, 9 - value :StepValidateResponse, 10 - value :ExecutionStatusResponse, 11 - value :StepNamesRequest, 12 - value :StepNamesResponse, 13 - value :KillProcessRequest, 14 - value :SuiteExecutionResult, 15 - value :ScenarioDataStoreInit, 16 - value :SpecDataStoreInit, 17 - value :SuiteDataStoreInit, 18 - value :StepNameRequest, 19 - value :StepNameResponse, 20 - value :RefactorRequest, 21 - value :RefactorResponse, 22 - value :UnsupportedMessageResponse, 23 - value :CacheFileRequest, 24 - value :StepPositionsRequest, 25 - value :StepPositionsResponse, 26 - value :ImplementationFileListRequest, 27 - value :ImplementationFileListResponse, 28 - value :StubImplementationCodeRequest, 29 - value :FileDiff, 30 - value :ImplementationFileGlobPatternRequest, 31 - value :ImplementationFileGlobPatternResponse, 32 - value :SuiteExecutionResultItem, 33 - value :KeepAlive, 34 - end - end -end + + +descriptor_data = "\n\x0emessages.proto\x12\x0egauge.messages\x1a\nspec.proto\"\x14\n\x12KillProcessRequest\"X\n\x17\x45xecutionStatusResponse\x12=\n\x0f\x65xecutionResult\x18\x01 \x01(\x0b\x32$.gauge.messages.ProtoExecutionResult\"\x9e\x01\n\x18\x45xecutionStartingRequest\x12;\n\x14\x63urrentExecutionInfo\x18\x01 \x01(\x0b\x32\x1d.gauge.messages.ExecutionInfo\x12\x35\n\x0bsuiteResult\x18\x02 \x01(\x0b\x32 .gauge.messages.ProtoSuiteResult\x12\x0e\n\x06stream\x18\x03 \x01(\x05\"\x9c\x01\n\x16\x45xecutionEndingRequest\x12;\n\x14\x63urrentExecutionInfo\x18\x01 \x01(\x0b\x32\x1d.gauge.messages.ExecutionInfo\x12\x35\n\x0bsuiteResult\x18\x02 \x01(\x0b\x32 .gauge.messages.ProtoSuiteResult\x12\x0e\n\x06stream\x18\x03 \x01(\x05\"\xa0\x01\n\x1cSpecExecutionStartingRequest\x12;\n\x14\x63urrentExecutionInfo\x18\x01 \x01(\x0b\x32\x1d.gauge.messages.ExecutionInfo\x12\x33\n\nspecResult\x18\x02 \x01(\x0b\x32\x1f.gauge.messages.ProtoSpecResult\x12\x0e\n\x06stream\x18\x03 \x01(\x05\"\x9e\x01\n\x1aSpecExecutionEndingRequest\x12;\n\x14\x63urrentExecutionInfo\x18\x01 \x01(\x0b\x32\x1d.gauge.messages.ExecutionInfo\x12\x33\n\nspecResult\x18\x02 \x01(\x0b\x32\x1f.gauge.messages.ProtoSpecResult\x12\x0e\n\x06stream\x18\x03 \x01(\x05\"\xac\x01\n ScenarioExecutionStartingRequest\x12;\n\x14\x63urrentExecutionInfo\x18\x01 \x01(\x0b\x32\x1d.gauge.messages.ExecutionInfo\x12;\n\x0escenarioResult\x18\x02 \x01(\x0b\x32#.gauge.messages.ProtoScenarioResult\x12\x0e\n\x06stream\x18\x03 \x01(\x05\"\xaa\x01\n\x1eScenarioExecutionEndingRequest\x12;\n\x14\x63urrentExecutionInfo\x18\x01 \x01(\x0b\x32\x1d.gauge.messages.ExecutionInfo\x12;\n\x0escenarioResult\x18\x02 \x01(\x0b\x32#.gauge.messages.ProtoScenarioResult\x12\x0e\n\x06stream\x18\x03 \x01(\x05\"\xa0\x01\n\x1cStepExecutionStartingRequest\x12;\n\x14\x63urrentExecutionInfo\x18\x01 \x01(\x0b\x32\x1d.gauge.messages.ExecutionInfo\x12\x33\n\nstepResult\x18\x02 \x01(\x0b\x32\x1f.gauge.messages.ProtoStepResult\x12\x0e\n\x06stream\x18\x03 \x01(\x05\"\x9e\x01\n\x1aStepExecutionEndingRequest\x12;\n\x14\x63urrentExecutionInfo\x18\x01 \x01(\x0b\x32\x1d.gauge.messages.ExecutionInfo\x12\x33\n\nstepResult\x18\x02 \x01(\x0b\x32\x1f.gauge.messages.ProtoStepResult\x12\x0e\n\x06stream\x18\x03 \x01(\x05\"\xa3\x01\n\x1f\x43onceptExecutionStartingRequest\x12;\n\x14\x63urrentExecutionInfo\x18\x01 \x01(\x0b\x32\x1d.gauge.messages.ExecutionInfo\x12\x33\n\nstepResult\x18\x02 \x01(\x0b\x32\x1f.gauge.messages.ProtoStepResult\x12\x0e\n\x06stream\x18\x03 \x01(\x05\"\xa1\x01\n\x1d\x43onceptExecutionEndingRequest\x12;\n\x14\x63urrentExecutionInfo\x18\x01 \x01(\x0b\x32\x1d.gauge.messages.ExecutionInfo\x12\x33\n\nstepResult\x18\x02 \x01(\x0b\x32\x1f.gauge.messages.ProtoStepResult\x12\x0e\n\x06stream\x18\x03 \x01(\x05\"3\n\x0c\x45xecutionArg\x12\x10\n\x08\x66lagName\x18\x01 \x01(\t\x12\x11\n\tflagValue\x18\x02 \x03(\t\"\xb6\x02\n\rExecutionInfo\x12-\n\x0b\x63urrentSpec\x18\x01 \x01(\x0b\x32\x18.gauge.messages.SpecInfo\x12\x35\n\x0f\x63urrentScenario\x18\x02 \x01(\x0b\x32\x1c.gauge.messages.ScenarioInfo\x12-\n\x0b\x63urrentStep\x18\x03 \x01(\x0b\x32\x18.gauge.messages.StepInfo\x12\x12\n\nstacktrace\x18\x04 \x01(\t\x12\x13\n\x0bprojectName\x18\x05 \x01(\t\x12\x33\n\rExecutionArgs\x18\x06 \x03(\x0b\x32\x1c.gauge.messages.ExecutionArg\x12 \n\x18numberOfExecutionStreams\x18\x07 \x01(\x05\x12\x10\n\x08runnerId\x18\x08 \x01(\x05\"J\n\x08SpecInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x10\n\x08\x66ileName\x18\x02 \x01(\t\x12\x10\n\x08isFailed\x18\x03 \x01(\x08\x12\x0c\n\x04tags\x18\x04 \x03(\t\"r\n\x0cScenarioInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x10\n\x08isFailed\x18\x02 \x01(\x08\x12\x0c\n\x04tags\x18\x03 \x03(\t\x12\x34\n\x07retries\x18\x04 \x01(\x0b\x32#.gauge.messages.ScenarioRetriesInfo\"?\n\x13ScenarioRetriesInfo\x12\x12\n\nmaxRetries\x18\x01 \x01(\x05\x12\x14\n\x0c\x63urrentRetry\x18\x02 \x01(\x05\"x\n\x08StepInfo\x12\x30\n\x04step\x18\x01 \x01(\x0b\x32\".gauge.messages.ExecuteStepRequest\x12\x10\n\x08isFailed\x18\x02 \x01(\x08\x12\x12\n\nstackTrace\x18\x03 \x01(\t\x12\x14\n\x0c\x65rrorMessage\x18\x04 \x01(\t\"\x9c\x01\n\x12\x45xecuteStepRequest\x12\x16\n\x0e\x61\x63tualStepText\x18\x01 \x01(\t\x12\x16\n\x0eparsedStepText\x18\x02 \x01(\t\x12\x17\n\x0fscenarioFailing\x18\x03 \x01(\x08\x12-\n\nparameters\x18\x04 \x03(\x0b\x32\x19.gauge.messages.Parameter\x12\x0e\n\x06stream\x18\x05 \x01(\x05\"v\n\x13StepValidateRequest\x12\x10\n\x08stepText\x18\x01 \x01(\t\x12\x1a\n\x12numberOfParameters\x18\x02 \x01(\x05\x12\x31\n\tstepValue\x18\x03 \x01(\x0b\x32\x1e.gauge.messages.ProtoStepValue\"\xe7\x01\n\x14StepValidateResponse\x12\x0f\n\x07isValid\x18\x01 \x01(\x08\x12\x14\n\x0c\x65rrorMessage\x18\x02 \x01(\t\x12\x41\n\terrorType\x18\x03 \x01(\x0e\x32..gauge.messages.StepValidateResponse.ErrorType\x12\x12\n\nsuggestion\x18\x04 \x01(\t\"Q\n\tErrorType\x12!\n\x1dSTEP_IMPLEMENTATION_NOT_FOUND\x10\x00\x12!\n\x1d\x44UPLICATE_STEP_IMPLEMENTATION\x10\x01\"M\n\x14SuiteExecutionResult\x12\x35\n\x0bsuiteResult\x18\x01 \x01(\x0b\x32 .gauge.messages.ProtoSuiteResult\"I\n\x18SuiteExecutionResultItem\x12-\n\nresultItem\x18\x01 \x01(\x0b\x32\x19.gauge.messages.ProtoItem\"\x12\n\x10StepNamesRequest\"\"\n\x11StepNamesResponse\x12\r\n\x05steps\x18\x01 \x03(\t\".\n\x1cScenarioDataStoreInitRequest\x12\x0e\n\x06stream\x18\x01 \x01(\x05\"*\n\x18SpecDataStoreInitRequest\x12\x0e\n\x06stream\x18\x01 \x01(\x05\"+\n\x19SuiteDataStoreInitRequest\x12\x0e\n\x06stream\x18\x01 \x01(\x05\"=\n\x11ParameterPosition\x12\x13\n\x0boldPosition\x18\x01 \x01(\x05\x12\x13\n\x0bnewPosition\x18\x02 \x01(\x05\"\xcd\x01\n\x0fRefactorRequest\x12\x34\n\x0coldStepValue\x18\x01 \x01(\x0b\x32\x1e.gauge.messages.ProtoStepValue\x12\x34\n\x0cnewStepValue\x18\x02 \x01(\x0b\x32\x1e.gauge.messages.ProtoStepValue\x12\x39\n\x0eparamPositions\x18\x03 \x03(\x0b\x32!.gauge.messages.ParameterPosition\x12\x13\n\x0bsaveChanges\x18\x04 \x01(\x08\"a\n\x0b\x46ileChanges\x12\x10\n\x08\x66ileName\x18\x01 \x01(\t\x12\x17\n\x0b\x66ileContent\x18\x02 \x01(\tB\x02\x18\x01\x12\'\n\x05\x64iffs\x18\x03 \x03(\x0b\x32\x18.gauge.messages.TextDiff\"z\n\x10RefactorResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\r\n\x05\x65rror\x18\x02 \x01(\t\x12\x14\n\x0c\x66ilesChanged\x18\x03 \x03(\t\x12\x30\n\x0b\x66ileChanges\x18\x04 \x03(\x0b\x32\x1b.gauge.messages.FileChanges\"$\n\x0fStepNameRequest\x12\x11\n\tstepValue\x18\x01 \x01(\t\"\x97\x01\n\x10StepNameResponse\x12\x15\n\risStepPresent\x18\x01 \x01(\x08\x12\x10\n\x08stepName\x18\x02 \x03(\t\x12\x10\n\x08hasAlias\x18\x03 \x01(\x08\x12\x10\n\x08\x66ileName\x18\x04 \x01(\t\x12\"\n\x04span\x18\x05 \x01(\x0b\x32\x14.gauge.messages.Span\x12\x12\n\nisExternal\x18\x06 \x01(\x08\"-\n\x1aUnsupportedMessageResponse\x12\x0f\n\x07message\x18\x01 \x01(\t\"\xd1\x01\n\x10\x43\x61\x63heFileRequest\x12\x0f\n\x07\x63ontent\x18\x01 \x01(\t\x12\x10\n\x08\x66ilePath\x18\x02 \x01(\t\x12\x10\n\x08isClosed\x18\x03 \x01(\x08\x12;\n\x06status\x18\x04 \x01(\x0e\x32+.gauge.messages.CacheFileRequest.FileStatus\"K\n\nFileStatus\x12\x0b\n\x07\x43HANGED\x10\x00\x12\n\n\x06\x43LOSED\x10\x01\x12\x0b\n\x07\x43REATED\x10\x02\x12\x0b\n\x07\x44\x45LETED\x10\x03\x12\n\n\x06OPENED\x10\x04\"(\n\x14StepPositionsRequest\x12\x10\n\x08\x66ilePath\x18\x01 \x01(\t\"\xb8\x01\n\x15StepPositionsResponse\x12I\n\rstepPositions\x18\x01 \x03(\x0b\x32\x32.gauge.messages.StepPositionsResponse.StepPosition\x12\r\n\x05\x65rror\x18\x02 \x01(\t\x1a\x45\n\x0cStepPosition\x12\x11\n\tstepValue\x18\x01 \x01(\t\x12\"\n\x04span\x18\x02 \x01(\x0b\x32\x14.gauge.messages.Span\"&\n$ImplementationFileGlobPatternRequest\"=\n%ImplementationFileGlobPatternResponse\x12\x14\n\x0cglobPatterns\x18\x01 \x03(\t\"\x1f\n\x1dImplementationFileListRequest\"A\n\x1eImplementationFileListResponse\x12\x1f\n\x17implementationFilePaths\x18\x01 \x03(\t\"N\n\x1dStubImplementationCodeRequest\x12\x1e\n\x16implementationFilePath\x18\x01 \x01(\t\x12\r\n\x05\x63odes\x18\x02 \x03(\t\"?\n\x08TextDiff\x12\"\n\x04span\x18\x01 \x01(\x0b\x32\x14.gauge.messages.Span\x12\x0f\n\x07\x63ontent\x18\x02 \x01(\t\"I\n\x08\x46ileDiff\x12\x10\n\x08\x66ilePath\x18\x01 \x01(\t\x12+\n\ttextDiffs\x18\x02 \x03(\x0b\x32\x18.gauge.messages.TextDiff\"\x1d\n\tKeepAlive\x12\x10\n\x08pluginId\x18\x01 \x01(\t\"\xa9\x01\n\x0bSpecDetails\x12\x37\n\x07\x64\x65tails\x18\x01 \x03(\x0b\x32&.gauge.messages.SpecDetails.SpecDetail\x1a\x61\n\nSpecDetail\x12\'\n\x04spec\x18\x01 \x01(\x0b\x32\x19.gauge.messages.ProtoSpec\x12*\n\x0bparseErrors\x18\x02 \x03(\x0b\x32\x15.gauge.messages.Error\"\x07\n\x05\x45mpty\"\xe7\x1d\n\x07Message\x12\x38\n\x0bmessageType\x18\x01 \x01(\x0e\x32#.gauge.messages.Message.MessageType\x12\x11\n\tmessageId\x18\x02 \x01(\x03\x12J\n\x18\x65xecutionStartingRequest\x18\x03 \x01(\x0b\x32(.gauge.messages.ExecutionStartingRequest\x12R\n\x1cspecExecutionStartingRequest\x18\x04 \x01(\x0b\x32,.gauge.messages.SpecExecutionStartingRequest\x12N\n\x1aspecExecutionEndingRequest\x18\x05 \x01(\x0b\x32*.gauge.messages.SpecExecutionEndingRequest\x12Z\n scenarioExecutionStartingRequest\x18\x06 \x01(\x0b\x32\x30.gauge.messages.ScenarioExecutionStartingRequest\x12V\n\x1escenarioExecutionEndingRequest\x18\x07 \x01(\x0b\x32..gauge.messages.ScenarioExecutionEndingRequest\x12R\n\x1cstepExecutionStartingRequest\x18\x08 \x01(\x0b\x32,.gauge.messages.StepExecutionStartingRequest\x12N\n\x1astepExecutionEndingRequest\x18\t \x01(\x0b\x32*.gauge.messages.StepExecutionEndingRequest\x12>\n\x12\x65xecuteStepRequest\x18\n \x01(\x0b\x32\".gauge.messages.ExecuteStepRequest\x12\x46\n\x16\x65xecutionEndingRequest\x18\x0b \x01(\x0b\x32&.gauge.messages.ExecutionEndingRequest\x12@\n\x13stepValidateRequest\x18\x0c \x01(\x0b\x32#.gauge.messages.StepValidateRequest\x12\x42\n\x14stepValidateResponse\x18\r \x01(\x0b\x32$.gauge.messages.StepValidateResponse\x12H\n\x17\x65xecutionStatusResponse\x18\x0e \x01(\x0b\x32\'.gauge.messages.ExecutionStatusResponse\x12:\n\x10stepNamesRequest\x18\x0f \x01(\x0b\x32 .gauge.messages.StepNamesRequest\x12<\n\x11stepNamesResponse\x18\x10 \x01(\x0b\x32!.gauge.messages.StepNamesResponse\x12\x42\n\x14suiteExecutionResult\x18\x11 \x01(\x0b\x32$.gauge.messages.SuiteExecutionResult\x12>\n\x12killProcessRequest\x18\x12 \x01(\x0b\x32\".gauge.messages.KillProcessRequest\x12R\n\x1cscenarioDataStoreInitRequest\x18\x13 \x01(\x0b\x32,.gauge.messages.ScenarioDataStoreInitRequest\x12J\n\x18specDataStoreInitRequest\x18\x14 \x01(\x0b\x32(.gauge.messages.SpecDataStoreInitRequest\x12L\n\x19suiteDataStoreInitRequest\x18\x15 \x01(\x0b\x32).gauge.messages.SuiteDataStoreInitRequest\x12\x38\n\x0fstepNameRequest\x18\x16 \x01(\x0b\x32\x1f.gauge.messages.StepNameRequest\x12:\n\x10stepNameResponse\x18\x17 \x01(\x0b\x32 .gauge.messages.StepNameResponse\x12\x38\n\x0frefactorRequest\x18\x18 \x01(\x0b\x32\x1f.gauge.messages.RefactorRequest\x12:\n\x10refactorResponse\x18\x19 \x01(\x0b\x32 .gauge.messages.RefactorResponse\x12N\n\x1aunsupportedMessageResponse\x18\x1a \x01(\x0b\x32*.gauge.messages.UnsupportedMessageResponse\x12:\n\x10\x63\x61\x63heFileRequest\x18\x1b \x01(\x0b\x32 .gauge.messages.CacheFileRequest\x12\x42\n\x14stepPositionsRequest\x18\x1c \x01(\x0b\x32$.gauge.messages.StepPositionsRequest\x12\x44\n\x15stepPositionsResponse\x18\x1d \x01(\x0b\x32%.gauge.messages.StepPositionsResponse\x12T\n\x1dimplementationFileListRequest\x18\x1e \x01(\x0b\x32-.gauge.messages.ImplementationFileListRequest\x12V\n\x1eimplementationFileListResponse\x18\x1f \x01(\x0b\x32..gauge.messages.ImplementationFileListResponse\x12T\n\x1dstubImplementationCodeRequest\x18 \x01(\x0b\x32-.gauge.messages.StubImplementationCodeRequest\x12*\n\x08\x66ileDiff\x18! \x01(\x0b\x32\x18.gauge.messages.FileDiff\x12\x62\n$implementationFileGlobPatternRequest\x18\" \x01(\x0b\x32\x34.gauge.messages.ImplementationFileGlobPatternRequest\x12\x64\n%implementationFileGlobPatternResponse\x18# \x01(\x0b\x32\x35.gauge.messages.ImplementationFileGlobPatternResponse\x12J\n\x18suiteExecutionResultItem\x18$ \x01(\x0b\x32(.gauge.messages.SuiteExecutionResultItem\x12,\n\tkeepAlive\x18% \x01(\x0b\x32\x19.gauge.messages.KeepAlive\x12X\n\x1f\x63onceptExecutionStartingRequest\x18& \x01(\x0b\x32/.gauge.messages.ConceptExecutionStartingRequest\x12T\n\x1d\x63onceptExecutionEndingRequest\x18\' \x01(\x0b\x32-.gauge.messages.ConceptExecutionEndingRequest\"\xdc\x07\n\x0bMessageType\x12\x15\n\x11\x45xecutionStarting\x10\x00\x12\x19\n\x15SpecExecutionStarting\x10\x01\x12\x17\n\x13SpecExecutionEnding\x10\x02\x12\x1d\n\x19ScenarioExecutionStarting\x10\x03\x12\x1b\n\x17ScenarioExecutionEnding\x10\x04\x12\x19\n\x15StepExecutionStarting\x10\x05\x12\x17\n\x13StepExecutionEnding\x10\x06\x12\x0f\n\x0b\x45xecuteStep\x10\x07\x12\x13\n\x0f\x45xecutionEnding\x10\x08\x12\x17\n\x13StepValidateRequest\x10\t\x12\x18\n\x14StepValidateResponse\x10\n\x12\x1b\n\x17\x45xecutionStatusResponse\x10\x0b\x12\x14\n\x10StepNamesRequest\x10\x0c\x12\x15\n\x11StepNamesResponse\x10\r\x12\x16\n\x12KillProcessRequest\x10\x0e\x12\x18\n\x14SuiteExecutionResult\x10\x0f\x12\x19\n\x15ScenarioDataStoreInit\x10\x10\x12\x15\n\x11SpecDataStoreInit\x10\x11\x12\x16\n\x12SuiteDataStoreInit\x10\x12\x12\x13\n\x0fStepNameRequest\x10\x13\x12\x14\n\x10StepNameResponse\x10\x14\x12\x13\n\x0fRefactorRequest\x10\x15\x12\x14\n\x10RefactorResponse\x10\x16\x12\x1e\n\x1aUnsupportedMessageResponse\x10\x17\x12\x14\n\x10\x43\x61\x63heFileRequest\x10\x18\x12\x18\n\x14StepPositionsRequest\x10\x19\x12\x19\n\x15StepPositionsResponse\x10\x1a\x12!\n\x1dImplementationFileListRequest\x10\x1b\x12\"\n\x1eImplementationFileListResponse\x10\x1c\x12!\n\x1dStubImplementationCodeRequest\x10\x1d\x12\x0c\n\x08\x46ileDiff\x10\x1e\x12(\n$ImplementationFileGlobPatternRequest\x10\x1f\x12)\n%ImplementationFileGlobPatternResponse\x10 \x12\x1c\n\x18SuiteExecutionResultItem\x10!\x12\r\n\tKeepAlive\x10\"\x12\x1c\n\x18\x43onceptExecutionStarting\x10#\x12\x1a\n\x16\x43onceptExecutionEnding\x10$B\\\n\x16\x63om.thoughtworks.gaugeZ1github.com/getgauge/gauge-proto/go/gauge_messages\xaa\x02\x0eGauge.Messagesb\x06proto3" + +pool = Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Gauge module Messages - KillProcessRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.KillProcessRequest").msgclass - ExecutionStatusResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ExecutionStatusResponse").msgclass - ExecutionStartingRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ExecutionStartingRequest").msgclass - ExecutionEndingRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ExecutionEndingRequest").msgclass - SpecExecutionStartingRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.SpecExecutionStartingRequest").msgclass - SpecExecutionEndingRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.SpecExecutionEndingRequest").msgclass - ScenarioExecutionStartingRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ScenarioExecutionStartingRequest").msgclass - ScenarioExecutionEndingRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ScenarioExecutionEndingRequest").msgclass - StepExecutionStartingRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.StepExecutionStartingRequest").msgclass - StepExecutionEndingRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.StepExecutionEndingRequest").msgclass - ExecutionArg = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ExecutionArg").msgclass - ExecutionInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ExecutionInfo").msgclass - SpecInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.SpecInfo").msgclass - ScenarioInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ScenarioInfo").msgclass - StepInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.StepInfo").msgclass - ExecuteStepRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ExecuteStepRequest").msgclass - StepValidateRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.StepValidateRequest").msgclass - StepValidateResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.StepValidateResponse").msgclass - StepValidateResponse::ErrorType = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.StepValidateResponse.ErrorType").enummodule - SuiteExecutionResult = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.SuiteExecutionResult").msgclass - SuiteExecutionResultItem = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.SuiteExecutionResultItem").msgclass - StepNamesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.StepNamesRequest").msgclass - StepNamesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.StepNamesResponse").msgclass - ScenarioDataStoreInitRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ScenarioDataStoreInitRequest").msgclass - SpecDataStoreInitRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.SpecDataStoreInitRequest").msgclass - SuiteDataStoreInitRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.SuiteDataStoreInitRequest").msgclass - ParameterPosition = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ParameterPosition").msgclass - RefactorRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.RefactorRequest").msgclass - FileChanges = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.FileChanges").msgclass - RefactorResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.RefactorResponse").msgclass - StepNameRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.StepNameRequest").msgclass - StepNameResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.StepNameResponse").msgclass - UnsupportedMessageResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.UnsupportedMessageResponse").msgclass - CacheFileRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.CacheFileRequest").msgclass - CacheFileRequest::FileStatus = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.CacheFileRequest.FileStatus").enummodule - StepPositionsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.StepPositionsRequest").msgclass - StepPositionsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.StepPositionsResponse").msgclass - StepPositionsResponse::StepPosition = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.StepPositionsResponse.StepPosition").msgclass - ImplementationFileGlobPatternRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ImplementationFileGlobPatternRequest").msgclass - ImplementationFileGlobPatternResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ImplementationFileGlobPatternResponse").msgclass - ImplementationFileListRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ImplementationFileListRequest").msgclass - ImplementationFileListResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ImplementationFileListResponse").msgclass - StubImplementationCodeRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.StubImplementationCodeRequest").msgclass - TextDiff = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.TextDiff").msgclass - FileDiff = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.FileDiff").msgclass - KeepAlive = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.KeepAlive").msgclass - Empty = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.Empty").msgclass - Message = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.Message").msgclass - Message::MessageType = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.Message.MessageType").enummodule + KillProcessRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.KillProcessRequest").msgclass + ExecutionStatusResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ExecutionStatusResponse").msgclass + ExecutionStartingRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ExecutionStartingRequest").msgclass + ExecutionEndingRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ExecutionEndingRequest").msgclass + SpecExecutionStartingRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.SpecExecutionStartingRequest").msgclass + SpecExecutionEndingRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.SpecExecutionEndingRequest").msgclass + ScenarioExecutionStartingRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ScenarioExecutionStartingRequest").msgclass + ScenarioExecutionEndingRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ScenarioExecutionEndingRequest").msgclass + StepExecutionStartingRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.StepExecutionStartingRequest").msgclass + StepExecutionEndingRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.StepExecutionEndingRequest").msgclass + ConceptExecutionStartingRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ConceptExecutionStartingRequest").msgclass + ConceptExecutionEndingRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ConceptExecutionEndingRequest").msgclass + ExecutionArg = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ExecutionArg").msgclass + ExecutionInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ExecutionInfo").msgclass + SpecInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.SpecInfo").msgclass + ScenarioInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ScenarioInfo").msgclass + ScenarioRetriesInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ScenarioRetriesInfo").msgclass + StepInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.StepInfo").msgclass + ExecuteStepRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ExecuteStepRequest").msgclass + StepValidateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.StepValidateRequest").msgclass + StepValidateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.StepValidateResponse").msgclass + StepValidateResponse::ErrorType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.StepValidateResponse.ErrorType").enummodule + SuiteExecutionResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.SuiteExecutionResult").msgclass + SuiteExecutionResultItem = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.SuiteExecutionResultItem").msgclass + StepNamesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.StepNamesRequest").msgclass + StepNamesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.StepNamesResponse").msgclass + ScenarioDataStoreInitRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ScenarioDataStoreInitRequest").msgclass + SpecDataStoreInitRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.SpecDataStoreInitRequest").msgclass + SuiteDataStoreInitRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.SuiteDataStoreInitRequest").msgclass + ParameterPosition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ParameterPosition").msgclass + RefactorRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.RefactorRequest").msgclass + FileChanges = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.FileChanges").msgclass + RefactorResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.RefactorResponse").msgclass + StepNameRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.StepNameRequest").msgclass + StepNameResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.StepNameResponse").msgclass + UnsupportedMessageResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.UnsupportedMessageResponse").msgclass + CacheFileRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.CacheFileRequest").msgclass + CacheFileRequest::FileStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.CacheFileRequest.FileStatus").enummodule + StepPositionsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.StepPositionsRequest").msgclass + StepPositionsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.StepPositionsResponse").msgclass + StepPositionsResponse::StepPosition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.StepPositionsResponse.StepPosition").msgclass + ImplementationFileGlobPatternRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ImplementationFileGlobPatternRequest").msgclass + ImplementationFileGlobPatternResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ImplementationFileGlobPatternResponse").msgclass + ImplementationFileListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ImplementationFileListRequest").msgclass + ImplementationFileListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ImplementationFileListResponse").msgclass + StubImplementationCodeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.StubImplementationCodeRequest").msgclass + TextDiff = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.TextDiff").msgclass + FileDiff = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.FileDiff").msgclass + KeepAlive = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.KeepAlive").msgclass + SpecDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.SpecDetails").msgclass + SpecDetails::SpecDetail = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.SpecDetails.SpecDetail").msgclass + Empty = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.Empty").msgclass + Message = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.Message").msgclass + Message::MessageType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.Message.MessageType").enummodule end end diff --git a/lib/services_pb.rb b/lib/services_pb.rb index 54036c7..38b75a1 100644 --- a/lib/services_pb.rb +++ b/lib/services_pb.rb @@ -1,13 +1,16 @@ +# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: services.proto require 'google/protobuf' require 'messages_pb' -Google::Protobuf::DescriptorPool.generated_pool.build do - add_file("services.proto", :syntax => :proto3) do - end -end + + +descriptor_data = "\n\x0eservices.proto\x12\x0egauge.messages\x1a\x0emessages.proto2\xe7\x12\n\x06Runner\x12Y\n\x0cValidateStep\x12#.gauge.messages.StepValidateRequest\x1a$.gauge.messages.StepValidateResponse\x12n\n\x18InitializeSuiteDataStore\x12).gauge.messages.SuiteDataStoreInitRequest\x1a\'.gauge.messages.ExecutionStatusResponse\x12\x63\n\x0eStartExecution\x12(.gauge.messages.ExecutionStartingRequest\x1a\'.gauge.messages.ExecutionStatusResponse\x12l\n\x17InitializeSpecDataStore\x12(.gauge.messages.SpecDataStoreInitRequest\x1a\'.gauge.messages.ExecutionStatusResponse\x12k\n\x12StartSpecExecution\x12,.gauge.messages.SpecExecutionStartingRequest\x1a\'.gauge.messages.ExecutionStatusResponse\x12t\n\x1bInitializeScenarioDataStore\x12,.gauge.messages.ScenarioDataStoreInitRequest\x1a\'.gauge.messages.ExecutionStatusResponse\x12s\n\x16StartScenarioExecution\x12\x30.gauge.messages.ScenarioExecutionStartingRequest\x1a\'.gauge.messages.ExecutionStatusResponse\x12k\n\x12StartStepExecution\x12,.gauge.messages.StepExecutionStartingRequest\x1a\'.gauge.messages.ExecutionStatusResponse\x12Z\n\x0b\x45xecuteStep\x12\".gauge.messages.ExecuteStepRequest\x1a\'.gauge.messages.ExecutionStatusResponse\x12j\n\x13\x46inishStepExecution\x12*.gauge.messages.StepExecutionEndingRequest\x1a\'.gauge.messages.ExecutionStatusResponse\x12r\n\x17\x46inishScenarioExecution\x12..gauge.messages.ScenarioExecutionEndingRequest\x1a\'.gauge.messages.ExecutionStatusResponse\x12j\n\x13\x46inishSpecExecution\x12*.gauge.messages.SpecExecutionEndingRequest\x1a\'.gauge.messages.ExecutionStatusResponse\x12\x62\n\x0f\x46inishExecution\x12&.gauge.messages.ExecutionEndingRequest\x1a\'.gauge.messages.ExecutionStatusResponse\x12\x44\n\tCacheFile\x12 .gauge.messages.CacheFileRequest\x1a\x15.gauge.messages.Empty\x12P\n\x0bGetStepName\x12\x1f.gauge.messages.StepNameRequest\x1a .gauge.messages.StepNameResponse\x12_\n\x0fGetGlobPatterns\x12\x15.gauge.messages.Empty\x1a\x35.gauge.messages.ImplementationFileGlobPatternResponse\x12S\n\x0cGetStepNames\x12 .gauge.messages.StepNamesRequest\x1a!.gauge.messages.StepNamesResponse\x12_\n\x10GetStepPositions\x12$.gauge.messages.StepPositionsRequest\x1a%.gauge.messages.StepPositionsResponse\x12_\n\x16GetImplementationFiles\x12\x15.gauge.messages.Empty\x1a..gauge.messages.ImplementationFileListResponse\x12X\n\rImplementStub\x12-.gauge.messages.StubImplementationCodeRequest\x1a\x18.gauge.messages.FileDiff\x12M\n\x08Refactor\x12\x1f.gauge.messages.RefactorRequest\x1a .gauge.messages.RefactorResponse\x12\x41\n\x04Kill\x12\".gauge.messages.KillProcessRequest\x1a\x15.gauge.messages.Empty\x12z\n\x1eNotifyConceptExecutionStarting\x12/.gauge.messages.ConceptExecutionStartingRequest\x1a\'.gauge.messages.ExecutionStatusResponse\x12v\n\x1cNotifyConceptExecutionEnding\x12-.gauge.messages.ConceptExecutionEndingRequest\x1a\'.gauge.messages.ExecutionStatusResponse2\xff\x08\n\x08Reporter\x12Z\n\x17NotifyExecutionStarting\x12(.gauge.messages.ExecutionStartingRequest\x1a\x15.gauge.messages.Empty\x12\x62\n\x1bNotifySpecExecutionStarting\x12,.gauge.messages.SpecExecutionStartingRequest\x1a\x15.gauge.messages.Empty\x12j\n\x1fNotifyScenarioExecutionStarting\x12\x30.gauge.messages.ScenarioExecutionStartingRequest\x1a\x15.gauge.messages.Empty\x12h\n\x1eNotifyConceptExecutionStarting\x12/.gauge.messages.ConceptExecutionStartingRequest\x1a\x15.gauge.messages.Empty\x12\x64\n\x1cNotifyConceptExecutionEnding\x12-.gauge.messages.ConceptExecutionEndingRequest\x1a\x15.gauge.messages.Empty\x12\x62\n\x1bNotifyStepExecutionStarting\x12,.gauge.messages.StepExecutionStartingRequest\x1a\x15.gauge.messages.Empty\x12^\n\x19NotifyStepExecutionEnding\x12*.gauge.messages.StepExecutionEndingRequest\x1a\x15.gauge.messages.Empty\x12\x66\n\x1dNotifyScenarioExecutionEnding\x12..gauge.messages.ScenarioExecutionEndingRequest\x1a\x15.gauge.messages.Empty\x12^\n\x19NotifySpecExecutionEnding\x12*.gauge.messages.SpecExecutionEndingRequest\x1a\x15.gauge.messages.Empty\x12V\n\x15NotifyExecutionEnding\x12&.gauge.messages.ExecutionEndingRequest\x1a\x15.gauge.messages.Empty\x12P\n\x11NotifySuiteResult\x12$.gauge.messages.SuiteExecutionResult\x1a\x15.gauge.messages.Empty\x12\x41\n\x04Kill\x12\".gauge.messages.KillProcessRequest\x1a\x15.gauge.messages.Empty2\x93\x01\n\nDocumenter\x12\x42\n\x0cGenerateDocs\x12\x1b.gauge.messages.SpecDetails\x1a\x15.gauge.messages.Empty\x12\x41\n\x04Kill\x12\".gauge.messages.KillProcessRequest\x1a\x15.gauge.messages.EmptyB\\\n\x16\x63om.thoughtworks.gaugeZ1github.com/getgauge/gauge-proto/go/gauge_messages\xaa\x02\x0eGauge.Messagesb\x06proto3" + +pool = Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Gauge module Messages diff --git a/lib/services_services_pb.rb b/lib/services_services_pb.rb index 068ffa7..7d924e6 100644 --- a/lib/services_services_pb.rb +++ b/lib/services_services_pb.rb @@ -1,5 +1,12 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # Source: services.proto for package 'gauge.messages' +# Original file comments: +# ---------------------------------------------------------------- +# Copyright (c) ThoughtWorks, Inc. +# Licensed under the Apache License, Version 2.0 +# See LICENSE in the project root for license information. +# ---------------------------------------------------------------- +# require 'grpc' require 'services_pb' @@ -9,7 +16,7 @@ module Messages module Runner class Service - include GRPC::GenericService + include ::GRPC::GenericService self.marshal_class_method = :encode self.unmarshal_class_method = :decode @@ -18,91 +25,99 @@ class Service # ValidateStep is a RPC to validate a given step. # # Accepts a StepValidateRequest message and returns a StepValidateResponse message - rpc :ValidateStep, StepValidateRequest, StepValidateResponse + rpc :ValidateStep, ::Gauge::Messages::StepValidateRequest, ::Gauge::Messages::StepValidateResponse # SuiteDataStoreInit is a RPC to initialize the suite level data store. # # Accepts a Empty message and returns a ExecutionStatusResponse message - rpc :InitializeSuiteDataStore, Empty, ExecutionStatusResponse + rpc :InitializeSuiteDataStore, ::Gauge::Messages::SuiteDataStoreInitRequest, ::Gauge::Messages::ExecutionStatusResponse # ExecutionStarting is a RPC to tell runner to execute Suite level hooks. # # Accepts a ExecutionStartingRequest message and returns a ExecutionStatusResponse message - rpc :StartExecution, ExecutionStartingRequest, ExecutionStatusResponse + rpc :StartExecution, ::Gauge::Messages::ExecutionStartingRequest, ::Gauge::Messages::ExecutionStatusResponse # SpecDataStoreInit is a RPC to initialize the spec level data store. # # Accepts a Empty message and returns a ExecutionStatusResponse message - rpc :InitializeSpecDataStore, Empty, ExecutionStatusResponse + rpc :InitializeSpecDataStore, ::Gauge::Messages::SpecDataStoreInitRequest, ::Gauge::Messages::ExecutionStatusResponse # SpecExecutionStarting is a RPC to tell runner to execute spec level hooks. # # Accepts a SpecExecutionStartingRequest message and returns a ExecutionStatusResponse message - rpc :StartSpecExecution, SpecExecutionStartingRequest, ExecutionStatusResponse + rpc :StartSpecExecution, ::Gauge::Messages::SpecExecutionStartingRequest, ::Gauge::Messages::ExecutionStatusResponse # ScenarioDataStoreInit is a RPC to initialize the scenario level data store. # # Accepts a Empty message and returns a ExecutionStatusResponse message - rpc :InitializeScenarioDataStore, Empty, ExecutionStatusResponse + rpc :InitializeScenarioDataStore, ::Gauge::Messages::ScenarioDataStoreInitRequest, ::Gauge::Messages::ExecutionStatusResponse # ScenarioExecutionStarting is a RPC to tell runner to execute scenario level hooks. # # Accepts a ScenarioExecutionStartingRequest message and returns a ExecutionStatusResponse message - rpc :StartScenarioExecution, ScenarioExecutionStartingRequest, ExecutionStatusResponse + rpc :StartScenarioExecution, ::Gauge::Messages::ScenarioExecutionStartingRequest, ::Gauge::Messages::ExecutionStatusResponse # StepExecutionStarting is a RPC to tell runner to execute step level hooks. # # Accepts a StepExecutionStartingRequest message and returns a ExecutionStatusResponse message - rpc :StartStepExecution, StepExecutionStartingRequest, ExecutionStatusResponse + rpc :StartStepExecution, ::Gauge::Messages::StepExecutionStartingRequest, ::Gauge::Messages::ExecutionStatusResponse # ExecuteStep is a RPC to tell runner to execute a step . # # Accepts a ExecuteStepRequest message and returns a ExecutionStatusResponse message - rpc :ExecuteStep, ExecuteStepRequest, ExecutionStatusResponse + rpc :ExecuteStep, ::Gauge::Messages::ExecuteStepRequest, ::Gauge::Messages::ExecutionStatusResponse # StepExecutionEnding is a RPC to tell runner to execute step level hooks. # # Accepts a StepExecutionEndingRequest message and returns a ExecutionStatusResponse message - rpc :FinishStepExecution, StepExecutionEndingRequest, ExecutionStatusResponse + rpc :FinishStepExecution, ::Gauge::Messages::StepExecutionEndingRequest, ::Gauge::Messages::ExecutionStatusResponse # ScenarioExecutionEnding is a RPC to tell runner to execute Scenario level hooks. # # Accepts a ScenarioExecutionEndingRequest message and returns a ExecutionStatusResponse message - rpc :FinishScenarioExecution, ScenarioExecutionEndingRequest, ExecutionStatusResponse + rpc :FinishScenarioExecution, ::Gauge::Messages::ScenarioExecutionEndingRequest, ::Gauge::Messages::ExecutionStatusResponse # SpecExecutionEnding is a RPC to tell runner to execute spec level hooks. # # Accepts a SpecExecutionEndingRequest message and returns a ExecutionStatusResponse message - rpc :FinishSpecExecution, SpecExecutionEndingRequest, ExecutionStatusResponse + rpc :FinishSpecExecution, ::Gauge::Messages::SpecExecutionEndingRequest, ::Gauge::Messages::ExecutionStatusResponse # ExecutionEnding is a RPC to tell runner to execute suite level hooks. # # Accepts a ExecutionEndingRequest message and returns a ExecutionStatusResponse message - rpc :FinishExecution, ExecutionEndingRequest, ExecutionStatusResponse + rpc :FinishExecution, ::Gauge::Messages::ExecutionEndingRequest, ::Gauge::Messages::ExecutionStatusResponse # CacheFile is a RPC to tell runner to load/reload/unload a implementation file. # # Accepts a CacheFileRequest message and returns a Empty message - rpc :CacheFile, CacheFileRequest, Empty + rpc :CacheFile, ::Gauge::Messages::CacheFileRequest, ::Gauge::Messages::Empty # GetStepName is a RPC to get information about the given step. # # Accepts a StepNameRequest message and returns a StepNameResponse message. - rpc :GetStepName, StepNameRequest, StepNameResponse + rpc :GetStepName, ::Gauge::Messages::StepNameRequest, ::Gauge::Messages::StepNameResponse # GetGlobPatterns is a RPC to get the file path pattern which needs to be cached. # # Accepts a Empty message and returns a ImplementationFileGlobPatternResponse message. - rpc :GetGlobPatterns, Empty, ImplementationFileGlobPatternResponse + rpc :GetGlobPatterns, ::Gauge::Messages::Empty, ::Gauge::Messages::ImplementationFileGlobPatternResponse # GetStepNames is a RPC to get all the available steps from the runner. # # Accepts a StepNamesRequest message and returns a StepNamesResponse - rpc :GetStepNames, StepNamesRequest, StepNamesResponse + rpc :GetStepNames, ::Gauge::Messages::StepNamesRequest, ::Gauge::Messages::StepNamesResponse # GetStepPositions is a RPC to get positions of all available steps in a given file. # # Accepts a StepPositionsRequest message and returns a StepPositionsResponse message - rpc :GetStepPositions, StepPositionsRequest, StepPositionsResponse + rpc :GetStepPositions, ::Gauge::Messages::StepPositionsRequest, ::Gauge::Messages::StepPositionsResponse # GetImplementationFiles is a RPC get all the existing implementation files. # # Accepts a Empty and returns a ImplementationFileListResponse message. - rpc :GetImplementationFiles, Empty, ImplementationFileListResponse + rpc :GetImplementationFiles, ::Gauge::Messages::Empty, ::Gauge::Messages::ImplementationFileListResponse # ImplementStub is a RPC to to ask runner to add a given implementation to given file. # # Accepts a StubImplementationCodeRequest and returns a FileDiff message. - rpc :ImplementStub, StubImplementationCodeRequest, FileDiff + rpc :ImplementStub, ::Gauge::Messages::StubImplementationCodeRequest, ::Gauge::Messages::FileDiff # Refactor is a RPC to refactor a given step in implementation file. # # Accepts a RefactorRequest message and returns a RefactorResponse message. - rpc :Refactor, RefactorRequest, RefactorResponse + rpc :Refactor, ::Gauge::Messages::RefactorRequest, ::Gauge::Messages::RefactorResponse # Kill is a RPC tell plugin to stop grpc server and kill the plugin process. # # Accepts a KillProcessRequest message and returns a Empty message. - rpc :Kill, KillProcessRequest, Empty + rpc :Kill, ::Gauge::Messages::KillProcessRequest, ::Gauge::Messages::Empty + # NotifyConceptExecutionStarting is a RPC to tell plugins that the concept execution has started. + # + # Accepts a ConceptExecutionStartingRequest message and returns an ExecutionStatusResponse message + rpc :NotifyConceptExecutionStarting, ::Gauge::Messages::ConceptExecutionStartingRequest, ::Gauge::Messages::ExecutionStatusResponse + # NotifyConceptExecutionEnding is a RPC to tell plugins that the concept execution has finished. + # + # Accepts a ConceptExecutionEndingRequest message and returns an ExecutionStatusResponse message + rpc :NotifyConceptExecutionEnding, ::Gauge::Messages::ConceptExecutionEndingRequest, ::Gauge::Messages::ExecutionStatusResponse end Stub = Service.rpc_stub_class @@ -111,7 +126,7 @@ module Reporter # Reporter services is meant for reporting plugins, or others plugins which are interested the live events class Service - include GRPC::GenericService + include ::GRPC::GenericService self.marshal_class_method = :encode self.unmarshal_class_method = :decode @@ -120,43 +135,73 @@ class Service # NotifyExecutionStarting is a RPC to tell plugins that the execution has started. # # Accepts a ExecutionStartingRequest message and returns a Empty message - rpc :NotifyExecutionStarting, ExecutionStartingRequest, Empty + rpc :NotifyExecutionStarting, ::Gauge::Messages::ExecutionStartingRequest, ::Gauge::Messages::Empty # NotifySpecExecutionStarting is a RPC to tell plugins that the specification execution has started. # # Accepts a SpecExecutionStartingRequest message and returns a Empty message - rpc :NotifySpecExecutionStarting, SpecExecutionStartingRequest, Empty + rpc :NotifySpecExecutionStarting, ::Gauge::Messages::SpecExecutionStartingRequest, ::Gauge::Messages::Empty # NotifyScenarioExecutionStarting is a RPC to tell plugins that the scenario execution has started. # # Accepts a ScenarioExecutionStartingRequest message and returns a Empty message - rpc :NotifyScenarioExecutionStarting, ScenarioExecutionStartingRequest, Empty + rpc :NotifyScenarioExecutionStarting, ::Gauge::Messages::ScenarioExecutionStartingRequest, ::Gauge::Messages::Empty + # NotifyConceptExecutionStarting is a RPC to tell plugins that the concept execution has started. + # + # Accepts a ConceptExecutionStartingRequest message and returns a Empty message + rpc :NotifyConceptExecutionStarting, ::Gauge::Messages::ConceptExecutionStartingRequest, ::Gauge::Messages::Empty + # NotifyConceptExecutionEnding is a RPC to tell plugins that the concept execution has finished. + # + # Accepts a ConceptExecutionEndingRequest message and returns a Empty message + rpc :NotifyConceptExecutionEnding, ::Gauge::Messages::ConceptExecutionEndingRequest, ::Gauge::Messages::Empty # NotifyStepExecutionStarting is a RPC to tell plugins that the step execution has started. # # Accepts a StepExecutionStartingRequest message and returns a Empty message - rpc :NotifyStepExecutionStarting, StepExecutionStartingRequest, Empty + rpc :NotifyStepExecutionStarting, ::Gauge::Messages::StepExecutionStartingRequest, ::Gauge::Messages::Empty # NotifyStepExecutionEnding is a RPC to tell plugins that the step execution has finished. # # Accepts a StepExecutionStartingRequest message and returns a Empty message - rpc :NotifyStepExecutionEnding, StepExecutionEndingRequest, Empty + rpc :NotifyStepExecutionEnding, ::Gauge::Messages::StepExecutionEndingRequest, ::Gauge::Messages::Empty # NotifyScenarioExecutionEnding is a RPC to tell plugins that the scenario execution has finished. # # Accepts a ScenarioExecutionEndingRequest message and returns a Empty message - rpc :NotifyScenarioExecutionEnding, ScenarioExecutionEndingRequest, Empty + rpc :NotifyScenarioExecutionEnding, ::Gauge::Messages::ScenarioExecutionEndingRequest, ::Gauge::Messages::Empty # NotifySpecExecutionEnding is a RPC to tell plugins that the specification execution has finished. # # Accepts a SpecExecutionStartingRequest message and returns a Empty message - rpc :NotifySpecExecutionEnding, SpecExecutionEndingRequest, Empty + rpc :NotifySpecExecutionEnding, ::Gauge::Messages::SpecExecutionEndingRequest, ::Gauge::Messages::Empty # NotifyExecutionEnding is a RPC to tell plugins that the execution has finished. # # Accepts a ExecutionEndingRequest message and returns a Empty message - rpc :NotifyExecutionEnding, ExecutionEndingRequest, Empty + rpc :NotifyExecutionEnding, ::Gauge::Messages::ExecutionEndingRequest, ::Gauge::Messages::Empty # NotifySuiteResult is a RPC to tell about the end result of execution # # Accepts a SuiteExecutionResult message and returns a Empty message. - rpc :NotifySuiteResult, SuiteExecutionResult, Empty + rpc :NotifySuiteResult, ::Gauge::Messages::SuiteExecutionResult, ::Gauge::Messages::Empty + # Kill is a RPC tell plugin to stop grpc server and kill the plugin process. + # + # Accepts a KillProcessRequest message and returns a Empty message. + rpc :Kill, ::Gauge::Messages::KillProcessRequest, ::Gauge::Messages::Empty + end + + Stub = Service.rpc_stub_class + end + module Documenter + # Reporter services is meant for documentation plugins + class Service + + include ::GRPC::GenericService + + self.marshal_class_method = :encode + self.unmarshal_class_method = :decode + self.service_name = 'gauge.messages.Documenter' + + # GenerateDocs is a RPC tell plugin to generate docs from the spec details. + # + # Accepts a SpecDetails message and returns a Empty message. + rpc :GenerateDocs, ::Gauge::Messages::SpecDetails, ::Gauge::Messages::Empty # Kill is a RPC tell plugin to stop grpc server and kill the plugin process. # # Accepts a KillProcessRequest message and returns a Empty message. - rpc :Kill, KillProcessRequest, Empty + rpc :Kill, ::Gauge::Messages::KillProcessRequest, ::Gauge::Messages::Empty end Stub = Service.rpc_stub_class diff --git a/lib/spec_pb.rb b/lib/spec_pb.rb index 0b637a9..92118b5 100644 --- a/lib/spec_pb.rb +++ b/lib/spec_pb.rb @@ -1,272 +1,44 @@ +# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: spec.proto require 'google/protobuf' -Google::Protobuf::DescriptorPool.generated_pool.build do - add_file("spec.proto", :syntax => :proto3) do - add_message "gauge.messages.ProtoSpec" do - optional :specHeading, :string, 1 - repeated :items, :message, 2, "gauge.messages.ProtoItem" - optional :isTableDriven, :bool, 3 - repeated :preHookFailures, :message, 4, "gauge.messages.ProtoHookFailure" - repeated :postHookFailures, :message, 5, "gauge.messages.ProtoHookFailure" - optional :fileName, :string, 6 - repeated :tags, :string, 7 - repeated :preHookMessages, :string, 8 - repeated :postHookMessages, :string, 9 - repeated :preHookMessage, :string, 10 - repeated :postHookMessage, :string, 11 - repeated :preHookScreenshots, :bytes, 12 - repeated :postHookScreenshots, :bytes, 13 - optional :itemCount, :int64, 14 - repeated :preHookScreenshotFiles, :string, 15 - repeated :postHookScreenshotFiles, :string, 16 - end - add_message "gauge.messages.ProtoItem" do - optional :itemType, :enum, 1, "gauge.messages.ProtoItem.ItemType" - optional :step, :message, 2, "gauge.messages.ProtoStep" - optional :concept, :message, 3, "gauge.messages.ProtoConcept" - optional :scenario, :message, 4, "gauge.messages.ProtoScenario" - optional :tableDrivenScenario, :message, 5, "gauge.messages.ProtoTableDrivenScenario" - optional :comment, :message, 6, "gauge.messages.ProtoComment" - optional :table, :message, 7, "gauge.messages.ProtoTable" - optional :tags, :message, 8, "gauge.messages.ProtoTags" - optional :fileName, :string, 9 - end - add_enum "gauge.messages.ProtoItem.ItemType" do - value :Step, 0 - value :Comment, 1 - value :Concept, 2 - value :Scenario, 3 - value :TableDrivenScenario, 4 - value :Table, 5 - value :Tags, 6 - end - add_message "gauge.messages.ProtoScenario" do - optional :scenarioHeading, :string, 1 - optional :failed, :bool, 2 - repeated :contexts, :message, 3, "gauge.messages.ProtoItem" - repeated :scenarioItems, :message, 4, "gauge.messages.ProtoItem" - optional :preHookFailure, :message, 5, "gauge.messages.ProtoHookFailure" - optional :postHookFailure, :message, 6, "gauge.messages.ProtoHookFailure" - repeated :tags, :string, 7 - optional :executionTime, :int64, 8 - optional :skipped, :bool, 9 - repeated :skipErrors, :string, 10 - optional :ID, :string, 11 - repeated :tearDownSteps, :message, 12, "gauge.messages.ProtoItem" - optional :span, :message, 13, "gauge.messages.Span" - optional :executionStatus, :enum, 14, "gauge.messages.ExecutionStatus" - repeated :preHookMessages, :string, 15 - repeated :postHookMessages, :string, 16 - repeated :preHookMessage, :string, 17 - repeated :postHookMessage, :string, 18 - repeated :preHookScreenshots, :bytes, 19 - repeated :postHookScreenshots, :bytes, 20 - repeated :preHookScreenshotFiles, :string, 21 - repeated :postHookScreenshotFiles, :string, 22 - end - add_message "gauge.messages.Span" do - optional :start, :int64, 1 - optional :end, :int64, 2 - optional :startChar, :int64, 3 - optional :endChar, :int64, 4 - end - add_message "gauge.messages.ProtoTableDrivenScenario" do - optional :scenario, :message, 1, "gauge.messages.ProtoScenario" - optional :tableRowIndex, :int32, 2 - optional :scenarioTableRowIndex, :int32, 3 - optional :isSpecTableDriven, :bool, 4 - optional :isScenarioTableDriven, :bool, 5 - optional :scenarioDataTable, :message, 6, "gauge.messages.ProtoTable" - optional :scenarioTableRow, :message, 7, "gauge.messages.ProtoTable" - end - add_message "gauge.messages.ProtoStep" do - optional :actualText, :string, 1 - optional :parsedText, :string, 2 - repeated :fragments, :message, 3, "gauge.messages.Fragment" - optional :stepExecutionResult, :message, 4, "gauge.messages.ProtoStepExecutionResult" - repeated :preHookMessages, :string, 5 - repeated :postHookMessages, :string, 6 - repeated :preHookScreenshots, :bytes, 7 - repeated :postHookScreenshots, :bytes, 8 - repeated :preHookScreenshotFiles, :string, 9 - repeated :postHookScreenshotFiles, :string, 10 - end - add_message "gauge.messages.ProtoConcept" do - optional :conceptStep, :message, 1, "gauge.messages.ProtoStep" - repeated :steps, :message, 2, "gauge.messages.ProtoItem" - optional :conceptExecutionResult, :message, 3, "gauge.messages.ProtoStepExecutionResult" - end - add_message "gauge.messages.ProtoTags" do - repeated :tags, :string, 1 - end - add_message "gauge.messages.Fragment" do - optional :fragmentType, :enum, 1, "gauge.messages.Fragment.FragmentType" - optional :text, :string, 2 - optional :parameter, :message, 3, "gauge.messages.Parameter" - end - add_enum "gauge.messages.Fragment.FragmentType" do - value :Text, 0 - value :Parameter, 1 - end - add_message "gauge.messages.Parameter" do - optional :parameterType, :enum, 1, "gauge.messages.Parameter.ParameterType" - optional :value, :string, 2 - optional :name, :string, 3 - optional :table, :message, 4, "gauge.messages.ProtoTable" - end - add_enum "gauge.messages.Parameter.ParameterType" do - value :Static, 0 - value :Dynamic, 1 - value :Special_String, 2 - value :Special_Table, 3 - value :Table, 4 - end - add_message "gauge.messages.ProtoComment" do - optional :text, :string, 1 - end - add_message "gauge.messages.ProtoTable" do - optional :headers, :message, 1, "gauge.messages.ProtoTableRow" - repeated :rows, :message, 2, "gauge.messages.ProtoTableRow" - end - add_message "gauge.messages.ProtoTableRow" do - repeated :cells, :string, 1 - end - add_message "gauge.messages.ProtoStepExecutionResult" do - optional :executionResult, :message, 1, "gauge.messages.ProtoExecutionResult" - optional :preHookFailure, :message, 2, "gauge.messages.ProtoHookFailure" - optional :postHookFailure, :message, 3, "gauge.messages.ProtoHookFailure" - optional :skipped, :bool, 4 - optional :skippedReason, :string, 5 - end - add_message "gauge.messages.ProtoExecutionResult" do - optional :failed, :bool, 1 - optional :recoverableError, :bool, 2 - optional :errorMessage, :string, 3 - optional :stackTrace, :string, 4 - optional :screenShot, :bytes, 5 - optional :executionTime, :int64, 6 - repeated :message, :string, 7 - optional :errorType, :enum, 8, "gauge.messages.ProtoExecutionResult.ErrorType" - optional :failureScreenshot, :bytes, 9 - repeated :screenshots, :bytes, 10 - optional :failureScreenshotFile, :string, 11 - repeated :screenshotFiles, :string, 12 - end - add_enum "gauge.messages.ProtoExecutionResult.ErrorType" do - value :ASSERTION, 0 - value :VERIFICATION, 1 - end - add_message "gauge.messages.ProtoHookFailure" do - optional :stackTrace, :string, 1 - optional :errorMessage, :string, 2 - optional :screenShot, :bytes, 3 - optional :tableRowIndex, :int32, 4 - optional :failureScreenshot, :bytes, 5 - optional :failureScreenshotFile, :string, 6 - end - add_message "gauge.messages.ProtoSuiteResult" do - repeated :specResults, :message, 1, "gauge.messages.ProtoSpecResult" - optional :preHookFailure, :message, 2, "gauge.messages.ProtoHookFailure" - optional :postHookFailure, :message, 3, "gauge.messages.ProtoHookFailure" - optional :failed, :bool, 4 - optional :specsFailedCount, :int32, 5 - optional :executionTime, :int64, 6 - optional :successRate, :float, 7 - optional :environment, :string, 8 - optional :tags, :string, 9 - optional :projectName, :string, 10 - optional :timestamp, :string, 11 - optional :specsSkippedCount, :int32, 12 - repeated :preHookMessages, :string, 13 - repeated :postHookMessages, :string, 14 - repeated :preHookMessage, :string, 15 - repeated :postHookMessage, :string, 16 - repeated :preHookScreenshots, :bytes, 17 - repeated :postHookScreenshots, :bytes, 18 - optional :chunked, :bool, 19 - optional :chunkSize, :int64, 20 - repeated :preHookScreenshotFiles, :string, 21 - repeated :postHookScreenshotFiles, :string, 22 - end - add_message "gauge.messages.ProtoSpecResult" do - optional :protoSpec, :message, 1, "gauge.messages.ProtoSpec" - optional :scenarioCount, :int32, 2 - optional :scenarioFailedCount, :int32, 3 - optional :failed, :bool, 4 - repeated :failedDataTableRows, :int32, 5 - optional :executionTime, :int64, 6 - optional :skipped, :bool, 7 - optional :scenarioSkippedCount, :int32, 8 - repeated :skippedDataTableRows, :int32, 9 - repeated :errors, :message, 10, "gauge.messages.Error" - optional :timestamp, :string, 11 - end - add_message "gauge.messages.ProtoScenarioResult" do - optional :protoItem, :message, 1, "gauge.messages.ProtoItem" - optional :executionTime, :int64, 2 - optional :timestamp, :string, 3 - end - add_message "gauge.messages.ProtoStepResult" do - optional :protoItem, :message, 1, "gauge.messages.ProtoItem" - optional :executionTime, :int64, 2 - optional :timestamp, :string, 3 - end - add_message "gauge.messages.Error" do - optional :type, :enum, 1, "gauge.messages.Error.ErrorType" - optional :filename, :string, 2 - optional :lineNumber, :int32, 3 - optional :message, :string, 4 - end - add_enum "gauge.messages.Error.ErrorType" do - value :PARSE_ERROR, 0 - value :VALIDATION_ERROR, 1 - end - add_message "gauge.messages.ProtoStepValue" do - optional :stepValue, :string, 1 - optional :parameterizedStepValue, :string, 2 - repeated :parameters, :string, 3 - end - add_enum "gauge.messages.ExecutionStatus" do - value :NOTEXECUTED, 0 - value :PASSED, 1 - value :FAILED, 2 - value :SKIPPED, 3 - end - end -end + +descriptor_data = "\n\nspec.proto\x12\x0egauge.messages\"\xf9\x03\n\tProtoSpec\x12\x13\n\x0bspecHeading\x18\x01 \x01(\t\x12(\n\x05items\x18\x02 \x03(\x0b\x32\x19.gauge.messages.ProtoItem\x12\x15\n\risTableDriven\x18\x03 \x01(\x08\x12\x39\n\x0fpreHookFailures\x18\x04 \x03(\x0b\x32 .gauge.messages.ProtoHookFailure\x12:\n\x10postHookFailures\x18\x05 \x03(\x0b\x32 .gauge.messages.ProtoHookFailure\x12\x10\n\x08\x66ileName\x18\x06 \x01(\t\x12\x0c\n\x04tags\x18\x07 \x03(\t\x12\x17\n\x0fpreHookMessages\x18\x08 \x03(\t\x12\x18\n\x10postHookMessages\x18\t \x03(\t\x12\x1a\n\x0epreHookMessage\x18\n \x03(\tB\x02\x18\x01\x12\x1b\n\x0fpostHookMessage\x18\x0b \x03(\tB\x02\x18\x01\x12\x1e\n\x12preHookScreenshots\x18\x0c \x03(\x0c\x42\x02\x18\x01\x12\x1f\n\x13postHookScreenshots\x18\r \x03(\x0c\x42\x02\x18\x01\x12\x11\n\titemCount\x18\x0e \x01(\x03\x12\x1e\n\x16preHookScreenshotFiles\x18\x0f \x03(\t\x12\x1f\n\x17postHookScreenshotFiles\x18\x10 \x03(\t\"\x92\x04\n\tProtoItem\x12\x34\n\x08itemType\x18\x01 \x01(\x0e\x32\".gauge.messages.ProtoItem.ItemType\x12\'\n\x04step\x18\x02 \x01(\x0b\x32\x19.gauge.messages.ProtoStep\x12-\n\x07\x63oncept\x18\x03 \x01(\x0b\x32\x1c.gauge.messages.ProtoConcept\x12/\n\x08scenario\x18\x04 \x01(\x0b\x32\x1d.gauge.messages.ProtoScenario\x12\x45\n\x13tableDrivenScenario\x18\x05 \x01(\x0b\x32(.gauge.messages.ProtoTableDrivenScenario\x12-\n\x07\x63omment\x18\x06 \x01(\x0b\x32\x1c.gauge.messages.ProtoComment\x12)\n\x05table\x18\x07 \x01(\x0b\x32\x1a.gauge.messages.ProtoTable\x12\'\n\x04tags\x18\x08 \x01(\x0b\x32\x19.gauge.messages.ProtoTags\x12\x10\n\x08\x66ileName\x18\t \x01(\t\"j\n\x08ItemType\x12\x08\n\x04Step\x10\x00\x12\x0b\n\x07\x43omment\x10\x01\x12\x0b\n\x07\x43oncept\x10\x02\x12\x0c\n\x08Scenario\x10\x03\x12\x17\n\x13TableDrivenScenario\x10\x04\x12\t\n\x05Table\x10\x05\x12\x08\n\x04Tags\x10\x06\"\xfe\x05\n\rProtoScenario\x12\x17\n\x0fscenarioHeading\x18\x01 \x01(\t\x12\x12\n\x06\x66\x61iled\x18\x02 \x01(\x08\x42\x02\x18\x01\x12+\n\x08\x63ontexts\x18\x03 \x03(\x0b\x32\x19.gauge.messages.ProtoItem\x12\x30\n\rscenarioItems\x18\x04 \x03(\x0b\x32\x19.gauge.messages.ProtoItem\x12\x38\n\x0epreHookFailure\x18\x05 \x01(\x0b\x32 .gauge.messages.ProtoHookFailure\x12\x39\n\x0fpostHookFailure\x18\x06 \x01(\x0b\x32 .gauge.messages.ProtoHookFailure\x12\x0c\n\x04tags\x18\x07 \x03(\t\x12\x15\n\rexecutionTime\x18\x08 \x01(\x03\x12\x13\n\x07skipped\x18\t \x01(\x08\x42\x02\x18\x01\x12\x12\n\nskipErrors\x18\n \x03(\t\x12\n\n\x02ID\x18\x0b \x01(\t\x12\x30\n\rtearDownSteps\x18\x0c \x03(\x0b\x32\x19.gauge.messages.ProtoItem\x12\"\n\x04span\x18\r \x01(\x0b\x32\x14.gauge.messages.Span\x12\x38\n\x0f\x65xecutionStatus\x18\x0e \x01(\x0e\x32\x1f.gauge.messages.ExecutionStatus\x12\x17\n\x0fpreHookMessages\x18\x0f \x03(\t\x12\x18\n\x10postHookMessages\x18\x10 \x03(\t\x12\x1a\n\x0epreHookMessage\x18\x11 \x03(\tB\x02\x18\x01\x12\x1b\n\x0fpostHookMessage\x18\x12 \x03(\tB\x02\x18\x01\x12\x1e\n\x12preHookScreenshots\x18\x13 \x03(\x0c\x42\x02\x18\x01\x12\x1f\n\x13postHookScreenshots\x18\x14 \x03(\x0c\x42\x02\x18\x01\x12\x1e\n\x16preHookScreenshotFiles\x18\x15 \x03(\t\x12\x1f\n\x17postHookScreenshotFiles\x18\x16 \x03(\t\x12\x14\n\x0cretriesCount\x18\x17 \x01(\x03\"F\n\x04Span\x12\r\n\x05start\x18\x01 \x01(\x03\x12\x0b\n\x03\x65nd\x18\x02 \x01(\x03\x12\x11\n\tstartChar\x18\x03 \x01(\x03\x12\x0f\n\x07\x65ndChar\x18\x04 \x01(\x03\"\xa8\x02\n\x18ProtoTableDrivenScenario\x12/\n\x08scenario\x18\x01 \x01(\x0b\x32\x1d.gauge.messages.ProtoScenario\x12\x15\n\rtableRowIndex\x18\x02 \x01(\x05\x12\x1d\n\x15scenarioTableRowIndex\x18\x03 \x01(\x05\x12\x19\n\x11isSpecTableDriven\x18\x04 \x01(\x08\x12\x1d\n\x15isScenarioTableDriven\x18\x05 \x01(\x08\x12\x35\n\x11scenarioDataTable\x18\x06 \x01(\x0b\x32\x1a.gauge.messages.ProtoTable\x12\x34\n\x10scenarioTableRow\x18\x07 \x01(\x0b\x32\x1a.gauge.messages.ProtoTable\"\xdc\x02\n\tProtoStep\x12\x12\n\nactualText\x18\x01 \x01(\t\x12\x12\n\nparsedText\x18\x02 \x01(\t\x12+\n\tfragments\x18\x03 \x03(\x0b\x32\x18.gauge.messages.Fragment\x12\x45\n\x13stepExecutionResult\x18\x04 \x01(\x0b\x32(.gauge.messages.ProtoStepExecutionResult\x12\x17\n\x0fpreHookMessages\x18\x05 \x03(\t\x12\x18\n\x10postHookMessages\x18\x06 \x03(\t\x12\x1e\n\x12preHookScreenshots\x18\x07 \x03(\x0c\x42\x02\x18\x01\x12\x1f\n\x13postHookScreenshots\x18\x08 \x03(\x0c\x42\x02\x18\x01\x12\x1e\n\x16preHookScreenshotFiles\x18\t \x03(\t\x12\x1f\n\x17postHookScreenshotFiles\x18\n \x03(\t\"\xb2\x01\n\x0cProtoConcept\x12.\n\x0b\x63onceptStep\x18\x01 \x01(\x0b\x32\x19.gauge.messages.ProtoStep\x12(\n\x05steps\x18\x02 \x03(\x0b\x32\x19.gauge.messages.ProtoItem\x12H\n\x16\x63onceptExecutionResult\x18\x03 \x01(\x0b\x32(.gauge.messages.ProtoStepExecutionResult\"\x19\n\tProtoTags\x12\x0c\n\x04tags\x18\x01 \x03(\t\"\xac\x01\n\x08\x46ragment\x12;\n\x0c\x66ragmentType\x18\x01 \x01(\x0e\x32%.gauge.messages.Fragment.FragmentType\x12\x0c\n\x04text\x18\x02 \x01(\t\x12,\n\tparameter\x18\x03 \x01(\x0b\x32\x19.gauge.messages.Parameter\"\'\n\x0c\x46ragmentType\x12\x08\n\x04Text\x10\x00\x12\r\n\tParameter\x10\x01\"\xef\x01\n\tParameter\x12>\n\rparameterType\x18\x01 \x01(\x0e\x32\'.gauge.messages.Parameter.ParameterType\x12\r\n\x05value\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12)\n\x05table\x18\x04 \x01(\x0b\x32\x1a.gauge.messages.ProtoTable\"Z\n\rParameterType\x12\n\n\x06Static\x10\x00\x12\x0b\n\x07\x44ynamic\x10\x01\x12\x12\n\x0eSpecial_String\x10\x02\x12\x11\n\rSpecial_Table\x10\x03\x12\t\n\x05Table\x10\x04\"\x1c\n\x0cProtoComment\x12\x0c\n\x04text\x18\x01 \x01(\t\"i\n\nProtoTable\x12.\n\x07headers\x18\x01 \x01(\x0b\x32\x1d.gauge.messages.ProtoTableRow\x12+\n\x04rows\x18\x02 \x03(\x0b\x32\x1d.gauge.messages.ProtoTableRow\"\x1e\n\rProtoTableRow\x12\r\n\x05\x63\x65lls\x18\x01 \x03(\t\"\xf6\x01\n\x18ProtoStepExecutionResult\x12=\n\x0f\x65xecutionResult\x18\x01 \x01(\x0b\x32$.gauge.messages.ProtoExecutionResult\x12\x38\n\x0epreHookFailure\x18\x02 \x01(\x0b\x32 .gauge.messages.ProtoHookFailure\x12\x39\n\x0fpostHookFailure\x18\x03 \x01(\x0b\x32 .gauge.messages.ProtoHookFailure\x12\x0f\n\x07skipped\x18\x04 \x01(\x08\x12\x15\n\rskippedReason\x18\x05 \x01(\t\"\xa1\x03\n\x14ProtoExecutionResult\x12\x0e\n\x06\x66\x61iled\x18\x01 \x01(\x08\x12\x18\n\x10recoverableError\x18\x02 \x01(\x08\x12\x14\n\x0c\x65rrorMessage\x18\x03 \x01(\t\x12\x12\n\nstackTrace\x18\x04 \x01(\t\x12\x16\n\nscreenShot\x18\x05 \x01(\x0c\x42\x02\x18\x01\x12\x15\n\rexecutionTime\x18\x06 \x01(\x03\x12\x0f\n\x07message\x18\x07 \x03(\t\x12\x41\n\terrorType\x18\x08 \x01(\x0e\x32..gauge.messages.ProtoExecutionResult.ErrorType\x12\x1d\n\x11\x66\x61ilureScreenshot\x18\t \x01(\x0c\x42\x02\x18\x01\x12\x17\n\x0bscreenshots\x18\n \x03(\x0c\x42\x02\x18\x01\x12\x1d\n\x15\x66\x61ilureScreenshotFile\x18\x0b \x01(\t\x12\x17\n\x0fscreenshotFiles\x18\x0c \x03(\t\x12\x14\n\x0cskipScenario\x18\r \x01(\x08\",\n\tErrorType\x12\r\n\tASSERTION\x10\x00\x12\x10\n\x0cVERIFICATION\x10\x01\"\xa9\x01\n\x10ProtoHookFailure\x12\x12\n\nstackTrace\x18\x01 \x01(\t\x12\x14\n\x0c\x65rrorMessage\x18\x02 \x01(\t\x12\x16\n\nscreenShot\x18\x03 \x01(\x0c\x42\x02\x18\x01\x12\x15\n\rtableRowIndex\x18\x04 \x01(\x05\x12\x1d\n\x11\x66\x61ilureScreenshot\x18\x05 \x01(\x0c\x42\x02\x18\x01\x12\x1d\n\x15\x66\x61ilureScreenshotFile\x18\x06 \x01(\t\"\x8b\x05\n\x10ProtoSuiteResult\x12\x34\n\x0bspecResults\x18\x01 \x03(\x0b\x32\x1f.gauge.messages.ProtoSpecResult\x12\x38\n\x0epreHookFailure\x18\x02 \x01(\x0b\x32 .gauge.messages.ProtoHookFailure\x12\x39\n\x0fpostHookFailure\x18\x03 \x01(\x0b\x32 .gauge.messages.ProtoHookFailure\x12\x0e\n\x06\x66\x61iled\x18\x04 \x01(\x08\x12\x18\n\x10specsFailedCount\x18\x05 \x01(\x05\x12\x15\n\rexecutionTime\x18\x06 \x01(\x03\x12\x13\n\x0bsuccessRate\x18\x07 \x01(\x02\x12\x13\n\x0b\x65nvironment\x18\x08 \x01(\t\x12\x0c\n\x04tags\x18\t \x01(\t\x12\x13\n\x0bprojectName\x18\n \x01(\t\x12\x11\n\ttimestamp\x18\x0b \x01(\t\x12\x19\n\x11specsSkippedCount\x18\x0c \x01(\x05\x12\x17\n\x0fpreHookMessages\x18\r \x03(\t\x12\x18\n\x10postHookMessages\x18\x0e \x03(\t\x12\x1a\n\x0epreHookMessage\x18\x0f \x03(\tB\x02\x18\x01\x12\x1b\n\x0fpostHookMessage\x18\x10 \x03(\tB\x02\x18\x01\x12\x1e\n\x12preHookScreenshots\x18\x11 \x03(\x0c\x42\x02\x18\x01\x12\x1f\n\x13postHookScreenshots\x18\x12 \x03(\x0c\x42\x02\x18\x01\x12\x0f\n\x07\x63hunked\x18\x13 \x01(\x08\x12\x11\n\tchunkSize\x18\x14 \x01(\x03\x12\x1e\n\x16preHookScreenshotFiles\x18\x15 \x03(\t\x12\x1f\n\x17postHookScreenshotFiles\x18\x16 \x03(\t\"\xbe\x02\n\x0fProtoSpecResult\x12,\n\tprotoSpec\x18\x01 \x01(\x0b\x32\x19.gauge.messages.ProtoSpec\x12\x15\n\rscenarioCount\x18\x02 \x01(\x05\x12\x1b\n\x13scenarioFailedCount\x18\x03 \x01(\x05\x12\x0e\n\x06\x66\x61iled\x18\x04 \x01(\x08\x12\x1b\n\x13\x66\x61iledDataTableRows\x18\x05 \x03(\x05\x12\x15\n\rexecutionTime\x18\x06 \x01(\x03\x12\x0f\n\x07skipped\x18\x07 \x01(\x08\x12\x1c\n\x14scenarioSkippedCount\x18\x08 \x01(\x05\x12\x1c\n\x14skippedDataTableRows\x18\t \x03(\x05\x12%\n\x06\x65rrors\x18\n \x03(\x0b\x32\x15.gauge.messages.Error\x12\x11\n\ttimestamp\x18\x0b \x01(\t\"m\n\x13ProtoScenarioResult\x12,\n\tprotoItem\x18\x01 \x01(\x0b\x32\x19.gauge.messages.ProtoItem\x12\x15\n\rexecutionTime\x18\x02 \x01(\x03\x12\x11\n\ttimestamp\x18\x03 \x01(\t\"i\n\x0fProtoStepResult\x12,\n\tprotoItem\x18\x01 \x01(\x0b\x32\x19.gauge.messages.ProtoItem\x12\x15\n\rexecutionTime\x18\x02 \x01(\x03\x12\x11\n\ttimestamp\x18\x03 \x01(\t\"\xa1\x01\n\x05\x45rror\x12-\n\x04type\x18\x01 \x01(\x0e\x32\x1f.gauge.messages.Error.ErrorType\x12\x10\n\x08\x66ilename\x18\x02 \x01(\t\x12\x12\n\nlineNumber\x18\x03 \x01(\x05\x12\x0f\n\x07message\x18\x04 \x01(\t\"2\n\tErrorType\x12\x0f\n\x0bPARSE_ERROR\x10\x00\x12\x14\n\x10VALIDATION_ERROR\x10\x01\"W\n\x0eProtoStepValue\x12\x11\n\tstepValue\x18\x01 \x01(\t\x12\x1e\n\x16parameterizedStepValue\x18\x02 \x01(\t\x12\x12\n\nparameters\x18\x03 \x03(\t*G\n\x0f\x45xecutionStatus\x12\x0f\n\x0bNOTEXECUTED\x10\x00\x12\n\n\x06PASSED\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\x12\x0b\n\x07SKIPPED\x10\x03\x42\\\n\x16\x63om.thoughtworks.gaugeZ1github.com/getgauge/gauge-proto/go/gauge_messages\xaa\x02\x0eGauge.Messagesb\x06proto3" + +pool = Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Gauge module Messages - ProtoSpec = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ProtoSpec").msgclass - ProtoItem = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ProtoItem").msgclass - ProtoItem::ItemType = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ProtoItem.ItemType").enummodule - ProtoScenario = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ProtoScenario").msgclass - Span = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.Span").msgclass - ProtoTableDrivenScenario = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ProtoTableDrivenScenario").msgclass - ProtoStep = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ProtoStep").msgclass - ProtoConcept = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ProtoConcept").msgclass - ProtoTags = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ProtoTags").msgclass - Fragment = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.Fragment").msgclass - Fragment::FragmentType = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.Fragment.FragmentType").enummodule - Parameter = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.Parameter").msgclass - Parameter::ParameterType = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.Parameter.ParameterType").enummodule - ProtoComment = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ProtoComment").msgclass - ProtoTable = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ProtoTable").msgclass - ProtoTableRow = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ProtoTableRow").msgclass - ProtoStepExecutionResult = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ProtoStepExecutionResult").msgclass - ProtoExecutionResult = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ProtoExecutionResult").msgclass - ProtoExecutionResult::ErrorType = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ProtoExecutionResult.ErrorType").enummodule - ProtoHookFailure = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ProtoHookFailure").msgclass - ProtoSuiteResult = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ProtoSuiteResult").msgclass - ProtoSpecResult = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ProtoSpecResult").msgclass - ProtoScenarioResult = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ProtoScenarioResult").msgclass - ProtoStepResult = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ProtoStepResult").msgclass - Error = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.Error").msgclass - Error::ErrorType = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.Error.ErrorType").enummodule - ProtoStepValue = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ProtoStepValue").msgclass - ExecutionStatus = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ExecutionStatus").enummodule + ProtoSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ProtoSpec").msgclass + ProtoItem = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ProtoItem").msgclass + ProtoItem::ItemType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ProtoItem.ItemType").enummodule + ProtoScenario = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ProtoScenario").msgclass + Span = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.Span").msgclass + ProtoTableDrivenScenario = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ProtoTableDrivenScenario").msgclass + ProtoStep = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ProtoStep").msgclass + ProtoConcept = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ProtoConcept").msgclass + ProtoTags = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ProtoTags").msgclass + Fragment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.Fragment").msgclass + Fragment::FragmentType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.Fragment.FragmentType").enummodule + Parameter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.Parameter").msgclass + Parameter::ParameterType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.Parameter.ParameterType").enummodule + ProtoComment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ProtoComment").msgclass + ProtoTable = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ProtoTable").msgclass + ProtoTableRow = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ProtoTableRow").msgclass + ProtoStepExecutionResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ProtoStepExecutionResult").msgclass + ProtoExecutionResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ProtoExecutionResult").msgclass + ProtoExecutionResult::ErrorType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ProtoExecutionResult.ErrorType").enummodule + ProtoHookFailure = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ProtoHookFailure").msgclass + ProtoSuiteResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ProtoSuiteResult").msgclass + ProtoSpecResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ProtoSpecResult").msgclass + ProtoScenarioResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ProtoScenarioResult").msgclass + ProtoStepResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ProtoStepResult").msgclass + Error = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.Error").msgclass + Error::ErrorType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.Error.ErrorType").enummodule + ProtoStepValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ProtoStepValue").msgclass + ExecutionStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ExecutionStatus").enummodule end end diff --git a/ruby.json b/ruby.json index ee40ff6..43ae274 100644 --- a/ruby.json +++ b/ruby.json @@ -1,6 +1,6 @@ { "id" : "ruby", - "version" : "0.9.1", + "version" : "0.9.2", "description": "ruby support for gauge", "install": { "windows": [],