b284c616faf350ffcc1334a244b803b0ec4027a9
[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 mepGWIP: 159.138.22.15
18 httpGWPORT: 30010
19 httpsGWPORT: 30011
20 mepGWROUTES: /mp1
21 serviceInfoPosts:
22   - serName: ExampleService
23     serInstanceId:
24     serCategory:
25       href: "/example/catalogue1"
26       id: id12345
27       name: RNI
28       version: version1
29     version: ServiceVersion1
30     state: ACTIVE
31     transportId: Rest1
32     transportInfo:
33       id: TransId12345
34       name: REST
35       description: REST API
36       type: REST_HTTP
37       protocol: HTTP
38       version: '2.0'
39       endpoint:
40         uris:
41           - http://ExampleService:30005
42       implSpecificInfo: {}
43     serializer: JSON
44     scopeOfLocality: MEC_SYSTEM
45     consumedLocalOnly: false
46     isLocal: true
47 serAvailabilityNotificationSubscriptions:
48   - subscriptionType: SerAvailabilityNotificationSubscription
49     callbackReference: string
50     links:
51       self:
52         href: /mecSerMgmtApi/example
53     filteringCriteria:
54       serInstanceIds:
55         - ServiceInstance123
56       serNames:
57         - ExampleService
58       serCategories:
59         - href: /example/catalogue1
60           id: id12345
61           name: RNI
62           version: version1
63       states:
64         - ACTIVE
65       isLocal: true