Skip to content

Commit

Permalink
no ios notifications (#313)
Browse files Browse the repository at this point in the history
* removed all reminents of the ios notifications

* removed the ios methods from the protofile
  • Loading branch information
CommanderStorm authored Feb 26, 2024
1 parent 4ef9d18 commit 683902c
Show file tree
Hide file tree
Showing 40 changed files with 1,177 additions and 3,467 deletions.
2,193 changes: 1,022 additions & 1,171 deletions server/api/tumdev/campus_backend.pb.go

Large diffs are not rendered by default.

77 changes: 0 additions & 77 deletions server/api/tumdev/campus_backend.pb.gw.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 0 additions & 16 deletions server/api/tumdev/campus_backend.proto
Original file line number Diff line number Diff line change
Expand Up @@ -145,14 +145,6 @@ service Campus {
option (google.api.http) = {get: "/canteen/headCount/{canteen_id}"};
}

// Endpoint for the iOS app to respond to background notifications requests
rpc IOSDeviceRequestResponse(IOSDeviceRequestResponseRequest) returns (IOSDeviceRequestResponseReply) { // TODO naming
option (google.api.http) = {
post: "/ios/notifications/deviceRequestResponse",
body: "*",
};
}

// Create an device (Android/iOS/Windows) for push notifications
rpc CreateDevice(CreateDeviceRequest) returns (CreateDeviceReply) {
option (google.api.http) = {
Expand Down Expand Up @@ -192,14 +184,6 @@ message DeleteDeviceReply {
string device_id = 1;
}

message IOSDeviceRequestResponseRequest {
string request_id = 1;
string payload = 2;
}

message IOSDeviceRequestResponseReply {
string message = 1;
}
message News {
int64 id = 1;
string title = 2;
Expand Down
53 changes: 0 additions & 53 deletions server/api/tumdev/campus_backend.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -577,40 +577,6 @@
]
}
},
"/ios/notifications/deviceRequestResponse": {
"post": {
"summary": "Endpoint for the iOS app to respond to background notifications requests",
"description": "TODO naming",
"operationId": "Campus_IOSDeviceRequestResponse",
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/apiIOSDeviceRequestResponseReply"
}
},
"default": {
"description": "An unexpected error response.",
"schema": {
"$ref": "#/definitions/rpcStatus"
}
}
},
"parameters": [
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/apiIOSDeviceRequestResponseRequest"
}
}
],
"tags": [
"Campus"
]
}
},
"/members/{lrzId}": {
"get": {
"operationId": "Campus_GetMember",
Expand Down Expand Up @@ -1263,25 +1229,6 @@
}
}
},
"apiIOSDeviceRequestResponseReply": {
"type": "object",
"properties": {
"message": {
"type": "string"
}
}
},
"apiIOSDeviceRequestResponseRequest": {
"type": "object",
"properties": {
"requestId": {
"type": "string"
},
"payload": {
"type": "string"
}
}
},
"apiListAvailableCanteenTagsReply": {
"type": "object",
"properties": {
Expand Down
39 changes: 0 additions & 39 deletions server/api/tumdev/campus_backend_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

58 changes: 0 additions & 58 deletions server/backend/campus_api/campus_api.go

This file was deleted.

Loading

0 comments on commit 683902c

Please sign in to comment.