summaryrefslogtreecommitdiffstats
path: root/framework/src/test/resources/schema-validate-basic.yaml
blob: a421904971bef08eabf1f317d6c7d68d13b99e4a (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
69
70
71
open_cli_schema_version: 1.0
description: Register microservice into Onap
name: schema-validate
info:
  product: open-cli
  service: test
  type: cmd
  author: Kanagaraj Manickam mkr1481@gmail.com
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: digit
    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: digit
    - name: nodes
      description: Onap service running nodes
      scope: long
      type: string
    - name: location
      description: Onap service location
      scope: long
      type: url