[jira] [Commented] (TC-294) Missing location parameter leads to broken remap.config

2017-08-16 Thread Mark Torluemke (JIRA)

[ 
https://issues.apache.org/jira/browse/TC-294?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16129505#comment-16129505
 ] 

Mark Torluemke commented on TC-294:
---

'Improvement' is better than 'bug'. The parameter with name 'location' controls 
whether TO generates a config file for ATS, and also determines whether ORT 
audits this file. The actual 'location' parameter can be inferred, and only 
adds additional fragility to the config file distribution system.

> Missing location parameter leads to broken remap.config
> ---
>
> Key: TC-294
> URL: https://issues.apache.org/jira/browse/TC-294
> Project: Traffic Control
>  Issue Type: Improvement
>  Components: Traffic Ops, Traffic Ops ORT
>Affects Versions: 2.1.0, 2.0.0, 2.2.0
>Reporter: Mark Torluemke
>Priority: Minor
>  Labels: remap.config
> Fix For: 2.2.0
>
>
> From the original GH issue #195:
> For things like header_rewrite, cacheurl, etc, there isn't value in managing 
> the 'location' parameter outside the delivery service assignment to the 
> caches...is there?



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (TC-294) Missing location parameter leads to broken remap.config

2017-08-16 Thread Mark Torluemke (JIRA)

 [ 
https://issues.apache.org/jira/browse/TC-294?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mark Torluemke updated TC-294:
--
Issue Type: Improvement  (was: Bug)

> Missing location parameter leads to broken remap.config
> ---
>
> Key: TC-294
> URL: https://issues.apache.org/jira/browse/TC-294
> Project: Traffic Control
>  Issue Type: Improvement
>  Components: Traffic Ops, Traffic Ops ORT
>Affects Versions: 2.1.0, 2.0.0, 2.2.0
>Reporter: Mark Torluemke
>Priority: Minor
>  Labels: remap.config
> Fix For: 2.2.0
>
>
> From the original GH issue #195:
> For things like header_rewrite, cacheurl, etc, there isn't value in managing 
> the 'location' parameter outside the delivery service assignment to the 
> caches...is there?



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Comment Edited] (TC-99) api/{version}/cdns/:cdn_name/health returns the health of all cdns

2017-02-01 Thread Mark Torluemke (JIRA)

[ 
https://issues.apache.org/jira/browse/TC-99?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15849084#comment-15849084
 ] 

Mark Torluemke edited comment on TC-99 at 2/1/17 11:13 PM:
---

I think debug statements are awesome, if done properly -- I don't really see an 
issue with this.


was (Author: mtorluemke):
I think debug statements are awesome, if done properly -- I don't really see 
this issue with this.

> api/{version}/cdns/:cdn_name/health returns the health of all cdns
> --
>
> Key: TC-99
> URL: https://issues.apache.org/jira/browse/TC-99
> Project: Traffic Control
>  Issue Type: Bug
>  Components: Traffic Ops API
>Reporter: Jeremy Mitchell
>Priority: Minor
>
> There are 2 routes that fetch the health of cachegroups for a cdn:
> (health is defined in this context as the number of offline/online servers 
> for each cachegroup)
> /api/$version/cdns/health
> /api/$version/cdns/:name/health
> ^^ you would think the 2nd one would fetch the health of the cachegroups for 
> the specified cdn but it does not.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Created] (TC-86) Add default delivery service <> cache assignment

2017-01-05 Thread Mark Torluemke (JIRA)
Mark Torluemke created TC-86:


 Summary: Add default delivery service <> cache assignment
 Key: TC-86
 URL: https://issues.apache.org/jira/browse/TC-86
 Project: Traffic Control
  Issue Type: Improvement
  Components: Traffic Monitor, Traffic Ops, Traffic Router
Reporter: Mark Torluemke


Cache assignments for a new delivery service should be "all", which should 
prevent us from having to track each-and-every cache for each-and-every 
delivery service. 

PS: We might need to split this into a separate JIRA for each component.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (TC-50) Mitigate json.org dependency

2016-11-25 Thread Mark Torluemke (JIRA)
Mark Torluemke created TC-50:


 Summary: Mitigate json.org dependency
 Key: TC-50
 URL: https://issues.apache.org/jira/browse/TC-50
 Project: Traffic Control
  Issue Type: Improvement
  Components: Traffic Router
Affects Versions: 1.9.0
Reporter: Mark Torluemke


Per this email:

{noformat}
From: Ted Dunning 
Reply-To: "gene...@incubator.apache.org" 
Date: Wednesday, November 23, 2016 at 6:10 PM
To: "gene...@incubator.apache.org" 
Subject: Fwd: JSON License and Apache Projects

The VP Legal for Apache has determined that the JSON processing library
from json.org  is not usable as a
dependency by Apache projects. This is because the license includes a line
that places a field of use condition on downstream users in a way that is
not compatible with Apache's license.

This decision is, unfortunately, a change from the previous situation.
While the current decision is correct, it would have been nice if we had
had this decision originally.

As such, some existing projects may be impacted because they assumed that
the json.org dependency was OK to use.

Incubator projects that are currently using the json.org library have
several courses of action:

1) just drop it. Some projects like Storm have demos that use twitter4j
which incorporates the problematic code. These demos aren't core and could
just be dropped for a time.

2) help dependencies move away from problem code. I have sent a pull
request to twitter4 j, for
example, that eliminates the problem. If they accept the pull, then all
would be good for the projects that use twitter4j (and thus json.org)

3) replace the json.org artifact with a compatible one that is open source.
I have created and published an artifact based on clean-room Android code
 that replicates the most important
parts of the json.org code. This code is compatible, but lacks some
coverage. It also could lead to jar hell if used unjudiciously because it
uses the org.json package. Shading and exclusion in a pom might help. Or
not. Go with caution here.

4) switch to safer alternatives such as Jackson. This requires code
changes, but is probably a good thing to do. This option is the one that is
best in the long-term but is also the most expensive.


-- Forwarded message --
From: Jim Jagielski 
Date: Wed, Nov 23, 2016 at 6:10 AM
Subject: JSON License and Apache Projects
To: ASF Board 


(forwarded from legal-discuss@)

As some of you may know, recently the JSON License has been
moved to Category X (https://www.apache.org/legal/resolved#category-x).

I understand that this has impacted some projects, especially
those in the midst of doing a release. I also understand that
up until now, really, there has been no real "outcry" over our
usage of it, especially from end-users and other consumers of
our projects which use it.

As compelling as that is, the fact is that the JSON license
itself is not OSI approved and is therefore not, by definition,
an "Open Source license" and, as such, cannot be considered as
one which is acceptable as related to categories.

Therefore, w/ my VP Legal hat on, I am making the following
statements:

o No new project, sub-project or codebase, which has not
   used JSON licensed jars (or similar), are allowed to use
   them. In other words, if you haven't been using them, you
   aren't allowed to start. It is Cat-X.

o If you have been using it, and have done so in a *release*,
   AND there has been NO pushback from your community/eco-system,
   you have a temporary exclusion from the Cat-X classification thru
   April 30, 2017. At that point in time, ANY and ALL usage
   of these JSON licensed artifacts are DISALLOWED. You must
   either find a suitably licensed replacement, or do without.
   There will be NO exceptions.

o Any situation not covered by the above is an implicit
   DISALLOWAL of usage.

Also please note that in the 2nd situation (where a temporary
exclusion has been granted), you MUST ensure that NOTICE explicitly
notifies the end-user that a JSON licensed artifact exists. They
may not be aware of it up to now, and that MUST be addressed.

If there are any questions, please ask on the legal-discuss@a.o
list.

--
Jim Jagielski
VP Legal Affairs
{noformat}

I see it in the pom.xml: 
https://raw.githubusercontent.com/apache/incubator-trafficcontrol/93bb2b9bcf572ee32fd21891ab3bbd891211d55f/traffic_router/core/pom.xml





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)