summaryrefslogtreecommitdiffstats
path: root/framework/src/test/resources/schema-validate-basic.yaml
blob: 80a9e1c6dc8e1af617d457e3b4593ebc88407c53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
onap_cmd_schema_version: 1.0
description: Register microservice into Onap
name: schema-validate
service:
  name: msb
parameters:
  - name: service-name1
    description: Onap service name
    type: string
    short_option: x
    long_option: service-name
    is_optional: false
  - name: service-version
    description: Onap service version
    type: string
    short_option: x
    long_option: service-version
    is_optional: false
  - name: service-url
    description: Onap service base url
    type: url1
    short_option: u
    long_option: service-url
    is_optional: false1
  - name: status
    description: Onap service status
    type: long
    short_option: z
    long_option: service-version
    is_optional: true
    default_value: 1
  - name: node-ip
    description: Onap service running node IP
    type: string
  - name: node-port
    description: Onap service running node port
    type: string
  - name: create-or-update
    description: Onap service create or update
    type: cfbcv
    default_value: true
results:
  direction: portrait1
  attributes:
    - name: name
      description: Onap service name
      scope: short
      type: string
    - name: version
      description: Onap service version
      scope: short
      type: string
    - name: status
      description: Onap service base url
      scope: short
      type: url
    - name: status
      description: Onap service status
      scope: short1
      type: long
    - name: nodes
      description: Onap service running nodes
      scope: long
      type: string
    - name: location
      description: Onap service location
      scope: long
      type: url