commit 8b35d094ba0f05d5921ab56531bb7bf50a75347f
Author: Steve Baker <email address hidden>
Date: Tue Oct 8 13:36:10 2013 +1300
Allow env registry paths to be relative to env file
The default base_url is now derived from the location
of the environment file, so now resource registry paths
can be relative instead of absolute URLs.
This change also includes the following:
* more complete test coverage
* refactor of _process_environment_and_files and
_get_file_contents to make test coverage easier
* use the full URL instead of just the file name in the
'files' field to avoid key clashes
* make _get_file_contents less specific to the resource registry
so it can be used for other inclusion tasks
* stop calling _get_file_contents recursively so that deep URLs
do not get loaded, instead call _get_file_contents on
resource_registry and resource_registry.resources.*
Closes-Bug: #1233912
Reviewed: https:/ /review. openstack. org/50205 github. com/openstack/ python- heatclient/ commit/ 8b35d094ba0f05d 5921ab56531bb7b f50a75347f
Committed: http://
Submitter: Jenkins
Branch: master
commit 8b35d094ba0f05d 5921ab56531bb7b f50a75347f
Author: Steve Baker <email address hidden>
Date: Tue Oct 8 13:36:10 2013 +1300
Allow env registry paths to be relative to env file
The default base_url is now derived from the location
of the environment file, so now resource registry paths
can be relative instead of absolute URLs.
This change also includes the following: environment_ and_files and get_file_ contents to make test coverage easier registry and resource_ registry. resources. *
* more complete test coverage
* refactor of _process_
_
* use the full URL instead of just the file name in the
'files' field to avoid key clashes
* make _get_file_contents less specific to the resource registry
so it can be used for other inclusion tasks
* stop calling _get_file_contents recursively so that deep URLs
do not get loaded, instead call _get_file_contents on
resource_
Closes-Bug: #1233912
Change-Id: Ic729cbcd1711b8 9e91daf0d645f4f 56bae2accf3