adoroszlai commented on code in PR #6898:
URL: https://github.com/apache/ozone/pull/6898#discussion_r1676417521
##########
hadoop-ozone/s3gateway/src/main/java/org/apache/hadoop/ozone/s3secret/Application.java:
##########
@@ -15,7 +15,15 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+package org.apache.hadoop.ozone.s3secret;
+
+import org.glassfish.jersey.server.ResourceConfig;
-window.onload = function () {
- document.getElementById('s3gurl').innerHTML = window.location.origin;
-};
Review Comment:
I guess git finds the license header similar enough to consider this to be a
rename and minor change.
`hadoop-ozone/s3gateway/src/main/resources/webapps/static/s3g.js` was
removed. It used to show the endpoint URL for S3 access. Since it used its
own address for that, we cannot rely on this due to the port difference.
`hadoop-ozone/s3gateway/src/main/java/org/apache/hadoop/ozone/s3secret/Application.java`
is a new file, it's a `ResourceConfig` for the `/secret` REST endpoint.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]