repo_name stringclasses 5
values | pr_number int64 1.52k 15.5k | pr_title stringlengths 8 143 | pr_description stringlengths 0 10.2k | author stringlengths 3 18 | date_created timestamp[ns, tz=UTC] | date_merged timestamp[ns, tz=UTC] | previous_commit stringlengths 40 40 | pr_commit stringlengths 40 40 | query stringlengths 11 10.2k | filepath stringlengths 6 220 | before_content stringlengths 0 597M | after_content stringlengths 0 597M | label int64 -1 1 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
apolloconfig/apollo | 3,679 | fix[apollo-configService]: Solve configService startup exception | ## What's the purpose of this PR
fix[apollo-configService]: Solve configService startup exception | klboke | 2021-05-12T10:46:18Z | 2021-05-18T00:03:38Z | d60bf888c57dcea93568fdfa4ae3c5836f632d3d | 1cc8f5501fa037a449f560788b8deedb70bc6f62 | fix[apollo-configService]: Solve configService startup exception. ## What's the purpose of this PR
fix[apollo-configService]: Solve configService startup exception | ./apollo-core/src/main/java/com/ctrip/framework/apollo/core/utils/ResourceUtils.java | package com.ctrip.framework.apollo.core.utils;
import java.net.URL;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.FileNotFoundException;
import java.nio.file.Paths;
import java.util.P... | package com.ctrip.framework.apollo.core.utils;
import java.net.URL;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.FileNotFoundException;
import java.nio.file.Paths;
import java.util.P... | -1 |
apolloconfig/apollo | 3,679 | fix[apollo-configService]: Solve configService startup exception | ## What's the purpose of this PR
fix[apollo-configService]: Solve configService startup exception | klboke | 2021-05-12T10:46:18Z | 2021-05-18T00:03:38Z | d60bf888c57dcea93568fdfa4ae3c5836f632d3d | 1cc8f5501fa037a449f560788b8deedb70bc6f62 | fix[apollo-configService]: Solve configService startup exception. ## What's the purpose of this PR
fix[apollo-configService]: Solve configService startup exception | ./apollo-common/src/main/java/com/ctrip/framework/apollo/common/entity/BaseEntity.java | package com.ctrip.framework.apollo.common.entity;
import com.google.common.base.MoreObjects;
import com.google.common.base.MoreObjects.ToStringHelper;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;... | package com.ctrip.framework.apollo.common.entity;
import com.google.common.base.MoreObjects;
import com.google.common.base.MoreObjects.ToStringHelper;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;... | -1 |
apolloconfig/apollo | 3,679 | fix[apollo-configService]: Solve configService startup exception | ## What's the purpose of this PR
fix[apollo-configService]: Solve configService startup exception | klboke | 2021-05-12T10:46:18Z | 2021-05-18T00:03:38Z | d60bf888c57dcea93568fdfa4ae3c5836f632d3d | 1cc8f5501fa037a449f560788b8deedb70bc6f62 | fix[apollo-configService]: Solve configService startup exception. ## What's the purpose of this PR
fix[apollo-configService]: Solve configService startup exception | ./apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/entity/po/ServerConfig.java | package com.ctrip.framework.apollo.portal.entity.po;
import com.ctrip.framework.apollo.common.entity.BaseEntity;
import javax.validation.constraints.NotBlank;
import org.hibernate.annotations.SQLDelete;
import org.hibernate.annotations.Where;
import javax.persistence.Column;
import javax.persistence.Entity;
import j... | package com.ctrip.framework.apollo.portal.entity.po;
import com.ctrip.framework.apollo.common.entity.BaseEntity;
import javax.validation.constraints.NotBlank;
import org.hibernate.annotations.SQLDelete;
import org.hibernate.annotations.Where;
import javax.persistence.Column;
import javax.persistence.Entity;
import j... | -1 |
apolloconfig/apollo | 3,679 | fix[apollo-configService]: Solve configService startup exception | ## What's the purpose of this PR
fix[apollo-configService]: Solve configService startup exception | klboke | 2021-05-12T10:46:18Z | 2021-05-18T00:03:38Z | d60bf888c57dcea93568fdfa4ae3c5836f632d3d | 1cc8f5501fa037a449f560788b8deedb70bc6f62 | fix[apollo-configService]: Solve configService startup exception. ## What's the purpose of this PR
fix[apollo-configService]: Solve configService startup exception | ./apollo-core/src/test/java/com/ctrip/framework/foundation/internals/provider/DefaultApplicationProviderTest.java | package com.ctrip.framework.foundation.internals.provider;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import java.io.File;
import java.io.FileInputStream;
import org.junit.Before;
import org.junit.Test;
public class DefaultAppli... | package com.ctrip.framework.foundation.internals.provider;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import java.io.File;
import java.io.FileInputStream;
import org.junit.Before;
import org.junit.Test;
public class DefaultAppli... | -1 |
apolloconfig/apollo | 3,679 | fix[apollo-configService]: Solve configService startup exception | ## What's the purpose of this PR
fix[apollo-configService]: Solve configService startup exception | klboke | 2021-05-12T10:46:18Z | 2021-05-18T00:03:38Z | d60bf888c57dcea93568fdfa4ae3c5836f632d3d | 1cc8f5501fa037a449f560788b8deedb70bc6f62 | fix[apollo-configService]: Solve configService startup exception. ## What's the purpose of this PR
fix[apollo-configService]: Solve configService startup exception | ./apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/util/NamespaceBOUtils.java | package com.ctrip.framework.apollo.portal.util;
import com.ctrip.framework.apollo.core.ConfigConsts;
import com.ctrip.framework.apollo.core.enums.ConfigFileFormat;
import com.ctrip.framework.apollo.core.utils.PropertiesUtil;
import com.ctrip.framework.apollo.portal.controller.ConfigsExportController;
import com.ctrip.... | package com.ctrip.framework.apollo.portal.util;
import com.ctrip.framework.apollo.core.ConfigConsts;
import com.ctrip.framework.apollo.core.enums.ConfigFileFormat;
import com.ctrip.framework.apollo.core.utils.PropertiesUtil;
import com.ctrip.framework.apollo.portal.controller.ConfigsExportController;
import com.ctrip.... | -1 |
apolloconfig/apollo | 3,679 | fix[apollo-configService]: Solve configService startup exception | ## What's the purpose of this PR
fix[apollo-configService]: Solve configService startup exception | klboke | 2021-05-12T10:46:18Z | 2021-05-18T00:03:38Z | d60bf888c57dcea93568fdfa4ae3c5836f632d3d | 1cc8f5501fa037a449f560788b8deedb70bc6f62 | fix[apollo-configService]: Solve configService startup exception. ## What's the purpose of this PR
fix[apollo-configService]: Solve configService startup exception | ./apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/environment/PortalMetaServerProvider.java | package com.ctrip.framework.apollo.portal.environment;
/**
* For the supporting of multiple meta server address providers.
* From configuration file,
* from OS environment,
* From database,
* ...
* Just implement this interface
* @author wxq
*/
public interface PortalMetaServerProvider {
/**
* @param tar... | package com.ctrip.framework.apollo.portal.environment;
/**
* For the supporting of multiple meta server address providers.
* From configuration file,
* from OS environment,
* From database,
* ...
* Just implement this interface
* @author wxq
*/
public interface PortalMetaServerProvider {
/**
* @param tar... | -1 |
apolloconfig/apollo | 3,679 | fix[apollo-configService]: Solve configService startup exception | ## What's the purpose of this PR
fix[apollo-configService]: Solve configService startup exception | klboke | 2021-05-12T10:46:18Z | 2021-05-18T00:03:38Z | d60bf888c57dcea93568fdfa4ae3c5836f632d3d | 1cc8f5501fa037a449f560788b8deedb70bc6f62 | fix[apollo-configService]: Solve configService startup exception. ## What's the purpose of this PR
fix[apollo-configService]: Solve configService startup exception | ./apollo-configservice/src/test/resources/data.sql | INSERT INTO App (AppId, Name, OwnerName, OwnerEmail) VALUES ('100003171','apollo-config-service','刘一鸣','liuym@ctrip.com');
INSERT INTO App (AppId, Name, OwnerName, OwnerEmail) VALUES ('100003172','apollo-admin-service','宋顺','song_s@ctrip.com');
INSERT INTO App (AppId, Name, OwnerName, OwnerEmail) VALUES ('100003173','a... | INSERT INTO App (AppId, Name, OwnerName, OwnerEmail) VALUES ('100003171','apollo-config-service','刘一鸣','liuym@ctrip.com');
INSERT INTO App (AppId, Name, OwnerName, OwnerEmail) VALUES ('100003172','apollo-admin-service','宋顺','song_s@ctrip.com');
INSERT INTO App (AppId, Name, OwnerName, OwnerEmail) VALUES ('100003173','a... | -1 |
apolloconfig/apollo | 3,679 | fix[apollo-configService]: Solve configService startup exception | ## What's the purpose of this PR
fix[apollo-configService]: Solve configService startup exception | klboke | 2021-05-12T10:46:18Z | 2021-05-18T00:03:38Z | d60bf888c57dcea93568fdfa4ae3c5836f632d3d | 1cc8f5501fa037a449f560788b8deedb70bc6f62 | fix[apollo-configService]: Solve configService startup exception. ## What's the purpose of this PR
fix[apollo-configService]: Solve configService startup exception | ./apollo-common/src/main/java/com/ctrip/framework/apollo/common/config/RefreshablePropertySource.java | package com.ctrip.framework.apollo.common.config;
import org.springframework.core.env.MapPropertySource;
import java.util.Map;
public abstract class RefreshablePropertySource extends MapPropertySource {
public RefreshablePropertySource(String name, Map<String, Object> source) {
super(name, source);
}
@O... | package com.ctrip.framework.apollo.common.config;
import org.springframework.core.env.MapPropertySource;
import java.util.Map;
public abstract class RefreshablePropertySource extends MapPropertySource {
public RefreshablePropertySource(String name, Map<String, Object> source) {
super(name, source);
}
@O... | -1 |
apolloconfig/apollo | 3,679 | fix[apollo-configService]: Solve configService startup exception | ## What's the purpose of this PR
fix[apollo-configService]: Solve configService startup exception | klboke | 2021-05-12T10:46:18Z | 2021-05-18T00:03:38Z | d60bf888c57dcea93568fdfa4ae3c5836f632d3d | 1cc8f5501fa037a449f560788b8deedb70bc6f62 | fix[apollo-configService]: Solve configService startup exception. ## What's the purpose of this PR
fix[apollo-configService]: Solve configService startup exception | ./apollo-client/src/test/resources/spring/XmlConfigAnnotationTest4.xml | <?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:apollo="http://www.ctrip.com/schema/apollo"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/sc... | <?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:apollo="http://www.ctrip.com/schema/apollo"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/sc... | -1 |
apolloconfig/apollo | 3,679 | fix[apollo-configService]: Solve configService startup exception | ## What's the purpose of this PR
fix[apollo-configService]: Solve configService startup exception | klboke | 2021-05-12T10:46:18Z | 2021-05-18T00:03:38Z | d60bf888c57dcea93568fdfa4ae3c5836f632d3d | 1cc8f5501fa037a449f560788b8deedb70bc6f62 | fix[apollo-configService]: Solve configService startup exception. ## What's the purpose of this PR
fix[apollo-configService]: Solve configService startup exception | ./docs/zh/faq/faq.md | ## 1. Apollo是什么?
Apollo(阿波罗)是携程框架部门研发的配置管理平台,能够集中化管理应用不同环境、不同集群的配置,配置修改后能够实时推送到应用端,并且具备规范的权限、流程治理等特性。
更多介绍,可以参考[Apollo配置中心介绍](zh/design/apollo-introduction)
## 2. Cluster是什么?
一个应用下不同实例的分组,比如典型的可以按照数据中心分,把A机房的应用实例分为一个集群,把B机房的应用实例分为另一个集群。
## 3. Namespace是什么?
一个应用下不同配置的分组。
请参考[Apollo核心概念之“Namespace”](zh/design/apollo-c... | ## 1. Apollo是什么?
Apollo(阿波罗)是携程框架部门研发的配置管理平台,能够集中化管理应用不同环境、不同集群的配置,配置修改后能够实时推送到应用端,并且具备规范的权限、流程治理等特性。
更多介绍,可以参考[Apollo配置中心介绍](zh/design/apollo-introduction)
## 2. Cluster是什么?
一个应用下不同实例的分组,比如典型的可以按照数据中心分,把A机房的应用实例分为一个集群,把B机房的应用实例分为另一个集群。
## 3. Namespace是什么?
一个应用下不同配置的分组。
请参考[Apollo核心概念之“Namespace”](zh/design/apollo-c... | -1 |
apolloconfig/apollo | 3,679 | fix[apollo-configService]: Solve configService startup exception | ## What's the purpose of this PR
fix[apollo-configService]: Solve configService startup exception | klboke | 2021-05-12T10:46:18Z | 2021-05-18T00:03:38Z | d60bf888c57dcea93568fdfa4ae3c5836f632d3d | 1cc8f5501fa037a449f560788b8deedb70bc6f62 | fix[apollo-configService]: Solve configService startup exception. ## What's the purpose of this PR
fix[apollo-configService]: Solve configService startup exception | ./apollo-client/src/test/java/com/ctrip/framework/apollo/internals/PropertiesConfigFileTest.java | package com.ctrip.framework.apollo.internals;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import static org.mockito.Mockito.when;
import com.ctrip.framework.apollo.ConfigFileChangeListene... | package com.ctrip.framework.apollo.internals;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import static org.mockito.Mockito.when;
import com.ctrip.framework.apollo.ConfigFileChangeListene... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-client/src/main/java/com/ctrip/framework/apollo/internals/AbstractConfigFile.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | 1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-client/src/main/java/com/ctrip/framework/apollo/internals/DefaultConfig.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | 1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-client/src/main/java/com/ctrip/framework/apollo/internals/DefaultMetaServerProvider.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | 1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-client/src/main/java/com/ctrip/framework/apollo/internals/LocalFileConfigRepository.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | 1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-client/src/main/java/com/ctrip/framework/apollo/internals/RemoteConfigRepository.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | 1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-client/src/main/java/com/ctrip/framework/apollo/spring/boot/ApolloApplicationContextInitializer.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | 1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-core/src/main/java/com/ctrip/framework/apollo/core/MetaDomainConsts.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | 1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-core/src/main/java/com/ctrip/framework/foundation/internals/provider/DefaultApplicationProvider.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | 1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-core/src/main/java/com/ctrip/framework/foundation/internals/provider/DefaultServerProvider.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | 1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-core/src/test/resources/log4j2.xml | <?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright 2021 Apollo Authors
~
~ Licensed 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
~
... | <?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright 2021 Apollo Authors
~
~ Licensed 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
~
... | 1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-demo/src/main/resources/application.yml | #
# Copyright 2021 Apollo Authors
#
# Licensed 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,... | #
# Copyright 2021 Apollo Authors
#
# Licensed 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,... | 1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./docs/zh/usage/java-sdk-user-guide.md | >注意:本文档适用对象是Apollo系统的使用者,如果你是公司内Apollo系统的开发者/维护人员,建议先参考[Apollo开发指南](zh/development/apollo-development-guide)。
#
# 一、准备工作
## 1.1 环境要求
* Java: 1.7+
* Guava: 15.0+
* Apollo客户端默认会引用Guava 19,如果你的项目引用了其它版本,请确保版本号大于等于15.0
>注:对于Apollo客户端,如果有需要的话,可以做少量代码修改来降级到Java 1.6,详细信息可以参考[Issue 483](https://github.com/ctr... | >注意:本文档适用对象是Apollo系统的使用者,如果你是公司内Apollo系统的开发者/维护人员,建议先参考[Apollo开发指南](zh/development/apollo-development-guide)。
#
# 一、准备工作
## 1.1 环境要求
* Java: 1.7+
* Guava: 15.0+
* Apollo客户端默认会引用Guava 19,如果你的项目引用了其它版本,请确保版本号大于等于15.0
>注:对于Apollo客户端,如果有需要的话,可以做少量代码修改来降级到Java 1.6,详细信息可以参考[Issue 483](https://github.com/ctr... | 1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-portal/src/test/resources/application.yml | #
# Copyright 2021 Apollo Authors
#
# Licensed 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,... | #
# Copyright 2021 Apollo Authors
#
# Licensed 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,... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/entity/model/Verifiable.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-common/src/main/java/com/ctrip/framework/apollo/common/exception/NotFoundException.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-configservice/src/test/java/com/ctrip/framework/apollo/configservice/service/AccessKeyServiceWithCacheTest.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/spi/configuration/AuthConfiguration.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/service/AccessKeyService.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/controller/CommitControllerTest.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/entity/vo/EnvironmentInfo.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-client/src/main/java/com/ctrip/framework/apollo/util/factory/PropertiesFactory.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-client/src/main/java/com/ctrip/framework/apollo/spring/spi/DefaultApolloConfigRegistrarHelper.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/component/config/PortalConfig.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-core/src/main/java/com/ctrip/framework/apollo/tracer/internals/NullTransaction.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-client/src/main/java/com/ctrip/framework/apollo/internals/YamlConfigFile.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/environment/PortalMetaDomainServiceTest.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-client/src/test/java/com/ctrip/framework/apollo/spring/XmlConfigPlaceholderAutoUpdateTest.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-configservice/src/test/java/com/ctrip/framework/apollo/configservice/integration/ConfigFileControllerIntegrationTest.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-openapi/src/main/java/com/ctrip/framework/apollo/openapi/client/service/ClusterOpenApiService.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/repository/AppNamespaceRepository.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-client/src/test/java/com/ctrip/framework/apollo/internals/YamlConfigFileTest.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/service/ItemSetService.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-common/src/main/java/com/ctrip/framework/apollo/common/entity/AppNamespace.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-common/src/main/java/com/ctrip/framework/apollo/common/exception/BadRequestException.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-demo/src/main/resources/log4j2.xml | <?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright 2021 Apollo Authors
~
~ Licensed 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
~
... | <?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright 2021 Apollo Authors
~
~ Licensed 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
~
... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-configservice/src/test/java/com/ctrip/framework/apollo/configservice/controller/NotificationControllerTest.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-adminservice/src/main/java/com/ctrip/framework/apollo/adminservice/controller/ClusterController.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-common/src/main/java/com/ctrip/framework/apollo/common/condition/ConditionalOnMissingProfile.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-client/src/main/java/com/ctrip/framework/apollo/spring/annotation/SpringValueProcessor.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-common/src/main/java/com/ctrip/framework/apollo/common/dto/NamespaceLockDTO.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/service/AccessKeyService.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/controller/ConfigsExportController.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-core/src/main/java/com/ctrip/framework/apollo/core/utils/ClassLoaderUtil.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./docs/zh/deployment/distributed-deployment-guide.md | 本文档介绍了如何按照分布式部署的方式编译、打包、部署Apollo配置中心,从而可以在开发、测试、生产等环境分别部署运行。
> 如果只是需要在本地快速部署试用Apollo的话,可以参考[Quick Start](zh/deployment/quick-start)
#
# 一、准备工作
## 1.1 运行时环境
### 1.1.1 OS
服务端基于Spring Boot,启动脚本理论上支持所有Linux发行版,建议[CentOS 7](https://www.centos.org/)。
### 1.1.2 Java
* Apollo服务端:1.8+
* Apollo客户端:1.7+
由于需要同时运行服务端... | 本文档介绍了如何按照分布式部署的方式编译、打包、部署Apollo配置中心,从而可以在开发、测试、生产等环境分别部署运行。
> 如果只是需要在本地快速部署试用Apollo的话,可以参考[Quick Start](zh/deployment/quick-start)
#
# 一、准备工作
## 1.1 运行时环境
### 1.1.1 OS
服务端基于Spring Boot,启动脚本理论上支持所有Linux发行版,建议[CentOS 7](https://www.centos.org/)。
### 1.1.2 Java
* Apollo服务端:1.8+
* Apollo客户端:1.7+
由于需要同时运行服务端... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-openapi/src/main/java/com/ctrip/framework/apollo/openapi/dto/OpenNamespaceLockDTO.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-mockserver/src/test/java/com/ctrip/framework/apollo/mockserver/ApolloMockServerApiTest.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-biz/src/test/java/com/ctrip/framework/apollo/biz/service/InstanceServiceTest.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-core/src/main/java/com/ctrip/framework/apollo/core/ServiceNameConsts.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-adminservice/src/test/java/com/ctrip/framework/apollo/AdminServiceTestConfiguration.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-adminservice/src/test/java/com/ctrip/framework/apollo/adminservice/controller/ControllerExceptionTest.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-configservice/src/test/java/com/ctrip/framework/apollo/configservice/controller/TestWebSecurityConfig.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-client/src/main/java/com/ctrip/framework/apollo/internals/DefaultConfigManager.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/spi/configuration/MQConfiguration.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-common/src/main/java/com/ctrip/framework/apollo/common/dto/ClusterDTO.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/controller/NamespaceBranchController.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-portal/pom.xml | <?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright 2021 Apollo Authors
~
~ Licensed 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
~
... | <?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright 2021 Apollo Authors
~
~ Licensed 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
~
... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-client/src/main/java/com/ctrip/framework/apollo/util/http/HttpUtil.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/entity/vo/LockInfo.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-openapi/src/test/java/com/ctrip/framework/apollo/openapi/client/ApolloOpenApiClientTest.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-demo/src/main/java/com/ctrip/framework/apollo/demo/spring/springBootDemo/refresh/SpringBootApolloRefreshConfig.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-core/src/test/java/com/ctrip/framework/foundation/FoundationTest.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-core/src/main/java/com/ctrip/framework/apollo/core/enums/Env.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-client/src/test/java/com/ctrip/framework/apollo/spring/JavaConfigPlaceholderAutoUpdateTest.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-configservice/src/main/java/com/ctrip/framework/apollo/configservice/service/ReleaseMessageServiceWithCache.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-configservice/src/main/java/com/ctrip/framework/apollo/configservice/controller/ConfigFileController.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-core/src/main/java/com/ctrip/framework/apollo/tracer/spi/MessageProducerManager.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-client/src/main/java/com/ctrip/framework/apollo/build/ApolloInjector.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/entity/bo/KVEntity.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-biz/src/test/java/com/ctrip/framework/apollo/biz/utils/ConfigChangeContentBuilderTest.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-common/src/main/java/com/ctrip/framework/apollo/common/dto/ReleaseDTO.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/customize/package-info.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./docs/_navbar.md | - Translations
- [:uk: English](/en/)
- [:cn: 中文](/zh/) | - Translations
- [:uk: English](/en/)
- [:cn: 中文](/zh/) | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./docs/en/README.md | <img src="https://raw.githubusercontent.com/ctripcorp/apollo/master/doc/images/logo/logo-simple.png" alt="apollo-logo" width="40%">
# Introduction
Apollo is a reliable configuration management system. It can centrally manage the configurations of different applications and different clusters. It is suitable for micro... | <img src="https://raw.githubusercontent.com/ctripcorp/apollo/master/doc/images/logo/logo-simple.png" alt="apollo-logo" width="40%">
# Introduction
Apollo is a reliable configuration management system. It can centrally manage the configurations of different applications and different clusters. It is suitable for micro... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-client/src/test/java/com/ctrip/framework/apollo/internals/LocalFileConfigRepositoryTest.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-configservice/src/test/java/com/ctrip/framework/apollo/metaservice/service/NacosDiscoveryServiceTest.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/component/txtresolver/PropertyResolver.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./docs/zh/usage/other-language-client-user-guide.md | 目前Apollo团队由于人力所限,只提供了Java和.Net的客户端,对于其它语言的应用,可以通过本文的介绍来直接通过Http接口获取配置。
另外,如果有团队/个人有兴趣的话,也欢迎帮助我们来实现其它语言的客户端,具体细节可以联系@nobodyiam和@lepdou。
>注:目前已有热心用户贡献了Go、Python、NodeJS、PHP、C++的客户端,更多信息可以参考[Go、Python、NodeJS、PHP等客户端使用指南](zh/usage/third-party-sdks-user-guide)
## 1.1 应用接入Apollo
首先需要在Apollo中接入你的应用,具体步骤可以参考[应用接入文档](zh/usage... | 目前Apollo团队由于人力所限,只提供了Java和.Net的客户端,对于其它语言的应用,可以通过本文的介绍来直接通过Http接口获取配置。
另外,如果有团队/个人有兴趣的话,也欢迎帮助我们来实现其它语言的客户端,具体细节可以联系@nobodyiam和@lepdou。
>注:目前已有热心用户贡献了Go、Python、NodeJS、PHP、C++的客户端,更多信息可以参考[Go、Python、NodeJS、PHP等客户端使用指南](zh/usage/third-party-sdks-user-guide)
## 1.1 应用接入Apollo
首先需要在Apollo中接入你的应用,具体步骤可以参考[应用接入文档](zh/usage... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-client/src/main/java/com/ctrip/framework/apollo/spring/property/SpringValue.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-core/src/main/java/com/ctrip/framework/apollo/core/utils/MachineUtil.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-portal/src/test/java/com/ctrip/framework/apollo/openapi/service/ConsumerServiceTest.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-client/src/test/resources/spring/XmlConfigPlaceholderTest2.xml | <?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright 2021 Apollo Authors
~
~ Licensed 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
~
... | <?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright 2021 Apollo Authors
~
~ Licensed 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
~
... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/repository/GrayReleaseRuleRepository.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-common/src/main/java/com/ctrip/framework/apollo/common/datasource/TitanSettings.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/service/ConfigsExportService.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-adminservice/src/main/java/com/ctrip/framework/apollo/adminservice/controller/ItemSetController.java | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | /*
* Copyright 2021 Apollo Authors
*
* Licensed 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 i... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./scripts/flyway/configdb/V1.1.2__extend_username.sql | --
-- Copyright 2021 Apollo Authors
--
-- Licensed 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 i... | --
-- Copyright 2021 Apollo Authors
--
-- Licensed 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 i... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./doc/images/text-mode-config-submit.png | PNG
IHDR $ D ) iCCPICC Profile HWTZ ҫ.H! J A^\`EWElkdQQ,,AEEY6T$tWλ߹wg e'@ /Ƅ3S$ @`Z # @UiWQpEl h8"v. a 7Q !A d)ΐc])Nc;M\L ā ,0 %i|f!;Q@lo؛@,xlnnT-Ҿi1YQ,E&@HÚNFP31ҜbiEFAGf/w2š}lQ 3p9p\qv0v` e
4a^p|1gY&7lo劂bGlyaÝ+ʌKD[
y +A!ʎ
}P9b#H9@6]#4sE#ya... | PNG
IHDR $ D ) iCCPICC Profile HWTZ ҫ.H! J A^\`EWElkdQQ,,AEEY6T$tWλ߹wg e'@ /Ƅ3S$ @`Z # @UiWQpEl h8"v. a 7Q !A d)ΐc])Nc;M\L ā ,0 %i|f!;Q@lo؛@,xlnnT-Ҿi1YQ,E&@HÚNFP31ҜbiEFAGf/w2š}lQ 3p9p\qv0v` e
4a^p|1gY&7lo劂bGlyaÝ+ʌKD[
y +A!ʎ
}P9b#H9@6]#4sE#ya... | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./apollo-core/src/main/resources/META-INF/services/com.ctrip.framework.apollo.tracer.spi.MessageProducerManager | com.ctrip.framework.apollo.tracer.internals.DefaultMessageProducerManager | com.ctrip.framework.apollo.tracer.internals.DefaultMessageProducerManager | -1 |
apolloconfig/apollo | 3,677 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题 | ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `apollo.bootstrap.eagerLoad.enabled... | klboke | 2021-05-11T09:35:40Z | 2021-05-23T11:44:16Z | f41a73b92d19383bbb542c51b0f6d062e9e80e3b | dc41c934349af28631cc5b2d9b2bdf75eac9d1f3 | 解决日志系统未初始化完成时,apollo 的加载日志没法输出问题. ## What's the purpose of this PR
> 解决问题:
解决 spring boot 方式集成时,配置 `apollo.bootstrap.eagerLoad.enabled` 情况下,apollo 的加载日志没法输出问题。
> 设计原理:
封装一个基于 guava-cache 的日志输出内容存储容器 `DeferredLogUtil`,将 apollo 初始化时的日志信息,添加到延迟输出的日志容器。在日志系统加载完成也就是 EnvironmentPostProcessor 事件立刻回放,最终实现的效果和不开启 `... | ./doc/images/link-namespace-detail.png | PNG
IHDR U ' IDATxٿ,7AQTQ$b%jQ4_/|I>Mbb
X"*v^I:03;5z眉DѨ)@H" " " " "$d5D@D@D@D@RlJv*-" " " " !1 " " " "$dSTi Y$ !ݦJHj$*۷ҥK4
-))u֙~!X=*ق{\VD%7|ٚ5k<ږ-[lŞnٲe.ZQ\\˗O?m۶m]v5%OԎ3gff͝;M6nm۶ٳ
*BnݺvGI'dk3f... | PNG
IHDR U ' IDATxٿ,7AQTQ$b%jQ4_/|I>Mbb
X"*v^I:03;5z眉DѨ)@H" " " " "$d5D@D@D@D@RlJv*-" " " " !1 " " " "$dSTi Y$ !ݦJHj$*۷ҥK4
-))u֙~!X=*ق{\VD%7|ٚ5k<ږ-[lŞnٲe.ZQ\\˗O?m۶m]v5%OԎ3gff͝;M6nm۶ٳ
*BnݺvGI'dk3f... | -1 |