|
690 | 690 | "type": "string", |
691 | 691 | "minLength": 1 |
692 | 692 | }, |
| 693 | + "endpoint": { |
| 694 | + "type": "string", |
| 695 | + "minLength": 1 |
| 696 | + }, |
693 | 697 | "evaluators": { |
694 | 698 | "minItems": 1, |
695 | 699 | "type": "array", |
|
1840 | 1844 | "required": ["name"], |
1841 | 1845 | "additionalProperties": false |
1842 | 1846 | } |
| 1847 | + }, |
| 1848 | + "configBundles": { |
| 1849 | + "default": [], |
| 1850 | + "type": "array", |
| 1851 | + "items": { |
| 1852 | + "type": "object", |
| 1853 | + "properties": { |
| 1854 | + "name": { |
| 1855 | + "type": "string", |
| 1856 | + "minLength": 1, |
| 1857 | + "maxLength": 100, |
| 1858 | + "pattern": "^[a-zA-Z][a-zA-Z0-9_]{0,99}$" |
| 1859 | + }, |
| 1860 | + "type": { |
| 1861 | + "default": "ConfigurationBundle", |
| 1862 | + "type": "string", |
| 1863 | + "const": "ConfigurationBundle" |
| 1864 | + }, |
| 1865 | + "description": { |
| 1866 | + "type": "string", |
| 1867 | + "minLength": 1, |
| 1868 | + "maxLength": 500 |
| 1869 | + }, |
| 1870 | + "components": { |
| 1871 | + "type": "object", |
| 1872 | + "propertyNames": { |
| 1873 | + "type": "string" |
| 1874 | + }, |
| 1875 | + "additionalProperties": { |
| 1876 | + "type": "object", |
| 1877 | + "properties": { |
| 1878 | + "configuration": { |
| 1879 | + "type": "object", |
| 1880 | + "propertyNames": { |
| 1881 | + "type": "string" |
| 1882 | + }, |
| 1883 | + "additionalProperties": {} |
| 1884 | + } |
| 1885 | + }, |
| 1886 | + "required": ["configuration"], |
| 1887 | + "additionalProperties": false |
| 1888 | + } |
| 1889 | + }, |
| 1890 | + "branchName": { |
| 1891 | + "type": "string", |
| 1892 | + "maxLength": 128 |
| 1893 | + }, |
| 1894 | + "commitMessage": { |
| 1895 | + "type": "string", |
| 1896 | + "maxLength": 500 |
| 1897 | + } |
| 1898 | + }, |
| 1899 | + "required": ["name", "components"], |
| 1900 | + "additionalProperties": false |
| 1901 | + } |
| 1902 | + }, |
| 1903 | + "abTests": { |
| 1904 | + "default": [], |
| 1905 | + "type": "array", |
| 1906 | + "items": { |
| 1907 | + "type": "object", |
| 1908 | + "properties": { |
| 1909 | + "name": { |
| 1910 | + "type": "string", |
| 1911 | + "minLength": 1, |
| 1912 | + "maxLength": 48, |
| 1913 | + "pattern": "^[a-zA-Z][a-zA-Z0-9_]{0,47}$" |
| 1914 | + }, |
| 1915 | + "description": { |
| 1916 | + "type": "string", |
| 1917 | + "minLength": 1, |
| 1918 | + "maxLength": 200 |
| 1919 | + }, |
| 1920 | + "mode": { |
| 1921 | + "default": "config-bundle", |
| 1922 | + "type": "string", |
| 1923 | + "enum": ["config-bundle", "target-based"] |
| 1924 | + }, |
| 1925 | + "gatewayRef": { |
| 1926 | + "type": "string", |
| 1927 | + "minLength": 1 |
| 1928 | + }, |
| 1929 | + "roleArn": { |
| 1930 | + "type": "string", |
| 1931 | + "minLength": 1 |
| 1932 | + }, |
| 1933 | + "variants": { |
| 1934 | + "minItems": 2, |
| 1935 | + "maxItems": 2, |
| 1936 | + "type": "array", |
| 1937 | + "items": { |
| 1938 | + "type": "object", |
| 1939 | + "properties": { |
| 1940 | + "name": { |
| 1941 | + "type": "string", |
| 1942 | + "enum": ["C", "T1"] |
| 1943 | + }, |
| 1944 | + "weight": { |
| 1945 | + "type": "integer", |
| 1946 | + "minimum": 1, |
| 1947 | + "maximum": 100 |
| 1948 | + }, |
| 1949 | + "variantConfiguration": { |
| 1950 | + "anyOf": [ |
| 1951 | + { |
| 1952 | + "type": "object", |
| 1953 | + "properties": { |
| 1954 | + "configurationBundle": { |
| 1955 | + "type": "object", |
| 1956 | + "properties": { |
| 1957 | + "bundleArn": { |
| 1958 | + "type": "string", |
| 1959 | + "minLength": 1 |
| 1960 | + }, |
| 1961 | + "bundleVersion": { |
| 1962 | + "type": "string", |
| 1963 | + "minLength": 1 |
| 1964 | + } |
| 1965 | + }, |
| 1966 | + "required": ["bundleArn", "bundleVersion"], |
| 1967 | + "additionalProperties": false |
| 1968 | + }, |
| 1969 | + "target": { |
| 1970 | + "not": {} |
| 1971 | + } |
| 1972 | + }, |
| 1973 | + "required": ["configurationBundle"], |
| 1974 | + "additionalProperties": false |
| 1975 | + }, |
| 1976 | + { |
| 1977 | + "type": "object", |
| 1978 | + "properties": { |
| 1979 | + "configurationBundle": { |
| 1980 | + "not": {} |
| 1981 | + }, |
| 1982 | + "target": { |
| 1983 | + "type": "object", |
| 1984 | + "properties": { |
| 1985 | + "targetName": { |
| 1986 | + "type": "string", |
| 1987 | + "minLength": 1, |
| 1988 | + "maxLength": 100 |
| 1989 | + } |
| 1990 | + }, |
| 1991 | + "required": ["targetName"], |
| 1992 | + "additionalProperties": false |
| 1993 | + } |
| 1994 | + }, |
| 1995 | + "required": ["target"], |
| 1996 | + "additionalProperties": false |
| 1997 | + } |
| 1998 | + ] |
| 1999 | + } |
| 2000 | + }, |
| 2001 | + "required": ["name", "weight", "variantConfiguration"], |
| 2002 | + "additionalProperties": false |
| 2003 | + } |
| 2004 | + }, |
| 2005 | + "evaluationConfig": { |
| 2006 | + "anyOf": [ |
| 2007 | + { |
| 2008 | + "type": "object", |
| 2009 | + "properties": { |
| 2010 | + "onlineEvaluationConfigArn": { |
| 2011 | + "type": "string", |
| 2012 | + "minLength": 1 |
| 2013 | + } |
| 2014 | + }, |
| 2015 | + "required": ["onlineEvaluationConfigArn"], |
| 2016 | + "additionalProperties": false |
| 2017 | + }, |
| 2018 | + { |
| 2019 | + "type": "object", |
| 2020 | + "properties": { |
| 2021 | + "perVariantOnlineEvaluationConfig": { |
| 2022 | + "minItems": 2, |
| 2023 | + "maxItems": 2, |
| 2024 | + "type": "array", |
| 2025 | + "items": { |
| 2026 | + "type": "object", |
| 2027 | + "properties": { |
| 2028 | + "treatmentName": { |
| 2029 | + "type": "string", |
| 2030 | + "enum": ["C", "T1"] |
| 2031 | + }, |
| 2032 | + "onlineEvaluationConfigArn": { |
| 2033 | + "type": "string", |
| 2034 | + "minLength": 1 |
| 2035 | + } |
| 2036 | + }, |
| 2037 | + "required": ["treatmentName", "onlineEvaluationConfigArn"], |
| 2038 | + "additionalProperties": false |
| 2039 | + } |
| 2040 | + } |
| 2041 | + }, |
| 2042 | + "required": ["perVariantOnlineEvaluationConfig"], |
| 2043 | + "additionalProperties": false |
| 2044 | + } |
| 2045 | + ] |
| 2046 | + }, |
| 2047 | + "gatewayFilter": { |
| 2048 | + "type": "object", |
| 2049 | + "properties": { |
| 2050 | + "targetPaths": { |
| 2051 | + "maxItems": 1, |
| 2052 | + "type": "array", |
| 2053 | + "items": { |
| 2054 | + "type": "string", |
| 2055 | + "minLength": 1, |
| 2056 | + "maxLength": 500 |
| 2057 | + } |
| 2058 | + } |
| 2059 | + }, |
| 2060 | + "required": ["targetPaths"], |
| 2061 | + "additionalProperties": false |
| 2062 | + }, |
| 2063 | + "trafficAllocationConfig": { |
| 2064 | + "type": "object", |
| 2065 | + "properties": { |
| 2066 | + "routeOnHeader": { |
| 2067 | + "type": "object", |
| 2068 | + "properties": { |
| 2069 | + "headerName": { |
| 2070 | + "type": "string", |
| 2071 | + "minLength": 1 |
| 2072 | + } |
| 2073 | + }, |
| 2074 | + "required": ["headerName"], |
| 2075 | + "additionalProperties": false |
| 2076 | + } |
| 2077 | + }, |
| 2078 | + "required": ["routeOnHeader"], |
| 2079 | + "additionalProperties": false |
| 2080 | + }, |
| 2081 | + "maxDurationDays": { |
| 2082 | + "type": "integer", |
| 2083 | + "minimum": 1, |
| 2084 | + "maximum": 90 |
| 2085 | + }, |
| 2086 | + "enableOnCreate": { |
| 2087 | + "type": "boolean" |
| 2088 | + }, |
| 2089 | + "promoted": { |
| 2090 | + "type": "boolean" |
| 2091 | + } |
| 2092 | + }, |
| 2093 | + "required": ["name", "gatewayRef", "variants", "evaluationConfig"], |
| 2094 | + "additionalProperties": false |
| 2095 | + } |
| 2096 | + }, |
| 2097 | + "httpGateways": { |
| 2098 | + "default": [], |
| 2099 | + "type": "array", |
| 2100 | + "items": { |
| 2101 | + "type": "object", |
| 2102 | + "properties": { |
| 2103 | + "name": { |
| 2104 | + "type": "string", |
| 2105 | + "minLength": 1, |
| 2106 | + "maxLength": 48, |
| 2107 | + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{0,47}$" |
| 2108 | + }, |
| 2109 | + "description": { |
| 2110 | + "type": "string", |
| 2111 | + "minLength": 1, |
| 2112 | + "maxLength": 200 |
| 2113 | + }, |
| 2114 | + "runtimeRef": { |
| 2115 | + "type": "string", |
| 2116 | + "minLength": 1 |
| 2117 | + }, |
| 2118 | + "roleArn": { |
| 2119 | + "type": "string", |
| 2120 | + "minLength": 1 |
| 2121 | + }, |
| 2122 | + "targets": { |
| 2123 | + "type": "array", |
| 2124 | + "items": { |
| 2125 | + "type": "object", |
| 2126 | + "properties": { |
| 2127 | + "name": { |
| 2128 | + "type": "string", |
| 2129 | + "minLength": 1, |
| 2130 | + "maxLength": 100 |
| 2131 | + }, |
| 2132 | + "runtimeRef": { |
| 2133 | + "type": "string", |
| 2134 | + "minLength": 1 |
| 2135 | + }, |
| 2136 | + "qualifier": { |
| 2137 | + "default": "DEFAULT", |
| 2138 | + "type": "string", |
| 2139 | + "minLength": 1 |
| 2140 | + } |
| 2141 | + }, |
| 2142 | + "required": ["name", "runtimeRef"], |
| 2143 | + "additionalProperties": false |
| 2144 | + } |
| 2145 | + } |
| 2146 | + }, |
| 2147 | + "required": ["name", "runtimeRef"], |
| 2148 | + "additionalProperties": false |
| 2149 | + } |
1843 | 2150 | } |
1844 | 2151 | }, |
1845 | 2152 | "required": ["name", "version"], |
|
0 commit comments