History log of /openbmc/phosphor-rest-server/ (Results 76 – 100 of 127)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
9c2531ee07-Mar-2017 Brad Bishop <bradleyb@fuzziesquirrel.com>

Fix error response status regression

080a48e introduces a regression where the status field is
missing from the response for non 2xx responses.

Resolves openbmc/openbmc#1246

Change-Id: Idb18b100c9

Fix error response status regression

080a48e introduces a regression where the status field is
missing from the response for non 2xx responses.

Resolves openbmc/openbmc#1246

Change-Id: Idb18b100c9ebb34275b5c24f7609748603749d58
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

show more ...

56ad87f321-Feb-2017 Brad Bishop <bradleyb@fuzziesquirrel.com>

Make the attr endpoint case insensitive

This patch makes the attribute after the attr
endpoint case insensitive.

Change-Id: I1c8a634bffc2eed4c63c8b89b7b5ea281c06a1bc
Signed-off-by: Brad Bishop <bra

Make the attr endpoint case insensitive

This patch makes the attribute after the attr
endpoint case insensitive.

Change-Id: I1c8a634bffc2eed4c63c8b89b7b5ea281c06a1bc
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

show more ...

69cb6d1821-Feb-2017 Brad Bishop <bradleyb@fuzziesquirrel.com>

Fix attr PUT after empty interface

Fix an issue that occurs when doing a PUT using the attr
endpoint when an object has an interface without properties.

Change-Id: Ib3b2bb81dd287365851e6a67fec0c334

Fix attr PUT after empty interface

Fix an issue that occurs when doing a PUT using the attr
endpoint when an object has an interface without properties.

Change-Id: Ib3b2bb81dd287365851e6a67fec0c33479fdc543
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

show more ...

d0c404a621-Feb-2017 Brad Bishop <bradleyb@fuzziesquirrel.com>

Add CORS support

Enable cross domain applications.

https://en.wikipedia.org/wiki/Cross-origin_resource_sharing

Change-Id: Id628ae387bb422fbfc4f319ce0847966ca8cbebf
Signed-off-by: Brad Bishop <brad

Add CORS support

Enable cross domain applications.

https://en.wikipedia.org/wiki/Cross-origin_resource_sharing

Change-Id: Id628ae387bb422fbfc4f319ce0847966ca8cbebf
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

show more ...

d4c1c55c20-Feb-2017 Brad Bishop <bradleyb@fuzziesquirrel.com>

Add HTTP OPTIONS support

The OPTIONS HTTP method allows clients to query the allowed methods
on a given path.

Change-Id: I762e85a6dbe2df3473dfa79c252c51ebe49c3ecb
Signed-off-by: Brad Bishop <bradle

Add HTTP OPTIONS support

The OPTIONS HTTP method allows clients to query the allowed methods
on a given path.

Change-Id: I762e85a6dbe2df3473dfa79c252c51ebe49c3ecb
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

show more ...

88c76a4d20-Feb-2017 Brad Bishop <bradleyb@fuzziesquirrel.com>

Allow clients to call HEAD

The HEAD method allows clients to get page response headers
without actually downloading the content.

Change-Id: Id69db83a74015df3a9f84d36f91a4a12e11ea7b6
Signed-off-by:

Allow clients to call HEAD

The HEAD method allows clients to get page response headers
without actually downloading the content.

Change-Id: Id69db83a74015df3a9f84d36f91a4a12e11ea7b6
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

show more ...

080a48ed21-Feb-2017 Brad Bishop <bradleyb@fuzziesquirrel.com>

Add support for error response plugins

The Bottle plugin framework only applies to normal responses.

Build on that by monkey-patching the Bottle error handler with
a new one that makes a series of

Add support for error response plugins

The Bottle plugin framework only applies to normal responses.

Build on that by monkey-patching the Bottle error handler with
a new one that makes a series of callbacks.

Update the existing plugins such that where appropriate they
can apply their logic to error responses in addition to normal
responses as they already do.

Change-Id: Ifc2bac0e5120a3b0475f3b78f8bd822711f9c736
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

show more ...

fce7756c28-Nov-2016 Brad Bishop <bradleyb@fuzziesquirrel.com>

Return HTTP 503 when mapper is busy

Suppress traceback and provide an informative error message
when the mapper cannot respond to a query.

Resolves openbmc/openbmc#812

Change-Id: I85d4e59c5a25dc8a

Return HTTP 503 when mapper is busy

Suppress traceback and provide an informative error message
when the mapper cannot respond to a query.

Resolves openbmc/openbmc#812

Change-Id: I85d4e59c5a25dc8a19fbdb1d1cf8c2a0f4350991

show more ...

8b0d3fa628-Nov-2016 Brad Bishop <bradleyb@fuzziesquirrel.com>

fix a pep8 error

Change-Id: I173aed206b4da49ca83261e4853426947f07f1f5
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

dc3fbfa708-Sep-2016 Brad Bishop <bradleyb@fuzziesquirrel.com>

Raise 401 for invalid credentials

Change-Id: Ie41b568aa45b1f09b0940e5ee1b3472a46b08db1
Resolves: openbmc/phosphor-rest-server#25
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

7bc6d8d329-Aug-2016 Brad Bishop <bradleyb@fuzziesquirrel.com>

Add python-gevent startup script

Add a python-gevent startup script that takes a WSGI
application as a parameter.

Change-Id: I4c637538a1c6d4aa92563d548a2d8673299a23bb
Signed-off-by: Brad Bishop <br

Add python-gevent startup script

Add a python-gevent startup script that takes a WSGI
application as a parameter.

Change-Id: I4c637538a1c6d4aa92563d548a2d8673299a23bb
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

show more ...

2c6fc76029-Aug-2016 Brad Bishop <bradleyb@fuzziesquirrel.com>

Split server and application

Provide the REST server as a python module, enabling it to be hosted
by any WSGI provider.

Provide a Rocket startup script with configurable WSGI application.

Change-I

Split server and application

Provide the REST server as a python module, enabling it to be hosted
by any WSGI provider.

Provide a Rocket startup script with configurable WSGI application.

Change-Id: I1a9c25b10c33b08dfb8f60dc6c33aaf727562a9f
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

show more ...

803c6f1b29-Aug-2016 Brad Bishop <bradleyb@fuzziesquirrel.com>

Rename obmc-rest to phosphor-rest

Change-Id: I34dba229f66b9e6dbf38d7f3f10dff27e3a59130
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

2ddfa00729-Aug-2016 Brad Bishop <bradleyb@fuzziesquirrel.com>

Minor refactoring

Make the Bottle part of the application get its own DBus
connection rather than passing it in.

This partially enables generic WSGI app hosting.

Change-Id: I75334f83320bf6c1cad1a6

Minor refactoring

Make the Bottle part of the application get its own DBus
connection rather than passing it in.

This partially enables generic WSGI app hosting.

Change-Id: I75334f83320bf6c1cad1a6bf5f2d1d82ca8dc470
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

show more ...

b41507f329-Apr-2016 Patrick Williams <patrick@stwcx.xyz>

Merge pull request #19 from bradbishop/refactor

Refactoring and fixes.

6d19060515-Apr-2016 Brad Bishop <bradleyb@us.ibm.com>

Remove redundant makelist and search functions

Use the functions in the new pyphosphor library.

f4e7498801-Apr-2016 Brad Bishop <bradleyb@us.ibm.com>

Handle differing dbus exception implementations

sdbus and python-dbus don't report the unknown interface
exception the same way, so add a workaround.

71527b4a01-Apr-2016 Brad Bishop <bradleyb@us.ibm.com>

Moved functions to pyobmc library

The functions here for enumerating a tree of objects have
utility elsewhere and were added to pyobmc so removing
the duplicated code.

412d620f01-Apr-2016 Patrick Williams <patrick@stwcx.xyz>

Merge pull request #17 from bradbishop/jsonp

Add support for serving jsonp

80fe37a329-Mar-2016 Brad Bishop <bradleyb@fuzziesquirrel.com>

Add support for serving jsonp

Jsonp adds a javascript wrapper to json responses. It allows client
applications to work around cross domain restrictions imposed by some
browsers. For more informati

Add support for serving jsonp

Jsonp adds a javascript wrapper to json responses. It allows client
applications to work around cross domain restrictions imposed by some
browsers. For more information on jsonp:
https://en.wikipedia.org/wiki/JSONP

To get a jsonp response, an application adds a callback url parameter
with the desired name of the wrapper:
https://192.168.252.1/list?callback=my_callback

show more ...

3bba28c922-Mar-2016 nkskjames <nkskjames@gmail.com>

Merge pull request #16 from bradbishop/master

pep8, miscellaneous rest server updates

0f79e52118-Mar-2016 Brad Bishop <bradleyb@us.ibm.com>

Enumerate with org.freedesktop.DBus.ObjectManager

Previously using a custom enumerate interface.
This is the standard interface.

Also, try to find OM implementing objects higher up in the tree.
Thi

Enumerate with org.freedesktop.DBus.ObjectManager

Previously using a custom enumerate interface.
This is the standard interface.

Also, try to find OM implementing objects higher up in the tree.
This improves performance for sub-tree enumerate calls.

Don't try to get properties for ObjectManager interfaces.
For whatever reason sd-bus chokes on this, but it doesn't
have any properties so it isn't needed anyway.

show more ...

68caa1ee04-Mar-2016 Brad Bishop <bradleyb@us.ibm.com>

Added a license to obmc-rest file

Apache2

b103d2d204-Mar-2016 Brad Bishop <bradleyb@us.ibm.com>

Use pyobmc package

No functional changes here. Just module/package namespace updates
to use the pyobmc library.

87b63c1e18-Mar-2016 Brad Bishop <bradleyb@us.ibm.com>

Run through pep8

This is all whitespace changes flagged by pep8.

123456