37f764cd0becc12cd035c3529b7fb0da3782329e
[ealt-edge.git] / mep / mepagent / SampleApp / conf / app_instance_info.yaml
1 # Copyright 2020 Huawei Technologies Co., Ltd.
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #     http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14
15 ---
16 appInstanceId: id12345
17 mepServerIP: 192.168.0.101
18 mepServerPORT: 30088
19 serviceInfoPosts:
20   - serName: ExampleService
21     serInstanceId:
22     serCategory:
23       href: "/example/catalogue1"
24       id: id12345
25       name: RNI
26       version: version1
27     version: ServiceVersion1
28     state: ACTIVE
29     transportId: Rest1
30     transportInfo:
31       id: TransId12345
32       name: REST
33       description: REST API
34       type: REST_HTTP
35       protocol: HTTP
36       version: '2.0'
37       endpoint:
38         uris:
39           - http://ExampleService:30005
40       implSpecificInfo: {}
41     serializer: JSON
42     scopeOfLocality: MEC_SYSTEM
43     consumedLocalOnly: false
44     isLocal: true
45 serAvailabilityNotificationSubscriptions:
46   - subscriptionType: SerAvailabilityNotificationSubscription
47     callbackReference: string
48     links:
49       self:
50         href: /mecSerMgmtApi/example
51     filteringCriteria:
52       serInstanceIds:
53         - ServiceInstance123
54       serNames:
55         - ExampleService
56       serCategories:
57         - href: /example/catalogue1
58           id: id12345
59           name: RNI
60           version: version1
61       states:
62         - ACTIVE
63       isLocal: true