blob: 4601e3bd78f415f01173040754f10a234a166911 [file] [log] [blame]
Jian Li841a8b92017-11-23 01:31:22 +09001/*
2 * Copyright 2017-present Open Networking Foundation
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
Jian Lif8e9fb62017-06-27 07:40:48 +090016syntax = "proto3";
17option java_package = "org.onosproject.grpc.core.models";
18
19package core;
20
21import "core/ApplicationIdProto.proto";
22import "app/ApplicationEnumsProto.proto";
23import "security/PermissionProto.proto";
Jian Li8780edc2017-08-26 02:44:29 +090024import "core/VersionProto.proto";
Jian Lif8e9fb62017-06-27 07:40:48 +090025
26// Corresponds to org.onosproject.core.Application.
27message ApplicationProto {
28 core.ApplicationIdProto app_id = 1;
Jian Li8780edc2017-08-26 02:44:29 +090029 core.VersionProto version = 2;
Jian Lif8e9fb62017-06-27 07:40:48 +090030 string title = 3;
31 string description = 4;
32 string category = 5;
33 string url = 6;
34 string readme = 7;
35
36 // tag id 8 is reserved for app icon
37 reserved 8;
38
39 string origin = 9;
40 app.ApplicationRoleProto role = 10;
41 repeated security.PermissionProto permissions = 11;
42
43 // tag id 12 is reserved for features repo
44 // optional type will be added later
45 reserved 12;
46 repeated string features = 13;
47 repeated string required_apps = 14;
48}