blob: 2618124eeee970b32331583910e64dfc0a8482ed [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";
Jian Li8780edc2017-08-26 02:44:29 +09009import "core/VersionProto.proto";
Jian Lif8e9fb62017-06-27 07:40:48 +090010
11// Corresponds to org.onosproject.core.Application.
12message ApplicationProto {
13 core.ApplicationIdProto app_id = 1;
Jian Li8780edc2017-08-26 02:44:29 +090014 core.VersionProto version = 2;
Jian Lif8e9fb62017-06-27 07:40:48 +090015 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}