Ralph Bean
04d773b3fb
Get the test suite working agian for https://pagure.io/fm-orchestrator/pull-request/73
2016-10-18 10:33:04 -04:00
Lubos Kocman
151d4ebadb
messaging: amq PEP improvements
2016-10-04 15:07:54 +02:00
Lubos Kocman
452aba0373
messaging: publish*, unify order of args, remove positional arg
2016-10-04 15:07:54 +02:00
Lubos Kocman
b00ea5ac95
messaging: fixed typo
2016-10-04 15:07:54 +02:00
Lubos Kocman
6ec05fd058
messaging.py: mng -> msngr
2016-10-04 15:07:54 +02:00
Lubos Kocman
bb1110758e
remove unuseful/obsolete get_amq_addr call
2016-10-04 15:07:54 +02:00
Lubos Kocman
b090a8d7f8
messaging: add space after comma
2016-10-04 15:07:53 +02:00
Lubos Kocman
3daef24158
config.py: get rid of meaningless str() oneliners
2016-10-04 15:07:53 +02:00
Lubos Kocman
372367bb9c
messaging: use single isinstance()
2016-10-04 15:07:53 +02:00
Lubos Kocman
b576dd70d7
config: fixed typo in path
2016-10-04 15:07:53 +02:00
Lubos Kocman
11703ccb41
Improved conditions for message filtering
2016-10-04 15:07:53 +02:00
Lubos Kocman
9783fe6c04
Fixed hasattr
2016-10-04 15:07:53 +02:00
Lubos Kocman
c83eb15194
config.py: example amq config
...
Signed-off-by: Lubos Kocman <lkocman@redhat.com >
2016-10-04 15:07:53 +02:00
Lubos Kocman
823f851d29
rida.messaging add initial amq support
...
Signed-off-by: Lubos Kocman <lkocman@redhat.com >
2016-10-04 15:07:53 +02:00
Lubos Kocman
0787abd1b5
rida.messaging: few changes:
...
- pass over conf as param (helps amq implementation)
- modname -> service to be less fedmsg centric
Signed-off-by: Lubos Kocman <lkocman@redhat.com >
2016-10-04 15:07:53 +02:00
Lubos Kocman
2f2688dc01
rida.config: add Apache MQ config options
...
Signed-off-by: Lubos Kocman <lkocman@redhat.com >
2016-10-04 15:07:53 +02:00
Matt Prahl
388687a19d
Fix subheadings in the README
2016-09-30 11:15:13 -04:00
Nils Philippsen
d1c03c1309
Merge branch 'mprahl/vagrant-ridad'
2016-09-30 17:04:49 +02:00
Matt Prahl
482a6b3cff
Add documentation on using Vagrant for development
2016-09-30 17:04:10 +02:00
Matt Prahl
0aab0b6edb
Add support for running ridad in the Vagrant guest
2016-09-30 17:04:10 +02:00
Lubos Kocman
e6e8d13b5c
fix incorrect rida.logger reference to rida.log
...
Signed-off-by: Lubos Kocman <lkocman@redhat.com >
2016-09-30 16:59:08 +02:00
Nils Philippsen
632812f15d
Merge branch 'mprahl/message-signing'
2016-09-30 09:59:07 +02:00
Matt Prahl
7a84e65752
Fix the API URL in submit-build.sh
2016-09-27 16:40:03 -04:00
Matt Prahl
02b24cdda9
Replace generate_localhost_cert.sh with python manage.py generatelocalhostcert
2016-09-27 16:40:03 -04:00
Matt Prahl
d86374f360
Add documentation on how to setup fedmsg signing in development
2016-09-27 16:40:03 -04:00
Matt Prahl
c77be1c4d3
Add the dependencies required for fedmsg signing
2016-09-27 16:40:03 -04:00
Matt Prahl
681ca5a8cf
Implement python manage.py gendevfedmsgcert command
2016-09-27 16:40:03 -04:00
Matt Prahl
610d6a8c81
Split up long lines to comply with PEP8 standards
2016-09-27 16:40:02 -04:00
Nils Philippsen
7260a029d1
Merge branch 'abstract-messaging-repr'
2016-09-22 16:08:59 +02:00
Matt Prahl
94723614f5
Remove the use of pprint in main.run function
2016-09-22 16:08:52 +02:00
Nils Philippsen
2233f60f58
implement BaseMessage.__repr__
...
Take advantage of the information contained in signature/parameter
objects to represent positional and keyword arguments properly. Fall
back to using the funcsigs module on Python 2.
2016-09-22 16:08:52 +02:00
Matt Prahl
8f36d863cf
Merge #66 Put Kerberos options in rida config
2016-09-22 16:07:49 +02:00
Nils Philippsen
a4cc011eed
put kerberos config params in rida configuration
...
koji.read_config() filters out configuration options it doesn't know
about silently. Currently this is about the keytab, principal, ccache
options. The latter may be needed e.g. in Docker containers which
currently(?) can't use Linux kernel keyrings and need the credential
cache to be a normal file.
2016-09-22 16:06:35 +02:00
Nils Philippsen
7689c05c51
remove bogus code
2016-09-22 16:06:35 +02:00
Nils Philippsen
1c18f00a52
Merge branch 'mprahl/change-api-layout'
2016-09-22 13:27:06 +02:00
Matt Prahl
4f629fe64c
Use view type better suited for a REST API
...
MethodView maps to REST APIs intuitively, the method names on the class
are the same as the handled HTTP methods (just lowercase).
2016-09-22 13:26:31 +02:00
Matt Prahl
5aef7fed98
Fix whitespace, indentation
2016-09-22 13:26:11 +02:00
Nils Philippsen
9cc7649444
Merge branch 'mprahl/python3-compatibility'
2016-09-22 12:49:08 +02:00
Matt Prahl
ec8126c226
Fix/cleanup Python 3 compatibility
2016-09-22 12:48:51 +02:00
Matt Prahl
256a57e906
Remove unnecessary import statement
2016-09-22 12:48:51 +02:00
Matt Prahl
634fabb798
Fix bug "object has no attribute"
2016-09-21 16:30:45 -04:00
Jan Kaluza
e236e86fce
Prefix API calls with version number (for example '/1/'). Add initial support for multiple versions of API calls.
2016-09-21 15:58:15 +02:00
Nils Philippsen
806d20c4f2
Merge branch 'mprahl/570-abstract-messaging'
2016-09-21 15:28:30 +02:00
Matt Prahl
d37659afd8
Modify message functions to accept conf instead of backend
2016-09-21 14:58:10 +02:00
Matt Prahl
a3ecd4180d
Add unit tests for abstract messaging
2016-09-21 14:58:10 +02:00
Matt Prahl
23f057b750
Use abstract message classes instead of legacy code
2016-09-21 14:58:10 +02:00
Matt Prahl
03831262e4
Update documentation about messaging
2016-09-21 14:14:26 +02:00
Matt Prahl
43f80e181c
Implement message classes for abstract messaging
2016-09-21 13:48:22 +02:00
Matt Prahl
a674de3fc3
Separate top-level function by two blank lines
2016-09-21 13:48:22 +02:00
Matt Prahl
180b376ee2
Remove stray space in log string
2016-09-21 13:48:22 +02:00