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,602 | Allow users to inject customized instance via ApolloInjectorCustomizer | ## What's the purpose of this PR
Allow users to inject customized instances via ApolloInjectorCustomizer
## Which issue(s) this PR fixes:
Fixes #3573
## Brief changelog
1. Add ApolloInjectorCustomizer
2. Load customized instances in DefaultInjector
Follow this checklist to help us incorporate your cont... | nobodyiam | 2021-03-13T11:14:58Z | 2021-03-13T11:19:34Z | d05979590d99ae142445c104003d7c5a05804e32 | 1f5b3648fb6fbb1fa9833b04fe9d7ed32eee9932 | Allow users to inject customized instance via ApolloInjectorCustomizer. ## What's the purpose of this PR
Allow users to inject customized instances via ApolloInjectorCustomizer
## Which issue(s) this PR fixes:
Fixes #3573
## Brief changelog
1. Add ApolloInjectorCustomizer
2. Load customized instances in D... | ./apollo-demo/src/main/java/com/ctrip/framework/apollo/demo/spring/springBootDemo/SpringBootSampleApplication.java | package com.ctrip.framework.apollo.demo.spring.springBootDemo;
import com.ctrip.framework.apollo.demo.spring.springBootDemo.config.SampleRedisConfig;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import org.springframework.beans.factory.NoSuchBeanDefinitionException;
imp... | package com.ctrip.framework.apollo.demo.spring.springBootDemo;
import com.ctrip.framework.apollo.demo.spring.springBootDemo.config.SampleRedisConfig;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import org.springframework.beans.factory.NoSuchBeanDefinitionException;
imp... | -1 |
apolloconfig/apollo | 3,602 | Allow users to inject customized instance via ApolloInjectorCustomizer | ## What's the purpose of this PR
Allow users to inject customized instances via ApolloInjectorCustomizer
## Which issue(s) this PR fixes:
Fixes #3573
## Brief changelog
1. Add ApolloInjectorCustomizer
2. Load customized instances in DefaultInjector
Follow this checklist to help us incorporate your cont... | nobodyiam | 2021-03-13T11:14:58Z | 2021-03-13T11:19:34Z | d05979590d99ae142445c104003d7c5a05804e32 | 1f5b3648fb6fbb1fa9833b04fe9d7ed32eee9932 | Allow users to inject customized instance via ApolloInjectorCustomizer. ## What's the purpose of this PR
Allow users to inject customized instances via ApolloInjectorCustomizer
## Which issue(s) this PR fixes:
Fixes #3573
## Brief changelog
1. Add ApolloInjectorCustomizer
2. Load customized instances in D... | ./apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/RetryableRestTemplateTest.java | package com.ctrip.framework.apollo.portal;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertSame;
import static org.junit.Assert.assertTrue;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.ArgumentMatchers.eq;
import ... | package com.ctrip.framework.apollo.portal;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertSame;
import static org.junit.Assert.assertTrue;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.ArgumentMatchers.eq;
import ... | -1 |
apolloconfig/apollo | 3,602 | Allow users to inject customized instance via ApolloInjectorCustomizer | ## What's the purpose of this PR
Allow users to inject customized instances via ApolloInjectorCustomizer
## Which issue(s) this PR fixes:
Fixes #3573
## Brief changelog
1. Add ApolloInjectorCustomizer
2. Load customized instances in DefaultInjector
Follow this checklist to help us incorporate your cont... | nobodyiam | 2021-03-13T11:14:58Z | 2021-03-13T11:19:34Z | d05979590d99ae142445c104003d7c5a05804e32 | 1f5b3648fb6fbb1fa9833b04fe9d7ed32eee9932 | Allow users to inject customized instance via ApolloInjectorCustomizer. ## What's the purpose of this PR
Allow users to inject customized instances via ApolloInjectorCustomizer
## Which issue(s) this PR fixes:
Fixes #3573
## Brief changelog
1. Add ApolloInjectorCustomizer
2. Load customized instances in D... | ./apollo-core/src/main/java/com/ctrip/framework/apollo/tracer/internals/cat/CatTransaction.java | package com.ctrip.framework.apollo.tracer.internals.cat;
import com.ctrip.framework.apollo.tracer.spi.Transaction;
import java.lang.reflect.Method;
/**
* @author Jason Song(song_s@ctrip.com)
*/
public class CatTransaction implements Transaction {
private static Class CAT_TRANSACTION_CLASS;
private static Metho... | package com.ctrip.framework.apollo.tracer.internals.cat;
import com.ctrip.framework.apollo.tracer.spi.Transaction;
import java.lang.reflect.Method;
/**
* @author Jason Song(song_s@ctrip.com)
*/
public class CatTransaction implements Transaction {
private static Class CAT_TRANSACTION_CLASS;
private static Metho... | -1 |
apolloconfig/apollo | 3,602 | Allow users to inject customized instance via ApolloInjectorCustomizer | ## What's the purpose of this PR
Allow users to inject customized instances via ApolloInjectorCustomizer
## Which issue(s) this PR fixes:
Fixes #3573
## Brief changelog
1. Add ApolloInjectorCustomizer
2. Load customized instances in DefaultInjector
Follow this checklist to help us incorporate your cont... | nobodyiam | 2021-03-13T11:14:58Z | 2021-03-13T11:19:34Z | d05979590d99ae142445c104003d7c5a05804e32 | 1f5b3648fb6fbb1fa9833b04fe9d7ed32eee9932 | Allow users to inject customized instance via ApolloInjectorCustomizer. ## What's the purpose of this PR
Allow users to inject customized instances via ApolloInjectorCustomizer
## Which issue(s) this PR fixes:
Fixes #3573
## Brief changelog
1. Add ApolloInjectorCustomizer
2. Load customized instances in D... | ./apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/spi/configuration/EmailConfiguration.java | package com.ctrip.framework.apollo.portal.spi.configuration;
import com.ctrip.framework.apollo.common.condition.ConditionalOnMissingProfile;
import com.ctrip.framework.apollo.portal.spi.EmailService;
import com.ctrip.framework.apollo.portal.spi.ctrip.CtripEmailService;
import com.ctrip.framework.apollo.portal.spi.ctr... | package com.ctrip.framework.apollo.portal.spi.configuration;
import com.ctrip.framework.apollo.common.condition.ConditionalOnMissingProfile;
import com.ctrip.framework.apollo.portal.spi.EmailService;
import com.ctrip.framework.apollo.portal.spi.ctrip.CtripEmailService;
import com.ctrip.framework.apollo.portal.spi.ctr... | -1 |
apolloconfig/apollo | 3,602 | Allow users to inject customized instance via ApolloInjectorCustomizer | ## What's the purpose of this PR
Allow users to inject customized instances via ApolloInjectorCustomizer
## Which issue(s) this PR fixes:
Fixes #3573
## Brief changelog
1. Add ApolloInjectorCustomizer
2. Load customized instances in DefaultInjector
Follow this checklist to help us incorporate your cont... | nobodyiam | 2021-03-13T11:14:58Z | 2021-03-13T11:19:34Z | d05979590d99ae142445c104003d7c5a05804e32 | 1f5b3648fb6fbb1fa9833b04fe9d7ed32eee9932 | Allow users to inject customized instance via ApolloInjectorCustomizer. ## What's the purpose of this PR
Allow users to inject customized instances via ApolloInjectorCustomizer
## Which issue(s) this PR fixes:
Fixes #3573
## Brief changelog
1. Add ApolloInjectorCustomizer
2. Load customized instances in D... | ./apollo-configservice/src/test/java/com/ctrip/framework/apollo/configservice/controller/NotificationControllerV2Test.java | package com.ctrip.framework.apollo.configservice.controller;
import com.ctrip.framework.apollo.biz.config.BizConfig;
import com.ctrip.framework.apollo.biz.entity.ReleaseMessage;
import com.ctrip.framework.apollo.biz.message.Topics;
import com.ctrip.framework.apollo.biz.utils.EntityManagerUtil;
import com.ctrip.framewo... | package com.ctrip.framework.apollo.configservice.controller;
import com.ctrip.framework.apollo.biz.config.BizConfig;
import com.ctrip.framework.apollo.biz.entity.ReleaseMessage;
import com.ctrip.framework.apollo.biz.message.Topics;
import com.ctrip.framework.apollo.biz.utils.EntityManagerUtil;
import com.ctrip.framewo... | -1 |
apolloconfig/apollo | 3,602 | Allow users to inject customized instance via ApolloInjectorCustomizer | ## What's the purpose of this PR
Allow users to inject customized instances via ApolloInjectorCustomizer
## Which issue(s) this PR fixes:
Fixes #3573
## Brief changelog
1. Add ApolloInjectorCustomizer
2. Load customized instances in DefaultInjector
Follow this checklist to help us incorporate your cont... | nobodyiam | 2021-03-13T11:14:58Z | 2021-03-13T11:19:34Z | d05979590d99ae142445c104003d7c5a05804e32 | 1f5b3648fb6fbb1fa9833b04fe9d7ed32eee9932 | Allow users to inject customized instance via ApolloInjectorCustomizer. ## What's the purpose of this PR
Allow users to inject customized instances via ApolloInjectorCustomizer
## Which issue(s) this PR fixes:
Fixes #3573
## Brief changelog
1. Add ApolloInjectorCustomizer
2. Load customized instances in D... | ./apollo-core/src/main/java/com/ctrip/framework/apollo/core/enums/EnvUtils.java | package com.ctrip.framework.apollo.core.enums;
import com.ctrip.framework.apollo.core.utils.StringUtils;
public final class EnvUtils {
public static Env transformEnv(String envName) {
if (StringUtils.isBlank(envName)) {
return Env.UNKNOWN;
}
switch (envName.trim().toUpperCase()) {
case "L... | package com.ctrip.framework.apollo.core.enums;
import com.ctrip.framework.apollo.core.utils.StringUtils;
public final class EnvUtils {
public static Env transformEnv(String envName) {
if (StringUtils.isBlank(envName)) {
return Env.UNKNOWN;
}
switch (envName.trim().toUpperCase()) {
case "L... | -1 |
apolloconfig/apollo | 3,602 | Allow users to inject customized instance via ApolloInjectorCustomizer | ## What's the purpose of this PR
Allow users to inject customized instances via ApolloInjectorCustomizer
## Which issue(s) this PR fixes:
Fixes #3573
## Brief changelog
1. Add ApolloInjectorCustomizer
2. Load customized instances in DefaultInjector
Follow this checklist to help us incorporate your cont... | nobodyiam | 2021-03-13T11:14:58Z | 2021-03-13T11:19:34Z | d05979590d99ae142445c104003d7c5a05804e32 | 1f5b3648fb6fbb1fa9833b04fe9d7ed32eee9932 | Allow users to inject customized instance via ApolloInjectorCustomizer. ## What's the purpose of this PR
Allow users to inject customized instances via ApolloInjectorCustomizer
## Which issue(s) this PR fixes:
Fixes #3573
## Brief changelog
1. Add ApolloInjectorCustomizer
2. Load customized instances in D... | ./apollo-adminservice/src/test/java/com/ctrip/framework/apollo/adminservice/controller/ReleaseControllerTest.java | package com.ctrip.framework.apollo.adminservice.controller;
import com.ctrip.framework.apollo.biz.entity.Namespace;
import com.ctrip.framework.apollo.biz.message.MessageSender;
import com.ctrip.framework.apollo.biz.message.Topics;
import com.ctrip.framework.apollo.biz.repository.ReleaseRepository;
import com.ctrip.fra... | package com.ctrip.framework.apollo.adminservice.controller;
import com.ctrip.framework.apollo.biz.entity.Namespace;
import com.ctrip.framework.apollo.biz.message.MessageSender;
import com.ctrip.framework.apollo.biz.message.Topics;
import com.ctrip.framework.apollo.biz.repository.ReleaseRepository;
import com.ctrip.fra... | -1 |
apolloconfig/apollo | 3,602 | Allow users to inject customized instance via ApolloInjectorCustomizer | ## What's the purpose of this PR
Allow users to inject customized instances via ApolloInjectorCustomizer
## Which issue(s) this PR fixes:
Fixes #3573
## Brief changelog
1. Add ApolloInjectorCustomizer
2. Load customized instances in DefaultInjector
Follow this checklist to help us incorporate your cont... | nobodyiam | 2021-03-13T11:14:58Z | 2021-03-13T11:19:34Z | d05979590d99ae142445c104003d7c5a05804e32 | 1f5b3648fb6fbb1fa9833b04fe9d7ed32eee9932 | Allow users to inject customized instance via ApolloInjectorCustomizer. ## What's the purpose of this PR
Allow users to inject customized instances via ApolloInjectorCustomizer
## Which issue(s) this PR fixes:
Fixes #3573
## Brief changelog
1. Add ApolloInjectorCustomizer
2. Load customized instances in D... | ./apollo-common/src/main/java/com/ctrip/framework/apollo/common/constants/ReleaseOperation.java | package com.ctrip.framework.apollo.common.constants;
/**
* @author Jason Song(song_s@ctrip.com)
*/
public interface ReleaseOperation {
int NORMAL_RELEASE = 0;
int ROLLBACK = 1;
int GRAY_RELEASE = 2;
int APPLY_GRAY_RULES = 3;
int GRAY_RELEASE_MERGE_TO_MASTER = 4;
int MASTER_NORMAL_RELEASE_MERGE_TO_GRAY = ... | package com.ctrip.framework.apollo.common.constants;
/**
* @author Jason Song(song_s@ctrip.com)
*/
public interface ReleaseOperation {
int NORMAL_RELEASE = 0;
int ROLLBACK = 1;
int GRAY_RELEASE = 2;
int APPLY_GRAY_RULES = 3;
int GRAY_RELEASE_MERGE_TO_MASTER = 4;
int MASTER_NORMAL_RELEASE_MERGE_TO_GRAY = ... | -1 |
apolloconfig/apollo | 3,602 | Allow users to inject customized instance via ApolloInjectorCustomizer | ## What's the purpose of this PR
Allow users to inject customized instances via ApolloInjectorCustomizer
## Which issue(s) this PR fixes:
Fixes #3573
## Brief changelog
1. Add ApolloInjectorCustomizer
2. Load customized instances in DefaultInjector
Follow this checklist to help us incorporate your cont... | nobodyiam | 2021-03-13T11:14:58Z | 2021-03-13T11:19:34Z | d05979590d99ae142445c104003d7c5a05804e32 | 1f5b3648fb6fbb1fa9833b04fe9d7ed32eee9932 | Allow users to inject customized instance via ApolloInjectorCustomizer. ## What's the purpose of this PR
Allow users to inject customized instances via ApolloInjectorCustomizer
## Which issue(s) this PR fixes:
Fixes #3573
## Brief changelog
1. Add ApolloInjectorCustomizer
2. Load customized instances in D... | ./apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/config/ConfigTest.java | package com.ctrip.framework.apollo.portal.config;
import com.ctrip.framework.apollo.portal.AbstractUnitTest;
import com.ctrip.framework.apollo.portal.component.config.PortalConfig;
import org.junit.Assert;
import org.junit.Test;
import org.mockito.InjectMocks;
import org.mockito.Mock;
import org.springframework.core... | package com.ctrip.framework.apollo.portal.config;
import com.ctrip.framework.apollo.portal.AbstractUnitTest;
import com.ctrip.framework.apollo.portal.component.config.PortalConfig;
import org.junit.Assert;
import org.junit.Test;
import org.mockito.InjectMocks;
import org.mockito.Mock;
import org.springframework.core... | -1 |
apolloconfig/apollo | 3,602 | Allow users to inject customized instance via ApolloInjectorCustomizer | ## What's the purpose of this PR
Allow users to inject customized instances via ApolloInjectorCustomizer
## Which issue(s) this PR fixes:
Fixes #3573
## Brief changelog
1. Add ApolloInjectorCustomizer
2. Load customized instances in DefaultInjector
Follow this checklist to help us incorporate your cont... | nobodyiam | 2021-03-13T11:14:58Z | 2021-03-13T11:19:34Z | d05979590d99ae142445c104003d7c5a05804e32 | 1f5b3648fb6fbb1fa9833b04fe9d7ed32eee9932 | Allow users to inject customized instance via ApolloInjectorCustomizer. ## What's the purpose of this PR
Allow users to inject customized instances via ApolloInjectorCustomizer
## Which issue(s) this PR fixes:
Fixes #3573
## Brief changelog
1. Add ApolloInjectorCustomizer
2. Load customized instances in D... | ./apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/entity/ReleaseHistory.java | package com.ctrip.framework.apollo.biz.entity;
import com.ctrip.framework.apollo.common.entity.BaseEntity;
import org.hibernate.annotations.SQLDelete;
import org.hibernate.annotations.Where;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
/**
* @author Jason Song(s... | package com.ctrip.framework.apollo.biz.entity;
import com.ctrip.framework.apollo.common.entity.BaseEntity;
import org.hibernate.annotations.SQLDelete;
import org.hibernate.annotations.Where;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
/**
* @author Jason Song(s... | -1 |
apolloconfig/apollo | 3,602 | Allow users to inject customized instance via ApolloInjectorCustomizer | ## What's the purpose of this PR
Allow users to inject customized instances via ApolloInjectorCustomizer
## Which issue(s) this PR fixes:
Fixes #3573
## Brief changelog
1. Add ApolloInjectorCustomizer
2. Load customized instances in DefaultInjector
Follow this checklist to help us incorporate your cont... | nobodyiam | 2021-03-13T11:14:58Z | 2021-03-13T11:19:34Z | d05979590d99ae142445c104003d7c5a05804e32 | 1f5b3648fb6fbb1fa9833b04fe9d7ed32eee9932 | Allow users to inject customized instance via ApolloInjectorCustomizer. ## What's the purpose of this PR
Allow users to inject customized instances via ApolloInjectorCustomizer
## Which issue(s) this PR fixes:
Fixes #3573
## Brief changelog
1. Add ApolloInjectorCustomizer
2. Load customized instances in D... | ./apollo-configservice/src/main/java/com/ctrip/framework/apollo/configservice/ConfigServiceApplication.java | package com.ctrip.framework.apollo.configservice;
import com.ctrip.framework.apollo.biz.ApolloBizConfig;
import com.ctrip.framework.apollo.common.ApolloCommonConfig;
import com.ctrip.framework.apollo.metaservice.ApolloMetaServiceConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boo... | package com.ctrip.framework.apollo.configservice;
import com.ctrip.framework.apollo.biz.ApolloBizConfig;
import com.ctrip.framework.apollo.common.ApolloCommonConfig;
import com.ctrip.framework.apollo.metaservice.ApolloMetaServiceConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boo... | -1 |
apolloconfig/apollo | 3,602 | Allow users to inject customized instance via ApolloInjectorCustomizer | ## What's the purpose of this PR
Allow users to inject customized instances via ApolloInjectorCustomizer
## Which issue(s) this PR fixes:
Fixes #3573
## Brief changelog
1. Add ApolloInjectorCustomizer
2. Load customized instances in DefaultInjector
Follow this checklist to help us incorporate your cont... | nobodyiam | 2021-03-13T11:14:58Z | 2021-03-13T11:19:34Z | d05979590d99ae142445c104003d7c5a05804e32 | 1f5b3648fb6fbb1fa9833b04fe9d7ed32eee9932 | Allow users to inject customized instance via ApolloInjectorCustomizer. ## What's the purpose of this PR
Allow users to inject customized instances via ApolloInjectorCustomizer
## Which issue(s) this PR fixes:
Fixes #3573
## Brief changelog
1. Add ApolloInjectorCustomizer
2. Load customized instances in D... | ./apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/entity/po/UserRole.java | package com.ctrip.framework.apollo.portal.entity.po;
import com.ctrip.framework.apollo.common.entity.BaseEntity;
import org.hibernate.annotations.SQLDelete;
import org.hibernate.annotations.Where;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
/**
* @author Jason ... | package com.ctrip.framework.apollo.portal.entity.po;
import com.ctrip.framework.apollo.common.entity.BaseEntity;
import org.hibernate.annotations.SQLDelete;
import org.hibernate.annotations.Where;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
/**
* @author Jason ... | -1 |
apolloconfig/apollo | 3,602 | Allow users to inject customized instance via ApolloInjectorCustomizer | ## What's the purpose of this PR
Allow users to inject customized instances via ApolloInjectorCustomizer
## Which issue(s) this PR fixes:
Fixes #3573
## Brief changelog
1. Add ApolloInjectorCustomizer
2. Load customized instances in DefaultInjector
Follow this checklist to help us incorporate your cont... | nobodyiam | 2021-03-13T11:14:58Z | 2021-03-13T11:19:34Z | d05979590d99ae142445c104003d7c5a05804e32 | 1f5b3648fb6fbb1fa9833b04fe9d7ed32eee9932 | Allow users to inject customized instance via ApolloInjectorCustomizer. ## What's the purpose of this PR
Allow users to inject customized instances via ApolloInjectorCustomizer
## Which issue(s) this PR fixes:
Fixes #3573
## Brief changelog
1. Add ApolloInjectorCustomizer
2. Load customized instances in D... | ./apollo-configservice/src/test/resources/integration-test/test-release-public-default-override.sql | INSERT INTO RELEASE (id, ReleaseKey, Name, Comment, AppId, ClusterName, NamespaceName, Configurations)
VALUES (994, 'TEST-RELEASE-KEY5', 'INTEGRATION-TEST-DEFAULT-OVERRIDE-PUBLIC','First Release','someAppId', 'default', 'somePublicNamespace', '{"k1":"override-v1"}');
| INSERT INTO RELEASE (id, ReleaseKey, Name, Comment, AppId, ClusterName, NamespaceName, Configurations)
VALUES (994, 'TEST-RELEASE-KEY5', 'INTEGRATION-TEST-DEFAULT-OVERRIDE-PUBLIC','First Release','someAppId', 'default', 'somePublicNamespace', '{"k1":"override-v1"}');
| -1 |
apolloconfig/apollo | 3,602 | Allow users to inject customized instance via ApolloInjectorCustomizer | ## What's the purpose of this PR
Allow users to inject customized instances via ApolloInjectorCustomizer
## Which issue(s) this PR fixes:
Fixes #3573
## Brief changelog
1. Add ApolloInjectorCustomizer
2. Load customized instances in DefaultInjector
Follow this checklist to help us incorporate your cont... | nobodyiam | 2021-03-13T11:14:58Z | 2021-03-13T11:19:34Z | d05979590d99ae142445c104003d7c5a05804e32 | 1f5b3648fb6fbb1fa9833b04fe9d7ed32eee9932 | Allow users to inject customized instance via ApolloInjectorCustomizer. ## What's the purpose of this PR
Allow users to inject customized instances via ApolloInjectorCustomizer
## Which issue(s) this PR fixes:
Fixes #3573
## Brief changelog
1. Add ApolloInjectorCustomizer
2. Load customized instances in D... | ./apollo-client/src/main/java/com/ctrip/framework/apollo/spring/util/SpringInjector.java | package com.ctrip.framework.apollo.spring.util;
import com.ctrip.framework.apollo.exceptions.ApolloConfigException;
import com.ctrip.framework.apollo.spring.config.ConfigPropertySourceFactory;
import com.ctrip.framework.apollo.spring.property.PlaceholderHelper;
import com.ctrip.framework.apollo.spring.property.SpringV... | package com.ctrip.framework.apollo.spring.util;
import com.ctrip.framework.apollo.exceptions.ApolloConfigException;
import com.ctrip.framework.apollo.spring.config.ConfigPropertySourceFactory;
import com.ctrip.framework.apollo.spring.property.PlaceholderHelper;
import com.ctrip.framework.apollo.spring.property.SpringV... | -1 |
apolloconfig/apollo | 3,602 | Allow users to inject customized instance via ApolloInjectorCustomizer | ## What's the purpose of this PR
Allow users to inject customized instances via ApolloInjectorCustomizer
## Which issue(s) this PR fixes:
Fixes #3573
## Brief changelog
1. Add ApolloInjectorCustomizer
2. Load customized instances in DefaultInjector
Follow this checklist to help us incorporate your cont... | nobodyiam | 2021-03-13T11:14:58Z | 2021-03-13T11:19:34Z | d05979590d99ae142445c104003d7c5a05804e32 | 1f5b3648fb6fbb1fa9833b04fe9d7ed32eee9932 | Allow users to inject customized instance via ApolloInjectorCustomizer. ## What's the purpose of this PR
Allow users to inject customized instances via ApolloInjectorCustomizer
## Which issue(s) this PR fixes:
Fixes #3573
## Brief changelog
1. Add ApolloInjectorCustomizer
2. Load customized instances in D... | ./apollo-portal/src/main/resources/static/img/secret.png | PNG
IHDR X IDATx^
\eyϹ$#4Q$u
ݳ$Bɘ={A\
II퐀ɞ
4ZHm) S"cɞ!`͞s38{?Ϟ{%KI B`r:~H@@dǭ],khʱk:!fJ:DA_K=D0퐃p}ƞ H@zFmI]6W~k?IDǂ :&]<Š,lQ}/
T='3@O^ YC{ HGO8<g |(\BAbܾH Hm`ylΤ5 ߗ"\̢^v Y|1'5emZ!?⻧MA 8*.D6l*LҥR@4^{27Rp $P3% *_x釬߯L \lRx... | PNG
IHDR X IDATx^
\eyϹ$#4Q$u
ݳ$Bɘ={A\
II퐀ɞ
4ZHm) S"cɞ!`͞s38{?Ϟ{%KI B`r:~H@@dǭ],khʱk:!fJ:DA_K=D0퐃p}ƞ H@zFmI]6W~k?IDǂ :&]<Š,lQ}/
T='3@O^ YC{ HGO8<g |(\BAbܾH Hm`ylΤ5 ߗ"\̢^v Y|1'5emZ!?⻧MA 8*.D6l*LҥR@4^{27Rp $P3% *_x釬߯L \lRx... | -1 |
apolloconfig/apollo | 3,602 | Allow users to inject customized instance via ApolloInjectorCustomizer | ## What's the purpose of this PR
Allow users to inject customized instances via ApolloInjectorCustomizer
## Which issue(s) this PR fixes:
Fixes #3573
## Brief changelog
1. Add ApolloInjectorCustomizer
2. Load customized instances in DefaultInjector
Follow this checklist to help us incorporate your cont... | nobodyiam | 2021-03-13T11:14:58Z | 2021-03-13T11:19:34Z | d05979590d99ae142445c104003d7c5a05804e32 | 1f5b3648fb6fbb1fa9833b04fe9d7ed32eee9932 | Allow users to inject customized instance via ApolloInjectorCustomizer. ## What's the purpose of this PR
Allow users to inject customized instances via ApolloInjectorCustomizer
## Which issue(s) this PR fixes:
Fixes #3573
## Brief changelog
1. Add ApolloInjectorCustomizer
2. Load customized instances in D... | ./apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/controller/UserInfoController.java | package com.ctrip.framework.apollo.portal.controller;
import com.ctrip.framework.apollo.common.exception.BadRequestException;
import com.ctrip.framework.apollo.core.utils.StringUtils;
import com.ctrip.framework.apollo.portal.entity.bo.UserInfo;
import com.ctrip.framework.apollo.portal.entity.po.UserPO;
import com.ctri... | package com.ctrip.framework.apollo.portal.controller;
import com.ctrip.framework.apollo.common.exception.BadRequestException;
import com.ctrip.framework.apollo.core.utils.StringUtils;
import com.ctrip.framework.apollo.portal.entity.bo.UserInfo;
import com.ctrip.framework.apollo.portal.entity.po.UserPO;
import com.ctri... | -1 |
apolloconfig/apollo | 3,602 | Allow users to inject customized instance via ApolloInjectorCustomizer | ## What's the purpose of this PR
Allow users to inject customized instances via ApolloInjectorCustomizer
## Which issue(s) this PR fixes:
Fixes #3573
## Brief changelog
1. Add ApolloInjectorCustomizer
2. Load customized instances in DefaultInjector
Follow this checklist to help us incorporate your cont... | nobodyiam | 2021-03-13T11:14:58Z | 2021-03-13T11:19:34Z | d05979590d99ae142445c104003d7c5a05804e32 | 1f5b3648fb6fbb1fa9833b04fe9d7ed32eee9932 | Allow users to inject customized instance via ApolloInjectorCustomizer. ## What's the purpose of this PR
Allow users to inject customized instances via ApolloInjectorCustomizer
## Which issue(s) this PR fixes:
Fixes #3573
## Brief changelog
1. Add ApolloInjectorCustomizer
2. Load customized instances in D... | ./doc/images/gray-release/abandon-gray-release.png | PNG
IHDR a8Y IDATxřI9G$ 9&'9}>mg0DDQD9
+mN3贈fYV_Uں6QXX4b
" " " " " " " " " O H@@8M'J$ܯj " " " " " " " " " " " " " " " " " " ]DqUHD4G8@hnn7Zee555eqIU4... | PNG
IHDR a8Y IDATxřI9G$ 9&'9}>mg0DDQD9
+mN3贈fYV_Uں6QXX4b
" " " " " " " " " O H@@8M'J$ܯj " " " " " " " " " " " " " " " " " " ]DqUHD4G8@hnn7Zee555eqIU4... | -1 |
apolloconfig/apollo | 3,602 | Allow users to inject customized instance via ApolloInjectorCustomizer | ## What's the purpose of this PR
Allow users to inject customized instances via ApolloInjectorCustomizer
## Which issue(s) this PR fixes:
Fixes #3573
## Brief changelog
1. Add ApolloInjectorCustomizer
2. Load customized instances in DefaultInjector
Follow this checklist to help us incorporate your cont... | nobodyiam | 2021-03-13T11:14:58Z | 2021-03-13T11:19:34Z | d05979590d99ae142445c104003d7c5a05804e32 | 1f5b3648fb6fbb1fa9833b04fe9d7ed32eee9932 | Allow users to inject customized instance via ApolloInjectorCustomizer. ## What's the purpose of this PR
Allow users to inject customized instances via ApolloInjectorCustomizer
## Which issue(s) this PR fixes:
Fixes #3573
## Brief changelog
1. Add ApolloInjectorCustomizer
2. Load customized instances in D... | ./apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/service/NamespaceService.java | package com.ctrip.framework.apollo.biz.service;
import com.ctrip.framework.apollo.biz.entity.Audit;
import com.ctrip.framework.apollo.biz.entity.Cluster;
import com.ctrip.framework.apollo.biz.entity.Item;
import com.ctrip.framework.apollo.biz.entity.Namespace;
import com.ctrip.framework.apollo.biz.entity.Release;
impo... | package com.ctrip.framework.apollo.biz.service;
import com.ctrip.framework.apollo.biz.entity.Audit;
import com.ctrip.framework.apollo.biz.entity.Cluster;
import com.ctrip.framework.apollo.biz.entity.Item;
import com.ctrip.framework.apollo.biz.entity.Namespace;
import com.ctrip.framework.apollo.biz.entity.Release;
impo... | -1 |
apolloconfig/apollo | 3,602 | Allow users to inject customized instance via ApolloInjectorCustomizer | ## What's the purpose of this PR
Allow users to inject customized instances via ApolloInjectorCustomizer
## Which issue(s) this PR fixes:
Fixes #3573
## Brief changelog
1. Add ApolloInjectorCustomizer
2. Load customized instances in DefaultInjector
Follow this checklist to help us incorporate your cont... | nobodyiam | 2021-03-13T11:14:58Z | 2021-03-13T11:19:34Z | d05979590d99ae142445c104003d7c5a05804e32 | 1f5b3648fb6fbb1fa9833b04fe9d7ed32eee9932 | Allow users to inject customized instance via ApolloInjectorCustomizer. ## What's the purpose of this PR
Allow users to inject customized instances via ApolloInjectorCustomizer
## Which issue(s) this PR fixes:
Fixes #3573
## Brief changelog
1. Add ApolloInjectorCustomizer
2. Load customized instances in D... | ./apollo-portal/src/test/resources/sql/permission/insert-test-consumerroles.sql | INSERT INTO `consumerrole` (`Id`, `ConsumerId`, `RoleId`, `DataChange_CreatedBy`, `DataChange_LastModifiedBy`)
VALUES (890, 1, 990, 'someOperator', 'someOperator');
INSERT INTO `consumerrole` (`Id`, `ConsumerId`, `RoleId`, `DataChange_CreatedBy`, `DataChange_LastModifiedBy`)
VALUES (891, 2, 990, 'someOperator', 'so... | INSERT INTO `consumerrole` (`Id`, `ConsumerId`, `RoleId`, `DataChange_CreatedBy`, `DataChange_LastModifiedBy`)
VALUES (890, 1, 990, 'someOperator', 'someOperator');
INSERT INTO `consumerrole` (`Id`, `ConsumerId`, `RoleId`, `DataChange_CreatedBy`, `DataChange_LastModifiedBy`)
VALUES (891, 2, 990, 'someOperator', 'so... | -1 |
apolloconfig/apollo | 3,602 | Allow users to inject customized instance via ApolloInjectorCustomizer | ## What's the purpose of this PR
Allow users to inject customized instances via ApolloInjectorCustomizer
## Which issue(s) this PR fixes:
Fixes #3573
## Brief changelog
1. Add ApolloInjectorCustomizer
2. Load customized instances in DefaultInjector
Follow this checklist to help us incorporate your cont... | nobodyiam | 2021-03-13T11:14:58Z | 2021-03-13T11:19:34Z | d05979590d99ae142445c104003d7c5a05804e32 | 1f5b3648fb6fbb1fa9833b04fe9d7ed32eee9932 | Allow users to inject customized instance via ApolloInjectorCustomizer. ## What's the purpose of this PR
Allow users to inject customized instances via ApolloInjectorCustomizer
## Which issue(s) this PR fixes:
Fixes #3573
## Brief changelog
1. Add ApolloInjectorCustomizer
2. Load customized instances in D... | ./apollo-client/src/test/resources/spring/yaml/case6.yml | apollo.test.testBean: true
| apollo.test.testBean: true
| -1 |
apolloconfig/apollo | 3,602 | Allow users to inject customized instance via ApolloInjectorCustomizer | ## What's the purpose of this PR
Allow users to inject customized instances via ApolloInjectorCustomizer
## Which issue(s) this PR fixes:
Fixes #3573
## Brief changelog
1. Add ApolloInjectorCustomizer
2. Load customized instances in DefaultInjector
Follow this checklist to help us incorporate your cont... | nobodyiam | 2021-03-13T11:14:58Z | 2021-03-13T11:19:34Z | d05979590d99ae142445c104003d7c5a05804e32 | 1f5b3648fb6fbb1fa9833b04fe9d7ed32eee9932 | Allow users to inject customized instance via ApolloInjectorCustomizer. ## What's the purpose of this PR
Allow users to inject customized instances via ApolloInjectorCustomizer
## Which issue(s) this PR fixes:
Fixes #3573
## Brief changelog
1. Add ApolloInjectorCustomizer
2. Load customized instances in D... | ./apollo-portal/src/main/resources/static/scripts/controller/role/SystemRoleController.js | angular.module('systemRole', ['app.service', 'apollo.directive', 'app.util', 'toastr', 'angular-loading-bar'])
.controller('SystemRoleController',
['$scope', '$location', '$window', '$translate', 'toastr', 'AppService', 'UserService', 'AppUtil', 'EnvService',
'PermissionService', 'SystemRoleServ... | angular.module('systemRole', ['app.service', 'apollo.directive', 'app.util', 'toastr', 'angular-loading-bar'])
.controller('SystemRoleController',
['$scope', '$location', '$window', '$translate', 'toastr', 'AppService', 'UserService', 'AppUtil', 'EnvService',
'PermissionService', 'SystemRoleServ... | -1 |
apolloconfig/apollo | 3,602 | Allow users to inject customized instance via ApolloInjectorCustomizer | ## What's the purpose of this PR
Allow users to inject customized instances via ApolloInjectorCustomizer
## Which issue(s) this PR fixes:
Fixes #3573
## Brief changelog
1. Add ApolloInjectorCustomizer
2. Load customized instances in DefaultInjector
Follow this checklist to help us incorporate your cont... | nobodyiam | 2021-03-13T11:14:58Z | 2021-03-13T11:19:34Z | d05979590d99ae142445c104003d7c5a05804e32 | 1f5b3648fb6fbb1fa9833b04fe9d7ed32eee9932 | Allow users to inject customized instance via ApolloInjectorCustomizer. ## What's the purpose of this PR
Allow users to inject customized instances via ApolloInjectorCustomizer
## Which issue(s) this PR fixes:
Fixes #3573
## Brief changelog
1. Add ApolloInjectorCustomizer
2. Load customized instances in D... | ./apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/service/AppNamespaceService.java | package com.ctrip.framework.apollo.biz.service;
import com.ctrip.framework.apollo.biz.entity.Audit;
import com.ctrip.framework.apollo.biz.entity.Cluster;
import com.ctrip.framework.apollo.biz.entity.Namespace;
import com.ctrip.framework.apollo.biz.repository.AppNamespaceRepository;
import com.ctrip.framework.apollo.co... | package com.ctrip.framework.apollo.biz.service;
import com.ctrip.framework.apollo.biz.entity.Audit;
import com.ctrip.framework.apollo.biz.entity.Cluster;
import com.ctrip.framework.apollo.biz.entity.Namespace;
import com.ctrip.framework.apollo.biz.repository.AppNamespaceRepository;
import com.ctrip.framework.apollo.co... | -1 |
apolloconfig/apollo | 3,602 | Allow users to inject customized instance via ApolloInjectorCustomizer | ## What's the purpose of this PR
Allow users to inject customized instances via ApolloInjectorCustomizer
## Which issue(s) this PR fixes:
Fixes #3573
## Brief changelog
1. Add ApolloInjectorCustomizer
2. Load customized instances in DefaultInjector
Follow this checklist to help us incorporate your cont... | nobodyiam | 2021-03-13T11:14:58Z | 2021-03-13T11:19:34Z | d05979590d99ae142445c104003d7c5a05804e32 | 1f5b3648fb6fbb1fa9833b04fe9d7ed32eee9932 | Allow users to inject customized instance via ApolloInjectorCustomizer. ## What's the purpose of this PR
Allow users to inject customized instances via ApolloInjectorCustomizer
## Which issue(s) this PR fixes:
Fixes #3573
## Brief changelog
1. Add ApolloInjectorCustomizer
2. Load customized instances in D... | ./apollo-portal/src/main/resources/static/img/merge.png | PNG
IHDR X IDATx^M#sͮ+4,@
lW @\gq o]:{9d_fVUf#UF#1Tw }crA,rsp @Gf !Ȧ4a&w˿ho"GBЂJ7Z*Epb5 ? !@GO" S@.X`iljDG/I ~a9C#THj5 PyU(Z4
\$Ny%I6ם;5 '; H4С ukd&! jvh ^v?S2bIx__8SDk{;"5]÷KVCˏ
zvCcjʱ|</jzp0$Qn&],@|8hկt-*CɊHXYIKn*HtslU#bl2Lk@p0$i[)}... | PNG
IHDR X IDATx^M#sͮ+4,@
lW @\gq o]:{9d_fVUf#UF#1Tw }crA,rsp @Gf !Ȧ4a&w˿ho"GBЂJ7Z*Epb5 ? !@GO" S@.X`iljDG/I ~a9C#THj5 PyU(Z4
\$Ny%I6ם;5 '; H4С ukd&! jvh ^v?S2bIx__8SDk{;"5]÷KVCˏ
zvCcjʱ|</jzp0$Qn&],@|8hկt-*CɊHXYIKn*HtslU#bl2Lk@p0$i[)}... | -1 |
apolloconfig/apollo | 3,602 | Allow users to inject customized instance via ApolloInjectorCustomizer | ## What's the purpose of this PR
Allow users to inject customized instances via ApolloInjectorCustomizer
## Which issue(s) this PR fixes:
Fixes #3573
## Brief changelog
1. Add ApolloInjectorCustomizer
2. Load customized instances in DefaultInjector
Follow this checklist to help us incorporate your cont... | nobodyiam | 2021-03-13T11:14:58Z | 2021-03-13T11:19:34Z | d05979590d99ae142445c104003d7c5a05804e32 | 1f5b3648fb6fbb1fa9833b04fe9d7ed32eee9932 | Allow users to inject customized instance via ApolloInjectorCustomizer. ## What's the purpose of this PR
Allow users to inject customized instances via ApolloInjectorCustomizer
## Which issue(s) this PR fixes:
Fixes #3573
## Brief changelog
1. Add ApolloInjectorCustomizer
2. Load customized instances in D... | ./apollo-portal/src/main/resources/static/scripts/directive/publish-deny-modal-directive.js | directive_module.directive('publishdenymodal', publishDenyDirective);
function publishDenyDirective(AppUtil, EventManager) {
return {
restrict: 'E',
templateUrl: AppUtil.prefixPath() + '/views/component/publish-deny-modal.html',
transclude: true,
replace: true,
scope: {
... | directive_module.directive('publishdenymodal', publishDenyDirective);
function publishDenyDirective(AppUtil, EventManager) {
return {
restrict: 'E',
templateUrl: AppUtil.prefixPath() + '/views/component/publish-deny-modal.html',
transclude: true,
replace: true,
scope: {
... | -1 |
apolloconfig/apollo | 3,602 | Allow users to inject customized instance via ApolloInjectorCustomizer | ## What's the purpose of this PR
Allow users to inject customized instances via ApolloInjectorCustomizer
## Which issue(s) this PR fixes:
Fixes #3573
## Brief changelog
1. Add ApolloInjectorCustomizer
2. Load customized instances in DefaultInjector
Follow this checklist to help us incorporate your cont... | nobodyiam | 2021-03-13T11:14:58Z | 2021-03-13T11:19:34Z | d05979590d99ae142445c104003d7c5a05804e32 | 1f5b3648fb6fbb1fa9833b04fe9d7ed32eee9932 | Allow users to inject customized instance via ApolloInjectorCustomizer. ## What's the purpose of this PR
Allow users to inject customized instances via ApolloInjectorCustomizer
## Which issue(s) this PR fixes:
Fixes #3573
## Brief changelog
1. Add ApolloInjectorCustomizer
2. Load customized instances in D... | ./apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/environment/PortalMetaDomainService.java | package com.ctrip.framework.apollo.portal.environment;
import com.ctrip.framework.apollo.core.utils.ApolloThreadFactory;
import com.ctrip.framework.apollo.core.utils.NetUtil;
import com.ctrip.framework.apollo.portal.component.config.PortalConfig;
import com.ctrip.framework.apollo.tracer.Tracer;
import com.ctrip.framew... | package com.ctrip.framework.apollo.portal.environment;
import com.ctrip.framework.apollo.core.utils.ApolloThreadFactory;
import com.ctrip.framework.apollo.core.utils.NetUtil;
import com.ctrip.framework.apollo.portal.component.config.PortalConfig;
import com.ctrip.framework.apollo.tracer.Tracer;
import com.ctrip.framew... | -1 |
apolloconfig/apollo | 3,602 | Allow users to inject customized instance via ApolloInjectorCustomizer | ## What's the purpose of this PR
Allow users to inject customized instances via ApolloInjectorCustomizer
## Which issue(s) this PR fixes:
Fixes #3573
## Brief changelog
1. Add ApolloInjectorCustomizer
2. Load customized instances in DefaultInjector
Follow this checklist to help us incorporate your cont... | nobodyiam | 2021-03-13T11:14:58Z | 2021-03-13T11:19:34Z | d05979590d99ae142445c104003d7c5a05804e32 | 1f5b3648fb6fbb1fa9833b04fe9d7ed32eee9932 | Allow users to inject customized instance via ApolloInjectorCustomizer. ## What's the purpose of this PR
Allow users to inject customized instances via ApolloInjectorCustomizer
## Which issue(s) this PR fixes:
Fixes #3573
## Brief changelog
1. Add ApolloInjectorCustomizer
2. Load customized instances in D... | ./apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/entity/vo/PageSetting.java | package com.ctrip.framework.apollo.portal.entity.vo;
public class PageSetting {
private String wikiAddress;
private boolean canAppAdminCreatePrivateNamespace;
public String getWikiAddress() {
return wikiAddress;
}
public void setWikiAddress(String wikiAddress) {
this.wikiAddress = wikiAddress;
... | package com.ctrip.framework.apollo.portal.entity.vo;
public class PageSetting {
private String wikiAddress;
private boolean canAppAdminCreatePrivateNamespace;
public String getWikiAddress() {
return wikiAddress;
}
public void setWikiAddress(String wikiAddress) {
this.wikiAddress = wikiAddress;
... | -1 |
apolloconfig/apollo | 3,602 | Allow users to inject customized instance via ApolloInjectorCustomizer | ## What's the purpose of this PR
Allow users to inject customized instances via ApolloInjectorCustomizer
## Which issue(s) this PR fixes:
Fixes #3573
## Brief changelog
1. Add ApolloInjectorCustomizer
2. Load customized instances in DefaultInjector
Follow this checklist to help us incorporate your cont... | nobodyiam | 2021-03-13T11:14:58Z | 2021-03-13T11:19:34Z | d05979590d99ae142445c104003d7c5a05804e32 | 1f5b3648fb6fbb1fa9833b04fe9d7ed32eee9932 | Allow users to inject customized instance via ApolloInjectorCustomizer. ## What's the purpose of this PR
Allow users to inject customized instances via ApolloInjectorCustomizer
## Which issue(s) this PR fixes:
Fixes #3573
## Brief changelog
1. Add ApolloInjectorCustomizer
2. Load customized instances in D... | ./apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/entity/vo/Number.java | package com.ctrip.framework.apollo.portal.entity.vo;
public class Number {
private int num;
public Number(int num){
this.num = num;
}
public int getNum() {
return num;
}
public void setNum(int num) {
this.num = num;
}
}
| package com.ctrip.framework.apollo.portal.entity.vo;
public class Number {
private int num;
public Number(int num){
this.num = num;
}
public int getNum() {
return num;
}
public void setNum(int num) {
this.num = num;
}
}
| -1 |
apolloconfig/apollo | 3,602 | Allow users to inject customized instance via ApolloInjectorCustomizer | ## What's the purpose of this PR
Allow users to inject customized instances via ApolloInjectorCustomizer
## Which issue(s) this PR fixes:
Fixes #3573
## Brief changelog
1. Add ApolloInjectorCustomizer
2. Load customized instances in DefaultInjector
Follow this checklist to help us incorporate your cont... | nobodyiam | 2021-03-13T11:14:58Z | 2021-03-13T11:19:34Z | d05979590d99ae142445c104003d7c5a05804e32 | 1f5b3648fb6fbb1fa9833b04fe9d7ed32eee9932 | Allow users to inject customized instance via ApolloInjectorCustomizer. ## What's the purpose of this PR
Allow users to inject customized instances via ApolloInjectorCustomizer
## Which issue(s) this PR fixes:
Fixes #3573
## Brief changelog
1. Add ApolloInjectorCustomizer
2. Load customized instances in D... | ./apollo-client/src/test/resources/spring/XmlConfigPlaceholderTest2.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,594 | replace http client implementation with interface | make it easier to customize http client | vdiskg | 2021-03-10T05:57:10Z | 2021-03-16T00:20:13Z | d6e0b017a6fce1b45d4aa577fd838113f24eb337 | 9f3d315e7e115220f6bbb836a1a8cfb4f4619d2f | replace http client implementation with interface. make it easier to customize http client | ./apollo-client/src/main/java/com/ctrip/framework/apollo/internals/ConfigServiceLocator.java | package com.ctrip.framework.apollo.internals;
import com.ctrip.framework.apollo.core.ServiceNameConsts;
import com.ctrip.framework.foundation.Foundation;
import java.lang.reflect.Type;
import java.util.List;
import java.util.Map;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorServi... | package com.ctrip.framework.apollo.internals;
import com.ctrip.framework.apollo.core.ServiceNameConsts;
import com.ctrip.framework.foundation.Foundation;
import java.lang.reflect.Type;
import java.util.List;
import java.util.Map;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorServi... | 1 |
apolloconfig/apollo | 3,594 | replace http client implementation with interface | make it easier to customize http client | vdiskg | 2021-03-10T05:57:10Z | 2021-03-16T00:20:13Z | d6e0b017a6fce1b45d4aa577fd838113f24eb337 | 9f3d315e7e115220f6bbb836a1a8cfb4f4619d2f | replace http client implementation with interface. make it easier to customize http client | ./apollo-client/src/main/java/com/ctrip/framework/apollo/internals/DefaultInjector.java | package com.ctrip.framework.apollo.internals;
import com.ctrip.framework.apollo.exceptions.ApolloConfigException;
import com.ctrip.framework.apollo.spi.ApolloInjectorCustomizer;
import com.ctrip.framework.apollo.spi.ConfigFactory;
import com.ctrip.framework.apollo.spi.ConfigFactoryManager;
import com.ctrip.framework.a... | package com.ctrip.framework.apollo.internals;
import com.ctrip.framework.apollo.exceptions.ApolloConfigException;
import com.ctrip.framework.apollo.spi.ApolloInjectorCustomizer;
import com.ctrip.framework.apollo.spi.ConfigFactory;
import com.ctrip.framework.apollo.spi.ConfigFactoryManager;
import com.ctrip.framework.a... | 1 |
apolloconfig/apollo | 3,594 | replace http client implementation with interface | make it easier to customize http client | vdiskg | 2021-03-10T05:57:10Z | 2021-03-16T00:20:13Z | d6e0b017a6fce1b45d4aa577fd838113f24eb337 | 9f3d315e7e115220f6bbb836a1a8cfb4f4619d2f | replace http client implementation with interface. make it easier to customize http client | ./apollo-client/src/main/java/com/ctrip/framework/apollo/internals/RemoteConfigLongPollService.java | package com.ctrip.framework.apollo.internals;
import com.ctrip.framework.apollo.build.ApolloInjector;
import com.ctrip.framework.apollo.core.ConfigConsts;
import com.ctrip.framework.apollo.core.dto.ApolloConfigNotification;
import com.ctrip.framework.apollo.core.dto.ApolloNotificationMessages;
import com.ctrip.framewo... | package com.ctrip.framework.apollo.internals;
import com.ctrip.framework.apollo.build.ApolloInjector;
import com.ctrip.framework.apollo.core.ConfigConsts;
import com.ctrip.framework.apollo.core.dto.ApolloConfigNotification;
import com.ctrip.framework.apollo.core.dto.ApolloNotificationMessages;
import com.ctrip.framewo... | 1 |
apolloconfig/apollo | 3,594 | replace http client implementation with interface | make it easier to customize http client | vdiskg | 2021-03-10T05:57:10Z | 2021-03-16T00:20:13Z | d6e0b017a6fce1b45d4aa577fd838113f24eb337 | 9f3d315e7e115220f6bbb836a1a8cfb4f4619d2f | replace http client implementation with interface. make it easier to customize http client | ./apollo-client/src/main/java/com/ctrip/framework/apollo/internals/RemoteConfigRepository.java | package com.ctrip.framework.apollo.internals;
import com.ctrip.framework.apollo.Apollo;
import com.ctrip.framework.apollo.build.ApolloInjector;
import com.ctrip.framework.apollo.core.ConfigConsts;
import com.ctrip.framework.apollo.core.dto.ApolloConfig;
import com.ctrip.framework.apollo.core.dto.ApolloNotificationMess... | package com.ctrip.framework.apollo.internals;
import com.ctrip.framework.apollo.Apollo;
import com.ctrip.framework.apollo.build.ApolloInjector;
import com.ctrip.framework.apollo.core.ConfigConsts;
import com.ctrip.framework.apollo.core.dto.ApolloConfig;
import com.ctrip.framework.apollo.core.dto.ApolloNotificationMess... | 1 |
apolloconfig/apollo | 3,594 | replace http client implementation with interface | make it easier to customize http client | vdiskg | 2021-03-10T05:57:10Z | 2021-03-16T00:20:13Z | d6e0b017a6fce1b45d4aa577fd838113f24eb337 | 9f3d315e7e115220f6bbb836a1a8cfb4f4619d2f | replace http client implementation with interface. make it easier to customize http client | ./apollo-client/src/main/java/com/ctrip/framework/apollo/util/http/HttpUtil.java | package com.ctrip.framework.apollo.util.http;
import com.ctrip.framework.apollo.build.ApolloInjector;
import com.ctrip.framework.apollo.exceptions.ApolloConfigException;
import com.ctrip.framework.apollo.exceptions.ApolloConfigStatusCodeException;
import com.ctrip.framework.apollo.util.ConfigUtil;
import com.google.co... | package com.ctrip.framework.apollo.util.http;
import com.ctrip.framework.apollo.exceptions.ApolloConfigException;
import java.lang.reflect.Type;
/**
* @author Jason Song(song_s@ctrip.com)
* @deprecated in favor of the interface {@link HttpClient} and it's default implementation {@link
* DefaultHttpClient}
*/
@Dep... | 1 |
apolloconfig/apollo | 3,594 | replace http client implementation with interface | make it easier to customize http client | vdiskg | 2021-03-10T05:57:10Z | 2021-03-16T00:20:13Z | d6e0b017a6fce1b45d4aa577fd838113f24eb337 | 9f3d315e7e115220f6bbb836a1a8cfb4f4619d2f | replace http client implementation with interface. make it easier to customize http client | ./apollo-client/src/test/java/com/ctrip/framework/apollo/internals/RemoteConfigLongPollServiceTest.java | package com.ctrip.framework.apollo.internals;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
import static org.mockito.Matchers.any;
import static org.mockito.Matchers.eq;
import static org.mockito.Mockito.doAnswer;
import static or... | package com.ctrip.framework.apollo.internals;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
import static org.mockito.Matchers.any;
import static org.mockito.Matchers.eq;
import static org.mockito.Mockito.doAnswer;
import static or... | 1 |
apolloconfig/apollo | 3,594 | replace http client implementation with interface | make it easier to customize http client | vdiskg | 2021-03-10T05:57:10Z | 2021-03-16T00:20:13Z | d6e0b017a6fce1b45d4aa577fd838113f24eb337 | 9f3d315e7e115220f6bbb836a1a8cfb4f4619d2f | replace http client implementation with interface. make it easier to customize http client | ./apollo-client/src/test/java/com/ctrip/framework/apollo/internals/RemoteConfigRepositoryTest.java | package com.ctrip.framework.apollo.internals;
import static org.junit.Assert.assertArrayEquals;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
import static org.mockito.Matchers.eq;
import static org.mockito.Mockito.any;
import stat... | package com.ctrip.framework.apollo.internals;
import static org.junit.Assert.assertArrayEquals;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
import static org.mockito.Matchers.eq;
import static org.mockito.Mockito.any;
import stat... | 1 |
apolloconfig/apollo | 3,594 | replace http client implementation with interface | make it easier to customize http client | vdiskg | 2021-03-10T05:57:10Z | 2021-03-16T00:20:13Z | d6e0b017a6fce1b45d4aa577fd838113f24eb337 | 9f3d315e7e115220f6bbb836a1a8cfb4f4619d2f | replace http client implementation with interface. make it easier to customize http client | ./apollo-configservice/src/main/java/com/ctrip/framework/apollo/configservice/ConfigServerEurekaServerConfigure.java | package com.ctrip.framework.apollo.configservice;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;
import org.springframework.context.annotation.Configuration;
/**
* Start Eureka Server annotations according to c... | package com.ctrip.framework.apollo.configservice;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;
import org.springframework.context.annotation.Configuration;
/**
* Start Eureka Server annotations according to c... | -1 |
apolloconfig/apollo | 3,594 | replace http client implementation with interface | make it easier to customize http client | vdiskg | 2021-03-10T05:57:10Z | 2021-03-16T00:20:13Z | d6e0b017a6fce1b45d4aa577fd838113f24eb337 | 9f3d315e7e115220f6bbb836a1a8cfb4f4619d2f | replace http client implementation with interface. make it easier to customize http client | ./apollo-core/src/main/java/com/ctrip/framework/apollo/tracer/Tracer.java | package com.ctrip.framework.apollo.tracer;
import com.ctrip.framework.apollo.tracer.internals.NullMessageProducerManager;
import com.ctrip.framework.apollo.tracer.spi.MessageProducer;
import com.ctrip.framework.apollo.tracer.spi.MessageProducerManager;
import com.ctrip.framework.apollo.tracer.spi.Transaction;
import ... | package com.ctrip.framework.apollo.tracer;
import com.ctrip.framework.apollo.tracer.internals.NullMessageProducerManager;
import com.ctrip.framework.apollo.tracer.spi.MessageProducer;
import com.ctrip.framework.apollo.tracer.spi.MessageProducerManager;
import com.ctrip.framework.apollo.tracer.spi.Transaction;
import ... | -1 |
apolloconfig/apollo | 3,594 | replace http client implementation with interface | make it easier to customize http client | vdiskg | 2021-03-10T05:57:10Z | 2021-03-16T00:20:13Z | d6e0b017a6fce1b45d4aa577fd838113f24eb337 | 9f3d315e7e115220f6bbb836a1a8cfb4f4619d2f | replace http client implementation with interface. make it easier to customize http client | ./apollo-adminservice/src/main/java/com/ctrip/framework/apollo/adminservice/controller/NamespaceBranchController.java | package com.ctrip.framework.apollo.adminservice.controller;
import com.ctrip.framework.apollo.biz.entity.GrayReleaseRule;
import com.ctrip.framework.apollo.biz.entity.Namespace;
import com.ctrip.framework.apollo.biz.message.MessageSender;
import com.ctrip.framework.apollo.biz.message.Topics;
import com.ctrip.framework... | package com.ctrip.framework.apollo.adminservice.controller;
import com.ctrip.framework.apollo.biz.entity.GrayReleaseRule;
import com.ctrip.framework.apollo.biz.entity.Namespace;
import com.ctrip.framework.apollo.biz.message.MessageSender;
import com.ctrip.framework.apollo.biz.message.Topics;
import com.ctrip.framework... | -1 |
apolloconfig/apollo | 3,594 | replace http client implementation with interface | make it easier to customize http client | vdiskg | 2021-03-10T05:57:10Z | 2021-03-16T00:20:13Z | d6e0b017a6fce1b45d4aa577fd838113f24eb337 | 9f3d315e7e115220f6bbb836a1a8cfb4f4619d2f | replace http client implementation with interface. make it easier to customize http client | ./apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/constant/RoleType.java | package com.ctrip.framework.apollo.portal.constant;
public class RoleType {
public static final String MASTER = "Master";
public static final String MODIFY_NAMESPACE = "ModifyNamespace";
public static final String RELEASE_NAMESPACE = "ReleaseNamespace";
public static boolean isValidRoleType(String roleType... | package com.ctrip.framework.apollo.portal.constant;
public class RoleType {
public static final String MASTER = "Master";
public static final String MODIFY_NAMESPACE = "ModifyNamespace";
public static final String RELEASE_NAMESPACE = "ReleaseNamespace";
public static boolean isValidRoleType(String roleType... | -1 |
apolloconfig/apollo | 3,594 | replace http client implementation with interface | make it easier to customize http client | vdiskg | 2021-03-10T05:57:10Z | 2021-03-16T00:20:13Z | d6e0b017a6fce1b45d4aa577fd838113f24eb337 | 9f3d315e7e115220f6bbb836a1a8cfb4f4619d2f | replace http client implementation with interface. make it easier to customize http client | ./apollo-client/src/main/java/com/ctrip/framework/apollo/internals/LocalFileConfigRepository.java | package com.ctrip.framework.apollo.internals;
import com.ctrip.framework.apollo.enums.ConfigSourceType;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.nio.file.Files;
import java.nio.... | package com.ctrip.framework.apollo.internals;
import com.ctrip.framework.apollo.enums.ConfigSourceType;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.nio.file.Files;
import java.nio.... | -1 |
apolloconfig/apollo | 3,594 | replace http client implementation with interface | make it easier to customize http client | vdiskg | 2021-03-10T05:57:10Z | 2021-03-16T00:20:13Z | d6e0b017a6fce1b45d4aa577fd838113f24eb337 | 9f3d315e7e115220f6bbb836a1a8cfb4f4619d2f | replace http client implementation with interface. make it easier to customize http client | ./apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/entity/model/Verifiable.java | package com.ctrip.framework.apollo.portal.entity.model;
public interface Verifiable {
boolean isInvalid();
}
| package com.ctrip.framework.apollo.portal.entity.model;
public interface Verifiable {
boolean isInvalid();
}
| -1 |
apolloconfig/apollo | 3,594 | replace http client implementation with interface | make it easier to customize http client | vdiskg | 2021-03-10T05:57:10Z | 2021-03-16T00:20:13Z | d6e0b017a6fce1b45d4aa577fd838113f24eb337 | 9f3d315e7e115220f6bbb836a1a8cfb4f4619d2f | replace http client implementation with interface. make it easier to customize http client | ./apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/service/ClusterService.java | package com.ctrip.framework.apollo.portal.service;
import com.ctrip.framework.apollo.common.dto.ClusterDTO;
import com.ctrip.framework.apollo.common.exception.BadRequestException;
import com.ctrip.framework.apollo.portal.environment.Env;
import com.ctrip.framework.apollo.portal.api.AdminServiceAPI;
import com.ctrip.fr... | package com.ctrip.framework.apollo.portal.service;
import com.ctrip.framework.apollo.common.dto.ClusterDTO;
import com.ctrip.framework.apollo.common.exception.BadRequestException;
import com.ctrip.framework.apollo.portal.environment.Env;
import com.ctrip.framework.apollo.portal.api.AdminServiceAPI;
import com.ctrip.fr... | -1 |
apolloconfig/apollo | 3,594 | replace http client implementation with interface | make it easier to customize http client | vdiskg | 2021-03-10T05:57:10Z | 2021-03-16T00:20:13Z | d6e0b017a6fce1b45d4aa577fd838113f24eb337 | 9f3d315e7e115220f6bbb836a1a8cfb4f4619d2f | replace http client implementation with interface. make it easier to customize http client | ./apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/spi/oidc/OidcUserInfoHolder.java | package com.ctrip.framework.apollo.portal.spi.oidc;
import com.ctrip.framework.apollo.portal.entity.bo.UserInfo;
import com.ctrip.framework.apollo.portal.spi.UserInfoHolder;
import java.security.Principal;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.security.core.context.Securit... | package com.ctrip.framework.apollo.portal.spi.oidc;
import com.ctrip.framework.apollo.portal.entity.bo.UserInfo;
import com.ctrip.framework.apollo.portal.spi.UserInfoHolder;
import java.security.Principal;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.security.core.context.Securit... | -1 |
apolloconfig/apollo | 3,594 | replace http client implementation with interface | make it easier to customize http client | vdiskg | 2021-03-10T05:57:10Z | 2021-03-16T00:20:13Z | d6e0b017a6fce1b45d4aa577fd838113f24eb337 | 9f3d315e7e115220f6bbb836a1a8cfb4f4619d2f | replace http client implementation with interface. make it easier to customize http client | ./apollo-common/src/main/java/com/ctrip/framework/apollo/common/controller/CharacterEncodingFilterConfiguration.java | package com.ctrip.framework.apollo.common.controller;
import org.springframework.boot.web.servlet.FilterRegistrationBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.filter.CharacterEncodingFilter;
import javax.servlet... | package com.ctrip.framework.apollo.common.controller;
import org.springframework.boot.web.servlet.FilterRegistrationBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.filter.CharacterEncodingFilter;
import javax.servlet... | -1 |
apolloconfig/apollo | 3,594 | replace http client implementation with interface | make it easier to customize http client | vdiskg | 2021-03-10T05:57:10Z | 2021-03-16T00:20:13Z | d6e0b017a6fce1b45d4aa577fd838113f24eb337 | 9f3d315e7e115220f6bbb836a1a8cfb4f4619d2f | replace http client implementation with interface. make it easier to customize http client | ./apollo-openapi/src/main/java/com/ctrip/framework/apollo/openapi/client/service/ClusterOpenApiService.java | package com.ctrip.framework.apollo.openapi.client.service;
import com.ctrip.framework.apollo.core.ConfigConsts;
import com.ctrip.framework.apollo.openapi.dto.OpenClusterDTO;
import com.google.common.base.Strings;
import com.google.gson.Gson;
import org.apache.http.client.methods.CloseableHttpResponse;
import org.apach... | package com.ctrip.framework.apollo.openapi.client.service;
import com.ctrip.framework.apollo.core.ConfigConsts;
import com.ctrip.framework.apollo.openapi.dto.OpenClusterDTO;
import com.google.common.base.Strings;
import com.google.gson.Gson;
import org.apache.http.client.methods.CloseableHttpResponse;
import org.apach... | -1 |
apolloconfig/apollo | 3,594 | replace http client implementation with interface | make it easier to customize http client | vdiskg | 2021-03-10T05:57:10Z | 2021-03-16T00:20:13Z | d6e0b017a6fce1b45d4aa577fd838113f24eb337 | 9f3d315e7e115220f6bbb836a1a8cfb4f4619d2f | replace http client implementation with interface. make it easier to customize http client | ./apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/controller/ReleaseController.java | package com.ctrip.framework.apollo.portal.controller;
import com.ctrip.framework.apollo.common.dto.ReleaseDTO;
import com.ctrip.framework.apollo.common.exception.BadRequestException;
import com.ctrip.framework.apollo.common.exception.NotFoundException;
import com.ctrip.framework.apollo.portal.environment.Env;
import c... | package com.ctrip.framework.apollo.portal.controller;
import com.ctrip.framework.apollo.common.dto.ReleaseDTO;
import com.ctrip.framework.apollo.common.exception.BadRequestException;
import com.ctrip.framework.apollo.common.exception.NotFoundException;
import com.ctrip.framework.apollo.portal.environment.Env;
import c... | -1 |
apolloconfig/apollo | 3,594 | replace http client implementation with interface | make it easier to customize http client | vdiskg | 2021-03-10T05:57:10Z | 2021-03-16T00:20:13Z | d6e0b017a6fce1b45d4aa577fd838113f24eb337 | 9f3d315e7e115220f6bbb836a1a8cfb4f4619d2f | replace http client implementation with interface. make it easier to customize http client | ./apollo-biz/src/test/java/com/ctrip/framework/apollo/biz/message/ReleaseMessageScannerTest.java | package com.ctrip.framework.apollo.biz.message;
import com.ctrip.framework.apollo.biz.config.BizConfig;
import com.google.common.collect.Lists;
import com.google.common.util.concurrent.SettableFuture;
import com.ctrip.framework.apollo.biz.AbstractUnitTest;
import com.ctrip.framework.apollo.biz.entity.ReleaseMessage;
... | package com.ctrip.framework.apollo.biz.message;
import com.ctrip.framework.apollo.biz.config.BizConfig;
import com.google.common.collect.Lists;
import com.google.common.util.concurrent.SettableFuture;
import com.ctrip.framework.apollo.biz.AbstractUnitTest;
import com.ctrip.framework.apollo.biz.entity.ReleaseMessage;
... | -1 |
apolloconfig/apollo | 3,594 | replace http client implementation with interface | make it easier to customize http client | vdiskg | 2021-03-10T05:57:10Z | 2021-03-16T00:20:13Z | d6e0b017a6fce1b45d4aa577fd838113f24eb337 | 9f3d315e7e115220f6bbb836a1a8cfb4f4619d2f | replace http client implementation with interface. make it easier to customize http client | ./apollo-common/src/main/java/com/ctrip/framework/apollo/common/dto/InstanceConfigDTO.java | package com.ctrip.framework.apollo.common.dto;
import java.util.Date;
/**
* @author Jason Song(song_s@ctrip.com)
*/
public class InstanceConfigDTO {
private ReleaseDTO release;
private Date releaseDeliveryTime;
private Date dataChangeLastModifiedTime;
public ReleaseDTO getRelease() {
return release;
... | package com.ctrip.framework.apollo.common.dto;
import java.util.Date;
/**
* @author Jason Song(song_s@ctrip.com)
*/
public class InstanceConfigDTO {
private ReleaseDTO release;
private Date releaseDeliveryTime;
private Date dataChangeLastModifiedTime;
public ReleaseDTO getRelease() {
return release;
... | -1 |
apolloconfig/apollo | 3,594 | replace http client implementation with interface | make it easier to customize http client | vdiskg | 2021-03-10T05:57:10Z | 2021-03-16T00:20:13Z | d6e0b017a6fce1b45d4aa577fd838113f24eb337 | 9f3d315e7e115220f6bbb836a1a8cfb4f4619d2f | replace http client implementation with interface. make it easier to customize http client | ./apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/repository/ClusterRepository.java | package com.ctrip.framework.apollo.biz.repository;
import com.ctrip.framework.apollo.biz.entity.Cluster;
import org.springframework.data.repository.PagingAndSortingRepository;
import java.util.List;
public interface ClusterRepository extends PagingAndSortingRepository<Cluster, Long> {
List<Cluster> findByAppIdA... | package com.ctrip.framework.apollo.biz.repository;
import com.ctrip.framework.apollo.biz.entity.Cluster;
import org.springframework.data.repository.PagingAndSortingRepository;
import java.util.List;
public interface ClusterRepository extends PagingAndSortingRepository<Cluster, Long> {
List<Cluster> findByAppIdA... | -1 |
apolloconfig/apollo | 3,594 | replace http client implementation with interface | make it easier to customize http client | vdiskg | 2021-03-10T05:57:10Z | 2021-03-16T00:20:13Z | d6e0b017a6fce1b45d4aa577fd838113f24eb337 | 9f3d315e7e115220f6bbb836a1a8cfb4f4619d2f | replace http client implementation with interface. make it easier to customize http client | ./apollo-core/src/main/java/com/ctrip/framework/apollo/core/dto/ServiceDTO.java | package com.ctrip.framework.apollo.core.dto;
public class ServiceDTO {
private String appName;
private String instanceId;
private String homepageUrl;
public String getAppName() {
return appName;
}
public String getHomepageUrl() {
return homepageUrl;
}
public String getInstanceId() {
r... | package com.ctrip.framework.apollo.core.dto;
public class ServiceDTO {
private String appName;
private String instanceId;
private String homepageUrl;
public String getAppName() {
return appName;
}
public String getHomepageUrl() {
return homepageUrl;
}
public String getInstanceId() {
r... | -1 |
apolloconfig/apollo | 3,594 | replace http client implementation with interface | make it easier to customize http client | vdiskg | 2021-03-10T05:57:10Z | 2021-03-16T00:20:13Z | d6e0b017a6fce1b45d4aa577fd838113f24eb337 | 9f3d315e7e115220f6bbb836a1a8cfb4f4619d2f | replace http client implementation with interface. make it easier to customize http client | ./apollo-openapi/src/test/java/com/ctrip/framework/apollo/openapi/client/service/ClusterOpenApiServiceTest.java | package com.ctrip.framework.apollo.openapi.client.service;
import static org.junit.Assert.*;
import static org.mockito.Mockito.times;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
import com.ctrip.framework.apollo.openapi.dto.OpenClusterDTO;
import org.apache.http.client.methods.Ht... | package com.ctrip.framework.apollo.openapi.client.service;
import static org.junit.Assert.*;
import static org.mockito.Mockito.times;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
import com.ctrip.framework.apollo.openapi.dto.OpenClusterDTO;
import org.apache.http.client.methods.Ht... | -1 |
apolloconfig/apollo | 3,594 | replace http client implementation with interface | make it easier to customize http client | vdiskg | 2021-03-10T05:57:10Z | 2021-03-16T00:20:13Z | d6e0b017a6fce1b45d4aa577fd838113f24eb337 | 9f3d315e7e115220f6bbb836a1a8cfb4f4619d2f | replace http client implementation with interface. make it easier to customize http client | ./apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/config/ConfigTest.java | package com.ctrip.framework.apollo.portal.config;
import com.ctrip.framework.apollo.portal.AbstractUnitTest;
import com.ctrip.framework.apollo.portal.component.config.PortalConfig;
import org.junit.Assert;
import org.junit.Test;
import org.mockito.InjectMocks;
import org.mockito.Mock;
import org.springframework.core... | package com.ctrip.framework.apollo.portal.config;
import com.ctrip.framework.apollo.portal.AbstractUnitTest;
import com.ctrip.framework.apollo.portal.component.config.PortalConfig;
import org.junit.Assert;
import org.junit.Test;
import org.mockito.InjectMocks;
import org.mockito.Mock;
import org.springframework.core... | -1 |
apolloconfig/apollo | 3,594 | replace http client implementation with interface | make it easier to customize http client | vdiskg | 2021-03-10T05:57:10Z | 2021-03-16T00:20:13Z | d6e0b017a6fce1b45d4aa577fd838113f24eb337 | 9f3d315e7e115220f6bbb836a1a8cfb4f4619d2f | replace http client implementation with interface. make it easier to customize http client | ./apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/repository/AuditRepository.java | package com.ctrip.framework.apollo.biz.repository;
import com.ctrip.framework.apollo.biz.entity.Audit;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.data.repository.query.Param;
import java.util.List;
public in... | package com.ctrip.framework.apollo.biz.repository;
import com.ctrip.framework.apollo.biz.entity.Audit;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.data.repository.query.Param;
import java.util.List;
public in... | -1 |
apolloconfig/apollo | 3,594 | replace http client implementation with interface | make it easier to customize http client | vdiskg | 2021-03-10T05:57:10Z | 2021-03-16T00:20:13Z | d6e0b017a6fce1b45d4aa577fd838113f24eb337 | 9f3d315e7e115220f6bbb836a1a8cfb4f4619d2f | replace http client implementation with interface. make it easier to customize http client | ./apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/util/ConfigFileUtilsTest.java | package com.ctrip.framework.apollo.portal.util;
import static org.junit.Assert.*;
import com.ctrip.framework.apollo.common.exception.BadRequestException;
import com.ctrip.framework.apollo.core.enums.ConfigFileFormat;
import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class ConfigF... | package com.ctrip.framework.apollo.portal.util;
import static org.junit.Assert.*;
import com.ctrip.framework.apollo.common.exception.BadRequestException;
import com.ctrip.framework.apollo.core.enums.ConfigFileFormat;
import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class ConfigF... | -1 |
apolloconfig/apollo | 3,594 | replace http client implementation with interface | make it easier to customize http client | vdiskg | 2021-03-10T05:57:10Z | 2021-03-16T00:20:13Z | d6e0b017a6fce1b45d4aa577fd838113f24eb337 | 9f3d315e7e115220f6bbb836a1a8cfb4f4619d2f | replace http client implementation with interface. make it easier to customize http client | ./apollo-common/src/main/java/com/ctrip/framework/apollo/common/config/RefreshableConfig.java | package com.ctrip.framework.apollo.common.config;
import com.google.common.base.Splitter;
import com.google.common.base.Strings;
import com.ctrip.framework.apollo.core.utils.ApolloThreadFactory;
import com.ctrip.framework.apollo.tracer.Tracer;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.sprin... | package com.ctrip.framework.apollo.common.config;
import com.google.common.base.Splitter;
import com.google.common.base.Strings;
import com.ctrip.framework.apollo.core.utils.ApolloThreadFactory;
import com.ctrip.framework.apollo.tracer.Tracer;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.sprin... | -1 |
apolloconfig/apollo | 3,594 | replace http client implementation with interface | make it easier to customize http client | vdiskg | 2021-03-10T05:57:10Z | 2021-03-16T00:20:13Z | d6e0b017a6fce1b45d4aa577fd838113f24eb337 | 9f3d315e7e115220f6bbb836a1a8cfb4f4619d2f | replace http client implementation with interface. make it easier to customize http client | ./apollo-client/src/main/java/com/ctrip/framework/apollo/spring/property/SpringValue.java | package com.ctrip.framework.apollo.spring.property;
import java.lang.ref.WeakReference;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.lang.reflect.Type;
import org.springframework.core.MethodParameter;
/**
* Spring @Value method info
... | package com.ctrip.framework.apollo.spring.property;
import java.lang.ref.WeakReference;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.lang.reflect.Type;
import org.springframework.core.MethodParameter;
/**
* Spring @Value method info
... | -1 |
apolloconfig/apollo | 3,594 | replace http client implementation with interface | make it easier to customize http client | vdiskg | 2021-03-10T05:57:10Z | 2021-03-16T00:20:13Z | d6e0b017a6fce1b45d4aa577fd838113f24eb337 | 9f3d315e7e115220f6bbb836a1a8cfb4f4619d2f | replace http client implementation with interface. make it easier to customize http client | ./apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/service/AppService.java | package com.ctrip.framework.apollo.biz.service;
import com.ctrip.framework.apollo.biz.entity.Audit;
import com.ctrip.framework.apollo.biz.repository.AppRepository;
import com.ctrip.framework.apollo.common.entity.App;
import com.ctrip.framework.apollo.common.exception.BadRequestException;
import com.ctrip.framework.apo... | package com.ctrip.framework.apollo.biz.service;
import com.ctrip.framework.apollo.biz.entity.Audit;
import com.ctrip.framework.apollo.biz.repository.AppRepository;
import com.ctrip.framework.apollo.common.entity.App;
import com.ctrip.framework.apollo.common.exception.BadRequestException;
import com.ctrip.framework.apo... | -1 |
apolloconfig/apollo | 3,594 | replace http client implementation with interface | make it easier to customize http client | vdiskg | 2021-03-10T05:57:10Z | 2021-03-16T00:20:13Z | d6e0b017a6fce1b45d4aa577fd838113f24eb337 | 9f3d315e7e115220f6bbb836a1a8cfb4f4619d2f | replace http client implementation with interface. make it easier to customize http client | ./apollo-core/src/main/java/com/ctrip/framework/apollo/core/enums/EnvUtils.java | package com.ctrip.framework.apollo.core.enums;
import com.ctrip.framework.apollo.core.utils.StringUtils;
public final class EnvUtils {
public static Env transformEnv(String envName) {
if (StringUtils.isBlank(envName)) {
return Env.UNKNOWN;
}
switch (envName.trim().toUpperCase()) {
case "L... | package com.ctrip.framework.apollo.core.enums;
import com.ctrip.framework.apollo.core.utils.StringUtils;
public final class EnvUtils {
public static Env transformEnv(String envName) {
if (StringUtils.isBlank(envName)) {
return Env.UNKNOWN;
}
switch (envName.trim().toUpperCase()) {
case "L... | -1 |
apolloconfig/apollo | 3,594 | replace http client implementation with interface | make it easier to customize http client | vdiskg | 2021-03-10T05:57:10Z | 2021-03-16T00:20:13Z | d6e0b017a6fce1b45d4aa577fd838113f24eb337 | 9f3d315e7e115220f6bbb836a1a8cfb4f4619d2f | replace http client implementation with interface. make it easier to customize http client | ./apollo-common/src/main/java/com/ctrip/framework/apollo/common/exception/ServiceException.java | package com.ctrip.framework.apollo.common.exception;
import org.springframework.http.HttpStatus;
public class ServiceException extends AbstractApolloHttpException {
public ServiceException(String str) {
super(str);
setHttpStatus(HttpStatus.INTERNAL_SERVER_ERROR);
}
public ServiceException(String str, ... | package com.ctrip.framework.apollo.common.exception;
import org.springframework.http.HttpStatus;
public class ServiceException extends AbstractApolloHttpException {
public ServiceException(String str) {
super(str);
setHttpStatus(HttpStatus.INTERNAL_SERVER_ERROR);
}
public ServiceException(String str, ... | -1 |
apolloconfig/apollo | 3,594 | replace http client implementation with interface | make it easier to customize http client | vdiskg | 2021-03-10T05:57:10Z | 2021-03-16T00:20:13Z | d6e0b017a6fce1b45d4aa577fd838113f24eb337 | 9f3d315e7e115220f6bbb836a1a8cfb4f4619d2f | replace http client implementation with interface. make it easier to customize http client | ./apollo-client/src/main/java/com/ctrip/framework/apollo/exceptions/ApolloConfigStatusCodeException.java | package com.ctrip.framework.apollo.exceptions;
/**
* @author Jason Song(song_s@ctrip.com)
*/
public class ApolloConfigStatusCodeException extends RuntimeException{
private final int m_statusCode;
public ApolloConfigStatusCodeException(int statusCode, String message) {
super(String.format("[status code: %d] ... | package com.ctrip.framework.apollo.exceptions;
/**
* @author Jason Song(song_s@ctrip.com)
*/
public class ApolloConfigStatusCodeException extends RuntimeException{
private final int m_statusCode;
public ApolloConfigStatusCodeException(int statusCode, String message) {
super(String.format("[status code: %d] ... | -1 |
apolloconfig/apollo | 3,594 | replace http client implementation with interface | make it easier to customize http client | vdiskg | 2021-03-10T05:57:10Z | 2021-03-16T00:20:13Z | d6e0b017a6fce1b45d4aa577fd838113f24eb337 | 9f3d315e7e115220f6bbb836a1a8cfb4f4619d2f | replace http client implementation with interface. make it easier to customize http client | ./apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/message/ReleaseMessageListener.java | package com.ctrip.framework.apollo.biz.message;
import com.ctrip.framework.apollo.biz.entity.ReleaseMessage;
/**
* @author Jason Song(song_s@ctrip.com)
*/
public interface ReleaseMessageListener {
void handleMessage(ReleaseMessage message, String channel);
}
| package com.ctrip.framework.apollo.biz.message;
import com.ctrip.framework.apollo.biz.entity.ReleaseMessage;
/**
* @author Jason Song(song_s@ctrip.com)
*/
public interface ReleaseMessageListener {
void handleMessage(ReleaseMessage message, String channel);
}
| -1 |
apolloconfig/apollo | 3,594 | replace http client implementation with interface | make it easier to customize http client | vdiskg | 2021-03-10T05:57:10Z | 2021-03-16T00:20:13Z | d6e0b017a6fce1b45d4aa577fd838113f24eb337 | 9f3d315e7e115220f6bbb836a1a8cfb4f4619d2f | replace http client implementation with interface. make it easier to customize http client | ./apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/controller/CommitControllerTest.java | package com.ctrip.framework.apollo.portal.controller;
import com.ctrip.framework.apollo.portal.AbstractIntegrationTest;
import java.util.List;
import org.junit.Test;
import org.springframework.web.client.HttpClientErrorException;
import static org.hamcrest.core.StringContains.containsString;
import static org.junit.As... | package com.ctrip.framework.apollo.portal.controller;
import com.ctrip.framework.apollo.portal.AbstractIntegrationTest;
import java.util.List;
import org.junit.Test;
import org.springframework.web.client.HttpClientErrorException;
import static org.hamcrest.core.StringContains.containsString;
import static org.junit.As... | -1 |
apolloconfig/apollo | 3,594 | replace http client implementation with interface | make it easier to customize http client | vdiskg | 2021-03-10T05:57:10Z | 2021-03-16T00:20:13Z | d6e0b017a6fce1b45d4aa577fd838113f24eb337 | 9f3d315e7e115220f6bbb836a1a8cfb4f4619d2f | replace http client implementation with interface. make it easier to customize http client | ./apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/spi/package-info.java | /**
* This package defines common interfaces so that each company could provide their own implementations.<br/>
* Currently we provide 2 implementations: Ctrip and Default.<br/>
* Ctrip implementation will be activated only when spring.profiles.active = ctrip.
* So if spring.profiles.active is not ctrip, the defaul... | /**
* This package defines common interfaces so that each company could provide their own implementations.<br/>
* Currently we provide 2 implementations: Ctrip and Default.<br/>
* Ctrip implementation will be activated only when spring.profiles.active = ctrip.
* So if spring.profiles.active is not ctrip, the defaul... | -1 |
apolloconfig/apollo | 3,594 | replace http client implementation with interface | make it easier to customize http client | vdiskg | 2021-03-10T05:57:10Z | 2021-03-16T00:20:13Z | d6e0b017a6fce1b45d4aa577fd838113f24eb337 | 9f3d315e7e115220f6bbb836a1a8cfb4f4619d2f | replace http client implementation with interface. make it easier to customize http client | ./apollo-core/src/main/java/com/ctrip/framework/apollo/core/utils/ByteUtil.java | package com.ctrip.framework.apollo.core.utils;
/**
* @author Jason Song(song_s@ctrip.com)
*/
public class ByteUtil {
private static final char[] HEX_CHARS = new char[] {
'0', '1', '2', '3', '4', '5', '6', '7',
'8', '9', 'a', 'b', 'c', 'd', 'e', 'f' };
public static byte int3(final int x) {
retur... | package com.ctrip.framework.apollo.core.utils;
/**
* @author Jason Song(song_s@ctrip.com)
*/
public class ByteUtil {
private static final char[] HEX_CHARS = new char[] {
'0', '1', '2', '3', '4', '5', '6', '7',
'8', '9', 'a', 'b', 'c', 'd', 'e', 'f' };
public static byte int3(final int x) {
retur... | -1 |
apolloconfig/apollo | 3,594 | replace http client implementation with interface | make it easier to customize http client | vdiskg | 2021-03-10T05:57:10Z | 2021-03-16T00:20:13Z | d6e0b017a6fce1b45d4aa577fd838113f24eb337 | 9f3d315e7e115220f6bbb836a1a8cfb4f4619d2f | replace http client implementation with interface. make it easier to customize http client | ./apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/repository/InstanceRepository.java | package com.ctrip.framework.apollo.biz.repository;
import com.ctrip.framework.apollo.biz.entity.Instance;
import org.springframework.data.repository.PagingAndSortingRepository;
public interface InstanceRepository extends PagingAndSortingRepository<Instance, Long> {
Instance findByAppIdAndClusterNameAndDataCenterAn... | package com.ctrip.framework.apollo.biz.repository;
import com.ctrip.framework.apollo.biz.entity.Instance;
import org.springframework.data.repository.PagingAndSortingRepository;
public interface InstanceRepository extends PagingAndSortingRepository<Instance, Long> {
Instance findByAppIdAndClusterNameAndDataCenterAn... | -1 |
apolloconfig/apollo | 3,594 | replace http client implementation with interface | make it easier to customize http client | vdiskg | 2021-03-10T05:57:10Z | 2021-03-16T00:20:13Z | d6e0b017a6fce1b45d4aa577fd838113f24eb337 | 9f3d315e7e115220f6bbb836a1a8cfb4f4619d2f | replace http client implementation with interface. make it easier to customize http client | ./apollo-openapi/src/test/java/com/ctrip/framework/apollo/openapi/client/service/AbstractOpenApiServiceTest.java | package com.ctrip.framework.apollo.openapi.client.service;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.Mockito.when;
import com.ctrip.framework.apollo.openapi.client.constant.ApolloOpenApiConstants;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import org.apache.http.S... | package com.ctrip.framework.apollo.openapi.client.service;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.Mockito.when;
import com.ctrip.framework.apollo.openapi.client.constant.ApolloOpenApiConstants;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import org.apache.http.S... | -1 |
apolloconfig/apollo | 3,594 | replace http client implementation with interface | make it easier to customize http client | vdiskg | 2021-03-10T05:57:10Z | 2021-03-16T00:20:13Z | d6e0b017a6fce1b45d4aa577fd838113f24eb337 | 9f3d315e7e115220f6bbb836a1a8cfb4f4619d2f | replace http client implementation with interface. make it easier to customize http client | ./apollo-biz/src/test/java/com/ctrip/framework/apollo/biz/service/BizDBPropertySourceTest.java | package com.ctrip.framework.apollo.biz.service;
import com.google.common.collect.Lists;
import com.ctrip.framework.apollo.biz.AbstractUnitTest;
import com.ctrip.framework.apollo.biz.MockBeanFactory;
import com.ctrip.framework.apollo.biz.entity.ServerConfig;
import com.ctrip.framework.apollo.biz.repository.ServerConfi... | package com.ctrip.framework.apollo.biz.service;
import com.google.common.collect.Lists;
import com.ctrip.framework.apollo.biz.AbstractUnitTest;
import com.ctrip.framework.apollo.biz.MockBeanFactory;
import com.ctrip.framework.apollo.biz.entity.ServerConfig;
import com.ctrip.framework.apollo.biz.repository.ServerConfi... | -1 |
apolloconfig/apollo | 3,594 | replace http client implementation with interface | make it easier to customize http client | vdiskg | 2021-03-10T05:57:10Z | 2021-03-16T00:20:13Z | d6e0b017a6fce1b45d4aa577fd838113f24eb337 | 9f3d315e7e115220f6bbb836a1a8cfb4f4619d2f | replace http client implementation with interface. make it easier to customize http client | ./apollo-core/src/main/java/com/ctrip/framework/foundation/internals/provider/DefaultServerProvider.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | -1 |
apolloconfig/apollo | 3,594 | replace http client implementation with interface | make it easier to customize http client | vdiskg | 2021-03-10T05:57:10Z | 2021-03-16T00:20:13Z | d6e0b017a6fce1b45d4aa577fd838113f24eb337 | 9f3d315e7e115220f6bbb836a1a8cfb4f4619d2f | replace http client implementation with interface. make it easier to customize http client | ./apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/service/NamespaceBranchService.java | package com.ctrip.framework.apollo.portal.service;
import com.ctrip.framework.apollo.common.dto.GrayReleaseRuleDTO;
import com.ctrip.framework.apollo.common.dto.ItemChangeSets;
import com.ctrip.framework.apollo.common.dto.ItemDTO;
import com.ctrip.framework.apollo.common.dto.NamespaceDTO;
import com.ctrip.framework.ap... | package com.ctrip.framework.apollo.portal.service;
import com.ctrip.framework.apollo.common.dto.GrayReleaseRuleDTO;
import com.ctrip.framework.apollo.common.dto.ItemChangeSets;
import com.ctrip.framework.apollo.common.dto.ItemDTO;
import com.ctrip.framework.apollo.common.dto.NamespaceDTO;
import com.ctrip.framework.ap... | -1 |
apolloconfig/apollo | 3,594 | replace http client implementation with interface | make it easier to customize http client | vdiskg | 2021-03-10T05:57:10Z | 2021-03-16T00:20:13Z | d6e0b017a6fce1b45d4aa577fd838113f24eb337 | 9f3d315e7e115220f6bbb836a1a8cfb4f4619d2f | replace http client implementation with interface. make it easier to customize http client | ./apollo-openapi/src/main/java/com/ctrip/framework/apollo/openapi/dto/NamespaceGrayDelReleaseDTO.java | package com.ctrip.framework.apollo.openapi.dto;
import java.util.Set;
public class NamespaceGrayDelReleaseDTO extends NamespaceReleaseDTO {
private Set<String> grayDelKeys;
public Set<String> getGrayDelKeys() {
return grayDelKeys;
}
public void setGrayDelKeys(Set<String> grayDelKeys) {
... | package com.ctrip.framework.apollo.openapi.dto;
import java.util.Set;
public class NamespaceGrayDelReleaseDTO extends NamespaceReleaseDTO {
private Set<String> grayDelKeys;
public Set<String> getGrayDelKeys() {
return grayDelKeys;
}
public void setGrayDelKeys(Set<String> grayDelKeys) {
... | -1 |
apolloconfig/apollo | 3,594 | replace http client implementation with interface | make it easier to customize http client | vdiskg | 2021-03-10T05:57:10Z | 2021-03-16T00:20:13Z | d6e0b017a6fce1b45d4aa577fd838113f24eb337 | 9f3d315e7e115220f6bbb836a1a8cfb4f4619d2f | replace http client implementation with interface. make it easier to customize http client | ./apollo-core/src/test/java/com/ctrip/framework/apollo/BaseIntegrationTest.java | package com.ctrip.framework.apollo;
import static org.mockito.ArgumentMatchers.anyString;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
import com.ctrip.framework.apollo.tracer.internals.MockMessageProducerManager;
import com.ctrip.framework.apollo.tracer.spi.MessageProducer;
import ... | package com.ctrip.framework.apollo;
import static org.mockito.ArgumentMatchers.anyString;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
import com.ctrip.framework.apollo.tracer.internals.MockMessageProducerManager;
import com.ctrip.framework.apollo.tracer.spi.MessageProducer;
import ... | -1 |
apolloconfig/apollo | 3,594 | replace http client implementation with interface | make it easier to customize http client | vdiskg | 2021-03-10T05:57:10Z | 2021-03-16T00:20:13Z | d6e0b017a6fce1b45d4aa577fd838113f24eb337 | 9f3d315e7e115220f6bbb836a1a8cfb4f4619d2f | replace http client implementation with interface. make it easier to customize http client | ./apollo-biz/src/test/java/com/ctrip/framework/apollo/biz/repository/InstanceConfigRepositoryTest.java | package com.ctrip.framework.apollo.biz.repository;
import com.ctrip.framework.apollo.biz.AbstractIntegrationTest;
import com.ctrip.framework.apollo.biz.entity.Instance;
import com.ctrip.framework.apollo.biz.entity.InstanceConfig;
import java.util.Date;
import org.junit.Test;
import org.springframework.beans.factory.an... | package com.ctrip.framework.apollo.biz.repository;
import com.ctrip.framework.apollo.biz.AbstractIntegrationTest;
import com.ctrip.framework.apollo.biz.entity.Instance;
import com.ctrip.framework.apollo.biz.entity.InstanceConfig;
import java.util.Date;
import org.junit.Test;
import org.springframework.beans.factory.an... | -1 |
apolloconfig/apollo | 3,594 | replace http client implementation with interface | make it easier to customize http client | vdiskg | 2021-03-10T05:57:10Z | 2021-03-16T00:20:13Z | d6e0b017a6fce1b45d4aa577fd838113f24eb337 | 9f3d315e7e115220f6bbb836a1a8cfb4f4619d2f | replace http client implementation with interface. make it easier to customize http client | ./apollo-client/src/main/java/com/ctrip/framework/apollo/spring/config/PropertySourcesConstants.java | package com.ctrip.framework.apollo.spring.config;
public interface PropertySourcesConstants {
String APOLLO_PROPERTY_SOURCE_NAME = "ApolloPropertySources";
String APOLLO_BOOTSTRAP_PROPERTY_SOURCE_NAME = "ApolloBootstrapPropertySources";
String APOLLO_BOOTSTRAP_ENABLED = "apollo.bootstrap.enabled";
String APOLL... | package com.ctrip.framework.apollo.spring.config;
public interface PropertySourcesConstants {
String APOLLO_PROPERTY_SOURCE_NAME = "ApolloPropertySources";
String APOLLO_BOOTSTRAP_PROPERTY_SOURCE_NAME = "ApolloBootstrapPropertySources";
String APOLLO_BOOTSTRAP_ENABLED = "apollo.bootstrap.enabled";
String APOLL... | -1 |
apolloconfig/apollo | 3,594 | replace http client implementation with interface | make it easier to customize http client | vdiskg | 2021-03-10T05:57:10Z | 2021-03-16T00:20:13Z | d6e0b017a6fce1b45d4aa577fd838113f24eb337 | 9f3d315e7e115220f6bbb836a1a8cfb4f4619d2f | replace http client implementation with interface. make it easier to customize http client | ./apollo-configservice/src/test/java/com/ctrip/framework/apollo/configservice/util/InstanceConfigAuditUtilTest.java | package com.ctrip.framework.apollo.configservice.util;
import com.ctrip.framework.apollo.biz.entity.Instance;
import com.ctrip.framework.apollo.biz.entity.InstanceConfig;
import com.ctrip.framework.apollo.biz.service.InstanceService;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
impo... | package com.ctrip.framework.apollo.configservice.util;
import com.ctrip.framework.apollo.biz.entity.Instance;
import com.ctrip.framework.apollo.biz.entity.InstanceConfig;
import com.ctrip.framework.apollo.biz.service.InstanceService;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
impo... | -1 |
apolloconfig/apollo | 3,594 | replace http client implementation with interface | make it easier to customize http client | vdiskg | 2021-03-10T05:57:10Z | 2021-03-16T00:20:13Z | d6e0b017a6fce1b45d4aa577fd838113f24eb337 | 9f3d315e7e115220f6bbb836a1a8cfb4f4619d2f | replace http client implementation with interface. make it easier to customize http client | ./apollo-configservice/src/test/java/com/ctrip/framework/apollo/configservice/service/config/ConfigServiceWithCacheTest.java | package com.ctrip.framework.apollo.configservice.service.config;
import com.ctrip.framework.apollo.core.dto.ApolloNotificationMessages;
import com.google.common.collect.Lists;
import com.ctrip.framework.apollo.biz.entity.Release;
import com.ctrip.framework.apollo.biz.entity.ReleaseMessage;
import com.ctrip.framework.... | package com.ctrip.framework.apollo.configservice.service.config;
import com.ctrip.framework.apollo.core.dto.ApolloNotificationMessages;
import com.google.common.collect.Lists;
import com.ctrip.framework.apollo.biz.entity.Release;
import com.ctrip.framework.apollo.biz.entity.ReleaseMessage;
import com.ctrip.framework.... | -1 |
apolloconfig/apollo | 3,594 | replace http client implementation with interface | make it easier to customize http client | vdiskg | 2021-03-10T05:57:10Z | 2021-03-16T00:20:13Z | d6e0b017a6fce1b45d4aa577fd838113f24eb337 | 9f3d315e7e115220f6bbb836a1a8cfb4f4619d2f | replace http client implementation with interface. make it easier to customize http client | ./apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/service/FavoriteServiceTest.java | package com.ctrip.framework.apollo.portal.service;
import com.ctrip.framework.apollo.common.exception.BadRequestException;
import com.ctrip.framework.apollo.portal.AbstractIntegrationTest;
import com.ctrip.framework.apollo.portal.entity.po.Favorite;
import com.ctrip.framework.apollo.portal.repository.FavoriteRepositor... | package com.ctrip.framework.apollo.portal.service;
import com.ctrip.framework.apollo.common.exception.BadRequestException;
import com.ctrip.framework.apollo.portal.AbstractIntegrationTest;
import com.ctrip.framework.apollo.portal.entity.po.Favorite;
import com.ctrip.framework.apollo.portal.repository.FavoriteRepositor... | -1 |
apolloconfig/apollo | 3,594 | replace http client implementation with interface | make it easier to customize http client | vdiskg | 2021-03-10T05:57:10Z | 2021-03-16T00:20:13Z | d6e0b017a6fce1b45d4aa577fd838113f24eb337 | 9f3d315e7e115220f6bbb836a1a8cfb4f4619d2f | replace http client implementation with interface. make it easier to customize http client | ./apollo-openapi/src/main/java/com/ctrip/framework/apollo/openapi/dto/OpenGrayReleaseRuleDTO.java | package com.ctrip.framework.apollo.openapi.dto;
import java.util.Set;
public class OpenGrayReleaseRuleDTO extends BaseDTO{
private String appId;
private String clusterName;
private String namespaceName;
private String branchName;
private Set<OpenGrayReleaseRuleItemDTO> ruleItems;
public S... | package com.ctrip.framework.apollo.openapi.dto;
import java.util.Set;
public class OpenGrayReleaseRuleDTO extends BaseDTO{
private String appId;
private String clusterName;
private String namespaceName;
private String branchName;
private Set<OpenGrayReleaseRuleItemDTO> ruleItems;
public S... | -1 |
apolloconfig/apollo | 3,594 | replace http client implementation with interface | make it easier to customize http client | vdiskg | 2021-03-10T05:57:10Z | 2021-03-16T00:20:13Z | d6e0b017a6fce1b45d4aa577fd838113f24eb337 | 9f3d315e7e115220f6bbb836a1a8cfb4f4619d2f | replace http client implementation with interface. make it easier to customize http client | ./apollo-client/src/main/java/com/ctrip/framework/apollo/internals/PlainTextConfigFile.java | package com.ctrip.framework.apollo.internals;
import com.ctrip.framework.apollo.core.ConfigConsts;
import java.util.Properties;
/**
* @author Jason Song(song_s@ctrip.com)
*/
public abstract class PlainTextConfigFile extends AbstractConfigFile {
public PlainTextConfigFile(String namespace, ConfigRepository config... | package com.ctrip.framework.apollo.internals;
import com.ctrip.framework.apollo.core.ConfigConsts;
import java.util.Properties;
/**
* @author Jason Song(song_s@ctrip.com)
*/
public abstract class PlainTextConfigFile extends AbstractConfigFile {
public PlainTextConfigFile(String namespace, ConfigRepository config... | -1 |
apolloconfig/apollo | 3,594 | replace http client implementation with interface | make it easier to customize http client | vdiskg | 2021-03-10T05:57:10Z | 2021-03-16T00:20:13Z | d6e0b017a6fce1b45d4aa577fd838113f24eb337 | 9f3d315e7e115220f6bbb836a1a8cfb4f4619d2f | replace http client implementation with interface. make it easier to customize http client | ./apollo-portal/src/test/java/com/ctrip/framework/apollo/openapi/util/ConsumerAuthUtilTest.java | package com.ctrip.framework.apollo.openapi.util;
import com.ctrip.framework.apollo.openapi.service.ConsumerService;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Mock;
import org.mockito.junit.MockitoJUnitRunner;
import javax.servlet.http.HttpServletRequest;
impo... | package com.ctrip.framework.apollo.openapi.util;
import com.ctrip.framework.apollo.openapi.service.ConsumerService;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Mock;
import org.mockito.junit.MockitoJUnitRunner;
import javax.servlet.http.HttpServletRequest;
impo... | -1 |
apolloconfig/apollo | 3,594 | replace http client implementation with interface | make it easier to customize http client | vdiskg | 2021-03-10T05:57:10Z | 2021-03-16T00:20:13Z | d6e0b017a6fce1b45d4aa577fd838113f24eb337 | 9f3d315e7e115220f6bbb836a1a8cfb4f4619d2f | replace http client implementation with interface. make it easier to customize http client | ./apollo-demo/src/main/resources/META-INF/app.properties | # test
app.id=100004458
| # test
app.id=100004458
| -1 |
apolloconfig/apollo | 3,594 | replace http client implementation with interface | make it easier to customize http client | vdiskg | 2021-03-10T05:57:10Z | 2021-03-16T00:20:13Z | d6e0b017a6fce1b45d4aa577fd838113f24eb337 | 9f3d315e7e115220f6bbb836a1a8cfb4f4619d2f | replace http client implementation with interface. make it easier to customize http client | ./apollo-biz/src/test/resources/data.sql | INSERT INTO AppNamespace (AppId, Name, IsPublic) VALUES ('100003171', 'application', false);
INSERT INTO AppNamespace (AppId, Name, IsPublic) VALUES ('100003171', 'fx.apollo.config', true);
INSERT INTO AppNamespace (AppId, Name, IsPublic) VALUES ('100003172', 'application', false);
INSERT INTO AppNamespace (AppId, Name... | INSERT INTO AppNamespace (AppId, Name, IsPublic) VALUES ('100003171', 'application', false);
INSERT INTO AppNamespace (AppId, Name, IsPublic) VALUES ('100003171', 'fx.apollo.config', true);
INSERT INTO AppNamespace (AppId, Name, IsPublic) VALUES ('100003172', 'application', false);
INSERT INTO AppNamespace (AppId, Name... | -1 |
apolloconfig/apollo | 3,594 | replace http client implementation with interface | make it easier to customize http client | vdiskg | 2021-03-10T05:57:10Z | 2021-03-16T00:20:13Z | d6e0b017a6fce1b45d4aa577fd838113f24eb337 | 9f3d315e7e115220f6bbb836a1a8cfb4f4619d2f | replace http client implementation with interface. make it easier to customize http client | ./apollo-portal/src/test/java/com/ctrip/framework/apollo/openapi/v1/controller/NamespaceControllerTest.java | package com.ctrip.framework.apollo.openapi.v1.controller;
import com.ctrip.framework.apollo.common.utils.InputValidator;
import com.ctrip.framework.apollo.core.enums.ConfigFileFormat;
import com.ctrip.framework.apollo.openapi.auth.ConsumerPermissionValidator;
import com.ctrip.framework.apollo.openapi.dto.OpenAppNamesp... | package com.ctrip.framework.apollo.openapi.v1.controller;
import com.ctrip.framework.apollo.common.utils.InputValidator;
import com.ctrip.framework.apollo.core.enums.ConfigFileFormat;
import com.ctrip.framework.apollo.openapi.auth.ConsumerPermissionValidator;
import com.ctrip.framework.apollo.openapi.dto.OpenAppNamesp... | -1 |
apolloconfig/apollo | 3,594 | replace http client implementation with interface | make it easier to customize http client | vdiskg | 2021-03-10T05:57:10Z | 2021-03-16T00:20:13Z | d6e0b017a6fce1b45d4aa577fd838113f24eb337 | 9f3d315e7e115220f6bbb836a1a8cfb4f4619d2f | replace http client implementation with interface. make it easier to customize http client | ./apollo-configservice/src/main/java/com/ctrip/framework/apollo/configservice/controller/ConfigController.java | package com.ctrip.framework.apollo.configservice.controller;
import com.ctrip.framework.apollo.biz.entity.Release;
import com.ctrip.framework.apollo.common.entity.AppNamespace;
import com.ctrip.framework.apollo.configservice.service.AppNamespaceServiceWithCache;
import com.ctrip.framework.apollo.configservice.service.... | package com.ctrip.framework.apollo.configservice.controller;
import com.ctrip.framework.apollo.biz.entity.Release;
import com.ctrip.framework.apollo.common.entity.AppNamespace;
import com.ctrip.framework.apollo.configservice.service.AppNamespaceServiceWithCache;
import com.ctrip.framework.apollo.configservice.service.... | -1 |
apolloconfig/apollo | 3,594 | replace http client implementation with interface | make it easier to customize http client | vdiskg | 2021-03-10T05:57:10Z | 2021-03-16T00:20:13Z | d6e0b017a6fce1b45d4aa577fd838113f24eb337 | 9f3d315e7e115220f6bbb836a1a8cfb4f4619d2f | replace http client implementation with interface. make it easier to customize http client | ./.git/hooks/commit-msg.sample | #!/bin/sh
#
# An example hook script to check the commit log message.
# Called by "git commit" with one argument, the name of the file
# that has the commit message. The hook should exit with non-zero
# status after issuing an appropriate message if it wants to stop the
# commit. The hook is allowed to edit the commi... | #!/bin/sh
#
# An example hook script to check the commit log message.
# Called by "git commit" with one argument, the name of the file
# that has the commit message. The hook should exit with non-zero
# status after issuing an appropriate message if it wants to stop the
# commit. The hook is allowed to edit the commi... | -1 |
apolloconfig/apollo | 3,594 | replace http client implementation with interface | make it easier to customize http client | vdiskg | 2021-03-10T05:57:10Z | 2021-03-16T00:20:13Z | d6e0b017a6fce1b45d4aa577fd838113f24eb337 | 9f3d315e7e115220f6bbb836a1a8cfb4f4619d2f | replace http client implementation with interface. make it easier to customize http client | ./doc/images/app-created.png | PNG
IHDR
iCCPICC Profile HT̤ZBޑN 5A: %A
(""X**EւX-
,
Xxyߜo|on= G(Le Hd\QLS 4n%017=>EqxZ!ˋM K禠|3\( M:C8(Eh(YY=3'$
Q G =ZgfrQ
eS/@eGnr>F))|eщfDÉ.Ld#%Y<
4) " tdkV+aA̒9fp;tnQsα8)e9g9IK$l Ǧ{qߓ=9 !s[2Is$u8HsS)q9H!B/CRJ3\%$`ɳDONd}; ~X3@Flnl?>!邞X... | PNG
IHDR
iCCPICC Profile HT̤ZBޑN 5A: %A
(""X**EւX-
,
Xxyߜo|on= G(Le Hd\QLS 4n%017=>EqxZ!ˋM K禠|3\( M:C8(Eh(YY=3'$
Q G =ZgfrQ
eS/@eGnr>F))|eщfDÉ.Ld#%Y<
4) " tdkV+aA̒9fp;tnQsα8)e9g9IK$l Ǧ{qߓ=9 !s[2Is$u8HsS)q9H!B/CRJ3\%$`ɳDONd}; ~X3@Flnl?>!邞X... | -1 |
apolloconfig/apollo | 3,594 | replace http client implementation with interface | make it easier to customize http client | vdiskg | 2021-03-10T05:57:10Z | 2021-03-16T00:20:13Z | d6e0b017a6fce1b45d4aa577fd838113f24eb337 | 9f3d315e7e115220f6bbb836a1a8cfb4f4619d2f | replace http client implementation with interface. make it easier to customize http client | ./mvnw.cmd | @REM ----------------------------------------------------------------------------
@REM Licensed to the Apache Software Foundation (ASF) under one
@REM or more contributor license agreements. See the NOTICE file
@REM distributed with this work for additional information
@REM regarding copyright ownership. The ASF lice... | @REM ----------------------------------------------------------------------------
@REM Licensed to the Apache Software Foundation (ASF) under one
@REM or more contributor license agreements. See the NOTICE file
@REM distributed with this work for additional information
@REM regarding copyright ownership. The ASF lice... | -1 |
apolloconfig/apollo | 3,594 | replace http client implementation with interface | make it easier to customize http client | vdiskg | 2021-03-10T05:57:10Z | 2021-03-16T00:20:13Z | d6e0b017a6fce1b45d4aa577fd838113f24eb337 | 9f3d315e7e115220f6bbb836a1a8cfb4f4619d2f | replace http client implementation with interface. make it easier to customize http client | ./apollo-configservice/src/test/java/com/ctrip/framework/apollo/configservice/integration/ConfigFileControllerIntegrationTest.java | package com.ctrip.framework.apollo.configservice.integration;
import com.ctrip.framework.apollo.configservice.service.AppNamespaceServiceWithCache;
import com.google.common.base.Joiner;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.Lists;
import com.google.common.reflect.TypeToken;
im... | package com.ctrip.framework.apollo.configservice.integration;
import com.ctrip.framework.apollo.configservice.service.AppNamespaceServiceWithCache;
import com.google.common.base.Joiner;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.Lists;
import com.google.common.reflect.TypeToken;
im... | -1 |
apolloconfig/apollo | 3,594 | replace http client implementation with interface | make it easier to customize http client | vdiskg | 2021-03-10T05:57:10Z | 2021-03-16T00:20:13Z | d6e0b017a6fce1b45d4aa577fd838113f24eb337 | 9f3d315e7e115220f6bbb836a1a8cfb4f4619d2f | replace http client implementation with interface. make it easier to customize http client | ./apollo-portal/src/main/resources/static/img/more.png | PNG
IHDR X IDATx^KVt{
h4hl@PZAK+i*Z4^ (̭s'd^UTfčqDdwO i 4ِ ,O t < |