get.porter.sh/porter@v1.3.0/pkg/porter/testdata/bundle-with-param-sources.json (about)

     1  {
     2    "requiredExtensions": [
     3      "io.cnab.parameter-sources"
     4    ],
     5    "custom": {
     6      "io.cnab.parameter-sources": {
     7        "foo": {
     8          "priority": [
     9            "output"
    10          ],
    11          "sources": {
    12            "output": {
    13              "name": "foo"
    14            }
    15          }
    16        },
    17        "bar": {
    18          "priority": [
    19            "output"
    20          ],
    21          "sources": {
    22            "output": {
    23              "name": "bar"
    24            }
    25          }
    26        },
    27        "connstr": {
    28          "priority": ["output", "dependencies.output"],
    29          "sources": {
    30            "output": {
    31              "name": "connstr"
    32            },
    33            "dependencies.output": {
    34              "dependency": "mysql",
    35              "name": "connstr"
    36            }
    37          }
    38        }
    39      }
    40    },
    41    "outputs": {
    42      "bar": {
    43        "definition": "bar"
    44      },
    45      "baz": {
    46        "definition": "baz"
    47      },
    48      "foo": {
    49        "applyTo": [
    50          "install",
    51          "upgrade",
    52          "uninstall"
    53        ],
    54        "definition": "foo",
    55        "path": "/cnab/app/outputs/foo"
    56      },
    57      "connstr": {
    58        "applyTo": [
    59          "install"
    60        ],
    61        "definition": "connstr"
    62      }
    63    },
    64    "parameters": {
    65      "bar": {
    66        "definition": "bar",
    67        "destination": {
    68          "env": "BAR"
    69        }
    70      },
    71      "baz": {
    72        "definition": "baz",
    73        "destination": {
    74          "env": "BAZ"
    75        }
    76      },
    77      "foo": {
    78        "applyTo": [
    79          "upgrade",
    80          "uninstall"
    81        ],
    82        "definition": "foo",
    83        "destination": {
    84          "env": "FOO"
    85        }
    86      },
    87      "qux": {
    88        "definition": "qux",
    89        "destination": {
    90          "env": "QUX"
    91        }
    92      },
    93      "connstr": {
    94        "definition":"connstr",
    95        "destination": {
    96          "env": "CONNSTR"
    97        }
    98      }
    99    },
   100    "definitions": {
   101      "connstr": {
   102        "type": "string",
   103        "default": ""
   104      },
   105      "foo": {
   106        "type": "string",
   107        "default": "foo_default"
   108      },
   109      "bar": {
   110        "type": "string",
   111        "default": "bar_default"
   112      },
   113      "baz": {
   114        "type": "string",
   115        "default": "baz_default"
   116      },
   117      "qux": {
   118        "type": "string",
   119        "default": "qux_default"
   120      }
   121    },
   122    "description": "A bundle with a parameter sources",
   123    "invocationImages": [
   124      {
   125        "image": "getporter/porter-parameter-sources-installer:0.1.0",
   126        "imageType": "docker"
   127      }
   128    ],
   129    "name": "porter-parameter-sources",
   130    "schemaVersion": "v1.0.0",
   131    "version": "0.1.0"
   132  }