From 3822c98a11b4de44dd1fd7fc45da3f0678b1ce6e Mon Sep 17 00:00:00 2001 From: Giasemi Seisa Date: Tue, 29 Jan 2019 16:06:38 +0100 Subject: [PATCH] Remove session Session is not used anymore. Session was needed in the old implementation to refer to the package node or the database in general. Now we can just refer to the package node by quering for packageNodeType. --- analyzerservice.proto | 1 - controlservice.proto | 1 - datamodel.proto | 2 -- reportservice.proto | 6 ++---- 4 files changed, 2 insertions(+), 8 deletions(-) diff --git a/analyzerservice.proto b/analyzerservice.proto index deb6478..29e3043 100644 --- a/analyzerservice.proto +++ b/analyzerservice.proto @@ -12,7 +12,6 @@ message AnalyzerConfigResponse { map configMap = 2; repeated PathSubstitution pathSub = 3; int64 token = 4; - string session = 5; string name = 6; } diff --git a/controlservice.proto b/controlservice.proto index 5f18bf1..f23a5ec 100644 --- a/controlservice.proto +++ b/controlservice.proto @@ -30,7 +30,6 @@ message SwitchPhaseResponse { } message PackageRequest { - string session = 1; } message StatusMessage { diff --git a/datamodel.proto b/datamodel.proto index e1c8e3e..a272fdb 100644 --- a/datamodel.proto +++ b/datamodel.proto @@ -51,7 +51,6 @@ message PathSubstitution { message PackageNode { string uid = 1; string name = 2; - string session = 3; string packageNodeType = 4; repeated FileNode targets = 5; repeated InfoNode additionalInfo = 6; @@ -73,7 +72,6 @@ message QmstrStateNode { string uid = 1; string qmstrStateNodeType = 2; Phase phase = 3; - string session = 4; } enum Phase { diff --git a/reportservice.proto b/reportservice.proto index 67b7883..eb33eff 100644 --- a/reportservice.proto +++ b/reportservice.proto @@ -9,9 +9,8 @@ message ReporterConfigRequest { } message ReporterConfigResponse { - string session = 1; - map configMap = 2; - string name = 4; + map configMap = 1; + string name = 2; } message InfoDataRequest { @@ -27,7 +26,6 @@ message InfoDataResponse { message BOMRequest { bool warnings = 1; bool errors = 2; - string session = 3; } service ReportService {