This is an automated email from the ASF dual-hosted git repository.
jialiang pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git
The following commit(s) were added to refs/heads/trunk by this push:
new 749d3c2a99 AMBARI-26535: Fix apache rat-plugin check errors and web
test failed (#4044)
749d3c2a99 is described below
commit 749d3c2a997db4a9b0bc088719638d498e53a6ac
Author: Prabhjyot Singh <[email protected]>
AuthorDate: Sun Aug 10 23:16:29 2025 -0400
AMBARI-26535: Fix apache rat-plugin check errors and web test failed (#4044)
* AMBARI-26523: fix apache rat-plugin check errors
* fix test/karma caused after AMBARI-26519
---
ambari-server/conf/unix/logback.xml | 16 ++++++++++++++++
ambari-web/test/controllers/wizard/step1_test.js | 4 ++--
2 files changed, 18 insertions(+), 2 deletions(-)
diff --git a/ambari-server/conf/unix/logback.xml
b/ambari-server/conf/unix/logback.xml
index d2409a58ba..da91b82346 100644
--- a/ambari-server/conf/unix/logback.xml
+++ b/ambari-server/conf/unix/logback.xml
@@ -1,4 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
<configuration scan="true" scanPeriod="30 seconds">
<!-- env -->
<property name="AMBARI_ROOT_DIR" value="/" />
diff --git a/ambari-web/test/controllers/wizard/step1_test.js
b/ambari-web/test/controllers/wizard/step1_test.js
index 88cb23133d..6dc01037be 100644
--- a/ambari-web/test/controllers/wizard/step1_test.js
+++ b/ambari-web/test/controllers/wizard/step1_test.js
@@ -384,8 +384,8 @@ describe('App.WizardStep1Controller', function () {
beforeEach(function () {
this.controller = App.WizardStep1Controller.create({content:
Em.Object.create({stacks: stacks})});
- this.controller.get('content.stacks').setEach('usePublicRepo', true);
- this.controller.get('content.stacks').setEach('useLocalRepo', false);
+ this.controller.get('content.stacks').setEach('usePublicRepo', false);
+ this.controller.get('content.stacks').setEach('useLocalRepo', true);
this.controller.reopen({networkIssuesExist: true});
this.controller.onNetworkIssuesExist();
});
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]