Jian Li | f8e9fb6 | 2017-06-27 07:40:48 +0900 | [diff] [blame] | 1 | syntax = "proto3"; |
| 2 | option java_package = "org.onosproject.grpc.core.models"; |
| 3 | |
| 4 | package core; |
| 5 | |
| 6 | import "core/ApplicationIdProto.proto"; |
| 7 | import "app/ApplicationEnumsProto.proto"; |
| 8 | import "security/PermissionProto.proto"; |
Jian Li | 8780edc | 2017-08-26 02:44:29 +0900 | [diff] [blame] | 9 | import "core/VersionProto.proto"; |
Jian Li | f8e9fb6 | 2017-06-27 07:40:48 +0900 | [diff] [blame] | 10 | |
| 11 | // Corresponds to org.onosproject.core.Application. |
| 12 | message ApplicationProto { |
| 13 | core.ApplicationIdProto app_id = 1; |
Jian Li | 8780edc | 2017-08-26 02:44:29 +0900 | [diff] [blame] | 14 | core.VersionProto version = 2; |
Jian Li | f8e9fb6 | 2017-06-27 07:40:48 +0900 | [diff] [blame] | 15 | string title = 3; |
| 16 | string description = 4; |
| 17 | string category = 5; |
| 18 | string url = 6; |
| 19 | string readme = 7; |
| 20 | |
| 21 | // tag id 8 is reserved for app icon |
| 22 | reserved 8; |
| 23 | |
| 24 | string origin = 9; |
| 25 | app.ApplicationRoleProto role = 10; |
| 26 | repeated security.PermissionProto permissions = 11; |
| 27 | |
| 28 | // tag id 12 is reserved for features repo |
| 29 | // optional type will be added later |
| 30 | reserved 12; |
| 31 | repeated string features = 13; |
| 32 | repeated string required_apps = 14; |
| 33 | } |