Chris Church
02f9f68536
Added API validation of instance filter names. Fixes https://trello.com/c/VH9Vnd8z
2014-12-03 00:26:25 -05:00
Chris Church
2f3d9e9f36
Handle/ignore poorly formatted EC2 instance filters. Fixes https://trello.com/c/YMtWTaW9 , https://trello.com/c/laUovaOm and https://trello.com/c/Hu11HhC4
2014-12-02 23:56:35 -05:00
Chris Church
564ba7bf68
Work on update/cancel serializers/views to return correct field names in OPTIONS response.
2014-12-02 18:55:54 -05:00
Jared Tabor
696475591a
Cleanup Jobs prompt for days >=0
...
I've made the prompt_for_days modal require an integer, as well as a non-negative integer (allows 0), and fixed ngMin to new awMin
2014-12-02 15:46:32 -05:00
Matthew Jones
13ee4e6048
Fix up an issue passing the callback port, which isn't strictly
...
necessary... if provided it causes a crash that corrupts the shell
2014-12-02 15:46:18 -05:00
Chris Church
7e94282934
Better handling of foreign key parameters for (re)launching jobs. Fixes https://trello.com/c/Ty5cjHBd
2014-12-02 15:12:45 -05:00
Luke Sneeringer
9dfa26fa58
Do not use ip_address on instances anymore.
2014-12-02 13:17:38 -06:00
Jared Tabor
f99a73fb85
text/textarea min/max length
...
added fields on survey maker for text/textarea min/max length. on survey taker added the error handling for these.
2014-12-02 14:01:34 -05:00
Jared Tabor
e9e2c1f6ab
awSurveyVariableName directive
...
created a new directive to check the variable name field for spaces. this could be expanded for future use if we want to check against other constraints. checked with matt though and he said space checking shoudl suffice
2014-12-02 12:45:31 -05:00
Luke Sneeringer
f890b6daa7
Shift makefile to hostname.
2014-12-02 11:20:03 -06:00
Luke Sneeringer
c3b962ced5
/api/v1/ping/ was added in 2.1.0
2014-12-02 10:39:54 -06:00
Luke Sneeringer
d6699353e5
Save hostnames, not IP addresses, for HA.
2014-12-02 10:34:25 -06:00
James Laska
4afa7a0d4d
Remove AMI vars-aws-keys.json file
...
When building AMI using packer, the caller is responsible for setting
the required environment variables to make packer and AWS happy. For
guidance, refer to https://www.packer.io/docs/builders/amazon-ebs.html .
2014-12-02 11:29:49 -05:00
Jared Tabor
c96b317202
Launch job from job template form
...
added a check that there is a valid survey if survey_enabled === true on the JT form
2014-12-02 10:06:57 -05:00
Jared Tabor
e14630b155
renamed ngmin/ngmax
...
renamed to awmin/awmax to match custom directive format. the prefix 'ng' is meant to imply an 'angular' specific directive
2014-12-01 22:52:55 -05:00
Jared Tabor
98fa7eae40
Float directive
...
I changed the float directive last week and now i'm reverting it back. The change i made didn't account for neagative numbers so i'm reverting back
2014-12-01 22:10:34 -05:00
Jared Tabor
a7066443f0
Fixed wording for custom inventory scripts
...
Fixed the label on the source panel and on the lookup modal
2014-12-01 20:38:59 -05:00
Jared Tabor
f3037a3b06
Improved ngmin/ngmax
...
the ngmin/ngmax directives were failing out if the user never set the ngmin/ngmax (which could happen). added a check to for empty ngmin's/ngmax's
2014-12-01 16:04:22 -05:00
Matthew Jones
fc5eb09e2a
Fix up some rbac issues that were blocking survey taker incidentally and
...
otherwise preventing normal users with the right permissions from
starting jobs
2014-12-01 14:01:03 -05:00
Jared Tabor
a319def4b4
ngMin/ngMax directives fix for surveys
...
the ngMin and ngMax directives needed to be re-written to work properly with other directives. They weren't playing nice with other directives' values
2014-12-01 12:39:39 -05:00
Matthew Jones
bab3bfb70a
Remove a vestige of the old zeromq implementation where we specified a
...
callback port as a decorated parameter to the overall test case
2014-12-01 11:35:20 -05:00
Matthew Jones
683e44f30e
Check for attributes on the job template before attempting to use that
2014-12-01 10:50:49 -05:00
Matthew Jones
6578c4ed26
Merge branch 'reintroduce-zeromq-unstable'
...
* reintroduce-zeromq-unstable:
Fix up some zeromq dependencies per platform
Fix a bug where a socket would re-emit its message 3 extra times
Make CALLBACK_CONSUMER_PORT falsy values be dummified.
Fix ZeroMQ port mismatch.
ZeroMQ changes.
Put files in the right place!
Error message correction.
Put socket.py in the wrong folder.
Theoretically working Socket implementation.
Beginning work on reintroducing ZeroMQ.
2014-12-01 10:24:51 -05:00
Matthew Jones
decd9da058
Merge branch 'master' into reintroduce-zeromq-unstable
...
* master:
Fix a bug where listing the unified job fields did not include the 'launch_type' parameter, causing failing unit tests
Inventory Scripts
Extra var parsing
Clean up jobs
Cleanup jobs redirect to jobs page
Custom inventory : Edit
Portal credential modal needed
Fix a bug in how I'm handling ids when creating a unified job as part of the launch process
Survey Maker
JS Hint errors
2014-12-01 10:24:18 -05:00
Matthew Jones
91a1d8f761
Fix a bug where listing the unified job fields did not include the
...
'launch_type' parameter, causing failing unit tests
2014-12-01 10:23:08 -05:00
Jared Tabor
47ab0fe06e
Inventory Scripts
...
Changed "Inventory Script" to "Inventory Scripts" on account menu
2014-12-01 09:34:53 -05:00
Jared Tabor
15f710331b
Extra var parsing
...
added a check for an empty string
2014-11-30 22:29:33 -05:00
Jared Tabor
0c10581ecd
Clean up jobs
...
Made the prompt for days field required when submitting a cleanup job.
2014-11-30 21:34:26 -05:00
Jared Tabor
a71e787eab
Cleanup jobs redirect to jobs page
...
when the cleanup jobs run they need to redirect to the jobs page
2014-11-26 16:06:43 -05:00
Matthew Jones
bf04a56b68
Fix a bug where a socket would re-emit its message 3 extra times
2014-11-26 15:51:46 -05:00
Jared Tabor
18cb53cd26
Custom inventory : Edit
...
fixed issue with list of custom inventories not updating correctly when a user saves an inv script they were editing
2014-11-26 15:49:50 -05:00
Jared Tabor
fd443295dd
Portal credential modal needed
...
added the credential div needed to populate the lookup modal for a cred on the portal mode page
2014-11-26 15:22:15 -05:00
Matthew Jones
875cef12e3
Fix a bug in how I'm handling ids when creating a unified job as part of
...
the launch process
2014-11-26 15:20:39 -05:00
Jared Tabor
cfbec378c3
Survey Maker
...
on typeChange of survey question, clear out the values of any downstream components
2014-11-26 14:26:07 -05:00
Jared Tabor
71d0f3af80
JS Hint errors
...
fixed a jshint error from cchurch's change
2014-11-26 14:25:42 -05:00
Matthew Jones
8c4aee35d1
Merge remote-tracking branch 'origin/master' into reintroduce-zeromq-unstable
...
* origin/master:
Add tests for inventory_filters and group_by, fix to convert None to empty string.
Job submission
Fix up unified job creation parameter passing
Roll this back, it doesn't do what I expect
Make sure we propogate source_script into the related fields it needs to be in
Update job template launch docs with credential_needed_to_start documentation
Custom Inventory Scripts
forms/Sources.js
Add instance filters and group by options for EC2 inventory sources. Implements https://trello.com/c/QOVhP0mH
Make sure when we call create_unified_job we can pass important fields as _id or without
Make sure we pass extra parameters down to the unified job create method so we can pick up credential if given
Add system job template launch documentation
Track source_script in summary and related fields for relevant inventory sources
Host events
Simplify include_vars based on mpd feedback
Update the apt-cache when installing python-pip
Only the primary should syncdb and migrate
Update package changelogs
Update release history and process docs
Update ansible-tower service config in playbook
2014-11-26 13:40:37 -05:00
Chris Church
1e56d3d2fd
Add tests for inventory_filters and group_by, fix to convert None to empty string.
2014-11-26 13:34:10 -05:00
Jared Tabor
86c717bca3
Job submission
...
changed the 'credential' to 'credential_id' on the POST to the job launch endpoint, per request from Matt
2014-11-26 13:19:13 -05:00
Matthew Jones
e1f25a0949
Fix up unified job creation parameter passing
2014-11-26 11:54:49 -05:00
Matthew Jones
f8c6aa6fca
Roll this back, it doesn't do what I expect
2014-11-26 11:37:36 -05:00
Matthew Jones
15e6aa29a7
Make sure we propogate source_script into the related fields it needs to
...
be in
2014-11-26 11:14:26 -05:00
Matthew Jones
fb8c33b973
Update job template launch docs with credential_needed_to_start documentation
2014-11-26 10:17:40 -05:00
Jared Tabor
6f1f065414
Custom Inventory Scripts
...
Changed the title of the modal to be a plural noun instead of singular ('Script')
2014-11-26 09:45:02 -05:00
Jared Tabor
f36885b255
forms/Sources.js
...
fixed a couple small errors from church's commit for ec2 tags
2014-11-26 09:37:30 -05:00
Chris Church
35c392ab17
Add instance filters and group by options for EC2 inventory sources. Implements https://trello.com/c/QOVhP0mH
2014-11-26 03:20:45 -05:00
Matthew Jones
9756487edf
Make sure when we call create_unified_job we can pass important fields
...
as _id or without
2014-11-25 16:57:17 -05:00
Matthew Jones
8718688cf8
Make sure we pass extra parameters down to the unified job create method
...
so we can pick up credential if given
2014-11-25 16:47:53 -05:00
Matthew Jones
08ea3bef25
Add system job template launch documentation
2014-11-25 16:22:48 -05:00
Matthew Jones
7e109cb95d
Track source_script in summary and related fields for relevant inventory sources
2014-11-25 15:28:52 -05:00
Jared Tabor
b94e0711c5
Host events
...
added check in host event call to make sure an empty data set is not returend from the API
2014-11-25 15:11:49 -05:00