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