Skip to content

Commit

Permalink
[Improve] Optimize the code structure and merge the util and utils pa…
Browse files Browse the repository at this point in the history
…ckages. (#4153)
  • Loading branch information
Forus0322 authored Dec 20, 2024
1 parent 13ac2c6 commit c580711
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
import org.apache.streampark.console.core.service.SavepointService;
import org.apache.streampark.console.core.service.alert.AlertService;
import org.apache.streampark.console.core.service.application.FlinkApplicationActionService;
import org.apache.streampark.console.core.utils.AlertTemplateUtils;
import org.apache.streampark.console.core.util.AlertTemplateUtils;
import org.apache.streampark.console.core.watcher.FlinkAppHttpWatcher;

import com.github.benmanes.caffeine.cache.Cache;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* limitations under the License.
*/

package org.apache.streampark.console.core.utils;
package org.apache.streampark.console.core.util;

import org.apache.streampark.common.enums.ClusterState;
import org.apache.streampark.common.util.DateUtils;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
import org.apache.streampark.console.core.service.application.FlinkApplicationActionService;
import org.apache.streampark.console.core.service.application.FlinkApplicationInfoService;
import org.apache.streampark.console.core.service.application.FlinkApplicationManageService;
import org.apache.streampark.console.core.utils.AlertTemplateUtils;
import org.apache.streampark.console.core.util.AlertTemplateUtils;

import org.apache.commons.lang3.StringUtils;
import org.apache.hc.client5.http.config.RequestConfig;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
import org.apache.streampark.console.core.service.FlinkClusterService;
import org.apache.streampark.console.core.service.alert.AlertService;
import org.apache.streampark.console.core.service.application.FlinkApplicationInfoService;
import org.apache.streampark.console.core.utils.AlertTemplateUtils;
import org.apache.streampark.console.core.util.AlertTemplateUtils;

import org.apache.commons.lang3.StringUtils;
import org.apache.hadoop.yarn.api.records.YarnApplicationState;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
import org.apache.streampark.console.core.metrics.flink.CheckPoints;
import org.apache.streampark.console.core.service.alert.AlertService;
import org.apache.streampark.console.core.service.application.FlinkApplicationManageService;
import org.apache.streampark.console.core.utils.AlertTemplateUtils;
import org.apache.streampark.console.core.util.AlertTemplateUtils;
import org.apache.streampark.flink.kubernetes.enums.FlinkJobState;
import org.apache.streampark.flink.kubernetes.enums.FlinkK8sDeployMode;
import org.apache.streampark.flink.kubernetes.event.FlinkClusterMetricChangeEvent;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
import org.apache.streampark.console.core.service.application.SparkApplicationActionService;
import org.apache.streampark.console.core.service.application.SparkApplicationInfoService;
import org.apache.streampark.console.core.service.application.SparkApplicationManageService;
import org.apache.streampark.console.core.utils.AlertTemplateUtils;
import org.apache.streampark.console.core.util.AlertTemplateUtils;

import org.apache.flink.annotation.VisibleForTesting;
import org.apache.hadoop.yarn.api.records.FinalApplicationStatus;
Expand Down

0 comments on commit c580711

Please sign in to comment.