Ryan Petrello
05bec924e4
Merge pull request #795 from ryanpetrello/move-deprecated-stdout
...
move legacy UnifiedJob stdout data to a separate unmanaged model
2017-12-13 09:35:58 -05:00
Jake McDermott
40d1f2671f
Merge pull request #811 from AlanCoding/i_wont_be_ignored
...
Fix bug creating inventory source schedules
2017-12-12 18:32:54 -05:00
Ryan Petrello
202161f090
move legacy UnifiedJob stdout data to a separate unmanaged model
...
This data often (in the case of inventory updates) represents large data
blobs (5+MB per job run). Storing it on the polymorphic base class
table, `main_unifiedjob`, causes it to be automatically fetched on every
query (and every polymorphic join) against that table, which can result
in _very_ poor performance for awx across the board. Django offers
`defer()`, but it's quite complicated to sprinkle this everywhere (and
easy to get wrong/introduce side effects related to our RBAC and usage
of polymorphism).
This change moves the field definition to a separate unmanaged model
(which references the same underlying `main_unifiedjob` table) and adds
a proxy for fetching the data as needed
see https://github.com/ansible/awx/issues/200
2017-12-12 18:16:19 -05:00
AlanCoding
7243f871b4
fix bug creating inventory source schedules
2017-12-12 17:49:51 -05:00
Jared Tabor
2c64a2ce63
Merge pull request #783 from jaredevantabor/notification-toggle
...
fixing url used for determining which notification to toggle on/off
2017-12-12 11:31:48 -08:00
Jared Tabor
86eb0353c5
fixing url used for determining which notification to toggle on/off
...
for #711
2017-12-12 11:07:21 -08:00
Matthew Jones
282290e151
Fix an issue referencing postgres port from openshift deployment
2017-12-12 10:52:02 -05:00
Alan Rominger
8d348f916b
Merge pull request #794 from AlanCoding/hide_config_pass
...
Hide survey passwords in saved launch configs
2017-12-12 10:37:41 -05:00
AlanCoding
659d31324d
hide survey passwords in saved launch configs
2017-12-12 09:35:46 -05:00
Ryan Petrello
1bc2d83403
Merge pull request #789 from ryanpetrello/multivault-acceptance
...
add some more tests and acceptance docs to wrap up multivault support
2017-12-11 20:35:27 -05:00
Ryan Petrello
8c90d36290
add some more tests and acceptance docs to wrap up multivault support
...
see: https://github.com/ansible/awx/issues/352
2017-12-11 16:56:02 -05:00
Bill Nottingham
9be438a60a
Merge pull request #788 from wenottingham/no-country-for-old-python
...
Don't bother checking for python 2.6 in the venv
2017-12-11 14:57:25 -05:00
Bill Nottingham
c62430c282
Drop python2.6 checks.
2017-12-11 13:59:00 -05:00
Alan Rominger
1be3c77ac6
Merge pull request #787 from AlanCoding/workflow_system_jobs
...
allow using SystemJobTemplates in workflows
2017-12-11 13:21:33 -05:00
AlanCoding
4adfb9804e
allow using SystemJobTemplates in workflows
2017-12-11 08:58:45 -05:00
Alan Rominger
64ac1ee238
Merge pull request #746 from AlanCoding/i_forgot
...
Intentionally forget start_args when job is done
2017-12-11 08:08:27 -05:00
AlanCoding
0bf06479d5
add migration to remove old start_args
2017-12-10 12:08:59 -05:00
AlanCoding
1f8cab4171
intentionally forget start_args when job is done
2017-12-10 12:08:54 -05:00
Jake McDermott
526bcc4a68
Merge pull request #785 from jakemcdermott/stored-xss-test-update
...
fix lint error and stabilize stored xss test case
2017-12-10 12:07:46 -05:00
Jake McDermott
9dcdf20fb0
stabilize template form stored xss test case
2017-12-10 11:41:41 -05:00
Jake McDermott
be0f66fd94
fix linting error in stored xss test
2017-12-10 11:39:13 -05:00
Alan Rominger
2135291f35
Merge pull request #740 from AlanCoding/configs_rebased5
...
Feature: saved launchtime configurations
2017-12-08 16:55:00 -05:00
AlanCoding
a9aae91634
generalize schedule prompts validation
...
This makes ScheduleSerializer behave same as WFJT nodes
Prevents providing job_type for workflow jobs, as example
2017-12-08 16:23:56 -05:00
AlanCoding
905ff7dad7
fix bugs where ask_ var was checked on node
2017-12-08 13:57:33 -05:00
AlanCoding
e59a724efa
fix bug that broke combining WFJT and node vars
2017-12-08 13:48:45 -05:00
AlanCoding
1c8217936d
Bug fixes from integration ran on launchtime branch
...
Make error message for muti-vault validation more
consistent with historical message
2017-12-08 13:46:38 -05:00
AlanCoding
72a8854c27
Make ask_mapping a simple class property
...
from PR feedback of saved launchtime configurations
2017-12-08 13:45:23 -05:00
AlanCoding
98df442ced
combine launch config and multi-cred migrations
2017-12-08 13:45:21 -05:00
AlanCoding
5ada021a6e
Tweak validation to allow multiple vault credentials
...
support providing vault passwords based on id
include needed passwords in launch serializer defaults
2017-12-08 13:43:43 -05:00
AlanCoding
34a8e0a9b6
Feature: saved launchtime configurations
...
Consolidate prompts accept/reject logic in unified models
Break out accept/reject logic for variables
Surface new promptable fields on WFJT nodes, schedules
Make schedules and workflows accurately reject variables
that are not allowed by the prompting
rules or the survey rules on the template
Validate against unallowed extra_data in system job schedules
Prevent schedule or WFJT node POST/PATCH with unprompted data
Move system job days validation to new mechanism
Add new psuedo-field for WFJT node credential
Add validation for node related credentials
Add related config model to unified job
Use JobLaunchConfig model for launch RBAC check
Support credential overwrite behavior with multi-creds
change modern manual launch to use merge behavior
Refactor JobLaunchSerializer, self.instance=None
Modularize job launch view to create "modern" data
Auto-create config object with every job
Add create schedule endpoint for jobs
2017-12-08 13:38:54 -05:00
Marliana Lara
cd8a4b4669
Merge pull request #645 from marshmalien/feature/retry_failed_hosts
...
Feature - Retry failed hosts
2017-12-07 12:54:11 -05:00
Matthew Jones
7fc896e183
Merge pull request #774 from matburt/jupyter_for_devel
...
Adding jupyter notebook support to the AWX development environment
2017-12-06 09:49:07 -05:00
Matthew Jones
da0b686369
Adding jupyter notebook support to the AWX development environment
...
* Jupyter starts alongside the other awx services and is available on
0.0.0.0:8888
* make target: make jupyter
* default settings in settings/development.py
* Added jupyter, matplotlib, numpy to dev dependencies
2017-12-05 23:46:18 -05:00
Matthew Jones
9488105381
Merge pull request #773 from shanemcd/devel
...
Add m2r to setup requirements file
2017-12-05 15:38:31 -05:00
Shane McDonald
ec14ae1930
Add m2r to setup requirements file
...
We `pip download` this file for offline installs. Automat lists this package as a setup_requires, but `pip download` doesn’t resolve these dependencies (distutils will attempt to install them via easy_install when setup.py is invoked).
2017-12-05 15:26:56 -05:00
Greg Considine
e1e225d6a0
Merge pull request #771 from gconsidine/ui/fix/input-replace-revert
...
Ui/fix/input replace revert
2017-12-05 13:43:32 -05:00
gconsidine
3ad174b15b
Add e2e test case to verify revert/replace
2017-12-05 12:25:48 -05:00
gconsidine
b5644ed65b
Fix replace/revert functionality on secret input fields
2017-12-05 10:39:15 -05:00
Jake McDermott
13d84b8d35
Merge pull request #768 from tchia04/fix_typo_credential_types
...
Fix typo: Failed to get credential tpyes
2017-12-04 22:26:52 -05:00
Tony Chia
9275b024de
Update main.js
...
Changed "credential tpyes" to "credential types"
2017-12-04 16:27:46 -08:00
Jared Tabor
4f8d4994cf
Merge pull request #765 from jaredevantabor/fix-764
...
Update error handling on host service after angular upgrade
2017-12-04 14:28:41 -08:00
Jared Tabor
a3144ee234
Update error handling on host service after angular upgrade
2017-12-04 13:52:34 -08:00
Alan Rominger
7fe22e9c53
Merge pull request #757 from AlanCoding/vault_cred_noop
...
allow no-op case for vault_credential
2017-12-04 16:01:00 -05:00
Alan Rominger
42d8368596
Merge pull request #763 from AlanCoding/remember_where_you_came_from
...
add AWX meta extra_vars for workflow + schedule
2017-12-04 15:52:30 -05:00
AlanCoding
eecf997856
add AWX meta extra_vars: WFJT + schedule
2017-12-04 15:33:05 -05:00
Matthew Jones
21bdea05a0
Merge pull request #762 from matburt/fix_pg_port
...
Make sure we define postgres port customization during install
2017-12-04 14:16:09 -05:00
Matthew Jones
a3071c2a1f
Make sure we define postgres port customization during install
2017-12-04 11:08:40 -05:00
Matthew Jones
cf0cc2e2f2
Add system requirements to install docs
2017-12-04 07:56:34 -05:00
Ryan Petrello
e7918ad637
Merge pull request #752 from ryanpetrello/multivault
...
support specifying multiple vault IDs for a playbook run
2017-12-01 11:43:39 -05:00
AlanCoding
dfc154ed95
allow no-op case for vault_credential
2017-12-01 10:29:23 -05:00