tfsaggregator / tfsaggregator-webhooks

WARNING: the team is no more maintaing this version. See aggreggator-cli instead.
https://github.com/tfsaggregator/aggregator-cli
19 stars 22 forks source link

policyFilePath #18

Closed maluht closed 6 years ago

maluht commented 6 years ago

Hi

I have the following two problems with policyFilePath:

I would like to use the following pattern {CollectionId}.{TeamProject}.policies. I am unsure how to get the CollectionId of the collection, how would you do that?

I would like to put the policy file on a separate drive letter since I will be running multiple instances of aggregator behind a loadbalancer. It specifies that it’s a fixed path, could I do a value like U:\Policies\

Best regards Mads

giuliov commented 6 years ago

Good question. The Id can be picked via the REST API e.g. typing in the browser https://name-of-your-tfs/_apis/projectcollections

Careful with drive mapping (they work only for a fully logged user, unusual for an AppPool), prefer a network path if you really have to (DFS might help), unless your U: is a clustered resource.

maluht commented 6 years ago

Thanks @giuliov, this was exactly what I was looking for.