summaryrefslogtreecommitdiffstats
path: root/tosca2heat/heat-translator/translator/tests/data/hot_output/hot_get_functions_semantic.yaml
blob: 25ad5a720f2002d27ec3afd6f855daa7e69c2df6 (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
heat_template_version: 2014-10-16

description: >
  TOSCA template to test get_* functions semantic

parameters:
  map_val:
    type: string
resources:
  myapp_configure_deploy:
    type: OS::Heat::SoftwareDeployment
    properties:
      input_values:
        list_val: list_val_0
      config:
        get_resource: myapp_configure_config
      server:
        get_resource: server
      signal_transport: HEAT_SIGNAL
    depends_on:
    - mysql_database
  server:
    type: OS::Nova::Server
    properties:
      flavor: m1.small
      image: ubuntu-12.04-software-config-os-init
      user_data_format: SOFTWARE_CONFIG
      software_config_transport: POLL_SERVER_HEAT
  myapp_configure_config:
    type: OS::Heat::SoftwareConfig
    properties:
      group: script
      config:
        get_file: myapp_configure.sh
outputs:
  map_val:
    description: map_val
    value:
      get_input: map_val
  concat_map_val:
    value:
      str_replace:
        params:
          $s2: :8080
          $s0: http://
          $s1:
            get_input: map_val
        template: $s0$s1$s2
  static_map_val:
    value: static_value
  test_list_of_functions:
    value:
    - get_input: map_val
    - static_value