Skip to content
This repository has been archived by the owner on Apr 17, 2019. It is now read-only.

Commit

Permalink
Remove session
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Giasemi Seisa authored and Markus Herpich committed Jan 31, 2019
1 parent afac7b2 commit 3822c98
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 8 deletions.
1 change: 0 additions & 1 deletion analyzerservice.proto
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ message AnalyzerConfigResponse {
map<string, string> configMap = 2;
repeated PathSubstitution pathSub = 3;
int64 token = 4;
string session = 5;
string name = 6;
}

Expand Down
1 change: 0 additions & 1 deletion controlservice.proto
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ message SwitchPhaseResponse {
}

message PackageRequest {
string session = 1;
}

message StatusMessage {
Expand Down
2 changes: 0 additions & 2 deletions datamodel.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -73,7 +72,6 @@ message QmstrStateNode {
string uid = 1;
string qmstrStateNodeType = 2;
Phase phase = 3;
string session = 4;
}

enum Phase {
Expand Down
6 changes: 2 additions & 4 deletions reportservice.proto
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@ message ReporterConfigRequest {
}

message ReporterConfigResponse {
string session = 1;
map<string, string> configMap = 2;
string name = 4;
map<string, string> configMap = 1;
string name = 2;
}

message InfoDataRequest {
Expand All @@ -27,7 +26,6 @@ message InfoDataResponse {
message BOMRequest {
bool warnings = 1;
bool errors = 2;
string session = 3;
}

service ReportService {
Expand Down

0 comments on commit 3822c98

Please sign in to comment.