Re: [openstack-dev] [heat] A question on the endpoint of Heat

2016-12-20 Thread zengchen


Zane Bitter:
Thank you for your replay. I read the codes of Keystone by your reminding.  
Maybe the following codes can help us understand. Thanks again!



https://github.com/openstack/keystone/blob/master/keystone/common/utils.py#L633

https://github.com/openstack/keystone/blob/master/keystone/catalog/backends/templated.py#L68



cheers
zengchen






At 2016-12-20 22:22:17, "Zane Bitter"  wrote:
>On 20/12/16 02:29, zengchen wrote:
>> Hi, Heat stackers:
>> May I ask a question about the endpoint of Heat. I see the endpoints
>> of Heat registered to Keystone look like this.
>> 'http://10.229.45.150:8004/v1/$(project_id)s' . My question is that why
>> use '$' instead of '%' as the replacement symbol.
>> Is there some kind of rule?
>
>Keystone supports either syntax. IIRC this one is slightly preferred. 
>It's really not important.
>
>- ZB
>
>
>__
>OpenStack Development Mailing List (not for usage questions)
>Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [heat] A question on the endpoint of Heat

2016-12-20 Thread Zane Bitter

On 20/12/16 02:29, zengchen wrote:

Hi, Heat stackers:
May I ask a question about the endpoint of Heat. I see the endpoints
of Heat registered to Keystone look like this.
'http://10.229.45.150:8004/v1/$(project_id)s' . My question is that why
use '$' instead of '%' as the replacement symbol.
Is there some kind of rule?


Keystone supports either syntax. IIRC this one is slightly preferred. 
It's really not important.


- ZB


__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev