You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by zr...@apache.org on 2021/09/13 16:55:31 UTC

[trafficcontrol] branch 6.0.x updated (89d8f70 -> bfcf6b6)

This is an automated email from the ASF dual-hosted git repository.

zrhoffman pushed a change to branch 6.0.x
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git.


    from 89d8f70  Change a chatty log message from Info to Debug by request.  The message (#6170)
     new 505bf09  Updated Traffic Monitor to return a 404 if the endpoint is not supported (#6192)
     new d476392  Update CHANGELOG.md and versions for 6.0.0
     new bfcf6b6  Update Traffic Router to version 6.0.0 (#6194)

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 CHANGELOG.md                         | 1 +
 traffic_monitor/srvhttp/srvhttp.go   | 5 +++++
 traffic_portal/app/src/index.html    | 2 +-
 traffic_portal/package.json          | 2 +-
 traffic_router/build/pom.xml         | 2 +-
 traffic_router/configuration/pom.xml | 2 +-
 traffic_router/connector/pom.xml     | 2 +-
 traffic_router/core/pom.xml          | 2 +-
 traffic_router/geolocation/pom.xml   | 2 +-
 traffic_router/neustar/pom.xml       | 2 +-
 traffic_router/pom.xml               | 2 +-
 traffic_router/shared/pom.xml        | 2 +-
 12 files changed, 16 insertions(+), 10 deletions(-)

[trafficcontrol] 02/03: Update CHANGELOG.md and versions for 6.0.0

Posted by zr...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

zrhoffman pushed a commit to branch 6.0.x
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git

commit d4763929cf756e2cae80647278d7dbb4cadf024d
Author: Zach Hoffman <zr...@apache.org>
AuthorDate: Mon Aug 30 11:03:08 2021 -0600

    Update CHANGELOG.md and versions for 6.0.0
    
    (cherry picked from commit 879f092eb161f7b8376ace4683affdcde7c0027f)
---
 traffic_portal/app/src/index.html    | 2 +-
 traffic_portal/package.json          | 2 +-
 traffic_router/build/pom.xml         | 2 +-
 traffic_router/configuration/pom.xml | 2 +-
 traffic_router/connector/pom.xml     | 2 +-
 traffic_router/core/pom.xml          | 2 +-
 traffic_router/geolocation/pom.xml   | 2 +-
 traffic_router/neustar/pom.xml       | 2 +-
 traffic_router/shared/pom.xml        | 2 +-
 9 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/traffic_portal/app/src/index.html b/traffic_portal/app/src/index.html
index 39183d5..d087965 100644
--- a/traffic_portal/app/src/index.html
+++ b/traffic_portal/app/src/index.html
@@ -27,7 +27,7 @@ under the License.
         <meta charset="utf-8">
         <meta http-equiv="X-UA-Compatible" content="IE=edge">
         <meta name="description" content="A user interface for managing Apache Traffic Control CDN systems.">
-        <meta name="application-name" content="Apache Traffic Portal/5.0.0">
+        <meta name="application-name" content="Apache Traffic Portal/6.0.0">
         <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
 
         <link rel="shortcut icon" href="resources/assets/images/favicon.png" type="image/x-icon" />
diff --git a/traffic_portal/package.json b/traffic_portal/package.json
index fe41ca7..5a3eddb 100644
--- a/traffic_portal/package.json
+++ b/traffic_portal/package.json
@@ -1,6 +1,6 @@
 {
   "name": "traffic_portal",
-  "version": "6.0.0",
+  "version": "6.1.0",
   "homepage": "https://github.com/apache/trafficcontrol",
   "repository": {
     "type": "git",
diff --git a/traffic_router/build/pom.xml b/traffic_router/build/pom.xml
index f24fa88..4187a73 100644
--- a/traffic_router/build/pom.xml
+++ b/traffic_router/build/pom.xml
@@ -22,7 +22,7 @@
 	<parent>
 		<groupId>org.apache.traffic_control.traffic_router</groupId>
 		<artifactId>traffic_router</artifactId>
-		<version>5.0.0</version>
+		<version>6.0.0</version>
 	</parent>
 
 	<scm>
diff --git a/traffic_router/configuration/pom.xml b/traffic_router/configuration/pom.xml
index 1c775c7..a044ca2 100644
--- a/traffic_router/configuration/pom.xml
+++ b/traffic_router/configuration/pom.xml
@@ -25,7 +25,7 @@ under the License.
 	<parent>
 		<artifactId>traffic_router</artifactId>
 		<groupId>org.apache.traffic_control.traffic_router</groupId>
-		<version>5.0.0</version>
+		<version>6.0.0</version>
 	</parent>
 	<modelVersion>4.0.0</modelVersion>
 
diff --git a/traffic_router/connector/pom.xml b/traffic_router/connector/pom.xml
index 0a57803..78e9227 100644
--- a/traffic_router/connector/pom.xml
+++ b/traffic_router/connector/pom.xml
@@ -19,7 +19,7 @@
 	<parent>
 		<groupId>org.apache.traffic_control.traffic_router</groupId>
 		<artifactId>traffic_router</artifactId>
-        <version>5.0.0</version>
+        <version>6.0.0</version>
 	</parent>
 
 	<artifactId>traffic_router_connector</artifactId>
diff --git a/traffic_router/core/pom.xml b/traffic_router/core/pom.xml
index 7b67cf3..8f3b728 100644
--- a/traffic_router/core/pom.xml
+++ b/traffic_router/core/pom.xml
@@ -18,7 +18,7 @@
 	<parent>
 		<groupId>org.apache.traffic_control.traffic_router</groupId>
 		<artifactId>traffic_router</artifactId>
-		<version>5.0.0</version>
+		<version>6.0.0</version>
 	</parent>
 
 	<artifactId>ROOT</artifactId>
diff --git a/traffic_router/geolocation/pom.xml b/traffic_router/geolocation/pom.xml
index 826b4f3..6a0d344 100644
--- a/traffic_router/geolocation/pom.xml
+++ b/traffic_router/geolocation/pom.xml
@@ -25,7 +25,7 @@ under the License.
 	<parent>
 		<artifactId>traffic_router</artifactId>
 		<groupId>org.apache.traffic_control.traffic_router</groupId>
-		<version>5.0.0</version>
+		<version>6.0.0</version>
 	</parent>
 	<modelVersion>4.0.0</modelVersion>
 
diff --git a/traffic_router/neustar/pom.xml b/traffic_router/neustar/pom.xml
index 0bd6609..9465dd2 100644
--- a/traffic_router/neustar/pom.xml
+++ b/traffic_router/neustar/pom.xml
@@ -25,7 +25,7 @@ under the License.
 	<parent>
 		<artifactId>traffic_router</artifactId>
 		<groupId>org.apache.traffic_control.traffic_router</groupId>
-		<version>5.0.0</version>
+		<version>6.0.0</version>
 	</parent>
 	<modelVersion>4.0.0</modelVersion>
 
diff --git a/traffic_router/shared/pom.xml b/traffic_router/shared/pom.xml
index f62951b..d13bcbe 100644
--- a/traffic_router/shared/pom.xml
+++ b/traffic_router/shared/pom.xml
@@ -25,7 +25,7 @@ under the License.
 	<parent>
 		<artifactId>traffic_router</artifactId>
 		<groupId>org.apache.traffic_control.traffic_router</groupId>
-		<version>5.0.0</version>
+		<version>6.0.0</version>
 	</parent>
 	<modelVersion>4.0.0</modelVersion>
 

[trafficcontrol] 01/03: Updated Traffic Monitor to return a 404 if the endpoint is not supported (#6192)

Posted by zr...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

zrhoffman pushed a commit to branch 6.0.x
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git

commit 505bf09de234dd39fbb83474b16d9fc3e816c467
Author: mattjackson220 <33...@users.noreply.github.com>
AuthorDate: Fri Sep 10 13:44:17 2021 -0600

    Updated Traffic Monitor to return a 404 if the endpoint is not supported (#6192)
    
    (cherry picked from commit c6c452a29d4048efc5669fb270edbc4126f91d22)
---
 CHANGELOG.md                       | 1 +
 traffic_monitor/srvhttp/srvhttp.go | 5 +++++
 2 files changed, 6 insertions(+)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 9744718..ed62ce2 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -103,6 +103,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
 - [#6169](https://github.com/apache/trafficcontrol/issues/6169) - Fixed t3c-update not updating server status when a fallback to a previous Traffic Ops API version occurred
 - [#5576](https://github.com/apache/trafficcontrol/issues/5576) - Inconsistent Profile Name restrictions
 - Fixed Federations IMS so TR federations watcher will get updates.
+- [#5129](https://github.com/apache/trafficcontrol/issues/5129) - Updated TM so that it returns a 404 if the endpoint is not supported.
 
 ### Changed
 - Migrated completely off of bower in favor of npm
diff --git a/traffic_monitor/srvhttp/srvhttp.go b/traffic_monitor/srvhttp/srvhttp.go
index 5720c9e..3cb2ca3 100644
--- a/traffic_monitor/srvhttp/srvhttp.go
+++ b/traffic_monitor/srvhttp/srvhttp.go
@@ -259,6 +259,11 @@ func (s *Server) handleFile(name string) (http.HandlerFunc, error) {
 	}
 	contentType := http.DetectContentType(bytes)
 	return func(w http.ResponseWriter, req *http.Request) {
+		if req.URL.Path != "/" {
+			http.NotFound(w, req)
+			return
+		}
+
 		w.Header().Set(rfc.ContentType, contentType)
 		w.Header().Set(rfc.PermissionsPolicy, "interest-cohort=()")
 		fmt.Fprintf(w, "%s", bytes)

[trafficcontrol] 03/03: Update Traffic Router to version 6.0.0 (#6194)

Posted by zr...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

zrhoffman pushed a commit to branch 6.0.x
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git

commit bfcf6b646602a1239088d9f1de765c4244587edd
Author: Zach Hoffman <zr...@apache.org>
AuthorDate: Sat Sep 11 12:26:48 2021 -0600

    Update Traffic Router to version 6.0.0 (#6194)
    
    (cherry picked from commit ce9d1920771ff054c4cebe36128a0d1bad852950)
---
 traffic_router/pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/traffic_router/pom.xml b/traffic_router/pom.xml
index 339b6b8..8c2eb72 100644
--- a/traffic_router/pom.xml
+++ b/traffic_router/pom.xml
@@ -18,7 +18,7 @@
 
 	<artifactId>traffic_router</artifactId>
 	<groupId>org.apache.traffic_control.traffic_router</groupId>
-	<version>5.0.0</version>
+	<version>6.0.0</version>
 	<packaging>pom</packaging>
 	<name>traffic_router</name>