Skip to content

Commit 3b048b3

Browse files
committed
Adjust protobuf package name and imports
1 parent 5c6f1a4 commit 3b048b3

17 files changed

Lines changed: 40 additions & 43 deletions

build.gradle

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ task generateVersionProperties {
4343

4444
task packageProto(type: Jar, dependsOn: generateVersionProperties) {
4545
// Copy the proto files to the desired package structure in the JAR
46-
from(fileTree('proto').matching {
46+
from(fileTree('org/polypheny/prism').matching {
4747
include '**/*.proto'
4848
}) {
4949
into 'org/polypheny/prism'
@@ -125,4 +125,3 @@ signing {
125125
useInMemoryPgpKeys(signingKey, signingPassword)
126126
sign publishing.publications.packageProtoPublication
127127
}
128-

proto/connection_requests.proto renamed to org/polypheny/prism/connection_requests.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ option java_multiple_files = true;
88
option java_package = "org.polypheny.prism";
99
option java_outer_classname = "ConnectionRequests";
1010

11-
package polypheny.prism;
11+
package org.polypheny.prism;
1212

1313
/*
1414
The ConnectionRequest message is designed to initiate a connection request from the client to the server.

proto/connection_responses.proto renamed to org/polypheny/prism/connection_responses.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ option java_multiple_files = true;
88
option java_package = "org.polypheny.prism";
99
option java_outer_classname = "ConnectionResponses";
1010

11-
package polypheny.prism;
11+
package org.polypheny.prism;
1212

1313
/*
1414
The ConnectionResponse message is sent by the server in response to a ConnectionRequest from the client.
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,18 @@ Messages pertaining to document frames as used to represent results from the doc
44

55
syntax = "proto3";
66

7-
import "value.proto";
7+
import "org/polypheny/prism/value.proto";
88

99
option java_multiple_files = true;
1010
option java_package = "org.polypheny.prism";
1111
option java_outer_classname = "DocumentResultProto";
1212

13-
package polypheny.prism;
13+
package org.polypheny.prism;
1414

1515
/*
1616
The DocumentFrame message represents a frame containing one or more documents and is used to relay results or data entries structured as documents from the server to the client.
1717
*/
1818
message DocumentFrame {
1919
// A list of documents contained within this frame. Each entry in this list is an instance of ProtoDocument, representing an individual document.
2020
repeated ProtoDocument documents = 1;
21-
}
21+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ option java_multiple_files = true;
77
option java_package = "org.polypheny.prism";
88
option java_outer_classname = "Error";
99

10-
package polypheny.prism;
10+
package org.polypheny.prism;
1111

1212
/*
1313
The ErrorDetails message conveys specific information about an error encountered during the processing of a request.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ option java_multiple_files = true;
88
option java_package = "org.polypheny.prism";
99
option java_outer_classname = "GraphResultProto";
1010

11-
package polypheny.prism;
11+
package org.polypheny.prism;
1212

1313
/*
1414
The GraphFrame message is a placeholder intended to represent graph frames as part of the labeled property graph model.
@@ -17,4 +17,4 @@ It acts as a provision for future developments where fields related to the graph
1717
Currently, this message does not contain any fields. It is reserved for future use when the graph model is more completely realized.
1818
*/
1919
message GraphFrame {
20-
}
20+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ option java_multiple_files = true;
88
option java_package = "org.polypheny.prism";
99
option java_outer_classname = "MetaRequests";
1010

11-
package polypheny.prism;
11+
package org.polypheny.prism;
1212

1313
/*
1414
The DbmsVersionRequest message is utilized to request the version information of the database management system (DBMS) in use.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ option java_multiple_files = true;
88
option java_package = "org.polypheny.prism";
99
option java_outer_classname = "MetaResponses";
1010

11-
package polypheny.prism;
11+
package org.polypheny.prism;
1212

1313
/*
1414
The DbmsVersionResponse message relays details about the version and name of the database management system (DBMS) in response to a DbmsVersionRequest.

proto/namespace_meta_requests.proto renamed to org/polypheny/prism/namespace_meta_requests.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ option java_multiple_files = true;
88
option java_package = "org.polypheny.prism";
99
option java_outer_classname = "NamespaceMeta";
1010

11-
package polypheny.prism;
11+
package org.polypheny.prism;
1212

1313
/*
1414
The NamespacesRequest message allows querying for namespaces based on specific patterns in their names as well as their types.

proto/namespace_meta_responses.proto renamed to org/polypheny/prism/namespace_meta_responses.proto

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ option java_multiple_files = true;
88
option java_package = "org.polypheny.prism";
99
option java_outer_classname = "NamespaceMetaResponses";
1010

11-
package polypheny.prism;
11+
package org.polypheny.prism;
1212

1313
/*
1414
The NamespacesResponse message delivers a list of namespaces based on the provided criteria in the NamespacesRequest.
@@ -231,4 +231,4 @@ The structure is presently empty, but it’s expected to be expanded with attrib
231231
At this moment, the Document message serves as a placeholder and does not possess any fields.
232232
*/
233233
message Document {
234-
}
234+
}

0 commit comments

Comments
 (0)