You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by bh...@apache.org on 2018/11/02 15:01:12 UTC
hadoop git commit: HDDS-788. Change title page of bucket browser in
S3gateway. Contributed by Bharat Viswanadham.
Repository: hadoop
Updated Branches:
refs/heads/trunk d16d5f730 -> 6d9c18cfa
HDDS-788. Change title page of bucket browser in S3gateway. Contributed by Bharat Viswanadham.
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/6d9c18cf
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/6d9c18cf
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/6d9c18cf
Branch: refs/heads/trunk
Commit: 6d9c18cfa9a458423b832a59166a15d098281ccd
Parents: d16d5f7
Author: Bharat Viswanadham <bh...@apache.org>
Authored: Fri Nov 2 08:00:18 2018 -0700
Committer: Bharat Viswanadham <bh...@apache.org>
Committed: Fri Nov 2 08:00:18 2018 -0700
----------------------------------------------------------------------
.../s3gateway/src/main/resources/browser.html | 4 ++--
.../resources/webapps/s3gateway/WEB-INF/web.xml | 4 ++++
.../main/resources/webapps/static/images/ozone.ico | Bin 0 -> 1150 bytes
3 files changed, 6 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hadoop/blob/6d9c18cf/hadoop-ozone/s3gateway/src/main/resources/browser.html
----------------------------------------------------------------------
diff --git a/hadoop-ozone/s3gateway/src/main/resources/browser.html b/hadoop-ozone/s3gateway/src/main/resources/browser.html
index dc05a00..a1f2338 100644
--- a/hadoop-ozone/s3gateway/src/main/resources/browser.html
+++ b/hadoop-ozone/s3gateway/src/main/resources/browser.html
@@ -19,10 +19,10 @@ permissions and limitations under the License.
<html lang="en">
<head>
- <title>AWS S3 Explorer</title>
+ <title>Ozone S3 Explorer</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
- <link rel="shortcut icon" href="https://aws.amazon.com/favicon.ico">
+ <link rel="shortcut icon" href="static/images/ozone.ico">
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet"
http://git-wip-us.apache.org/repos/asf/hadoop/blob/6d9c18cf/hadoop-ozone/s3gateway/src/main/resources/webapps/s3gateway/WEB-INF/web.xml
----------------------------------------------------------------------
diff --git a/hadoop-ozone/s3gateway/src/main/resources/webapps/s3gateway/WEB-INF/web.xml b/hadoop-ozone/s3gateway/src/main/resources/webapps/s3gateway/WEB-INF/web.xml
index a3552f0..36aad1c 100644
--- a/hadoop-ozone/s3gateway/src/main/resources/webapps/s3gateway/WEB-INF/web.xml
+++ b/hadoop-ozone/s3gateway/src/main/resources/webapps/s3gateway/WEB-INF/web.xml
@@ -21,6 +21,10 @@
<param-name>javax.ws.rs.Application</param-name>
<param-value>org.apache.hadoop.ozone.s3.GatewayApplication</param-value>
</init-param>
+ <init-param>
+ <param-name>jersey.config.servlet.filter.staticContentRegex</param-name>
+ <param-value>/static/images/*.ico</param-value>
+ </init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
http://git-wip-us.apache.org/repos/asf/hadoop/blob/6d9c18cf/hadoop-ozone/s3gateway/src/main/resources/webapps/static/images/ozone.ico
----------------------------------------------------------------------
diff --git a/hadoop-ozone/s3gateway/src/main/resources/webapps/static/images/ozone.ico b/hadoop-ozone/s3gateway/src/main/resources/webapps/static/images/ozone.ico
new file mode 100755
index 0000000..72886ea
Binary files /dev/null and b/hadoop-ozone/s3gateway/src/main/resources/webapps/static/images/ozone.ico differ
---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org