promenade/promenade/control
Anthony Lin 16f23daee9 [Fix] Fix Incorrect Method Name
We are seeing the following error [0] while using Shipyard to run
a commit configdocs. The relevant exceptions are [1] and it is a
result of incorrect reference to method name.

The bug will be triggered when we use ext_marker. This patch set is
meant to correct that.

[0] shipyard commit configdocs

Error: Validations failed
Reason: Validation
- Error: None
        Message: Promenade unable to validate configdocs
        Source: Promenade
- Error: None
        Message: 500 Server Error: Internal Server Error for url: http://promenade-api.ucp.svc.cluster.local:80/api/v1.0/validatedesign
        Source: Promenade

[1] Exceptions messages in Promenade API pod

2018-05-14 14:56:20,147 ERROR    - - - promenade.exceptions:default_exception_handler [142] Unhanded Exception being handled:
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/falcon/api.py", line 201, in __call__
    process_request(req, resp)
  File "./promenade/control/middleware.py", line 103, in process_request
    if ext_marker is not None and self.is_uuid_like(ext_marker):
AttributeError: 'ContextMiddleware' object has no attribute 'is_uuid_like'

Change-Id: I89713fbb953a46e61093c4dadaa5a752b1a81c6c
2018-05-15 17:21:23 +00:00
..
__init__.py Inital API Commit 2017-11-03 14:48:47 -04:00
api.py Add API unit tests 2017-12-19 16:45:37 -05:00
base.py Promenade Test Fix 2018-04-24 16:33:05 +00:00
health_api.py Inital API Commit 2017-11-03 14:48:47 -04:00
join_scripts.py Allow adding new definitions to PKICatalog 2018-05-01 14:01:03 +00:00
middleware.py [Fix] Fix Incorrect Method Name 2018-05-15 17:21:23 +00:00
validatedesign.py Update Promenade Validate Design Status 2018-05-10 13:43:18 +00:00