|
| 1 | +{ |
| 2 | + "schema_version": "1.0", |
| 3 | + "name": "weather_forecasting", |
| 4 | + "title": "Weather Forecasting", |
| 5 | + "description": "This pattern is designed to help get the weather forecast for a given airport code. It creates a project, EE, and job templates in automation controller to get the weather forecast.", |
| 6 | + "short_description": "This pattern is designed to help get the weather forecast for a given airport code.", |
| 7 | + "tags": ["weather", "forecasting"], |
| 8 | + "aap_resources": { |
| 9 | + "controller_project": { |
| 10 | + "name": "Weather Forecasting", |
| 11 | + "description": "Project for the Weather Forecasting pattern" |
| 12 | + }, |
| 13 | + "controller_execution_environment": { |
| 14 | + "name": "Weather Forecasting", |
| 15 | + "description": "EE for the Weather Forecasting pattern", |
| 16 | + "image_name": "weather-demo-ee", |
| 17 | + "pull": "missing" |
| 18 | + }, |
| 19 | + "controller_labels": ["weather", "forecasting"], |
| 20 | + "controller_job_templates": [ |
| 21 | + { |
| 22 | + "name": "Get Weather Forecast", |
| 23 | + "description": "This job template gets the weather at the location of a provided airport code.", |
| 24 | + "execution_environment": "Weather Forecasting", |
| 25 | + "playbook": "site.yml", |
| 26 | + "primary": true, |
| 27 | + "labels": ["weather", "forecasting"], |
| 28 | + "survey": { |
| 29 | + "name": "Weather Forecasting", |
| 30 | + "description": "Survey to configure the weather forecasting pattern", |
| 31 | + "spec": [ |
| 32 | + { |
| 33 | + "type": "text", |
| 34 | + "question_name": "Location", |
| 35 | + "question_description": "Enter the airport code for which you want to get the weather forecast", |
| 36 | + "variable": "location", |
| 37 | + "required": true |
| 38 | + } |
| 39 | + ] |
| 40 | + } |
| 41 | + } |
| 42 | + ] |
| 43 | + } |
| 44 | +} |
0 commit comments