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 contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. - [x] Write necessary unit tests to verify the code. - [x] Run `mvn clean test` to make sure this pull request doesn't break anything.
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 DefaultInjector Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. - [x] Write necessary unit tests to verify the code. - [x] Run `mvn clean test` to make sure this pull request doesn't break anything.
./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; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.builder.SpringApplicationBuilder; import org.springframework.context.ApplicationContext; import com.ctrip.framework.apollo.demo.spring.common.bean.AnnotatedBean; import com.google.common.base.Charsets; import com.google.common.base.Strings; /** * @author Jason Song([email protected]) */ @SpringBootApplication(scanBasePackages = {"com.ctrip.framework.apollo.demo.spring.common", "com.ctrip.framework.apollo.demo.spring.springBootDemo" }) public class SpringBootSampleApplication { public static void main(String[] args) throws IOException { ApplicationContext context = new SpringApplicationBuilder(SpringBootSampleApplication.class).run(args); AnnotatedBean annotatedBean = context.getBean(AnnotatedBean.class); SampleRedisConfig redisConfig = null; try { redisConfig = context.getBean(SampleRedisConfig.class); } catch (NoSuchBeanDefinitionException ex) { System.out.println("SampleRedisConfig is null, 'redis.cache.enabled' must have been set to false."); } System.out.println("SpringBootSampleApplication Demo. Input any key except quit to print the values. Input quit to exit."); while (true) { System.out.print("> "); String input = new BufferedReader(new InputStreamReader(System.in, Charsets.UTF_8)).readLine(); if (!Strings.isNullOrEmpty(input) && input.trim().equalsIgnoreCase("quit")) { System.exit(0); } System.out.println(annotatedBean.toString()); if (redisConfig != null) { System.out.println(redisConfig.toString()); } } } }
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; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.builder.SpringApplicationBuilder; import org.springframework.context.ApplicationContext; import com.ctrip.framework.apollo.demo.spring.common.bean.AnnotatedBean; import com.google.common.base.Charsets; import com.google.common.base.Strings; /** * @author Jason Song([email protected]) */ @SpringBootApplication(scanBasePackages = {"com.ctrip.framework.apollo.demo.spring.common", "com.ctrip.framework.apollo.demo.spring.springBootDemo" }) public class SpringBootSampleApplication { public static void main(String[] args) throws IOException { ApplicationContext context = new SpringApplicationBuilder(SpringBootSampleApplication.class).run(args); AnnotatedBean annotatedBean = context.getBean(AnnotatedBean.class); SampleRedisConfig redisConfig = null; try { redisConfig = context.getBean(SampleRedisConfig.class); } catch (NoSuchBeanDefinitionException ex) { System.out.println("SampleRedisConfig is null, 'redis.cache.enabled' must have been set to false."); } System.out.println("SpringBootSampleApplication Demo. Input any key except quit to print the values. Input quit to exit."); while (true) { System.out.print("> "); String input = new BufferedReader(new InputStreamReader(System.in, Charsets.UTF_8)).readLine(); if (!Strings.isNullOrEmpty(input) && input.trim().equalsIgnoreCase("quit")) { System.exit(0); } System.out.println(annotatedBean.toString()); if (redisConfig != null) { System.out.println(redisConfig.toString()); } } } }
-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 contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. - [x] Write necessary unit tests to verify the code. - [x] Run `mvn clean test` to make sure this pull request doesn't break anything.
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 DefaultInjector Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. - [x] Write necessary unit tests to verify the code. - [x] Run `mvn clean test` to make sure this pull request doesn't break anything.
./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 static org.mockito.ArgumentMatchers.isNull; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.never; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; import com.ctrip.framework.apollo.common.exception.ServiceException; import com.ctrip.framework.apollo.core.dto.ServiceDTO; import com.ctrip.framework.apollo.portal.component.AdminServiceAddressLocator; import com.ctrip.framework.apollo.portal.component.RetryableRestTemplate; import com.ctrip.framework.apollo.portal.component.config.PortalConfig; import com.ctrip.framework.apollo.portal.environment.Env; import com.ctrip.framework.apollo.portal.environment.PortalMetaDomainService; import com.google.common.collect.Maps; import com.google.gson.Gson; import java.net.SocketTimeoutException; import java.util.Arrays; import java.util.Collections; import java.util.List; import java.util.Map; import org.apache.http.HttpHost; import org.apache.http.conn.ConnectTimeoutException; import org.apache.http.conn.HttpHostConnectException; import org.junit.Before; import org.junit.Test; import org.mockito.ArgumentCaptor; import org.mockito.InjectMocks; import org.mockito.Mock; import org.springframework.core.ParameterizedTypeReference; import org.springframework.http.HttpEntity; import org.springframework.http.HttpHeaders; import org.springframework.http.HttpMethod; import org.springframework.http.ResponseEntity; import org.springframework.web.client.ResourceAccessException; import org.springframework.web.client.RestTemplate; public class RetryableRestTemplateTest extends AbstractUnitTest { @Mock private AdminServiceAddressLocator serviceAddressLocator; @Mock private RestTemplate restTemplate; @Mock private PortalMetaDomainService portalMetaDomainService; @Mock private PortalConfig portalConfig; @InjectMocks private RetryableRestTemplate retryableRestTemplate; private static final Gson GSON = new Gson(); private String path = "app"; private String serviceOne = "http://10.0.0.1"; private String serviceTwo = "http://10.0.0.2"; private String serviceThree = "http://10.0.0.3"; private ResourceAccessException socketTimeoutException = new ResourceAccessException(""); private ResourceAccessException httpHostConnectException = new ResourceAccessException(""); private ResourceAccessException connectTimeoutException = new ResourceAccessException(""); private Object request = new Object(); private Object result = new Object(); private Class<?> requestType = request.getClass(); @Before public void init() { socketTimeoutException.initCause(new SocketTimeoutException()); httpHostConnectException .initCause(new HttpHostConnectException(new ConnectTimeoutException(), new HttpHost(serviceOne, 80))); connectTimeoutException.initCause(new ConnectTimeoutException()); } @Test(expected = ServiceException.class) public void testNoAdminServer() { when(serviceAddressLocator.getServiceList(any())).thenReturn(Collections.emptyList()); retryableRestTemplate.get(Env.DEV, path, Object.class); } @Test(expected = ServiceException.class) public void testAllServerDown() { when(serviceAddressLocator.getServiceList(any())) .thenReturn(Arrays .asList(mockService(serviceOne), mockService(serviceTwo), mockService(serviceThree))); when(restTemplate .exchange(eq(serviceOne + "/" + path), eq(HttpMethod.GET), any(HttpEntity.class), eq(Object.class))).thenThrow(socketTimeoutException); when(restTemplate .exchange(eq(serviceTwo + "/" + path), eq(HttpMethod.GET), any(HttpEntity.class), eq(Object.class))).thenThrow(httpHostConnectException); when(restTemplate .exchange(eq(serviceThree + "/" + path), eq(HttpMethod.GET), any(HttpEntity.class), eq(Object.class))).thenThrow(connectTimeoutException); retryableRestTemplate.get(Env.DEV, path, Object.class); verify(restTemplate, times(1)) .exchange(eq(serviceOne + "/" + path), eq(HttpMethod.GET), any(HttpEntity.class), eq(Object.class)); verify(restTemplate, times(1)) .exchange(eq(serviceTwo + "/" + path), eq(HttpMethod.GET), any(HttpEntity.class), eq(Object.class)); verify(restTemplate, times(1)) .exchange(eq(serviceThree + "/" + path), eq(HttpMethod.GET), any(HttpEntity.class), eq(Object.class)); } @Test public void testOneServerDown() { ResponseEntity someEntity = mock(ResponseEntity.class); when(someEntity.getBody()).thenReturn(result); when(serviceAddressLocator.getServiceList(any())) .thenReturn(Arrays .asList(mockService(serviceOne), mockService(serviceTwo), mockService(serviceThree))); when(restTemplate .exchange(eq(serviceOne + "/" + path), eq(HttpMethod.GET), any(HttpEntity.class), eq(Object.class))).thenThrow(socketTimeoutException); when(restTemplate .exchange(eq(serviceTwo + "/" + path), eq(HttpMethod.GET), any(HttpEntity.class), eq(Object.class))).thenReturn(someEntity); when(restTemplate .exchange(eq(serviceThree + "/" + path), eq(HttpMethod.GET), any(HttpEntity.class), eq(Object.class))).thenThrow(connectTimeoutException); Object actualResult = retryableRestTemplate.get(Env.DEV, path, Object.class); verify(restTemplate, times(1)) .exchange(eq(serviceOne + "/" + path), eq(HttpMethod.GET), any(HttpEntity.class), eq(Object.class)); verify(restTemplate, times(1)) .exchange(eq(serviceTwo + "/" + path), eq(HttpMethod.GET), any(HttpEntity.class), eq(Object.class)); verify(restTemplate, never()) .exchange(eq(serviceThree + "/" + path), eq(HttpMethod.GET), any(HttpEntity.class), eq(Object.class)); assertEquals(result, actualResult); } @Test public void testPostSocketTimeoutNotRetry() { ResponseEntity someEntity = mock(ResponseEntity.class); when(someEntity.getBody()).thenReturn(result); when(serviceAddressLocator.getServiceList(any())) .thenReturn(Arrays .asList(mockService(serviceOne), mockService(serviceTwo), mockService(serviceThree))); when(restTemplate .exchange(eq(serviceOne + "/" + path), eq(HttpMethod.POST), any(HttpEntity.class), eq(Object.class))).thenThrow(socketTimeoutException); when(restTemplate .exchange(eq(serviceTwo + "/" + path), eq(HttpMethod.POST), any(HttpEntity.class), eq(Object.class))).thenReturn(someEntity); Throwable exception = null; Object actualResult = null; try { actualResult = retryableRestTemplate.post(Env.DEV, path, request, Object.class); } catch (Throwable ex) { exception = ex; } assertNull(actualResult); assertSame(socketTimeoutException, exception); verify(restTemplate, times(1)) .exchange(eq(serviceOne + "/" + path), eq(HttpMethod.POST), any(HttpEntity.class), eq(Object.class)); verify(restTemplate, never()) .exchange(eq(serviceTwo + "/" + path), eq(HttpMethod.POST), any(HttpEntity.class), eq(Object.class)); } @Test public void testDelete() { ResponseEntity someEntity = mock(ResponseEntity.class); when(serviceAddressLocator.getServiceList(any())) .thenReturn(Arrays .asList(mockService(serviceOne), mockService(serviceTwo), mockService(serviceThree))); when(restTemplate .exchange(eq(serviceOne + "/" + path), eq(HttpMethod.DELETE), any(HttpEntity.class), (Class<Object>) isNull())).thenReturn(someEntity); retryableRestTemplate.delete(Env.DEV, path); verify(restTemplate) .exchange(eq(serviceOne + "/" + path), eq(HttpMethod.DELETE), any(HttpEntity.class), (Class<Object>) isNull()); } @Test public void testPut() { ResponseEntity someEntity = mock(ResponseEntity.class); when(serviceAddressLocator.getServiceList(any())) .thenReturn(Arrays .asList(mockService(serviceOne), mockService(serviceTwo), mockService(serviceThree))); when(restTemplate .exchange(eq(serviceOne + "/" + path), eq(HttpMethod.PUT), any(HttpEntity.class), (Class<Object>) isNull())).thenReturn(someEntity); retryableRestTemplate.put(Env.DEV, path, request); ArgumentCaptor<HttpEntity> argumentCaptor = ArgumentCaptor.forClass(HttpEntity.class); verify(restTemplate) .exchange(eq(serviceOne + "/" + path), eq(HttpMethod.PUT), argumentCaptor.capture(), (Class<Object>) isNull()); assertEquals(request, argumentCaptor.getValue().getBody()); } @Test public void testPostObjectWithNoAccessToken() { Env someEnv = Env.DEV; ResponseEntity someEntity = mock(ResponseEntity.class); when(serviceAddressLocator.getServiceList(someEnv)) .thenReturn(Collections.singletonList(mockService(serviceOne))); when(restTemplate .exchange(eq(serviceOne + "/" + path), eq(HttpMethod.POST), any(HttpEntity.class), eq(requestType))).thenReturn(someEntity); when(someEntity.getBody()).thenReturn(result); Object actualResult = retryableRestTemplate.post(someEnv, path, request, requestType); assertEquals(result, actualResult); ArgumentCaptor<HttpEntity> argumentCaptor = ArgumentCaptor.forClass(HttpEntity.class); verify(restTemplate, times(1)) .exchange(eq(serviceOne + "/" + path), eq(HttpMethod.POST), argumentCaptor.capture(), eq(requestType)); HttpEntity entity = argumentCaptor.getValue(); HttpHeaders headers = entity.getHeaders(); assertSame(request, entity.getBody()); assertTrue(headers.isEmpty()); } @Test public void testPostObjectWithAccessToken() { Env someEnv = Env.DEV; String someToken = "someToken"; ResponseEntity someEntity = mock(ResponseEntity.class); when(portalConfig.getAdminServiceAccessTokens()) .thenReturn(mockAdminServiceTokens(someEnv, someToken)); when(serviceAddressLocator.getServiceList(someEnv)) .thenReturn(Collections.singletonList(mockService(serviceOne))); when(restTemplate .exchange(eq(serviceOne + "/" + path), eq(HttpMethod.POST), any(HttpEntity.class), eq(requestType))).thenReturn(someEntity); when(someEntity.getBody()).thenReturn(result); Object actualResult = retryableRestTemplate.post(someEnv, path, request, requestType); assertEquals(result, actualResult); ArgumentCaptor<HttpEntity> argumentCaptor = ArgumentCaptor.forClass(HttpEntity.class); verify(restTemplate, times(1)) .exchange(eq(serviceOne + "/" + path), eq(HttpMethod.POST), argumentCaptor.capture(), eq(requestType)); HttpEntity entity = argumentCaptor.getValue(); HttpHeaders headers = entity.getHeaders(); List<String> headerValue = headers.get(HttpHeaders.AUTHORIZATION); assertSame(request, entity.getBody()); assertEquals(1, headers.size()); assertEquals(1, headerValue.size()); assertEquals(someToken, headerValue.get(0)); } @Test public void testPostObjectWithNoAccessTokenForEnv() { Env someEnv = Env.DEV; Env anotherEnv = Env.PRO; String someToken = "someToken"; ResponseEntity someEntity = mock(ResponseEntity.class); when(portalConfig.getAdminServiceAccessTokens()) .thenReturn(mockAdminServiceTokens(someEnv, someToken)); when(serviceAddressLocator.getServiceList(someEnv)) .thenReturn(Collections.singletonList(mockService(serviceOne))); when(serviceAddressLocator.getServiceList(anotherEnv)) .thenReturn(Collections.singletonList(mockService(serviceTwo))); when(restTemplate .exchange(eq(serviceTwo + "/" + path), eq(HttpMethod.POST), any(HttpEntity.class), eq(requestType))).thenReturn(someEntity); when(someEntity.getBody()).thenReturn(result); Object actualResult = retryableRestTemplate.post(anotherEnv, path, request, requestType); assertEquals(result, actualResult); ArgumentCaptor<HttpEntity> argumentCaptor = ArgumentCaptor.forClass(HttpEntity.class); verify(restTemplate, times(1)) .exchange(eq(serviceTwo + "/" + path), eq(HttpMethod.POST), argumentCaptor.capture(), eq(requestType)); HttpEntity entity = argumentCaptor.getValue(); HttpHeaders headers = entity.getHeaders(); assertSame(request, entity.getBody()); assertTrue(headers.isEmpty()); } @Test public void testPostEntityWithNoAccessToken() { Env someEnv = Env.DEV; String originalHeader = "someHeader"; String originalValue = "someValue"; HttpHeaders originalHeaders = new HttpHeaders(); originalHeaders.add(originalHeader, originalValue); HttpEntity<Object> requestEntity = new HttpEntity<>(request, originalHeaders); ResponseEntity someEntity = mock(ResponseEntity.class); when(serviceAddressLocator.getServiceList(someEnv)) .thenReturn(Collections.singletonList(mockService(serviceOne))); when(restTemplate .exchange(eq(serviceOne + "/" + path), eq(HttpMethod.POST), any(HttpEntity.class), eq(requestType))).thenReturn(someEntity); when(someEntity.getBody()).thenReturn(result); Object actualResult = retryableRestTemplate.post(someEnv, path, requestEntity, requestType); assertEquals(result, actualResult); ArgumentCaptor<HttpEntity> argumentCaptor = ArgumentCaptor.forClass(HttpEntity.class); verify(restTemplate, times(1)) .exchange(eq(serviceOne + "/" + path), eq(HttpMethod.POST), argumentCaptor.capture(), eq(requestType)); HttpEntity entity = argumentCaptor.getValue(); assertSame(requestEntity, entity); assertSame(request, entity.getBody()); assertEquals(originalHeaders, entity.getHeaders()); } @Test public void testPostEntityWithAccessToken() { Env someEnv = Env.DEV; String someToken = "someToken"; String originalHeader = "someHeader"; String originalValue = "someValue"; HttpHeaders originalHeaders = new HttpHeaders(); originalHeaders.add(originalHeader, originalValue); HttpEntity<Object> requestEntity = new HttpEntity<>(request, originalHeaders); ResponseEntity someEntity = mock(ResponseEntity.class); when(portalConfig.getAdminServiceAccessTokens()) .thenReturn(mockAdminServiceTokens(someEnv, someToken)); when(serviceAddressLocator.getServiceList(someEnv)) .thenReturn(Collections.singletonList(mockService(serviceOne))); when(restTemplate .exchange(eq(serviceOne + "/" + path), eq(HttpMethod.POST), any(HttpEntity.class), eq(requestType))).thenReturn(someEntity); when(someEntity.getBody()).thenReturn(result); Object actualResult = retryableRestTemplate.post(someEnv, path, requestEntity, requestType); assertEquals(result, actualResult); ArgumentCaptor<HttpEntity> argumentCaptor = ArgumentCaptor.forClass(HttpEntity.class); verify(restTemplate, times(1)) .exchange(eq(serviceOne + "/" + path), eq(HttpMethod.POST), argumentCaptor.capture(), eq(requestType)); HttpEntity entity = argumentCaptor.getValue(); HttpHeaders headers = entity.getHeaders(); assertSame(request, entity.getBody()); assertEquals(2, headers.size()); assertEquals(originalValue, headers.get(originalHeader).get(0)); assertEquals(someToken, headers.get(HttpHeaders.AUTHORIZATION).get(0)); } @Test public void testGetEntityWithNoAccessToken() { Env someEnv = Env.DEV; ParameterizedTypeReference requestType = mock(ParameterizedTypeReference.class); ResponseEntity someEntity = mock(ResponseEntity.class); when(serviceAddressLocator.getServiceList(someEnv)) .thenReturn(Collections.singletonList(mockService(serviceOne))); when(restTemplate .exchange(eq(serviceOne + "/" + path), eq(HttpMethod.GET), any(HttpEntity.class), eq(requestType))).thenReturn(someEntity); ResponseEntity actualResult = retryableRestTemplate.get(someEnv, path, requestType); assertEquals(someEntity, actualResult); ArgumentCaptor<HttpEntity> argumentCaptor = ArgumentCaptor.forClass(HttpEntity.class); verify(restTemplate, times(1)) .exchange(eq(serviceOne + "/" + path), eq(HttpMethod.GET), argumentCaptor.capture(), eq(requestType)); HttpHeaders headers = argumentCaptor.getValue().getHeaders(); assertTrue(headers.isEmpty()); } @Test public void testGetEntityWithAccessToken() { Env someEnv = Env.DEV; String someToken = "someToken"; ParameterizedTypeReference requestType = mock(ParameterizedTypeReference.class); ResponseEntity someEntity = mock(ResponseEntity.class); when(portalConfig.getAdminServiceAccessTokens()) .thenReturn(mockAdminServiceTokens(someEnv, someToken)); when(serviceAddressLocator.getServiceList(someEnv)) .thenReturn(Collections.singletonList(mockService(serviceOne))); when(restTemplate .exchange(eq(serviceOne + "/" + path), eq(HttpMethod.GET), any(HttpEntity.class), eq(requestType))).thenReturn(someEntity); ResponseEntity actualResult = retryableRestTemplate.get(someEnv, path, requestType); assertEquals(someEntity, actualResult); ArgumentCaptor<HttpEntity> argumentCaptor = ArgumentCaptor.forClass(HttpEntity.class); verify(restTemplate, times(1)) .exchange(eq(serviceOne + "/" + path), eq(HttpMethod.GET), argumentCaptor.capture(), eq(requestType)); HttpHeaders headers = argumentCaptor.getValue().getHeaders(); List<String> headerValue = headers.get(HttpHeaders.AUTHORIZATION); assertEquals(1, headers.size()); assertEquals(1, headerValue.size()); assertEquals(someToken, headerValue.get(0)); } @Test public void testGetEntityWithNoAccessTokenForEnv() { Env someEnv = Env.DEV; Env anotherEnv = Env.PRO; String someToken = "someToken"; ParameterizedTypeReference requestType = mock(ParameterizedTypeReference.class); ResponseEntity someEntity = mock(ResponseEntity.class); when(portalConfig.getAdminServiceAccessTokens()) .thenReturn(mockAdminServiceTokens(someEnv, someToken)); when(serviceAddressLocator.getServiceList(someEnv)) .thenReturn(Collections.singletonList(mockService(serviceOne))); when(serviceAddressLocator.getServiceList(anotherEnv)) .thenReturn(Collections.singletonList(mockService(serviceTwo))); when(restTemplate .exchange(eq(serviceTwo + "/" + path), eq(HttpMethod.GET), any(HttpEntity.class), eq(requestType))).thenReturn(someEntity); ResponseEntity actualResult = retryableRestTemplate.get(anotherEnv, path, requestType); assertEquals(someEntity, actualResult); ArgumentCaptor<HttpEntity> argumentCaptor = ArgumentCaptor.forClass(HttpEntity.class); verify(restTemplate, times(1)) .exchange(eq(serviceTwo + "/" + path), eq(HttpMethod.GET), argumentCaptor.capture(), eq(requestType)); HttpHeaders headers = argumentCaptor.getValue().getHeaders(); assertTrue(headers.isEmpty()); } private String mockAdminServiceTokens(Env env, String token) { Map<String, String> tokenMap = Maps.newHashMap(); tokenMap.put(env.getName(), token); return GSON.toJson(tokenMap); } private ServiceDTO mockService(String homeUrl) { ServiceDTO serviceDTO = new ServiceDTO(); serviceDTO.setHomepageUrl(homeUrl); return serviceDTO; } }
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 static org.mockito.ArgumentMatchers.isNull; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.never; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; import com.ctrip.framework.apollo.common.exception.ServiceException; import com.ctrip.framework.apollo.core.dto.ServiceDTO; import com.ctrip.framework.apollo.portal.component.AdminServiceAddressLocator; import com.ctrip.framework.apollo.portal.component.RetryableRestTemplate; import com.ctrip.framework.apollo.portal.component.config.PortalConfig; import com.ctrip.framework.apollo.portal.environment.Env; import com.ctrip.framework.apollo.portal.environment.PortalMetaDomainService; import com.google.common.collect.Maps; import com.google.gson.Gson; import java.net.SocketTimeoutException; import java.util.Arrays; import java.util.Collections; import java.util.List; import java.util.Map; import org.apache.http.HttpHost; import org.apache.http.conn.ConnectTimeoutException; import org.apache.http.conn.HttpHostConnectException; import org.junit.Before; import org.junit.Test; import org.mockito.ArgumentCaptor; import org.mockito.InjectMocks; import org.mockito.Mock; import org.springframework.core.ParameterizedTypeReference; import org.springframework.http.HttpEntity; import org.springframework.http.HttpHeaders; import org.springframework.http.HttpMethod; import org.springframework.http.ResponseEntity; import org.springframework.web.client.ResourceAccessException; import org.springframework.web.client.RestTemplate; public class RetryableRestTemplateTest extends AbstractUnitTest { @Mock private AdminServiceAddressLocator serviceAddressLocator; @Mock private RestTemplate restTemplate; @Mock private PortalMetaDomainService portalMetaDomainService; @Mock private PortalConfig portalConfig; @InjectMocks private RetryableRestTemplate retryableRestTemplate; private static final Gson GSON = new Gson(); private String path = "app"; private String serviceOne = "http://10.0.0.1"; private String serviceTwo = "http://10.0.0.2"; private String serviceThree = "http://10.0.0.3"; private ResourceAccessException socketTimeoutException = new ResourceAccessException(""); private ResourceAccessException httpHostConnectException = new ResourceAccessException(""); private ResourceAccessException connectTimeoutException = new ResourceAccessException(""); private Object request = new Object(); private Object result = new Object(); private Class<?> requestType = request.getClass(); @Before public void init() { socketTimeoutException.initCause(new SocketTimeoutException()); httpHostConnectException .initCause(new HttpHostConnectException(new ConnectTimeoutException(), new HttpHost(serviceOne, 80))); connectTimeoutException.initCause(new ConnectTimeoutException()); } @Test(expected = ServiceException.class) public void testNoAdminServer() { when(serviceAddressLocator.getServiceList(any())).thenReturn(Collections.emptyList()); retryableRestTemplate.get(Env.DEV, path, Object.class); } @Test(expected = ServiceException.class) public void testAllServerDown() { when(serviceAddressLocator.getServiceList(any())) .thenReturn(Arrays .asList(mockService(serviceOne), mockService(serviceTwo), mockService(serviceThree))); when(restTemplate .exchange(eq(serviceOne + "/" + path), eq(HttpMethod.GET), any(HttpEntity.class), eq(Object.class))).thenThrow(socketTimeoutException); when(restTemplate .exchange(eq(serviceTwo + "/" + path), eq(HttpMethod.GET), any(HttpEntity.class), eq(Object.class))).thenThrow(httpHostConnectException); when(restTemplate .exchange(eq(serviceThree + "/" + path), eq(HttpMethod.GET), any(HttpEntity.class), eq(Object.class))).thenThrow(connectTimeoutException); retryableRestTemplate.get(Env.DEV, path, Object.class); verify(restTemplate, times(1)) .exchange(eq(serviceOne + "/" + path), eq(HttpMethod.GET), any(HttpEntity.class), eq(Object.class)); verify(restTemplate, times(1)) .exchange(eq(serviceTwo + "/" + path), eq(HttpMethod.GET), any(HttpEntity.class), eq(Object.class)); verify(restTemplate, times(1)) .exchange(eq(serviceThree + "/" + path), eq(HttpMethod.GET), any(HttpEntity.class), eq(Object.class)); } @Test public void testOneServerDown() { ResponseEntity someEntity = mock(ResponseEntity.class); when(someEntity.getBody()).thenReturn(result); when(serviceAddressLocator.getServiceList(any())) .thenReturn(Arrays .asList(mockService(serviceOne), mockService(serviceTwo), mockService(serviceThree))); when(restTemplate .exchange(eq(serviceOne + "/" + path), eq(HttpMethod.GET), any(HttpEntity.class), eq(Object.class))).thenThrow(socketTimeoutException); when(restTemplate .exchange(eq(serviceTwo + "/" + path), eq(HttpMethod.GET), any(HttpEntity.class), eq(Object.class))).thenReturn(someEntity); when(restTemplate .exchange(eq(serviceThree + "/" + path), eq(HttpMethod.GET), any(HttpEntity.class), eq(Object.class))).thenThrow(connectTimeoutException); Object actualResult = retryableRestTemplate.get(Env.DEV, path, Object.class); verify(restTemplate, times(1)) .exchange(eq(serviceOne + "/" + path), eq(HttpMethod.GET), any(HttpEntity.class), eq(Object.class)); verify(restTemplate, times(1)) .exchange(eq(serviceTwo + "/" + path), eq(HttpMethod.GET), any(HttpEntity.class), eq(Object.class)); verify(restTemplate, never()) .exchange(eq(serviceThree + "/" + path), eq(HttpMethod.GET), any(HttpEntity.class), eq(Object.class)); assertEquals(result, actualResult); } @Test public void testPostSocketTimeoutNotRetry() { ResponseEntity someEntity = mock(ResponseEntity.class); when(someEntity.getBody()).thenReturn(result); when(serviceAddressLocator.getServiceList(any())) .thenReturn(Arrays .asList(mockService(serviceOne), mockService(serviceTwo), mockService(serviceThree))); when(restTemplate .exchange(eq(serviceOne + "/" + path), eq(HttpMethod.POST), any(HttpEntity.class), eq(Object.class))).thenThrow(socketTimeoutException); when(restTemplate .exchange(eq(serviceTwo + "/" + path), eq(HttpMethod.POST), any(HttpEntity.class), eq(Object.class))).thenReturn(someEntity); Throwable exception = null; Object actualResult = null; try { actualResult = retryableRestTemplate.post(Env.DEV, path, request, Object.class); } catch (Throwable ex) { exception = ex; } assertNull(actualResult); assertSame(socketTimeoutException, exception); verify(restTemplate, times(1)) .exchange(eq(serviceOne + "/" + path), eq(HttpMethod.POST), any(HttpEntity.class), eq(Object.class)); verify(restTemplate, never()) .exchange(eq(serviceTwo + "/" + path), eq(HttpMethod.POST), any(HttpEntity.class), eq(Object.class)); } @Test public void testDelete() { ResponseEntity someEntity = mock(ResponseEntity.class); when(serviceAddressLocator.getServiceList(any())) .thenReturn(Arrays .asList(mockService(serviceOne), mockService(serviceTwo), mockService(serviceThree))); when(restTemplate .exchange(eq(serviceOne + "/" + path), eq(HttpMethod.DELETE), any(HttpEntity.class), (Class<Object>) isNull())).thenReturn(someEntity); retryableRestTemplate.delete(Env.DEV, path); verify(restTemplate) .exchange(eq(serviceOne + "/" + path), eq(HttpMethod.DELETE), any(HttpEntity.class), (Class<Object>) isNull()); } @Test public void testPut() { ResponseEntity someEntity = mock(ResponseEntity.class); when(serviceAddressLocator.getServiceList(any())) .thenReturn(Arrays .asList(mockService(serviceOne), mockService(serviceTwo), mockService(serviceThree))); when(restTemplate .exchange(eq(serviceOne + "/" + path), eq(HttpMethod.PUT), any(HttpEntity.class), (Class<Object>) isNull())).thenReturn(someEntity); retryableRestTemplate.put(Env.DEV, path, request); ArgumentCaptor<HttpEntity> argumentCaptor = ArgumentCaptor.forClass(HttpEntity.class); verify(restTemplate) .exchange(eq(serviceOne + "/" + path), eq(HttpMethod.PUT), argumentCaptor.capture(), (Class<Object>) isNull()); assertEquals(request, argumentCaptor.getValue().getBody()); } @Test public void testPostObjectWithNoAccessToken() { Env someEnv = Env.DEV; ResponseEntity someEntity = mock(ResponseEntity.class); when(serviceAddressLocator.getServiceList(someEnv)) .thenReturn(Collections.singletonList(mockService(serviceOne))); when(restTemplate .exchange(eq(serviceOne + "/" + path), eq(HttpMethod.POST), any(HttpEntity.class), eq(requestType))).thenReturn(someEntity); when(someEntity.getBody()).thenReturn(result); Object actualResult = retryableRestTemplate.post(someEnv, path, request, requestType); assertEquals(result, actualResult); ArgumentCaptor<HttpEntity> argumentCaptor = ArgumentCaptor.forClass(HttpEntity.class); verify(restTemplate, times(1)) .exchange(eq(serviceOne + "/" + path), eq(HttpMethod.POST), argumentCaptor.capture(), eq(requestType)); HttpEntity entity = argumentCaptor.getValue(); HttpHeaders headers = entity.getHeaders(); assertSame(request, entity.getBody()); assertTrue(headers.isEmpty()); } @Test public void testPostObjectWithAccessToken() { Env someEnv = Env.DEV; String someToken = "someToken"; ResponseEntity someEntity = mock(ResponseEntity.class); when(portalConfig.getAdminServiceAccessTokens()) .thenReturn(mockAdminServiceTokens(someEnv, someToken)); when(serviceAddressLocator.getServiceList(someEnv)) .thenReturn(Collections.singletonList(mockService(serviceOne))); when(restTemplate .exchange(eq(serviceOne + "/" + path), eq(HttpMethod.POST), any(HttpEntity.class), eq(requestType))).thenReturn(someEntity); when(someEntity.getBody()).thenReturn(result); Object actualResult = retryableRestTemplate.post(someEnv, path, request, requestType); assertEquals(result, actualResult); ArgumentCaptor<HttpEntity> argumentCaptor = ArgumentCaptor.forClass(HttpEntity.class); verify(restTemplate, times(1)) .exchange(eq(serviceOne + "/" + path), eq(HttpMethod.POST), argumentCaptor.capture(), eq(requestType)); HttpEntity entity = argumentCaptor.getValue(); HttpHeaders headers = entity.getHeaders(); List<String> headerValue = headers.get(HttpHeaders.AUTHORIZATION); assertSame(request, entity.getBody()); assertEquals(1, headers.size()); assertEquals(1, headerValue.size()); assertEquals(someToken, headerValue.get(0)); } @Test public void testPostObjectWithNoAccessTokenForEnv() { Env someEnv = Env.DEV; Env anotherEnv = Env.PRO; String someToken = "someToken"; ResponseEntity someEntity = mock(ResponseEntity.class); when(portalConfig.getAdminServiceAccessTokens()) .thenReturn(mockAdminServiceTokens(someEnv, someToken)); when(serviceAddressLocator.getServiceList(someEnv)) .thenReturn(Collections.singletonList(mockService(serviceOne))); when(serviceAddressLocator.getServiceList(anotherEnv)) .thenReturn(Collections.singletonList(mockService(serviceTwo))); when(restTemplate .exchange(eq(serviceTwo + "/" + path), eq(HttpMethod.POST), any(HttpEntity.class), eq(requestType))).thenReturn(someEntity); when(someEntity.getBody()).thenReturn(result); Object actualResult = retryableRestTemplate.post(anotherEnv, path, request, requestType); assertEquals(result, actualResult); ArgumentCaptor<HttpEntity> argumentCaptor = ArgumentCaptor.forClass(HttpEntity.class); verify(restTemplate, times(1)) .exchange(eq(serviceTwo + "/" + path), eq(HttpMethod.POST), argumentCaptor.capture(), eq(requestType)); HttpEntity entity = argumentCaptor.getValue(); HttpHeaders headers = entity.getHeaders(); assertSame(request, entity.getBody()); assertTrue(headers.isEmpty()); } @Test public void testPostEntityWithNoAccessToken() { Env someEnv = Env.DEV; String originalHeader = "someHeader"; String originalValue = "someValue"; HttpHeaders originalHeaders = new HttpHeaders(); originalHeaders.add(originalHeader, originalValue); HttpEntity<Object> requestEntity = new HttpEntity<>(request, originalHeaders); ResponseEntity someEntity = mock(ResponseEntity.class); when(serviceAddressLocator.getServiceList(someEnv)) .thenReturn(Collections.singletonList(mockService(serviceOne))); when(restTemplate .exchange(eq(serviceOne + "/" + path), eq(HttpMethod.POST), any(HttpEntity.class), eq(requestType))).thenReturn(someEntity); when(someEntity.getBody()).thenReturn(result); Object actualResult = retryableRestTemplate.post(someEnv, path, requestEntity, requestType); assertEquals(result, actualResult); ArgumentCaptor<HttpEntity> argumentCaptor = ArgumentCaptor.forClass(HttpEntity.class); verify(restTemplate, times(1)) .exchange(eq(serviceOne + "/" + path), eq(HttpMethod.POST), argumentCaptor.capture(), eq(requestType)); HttpEntity entity = argumentCaptor.getValue(); assertSame(requestEntity, entity); assertSame(request, entity.getBody()); assertEquals(originalHeaders, entity.getHeaders()); } @Test public void testPostEntityWithAccessToken() { Env someEnv = Env.DEV; String someToken = "someToken"; String originalHeader = "someHeader"; String originalValue = "someValue"; HttpHeaders originalHeaders = new HttpHeaders(); originalHeaders.add(originalHeader, originalValue); HttpEntity<Object> requestEntity = new HttpEntity<>(request, originalHeaders); ResponseEntity someEntity = mock(ResponseEntity.class); when(portalConfig.getAdminServiceAccessTokens()) .thenReturn(mockAdminServiceTokens(someEnv, someToken)); when(serviceAddressLocator.getServiceList(someEnv)) .thenReturn(Collections.singletonList(mockService(serviceOne))); when(restTemplate .exchange(eq(serviceOne + "/" + path), eq(HttpMethod.POST), any(HttpEntity.class), eq(requestType))).thenReturn(someEntity); when(someEntity.getBody()).thenReturn(result); Object actualResult = retryableRestTemplate.post(someEnv, path, requestEntity, requestType); assertEquals(result, actualResult); ArgumentCaptor<HttpEntity> argumentCaptor = ArgumentCaptor.forClass(HttpEntity.class); verify(restTemplate, times(1)) .exchange(eq(serviceOne + "/" + path), eq(HttpMethod.POST), argumentCaptor.capture(), eq(requestType)); HttpEntity entity = argumentCaptor.getValue(); HttpHeaders headers = entity.getHeaders(); assertSame(request, entity.getBody()); assertEquals(2, headers.size()); assertEquals(originalValue, headers.get(originalHeader).get(0)); assertEquals(someToken, headers.get(HttpHeaders.AUTHORIZATION).get(0)); } @Test public void testGetEntityWithNoAccessToken() { Env someEnv = Env.DEV; ParameterizedTypeReference requestType = mock(ParameterizedTypeReference.class); ResponseEntity someEntity = mock(ResponseEntity.class); when(serviceAddressLocator.getServiceList(someEnv)) .thenReturn(Collections.singletonList(mockService(serviceOne))); when(restTemplate .exchange(eq(serviceOne + "/" + path), eq(HttpMethod.GET), any(HttpEntity.class), eq(requestType))).thenReturn(someEntity); ResponseEntity actualResult = retryableRestTemplate.get(someEnv, path, requestType); assertEquals(someEntity, actualResult); ArgumentCaptor<HttpEntity> argumentCaptor = ArgumentCaptor.forClass(HttpEntity.class); verify(restTemplate, times(1)) .exchange(eq(serviceOne + "/" + path), eq(HttpMethod.GET), argumentCaptor.capture(), eq(requestType)); HttpHeaders headers = argumentCaptor.getValue().getHeaders(); assertTrue(headers.isEmpty()); } @Test public void testGetEntityWithAccessToken() { Env someEnv = Env.DEV; String someToken = "someToken"; ParameterizedTypeReference requestType = mock(ParameterizedTypeReference.class); ResponseEntity someEntity = mock(ResponseEntity.class); when(portalConfig.getAdminServiceAccessTokens()) .thenReturn(mockAdminServiceTokens(someEnv, someToken)); when(serviceAddressLocator.getServiceList(someEnv)) .thenReturn(Collections.singletonList(mockService(serviceOne))); when(restTemplate .exchange(eq(serviceOne + "/" + path), eq(HttpMethod.GET), any(HttpEntity.class), eq(requestType))).thenReturn(someEntity); ResponseEntity actualResult = retryableRestTemplate.get(someEnv, path, requestType); assertEquals(someEntity, actualResult); ArgumentCaptor<HttpEntity> argumentCaptor = ArgumentCaptor.forClass(HttpEntity.class); verify(restTemplate, times(1)) .exchange(eq(serviceOne + "/" + path), eq(HttpMethod.GET), argumentCaptor.capture(), eq(requestType)); HttpHeaders headers = argumentCaptor.getValue().getHeaders(); List<String> headerValue = headers.get(HttpHeaders.AUTHORIZATION); assertEquals(1, headers.size()); assertEquals(1, headerValue.size()); assertEquals(someToken, headerValue.get(0)); } @Test public void testGetEntityWithNoAccessTokenForEnv() { Env someEnv = Env.DEV; Env anotherEnv = Env.PRO; String someToken = "someToken"; ParameterizedTypeReference requestType = mock(ParameterizedTypeReference.class); ResponseEntity someEntity = mock(ResponseEntity.class); when(portalConfig.getAdminServiceAccessTokens()) .thenReturn(mockAdminServiceTokens(someEnv, someToken)); when(serviceAddressLocator.getServiceList(someEnv)) .thenReturn(Collections.singletonList(mockService(serviceOne))); when(serviceAddressLocator.getServiceList(anotherEnv)) .thenReturn(Collections.singletonList(mockService(serviceTwo))); when(restTemplate .exchange(eq(serviceTwo + "/" + path), eq(HttpMethod.GET), any(HttpEntity.class), eq(requestType))).thenReturn(someEntity); ResponseEntity actualResult = retryableRestTemplate.get(anotherEnv, path, requestType); assertEquals(someEntity, actualResult); ArgumentCaptor<HttpEntity> argumentCaptor = ArgumentCaptor.forClass(HttpEntity.class); verify(restTemplate, times(1)) .exchange(eq(serviceTwo + "/" + path), eq(HttpMethod.GET), argumentCaptor.capture(), eq(requestType)); HttpHeaders headers = argumentCaptor.getValue().getHeaders(); assertTrue(headers.isEmpty()); } private String mockAdminServiceTokens(Env env, String token) { Map<String, String> tokenMap = Maps.newHashMap(); tokenMap.put(env.getName(), token); return GSON.toJson(tokenMap); } private ServiceDTO mockService(String homeUrl) { ServiceDTO serviceDTO = new ServiceDTO(); serviceDTO.setHomepageUrl(homeUrl); return serviceDTO; } }
-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 contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. - [x] Write necessary unit tests to verify the code. - [x] Run `mvn clean test` to make sure this pull request doesn't break anything.
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 DefaultInjector Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. - [x] Write necessary unit tests to verify the code. - [x] Run `mvn clean test` to make sure this pull request doesn't break anything.
./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([email protected]) */ public class CatTransaction implements Transaction { private static Class CAT_TRANSACTION_CLASS; private static Method SET_STATUS_WITH_STRING; private static Method SET_STATUS_WITH_THROWABLE; private static Method ADD_DATA_WITH_KEY_AND_VALUE; private static Method COMPLETE; private Object catTransaction; static { try { CAT_TRANSACTION_CLASS = Class.forName(CatNames.CAT_TRANSACTION_CLASS); SET_STATUS_WITH_STRING = CAT_TRANSACTION_CLASS.getMethod(CatNames.SET_STATUS_METHOD, String.class); SET_STATUS_WITH_THROWABLE = CAT_TRANSACTION_CLASS.getMethod(CatNames.SET_STATUS_METHOD, Throwable.class); ADD_DATA_WITH_KEY_AND_VALUE = CAT_TRANSACTION_CLASS.getMethod(CatNames.ADD_DATA_METHOD, String.class, Object.class); COMPLETE = CAT_TRANSACTION_CLASS.getMethod(CatNames.COMPLETE_METHOD); } catch (Throwable ex) { throw new IllegalStateException("Initialize Cat transaction failed", ex); } } static void init() { //do nothing, just to initialize the static variables } public CatTransaction(Object catTransaction) { this.catTransaction = catTransaction; } @Override public void setStatus(String status) { try { SET_STATUS_WITH_STRING.invoke(catTransaction, status); } catch (Throwable ex) { throw new IllegalStateException(ex); } } @Override public void setStatus(Throwable status) { try { SET_STATUS_WITH_THROWABLE.invoke(catTransaction, status); } catch (Throwable ex) { throw new IllegalStateException(ex); } } @Override public void addData(String key, Object value) { try { ADD_DATA_WITH_KEY_AND_VALUE.invoke(catTransaction, key, value); } catch (Throwable ex) { throw new IllegalStateException(ex); } } @Override public void complete() { try { COMPLETE.invoke(catTransaction); } catch (Throwable ex) { throw new IllegalStateException(ex); } } }
package com.ctrip.framework.apollo.tracer.internals.cat; import com.ctrip.framework.apollo.tracer.spi.Transaction; import java.lang.reflect.Method; /** * @author Jason Song([email protected]) */ public class CatTransaction implements Transaction { private static Class CAT_TRANSACTION_CLASS; private static Method SET_STATUS_WITH_STRING; private static Method SET_STATUS_WITH_THROWABLE; private static Method ADD_DATA_WITH_KEY_AND_VALUE; private static Method COMPLETE; private Object catTransaction; static { try { CAT_TRANSACTION_CLASS = Class.forName(CatNames.CAT_TRANSACTION_CLASS); SET_STATUS_WITH_STRING = CAT_TRANSACTION_CLASS.getMethod(CatNames.SET_STATUS_METHOD, String.class); SET_STATUS_WITH_THROWABLE = CAT_TRANSACTION_CLASS.getMethod(CatNames.SET_STATUS_METHOD, Throwable.class); ADD_DATA_WITH_KEY_AND_VALUE = CAT_TRANSACTION_CLASS.getMethod(CatNames.ADD_DATA_METHOD, String.class, Object.class); COMPLETE = CAT_TRANSACTION_CLASS.getMethod(CatNames.COMPLETE_METHOD); } catch (Throwable ex) { throw new IllegalStateException("Initialize Cat transaction failed", ex); } } static void init() { //do nothing, just to initialize the static variables } public CatTransaction(Object catTransaction) { this.catTransaction = catTransaction; } @Override public void setStatus(String status) { try { SET_STATUS_WITH_STRING.invoke(catTransaction, status); } catch (Throwable ex) { throw new IllegalStateException(ex); } } @Override public void setStatus(Throwable status) { try { SET_STATUS_WITH_THROWABLE.invoke(catTransaction, status); } catch (Throwable ex) { throw new IllegalStateException(ex); } } @Override public void addData(String key, Object value) { try { ADD_DATA_WITH_KEY_AND_VALUE.invoke(catTransaction, key, value); } catch (Throwable ex) { throw new IllegalStateException(ex); } } @Override public void complete() { try { COMPLETE.invoke(catTransaction); } catch (Throwable ex) { throw new IllegalStateException(ex); } } }
-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 contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. - [x] Write necessary unit tests to verify the code. - [x] Run `mvn clean test` to make sure this pull request doesn't break anything.
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 DefaultInjector Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. - [x] Write necessary unit tests to verify the code. - [x] Run `mvn clean test` to make sure this pull request doesn't break anything.
./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.ctrip.CtripEmailRequestBuilder; import com.ctrip.framework.apollo.portal.spi.defaultimpl.DefaultEmailService; import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Profile; @Configuration public class EmailConfiguration { /** * spring.profiles.active = ctrip */ @Configuration @Profile("ctrip") public static class CtripEmailConfiguration { @Bean public EmailService ctripEmailService() { return new CtripEmailService(); } @Bean public CtripEmailRequestBuilder emailRequestBuilder() { return new CtripEmailRequestBuilder(); } } /** * spring.profiles.active != ctrip */ @Configuration @ConditionalOnMissingProfile({"ctrip"}) public static class DefaultEmailConfiguration { @Bean @ConditionalOnMissingBean(EmailService.class) public EmailService defaultEmailService() { return new DefaultEmailService(); } } }
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.ctrip.CtripEmailRequestBuilder; import com.ctrip.framework.apollo.portal.spi.defaultimpl.DefaultEmailService; import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Profile; @Configuration public class EmailConfiguration { /** * spring.profiles.active = ctrip */ @Configuration @Profile("ctrip") public static class CtripEmailConfiguration { @Bean public EmailService ctripEmailService() { return new CtripEmailService(); } @Bean public CtripEmailRequestBuilder emailRequestBuilder() { return new CtripEmailRequestBuilder(); } } /** * spring.profiles.active != ctrip */ @Configuration @ConditionalOnMissingProfile({"ctrip"}) public static class DefaultEmailConfiguration { @Bean @ConditionalOnMissingBean(EmailService.class) public EmailService defaultEmailService() { return new DefaultEmailService(); } } }
-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 contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. - [x] Write necessary unit tests to verify the code. - [x] Run `mvn clean test` to make sure this pull request doesn't break anything.
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 DefaultInjector Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. - [x] Write necessary unit tests to verify the code. - [x] Run `mvn clean test` to make sure this pull request doesn't break anything.
./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.framework.apollo.configservice.service.ReleaseMessageServiceWithCache; import com.ctrip.framework.apollo.configservice.util.NamespaceUtil; import com.ctrip.framework.apollo.configservice.util.WatchKeysUtil; import com.ctrip.framework.apollo.configservice.wrapper.DeferredResultWrapper; 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.google.common.base.Joiner; import com.google.common.collect.HashMultimap; import com.google.common.collect.Lists; import com.google.common.collect.Multimap; import com.google.common.collect.Sets; import com.google.gson.Gson; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.Mock; import org.mockito.junit.MockitoJUnitRunner; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.test.util.ReflectionTestUtils; import org.springframework.web.context.request.async.DeferredResult; import java.util.Collection; import java.util.List; import java.util.Objects; import java.util.concurrent.TimeUnit; import static org.awaitility.Awaitility.await; import static org.junit.Assert.*; import static org.mockito.Mockito.*; /** * @author Jason Song([email protected]) */ @RunWith(MockitoJUnitRunner.class) public class NotificationControllerV2Test { private NotificationControllerV2 controller; private String someAppId; private String someCluster; private String defaultCluster; private String defaultNamespace; private String somePublicNamespace; private String someDataCenter; private long someNotificationId; private String someClientIp; @Mock private ReleaseMessageServiceWithCache releaseMessageService; @Mock private EntityManagerUtil entityManagerUtil; @Mock private NamespaceUtil namespaceUtil; @Mock private WatchKeysUtil watchKeysUtil; @Mock private BizConfig bizConfig; private Gson gson; private Multimap<String, DeferredResultWrapper> deferredResults; @Before public void setUp() throws Exception { gson = new Gson(); controller = new NotificationControllerV2( watchKeysUtil, releaseMessageService, entityManagerUtil, namespaceUtil, gson, bizConfig ); when(bizConfig.releaseMessageNotificationBatch()).thenReturn(100); when(bizConfig.releaseMessageNotificationBatchIntervalInMilli()).thenReturn(5); someAppId = "someAppId"; someCluster = "someCluster"; defaultCluster = ConfigConsts.CLUSTER_NAME_DEFAULT; defaultNamespace = ConfigConsts.NAMESPACE_APPLICATION; somePublicNamespace = "somePublicNamespace"; someDataCenter = "someDC"; someNotificationId = 1; someClientIp = "someClientIp"; when(namespaceUtil.filterNamespaceName(defaultNamespace)).thenReturn(defaultNamespace); when(namespaceUtil.filterNamespaceName(somePublicNamespace)).thenReturn(somePublicNamespace); when(namespaceUtil.normalizeNamespace(someAppId, defaultNamespace)).thenReturn(defaultNamespace); when(namespaceUtil.normalizeNamespace(someAppId, somePublicNamespace)).thenReturn(somePublicNamespace); deferredResults = (Multimap<String, DeferredResultWrapper>) ReflectionTestUtils.getField(controller, "deferredResults"); } @Test public void testPollNotificationWithDefaultNamespace() throws Exception { String someWatchKey = "someKey"; String anotherWatchKey = "anotherKey"; Multimap<String, String> watchKeysMap = assembleMultiMap(defaultNamespace, Lists.newArrayList(someWatchKey, anotherWatchKey)); String notificationAsString = transformApolloConfigNotificationsToString(defaultNamespace, someNotificationId); when(watchKeysUtil .assembleAllWatchKeys(someAppId, someCluster, Sets.newHashSet(defaultNamespace), someDataCenter)).thenReturn( watchKeysMap); DeferredResult<ResponseEntity<List<ApolloConfigNotification>>> deferredResult = controller .pollNotification(someAppId, someCluster, notificationAsString, someDataCenter, someClientIp); assertEquals(watchKeysMap.size(), deferredResults.size()); assertWatchKeys(watchKeysMap, deferredResult); } @Test public void testPollNotificationWithDefaultNamespaceAsFile() throws Exception { String namespace = String.format("%s.%s", defaultNamespace, "properties"); when(namespaceUtil.filterNamespaceName(namespace)).thenReturn(defaultNamespace); String someWatchKey = "someKey"; String anotherWatchKey = "anotherKey"; Multimap<String, String> watchKeysMap = assembleMultiMap(defaultNamespace, Lists.newArrayList(someWatchKey, anotherWatchKey)); String notificationAsString = transformApolloConfigNotificationsToString(namespace, someNotificationId); when(watchKeysUtil .assembleAllWatchKeys(someAppId, someCluster, Sets.newHashSet(defaultNamespace), someDataCenter)).thenReturn( watchKeysMap); DeferredResult<ResponseEntity<List<ApolloConfigNotification>>> deferredResult = controller .pollNotification(someAppId, someCluster, notificationAsString, someDataCenter, someClientIp); assertEquals(watchKeysMap.size(), deferredResults.size()); assertWatchKeys(watchKeysMap, deferredResult); } @Test public void testPollNotificationWithMultipleNamespaces() throws Exception { String defaultNamespaceAsFile = defaultNamespace + ".properties"; String somePublicNamespaceAsFile = somePublicNamespace + ".xml"; when(namespaceUtil.filterNamespaceName(defaultNamespaceAsFile)).thenReturn(defaultNamespace); when(namespaceUtil.filterNamespaceName(somePublicNamespaceAsFile)).thenReturn(somePublicNamespaceAsFile); when(namespaceUtil.normalizeNamespace(someAppId, somePublicNamespaceAsFile)).thenReturn(somePublicNamespaceAsFile); String someWatchKey = "someKey"; String anotherWatchKey = "anotherKey"; String somePublicWatchKey = "somePublicWatchKey"; String somePublicFileWatchKey = "somePublicFileWatchKey"; Multimap<String, String> watchKeysMap = assembleMultiMap(defaultNamespace, Lists.newArrayList(someWatchKey, anotherWatchKey)); watchKeysMap .putAll(assembleMultiMap(somePublicNamespace, Lists.newArrayList(somePublicWatchKey))); watchKeysMap .putAll(assembleMultiMap(somePublicNamespaceAsFile, Lists.newArrayList(somePublicFileWatchKey))); String notificationAsString = transformApolloConfigNotificationsToString(defaultNamespaceAsFile, someNotificationId, somePublicNamespace, someNotificationId, somePublicNamespaceAsFile, someNotificationId); when(watchKeysUtil .assembleAllWatchKeys(someAppId, someCluster, Sets.newHashSet(defaultNamespace, somePublicNamespace, somePublicNamespaceAsFile), someDataCenter)).thenReturn( watchKeysMap); DeferredResult<ResponseEntity<List<ApolloConfigNotification>>> deferredResult = controller .pollNotification(someAppId, someCluster, notificationAsString, someDataCenter, someClientIp); assertEquals(watchKeysMap.size(), deferredResults.size()); assertWatchKeys(watchKeysMap, deferredResult); verify(watchKeysUtil, times(1)).assembleAllWatchKeys(someAppId, someCluster, Sets.newHashSet(defaultNamespace, somePublicNamespace, somePublicNamespaceAsFile), someDataCenter); } @Test public void testPollNotificationWithMultipleNamespaceWithNotificationIdOutDated() throws Exception { String someWatchKey = "someKey"; String anotherWatchKey = Joiner.on(ConfigConsts.CLUSTER_NAMESPACE_SEPARATOR) .join(someAppId, someCluster, somePublicNamespace); String yetAnotherWatchKey = Joiner.on(ConfigConsts.CLUSTER_NAMESPACE_SEPARATOR) .join(someAppId, defaultCluster, somePublicNamespace); long notificationId = someNotificationId + 1; long yetAnotherNotificationId = someNotificationId; Multimap<String, String> watchKeysMap = assembleMultiMap(defaultNamespace, Lists.newArrayList(someWatchKey)); watchKeysMap .putAll(assembleMultiMap(somePublicNamespace, Lists.newArrayList(anotherWatchKey, yetAnotherWatchKey))); when(watchKeysUtil .assembleAllWatchKeys(someAppId, someCluster, Sets.newHashSet(defaultNamespace, somePublicNamespace), someDataCenter)).thenReturn( watchKeysMap); ReleaseMessage someReleaseMessage = mock(ReleaseMessage.class); when(someReleaseMessage.getId()).thenReturn(notificationId); when(someReleaseMessage.getMessage()).thenReturn(anotherWatchKey); ReleaseMessage yetAnotherReleaseMessage = mock(ReleaseMessage.class); when(yetAnotherReleaseMessage.getId()).thenReturn(yetAnotherNotificationId); when(yetAnotherReleaseMessage.getMessage()).thenReturn(yetAnotherWatchKey); when(releaseMessageService .findLatestReleaseMessagesGroupByMessages(Sets.newHashSet(watchKeysMap.values()))) .thenReturn(Lists.newArrayList(someReleaseMessage, yetAnotherReleaseMessage)); String notificationAsString = transformApolloConfigNotificationsToString(defaultNamespace, someNotificationId, somePublicNamespace, someNotificationId); DeferredResult<ResponseEntity<List<ApolloConfigNotification>>> deferredResult = controller .pollNotification(someAppId, someCluster, notificationAsString, someDataCenter, someClientIp); ResponseEntity<List<ApolloConfigNotification>> result = (ResponseEntity<List<ApolloConfigNotification>>) deferredResult.getResult(); assertEquals(HttpStatus.OK, result.getStatusCode()); assertEquals(1, result.getBody().size()); assertEquals(somePublicNamespace, result.getBody().get(0).getNamespaceName()); assertEquals(notificationId, result.getBody().get(0).getNotificationId()); ApolloNotificationMessages notificationMessages = result.getBody().get(0).getMessages(); assertEquals(2, notificationMessages.getDetails().size()); assertEquals(notificationId, notificationMessages.get(anotherWatchKey).longValue()); assertEquals(yetAnotherNotificationId, notificationMessages.get(yetAnotherWatchKey).longValue()); } @Test public void testPollNotificationWithMultipleNamespacesAndHandleMessage() throws Exception { String someWatchKey = "someKey"; String anotherWatchKey = Joiner.on(ConfigConsts.CLUSTER_NAMESPACE_SEPARATOR) .join(someAppId, someCluster, somePublicNamespace); Multimap<String, String> watchKeysMap = assembleMultiMap(defaultNamespace, Lists.newArrayList(someWatchKey)); watchKeysMap .putAll(assembleMultiMap(somePublicNamespace, Lists.newArrayList(anotherWatchKey))); when(watchKeysUtil .assembleAllWatchKeys(someAppId, someCluster, Sets.newHashSet(defaultNamespace, somePublicNamespace), someDataCenter)).thenReturn( watchKeysMap); String notificationAsString = transformApolloConfigNotificationsToString(defaultNamespace, someNotificationId, somePublicNamespace, someNotificationId); DeferredResult<ResponseEntity<List<ApolloConfigNotification>>> deferredResult = controller .pollNotification(someAppId, someCluster, notificationAsString, someDataCenter, someClientIp); assertEquals(watchKeysMap.size(), deferredResults.size()); long someId = 1; ReleaseMessage someReleaseMessage = new ReleaseMessage(anotherWatchKey); someReleaseMessage.setId(someId); controller.handleMessage(someReleaseMessage, Topics.APOLLO_RELEASE_TOPIC); ResponseEntity<List<ApolloConfigNotification>> response = (ResponseEntity<List<ApolloConfigNotification>>) deferredResult.getResult(); assertEquals(1, response.getBody().size()); ApolloConfigNotification notification = response.getBody().get(0); assertEquals(HttpStatus.OK, response.getStatusCode()); assertEquals(somePublicNamespace, notification.getNamespaceName()); assertEquals(someId, notification.getNotificationId()); ApolloNotificationMessages notificationMessages = response.getBody().get(0).getMessages(); assertEquals(1, notificationMessages.getDetails().size()); assertEquals(someId, notificationMessages.get(anotherWatchKey).longValue()); } @Test public void testPollNotificationWithHandleMessageInBatch() throws Exception { String someWatchKey = Joiner.on(ConfigConsts.CLUSTER_NAMESPACE_SEPARATOR) .join(someAppId, someCluster, defaultNamespace); int someBatch = 1; int someBatchInterval = 10; Multimap<String, String> watchKeysMap = assembleMultiMap(defaultNamespace, Lists.newArrayList(someWatchKey)); String notificationAsString = transformApolloConfigNotificationsToString(defaultNamespace, someNotificationId); when(watchKeysUtil .assembleAllWatchKeys(someAppId, someCluster, Sets.newHashSet(defaultNamespace), someDataCenter)).thenReturn(watchKeysMap); when(bizConfig.releaseMessageNotificationBatch()).thenReturn(someBatch); when(bizConfig.releaseMessageNotificationBatchIntervalInMilli()).thenReturn(someBatchInterval); DeferredResult<ResponseEntity<List<ApolloConfigNotification>>> deferredResult = controller .pollNotification(someAppId, someCluster, notificationAsString, someDataCenter, someClientIp); DeferredResult<ResponseEntity<List<ApolloConfigNotification>>> anotherDeferredResult = controller .pollNotification(someAppId, someCluster, notificationAsString, someDataCenter, someClientIp); long someId = 1; ReleaseMessage someReleaseMessage = new ReleaseMessage(someWatchKey); someReleaseMessage.setId(someId); controller.handleMessage(someReleaseMessage, Topics.APOLLO_RELEASE_TOPIC); //in batch mode, at most one of them should have result assertFalse(deferredResult.hasResult() && anotherDeferredResult.hasResult()); //now both of them should have result await().atMost(someBatchInterval * 500, TimeUnit.MILLISECONDS).untilAsserted( () -> assertTrue(deferredResult.hasResult() && anotherDeferredResult.hasResult())); } @Test public void testPollNotificationWithIncorrectCase() throws Exception { String appIdWithIncorrectCase = someAppId.toUpperCase(); String namespaceWithIncorrectCase = defaultNamespace.toUpperCase(); String someMessage = Joiner.on(ConfigConsts.CLUSTER_NAMESPACE_SEPARATOR) .join(someAppId, someCluster, defaultNamespace); String someWatchKey = Joiner.on(ConfigConsts.CLUSTER_NAMESPACE_SEPARATOR) .join(appIdWithIncorrectCase, someCluster, defaultNamespace); Multimap<String, String> watchKeysMap = assembleMultiMap(defaultNamespace, Lists.newArrayList(someWatchKey)); String notificationAsString = transformApolloConfigNotificationsToString(defaultNamespace.toUpperCase(), someNotificationId); when(namespaceUtil.filterNamespaceName(namespaceWithIncorrectCase)).thenReturn(namespaceWithIncorrectCase); when(namespaceUtil.normalizeNamespace(appIdWithIncorrectCase, namespaceWithIncorrectCase)).thenReturn(defaultNamespace); when(watchKeysUtil .assembleAllWatchKeys(appIdWithIncorrectCase, someCluster, Sets.newHashSet(defaultNamespace), someDataCenter)).thenReturn(watchKeysMap); DeferredResult<ResponseEntity<List<ApolloConfigNotification>>> deferredResult = controller .pollNotification(appIdWithIncorrectCase, someCluster, notificationAsString, someDataCenter, someClientIp); long someId = 1; ReleaseMessage someReleaseMessage = new ReleaseMessage(someMessage); someReleaseMessage.setId(someId); controller.handleMessage(someReleaseMessage, Topics.APOLLO_RELEASE_TOPIC); assertTrue(deferredResult.hasResult()); ResponseEntity<List<ApolloConfigNotification>> response = (ResponseEntity<List<ApolloConfigNotification>>) deferredResult.getResult(); assertEquals(1, response.getBody().size()); ApolloConfigNotification notification = response.getBody().get(0); assertEquals(HttpStatus.OK, response.getStatusCode()); assertEquals(namespaceWithIncorrectCase, notification.getNamespaceName()); assertEquals(someId, notification.getNotificationId()); ApolloNotificationMessages notificationMessages = notification.getMessages(); assertEquals(1, notificationMessages.getDetails().size()); assertEquals(someId, notificationMessages.get(someMessage).longValue()); } private String transformApolloConfigNotificationsToString( String namespace, long notificationId) { List<ApolloConfigNotification> notifications = Lists.newArrayList(assembleApolloConfigNotification(namespace, notificationId)); return gson.toJson(notifications); } private String transformApolloConfigNotificationsToString(String namespace, long notificationId, String anotherNamespace, long anotherNotificationId) { List<ApolloConfigNotification> notifications = Lists.newArrayList(assembleApolloConfigNotification(namespace, notificationId), assembleApolloConfigNotification(anotherNamespace, anotherNotificationId)); return gson.toJson(notifications); } private String transformApolloConfigNotificationsToString(String namespace, long notificationId, String anotherNamespace, long anotherNotificationId, String yetAnotherNamespace, long yetAnotherNotificationId) { List<ApolloConfigNotification> notifications = Lists.newArrayList(assembleApolloConfigNotification(namespace, notificationId), assembleApolloConfigNotification(anotherNamespace, anotherNotificationId), assembleApolloConfigNotification(yetAnotherNamespace, yetAnotherNotificationId)); return gson.toJson(notifications); } private ApolloConfigNotification assembleApolloConfigNotification(String namespace, long notificationId) { ApolloConfigNotification notification = new ApolloConfigNotification(namespace, notificationId); return notification; } private Multimap<String, String> assembleMultiMap(String key, Iterable<String> values) { Multimap<String, String> multimap = HashMultimap.create(); multimap.putAll(key, values); return multimap; } private void assertWatchKeys(Multimap<String, String> watchKeysMap, DeferredResult deferredResult) { for (String watchKey : watchKeysMap.values()) { Collection<DeferredResultWrapper> deferredResultWrappers = deferredResults.get(watchKey); boolean found = false; for (DeferredResultWrapper wrapper: deferredResultWrappers) { if (Objects.equals(wrapper.getResult(), deferredResult)) { found = true; } } assertTrue(found); } } }
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.framework.apollo.configservice.service.ReleaseMessageServiceWithCache; import com.ctrip.framework.apollo.configservice.util.NamespaceUtil; import com.ctrip.framework.apollo.configservice.util.WatchKeysUtil; import com.ctrip.framework.apollo.configservice.wrapper.DeferredResultWrapper; 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.google.common.base.Joiner; import com.google.common.collect.HashMultimap; import com.google.common.collect.Lists; import com.google.common.collect.Multimap; import com.google.common.collect.Sets; import com.google.gson.Gson; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.Mock; import org.mockito.junit.MockitoJUnitRunner; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.test.util.ReflectionTestUtils; import org.springframework.web.context.request.async.DeferredResult; import java.util.Collection; import java.util.List; import java.util.Objects; import java.util.concurrent.TimeUnit; import static org.awaitility.Awaitility.await; import static org.junit.Assert.*; import static org.mockito.Mockito.*; /** * @author Jason Song([email protected]) */ @RunWith(MockitoJUnitRunner.class) public class NotificationControllerV2Test { private NotificationControllerV2 controller; private String someAppId; private String someCluster; private String defaultCluster; private String defaultNamespace; private String somePublicNamespace; private String someDataCenter; private long someNotificationId; private String someClientIp; @Mock private ReleaseMessageServiceWithCache releaseMessageService; @Mock private EntityManagerUtil entityManagerUtil; @Mock private NamespaceUtil namespaceUtil; @Mock private WatchKeysUtil watchKeysUtil; @Mock private BizConfig bizConfig; private Gson gson; private Multimap<String, DeferredResultWrapper> deferredResults; @Before public void setUp() throws Exception { gson = new Gson(); controller = new NotificationControllerV2( watchKeysUtil, releaseMessageService, entityManagerUtil, namespaceUtil, gson, bizConfig ); when(bizConfig.releaseMessageNotificationBatch()).thenReturn(100); when(bizConfig.releaseMessageNotificationBatchIntervalInMilli()).thenReturn(5); someAppId = "someAppId"; someCluster = "someCluster"; defaultCluster = ConfigConsts.CLUSTER_NAME_DEFAULT; defaultNamespace = ConfigConsts.NAMESPACE_APPLICATION; somePublicNamespace = "somePublicNamespace"; someDataCenter = "someDC"; someNotificationId = 1; someClientIp = "someClientIp"; when(namespaceUtil.filterNamespaceName(defaultNamespace)).thenReturn(defaultNamespace); when(namespaceUtil.filterNamespaceName(somePublicNamespace)).thenReturn(somePublicNamespace); when(namespaceUtil.normalizeNamespace(someAppId, defaultNamespace)).thenReturn(defaultNamespace); when(namespaceUtil.normalizeNamespace(someAppId, somePublicNamespace)).thenReturn(somePublicNamespace); deferredResults = (Multimap<String, DeferredResultWrapper>) ReflectionTestUtils.getField(controller, "deferredResults"); } @Test public void testPollNotificationWithDefaultNamespace() throws Exception { String someWatchKey = "someKey"; String anotherWatchKey = "anotherKey"; Multimap<String, String> watchKeysMap = assembleMultiMap(defaultNamespace, Lists.newArrayList(someWatchKey, anotherWatchKey)); String notificationAsString = transformApolloConfigNotificationsToString(defaultNamespace, someNotificationId); when(watchKeysUtil .assembleAllWatchKeys(someAppId, someCluster, Sets.newHashSet(defaultNamespace), someDataCenter)).thenReturn( watchKeysMap); DeferredResult<ResponseEntity<List<ApolloConfigNotification>>> deferredResult = controller .pollNotification(someAppId, someCluster, notificationAsString, someDataCenter, someClientIp); assertEquals(watchKeysMap.size(), deferredResults.size()); assertWatchKeys(watchKeysMap, deferredResult); } @Test public void testPollNotificationWithDefaultNamespaceAsFile() throws Exception { String namespace = String.format("%s.%s", defaultNamespace, "properties"); when(namespaceUtil.filterNamespaceName(namespace)).thenReturn(defaultNamespace); String someWatchKey = "someKey"; String anotherWatchKey = "anotherKey"; Multimap<String, String> watchKeysMap = assembleMultiMap(defaultNamespace, Lists.newArrayList(someWatchKey, anotherWatchKey)); String notificationAsString = transformApolloConfigNotificationsToString(namespace, someNotificationId); when(watchKeysUtil .assembleAllWatchKeys(someAppId, someCluster, Sets.newHashSet(defaultNamespace), someDataCenter)).thenReturn( watchKeysMap); DeferredResult<ResponseEntity<List<ApolloConfigNotification>>> deferredResult = controller .pollNotification(someAppId, someCluster, notificationAsString, someDataCenter, someClientIp); assertEquals(watchKeysMap.size(), deferredResults.size()); assertWatchKeys(watchKeysMap, deferredResult); } @Test public void testPollNotificationWithMultipleNamespaces() throws Exception { String defaultNamespaceAsFile = defaultNamespace + ".properties"; String somePublicNamespaceAsFile = somePublicNamespace + ".xml"; when(namespaceUtil.filterNamespaceName(defaultNamespaceAsFile)).thenReturn(defaultNamespace); when(namespaceUtil.filterNamespaceName(somePublicNamespaceAsFile)).thenReturn(somePublicNamespaceAsFile); when(namespaceUtil.normalizeNamespace(someAppId, somePublicNamespaceAsFile)).thenReturn(somePublicNamespaceAsFile); String someWatchKey = "someKey"; String anotherWatchKey = "anotherKey"; String somePublicWatchKey = "somePublicWatchKey"; String somePublicFileWatchKey = "somePublicFileWatchKey"; Multimap<String, String> watchKeysMap = assembleMultiMap(defaultNamespace, Lists.newArrayList(someWatchKey, anotherWatchKey)); watchKeysMap .putAll(assembleMultiMap(somePublicNamespace, Lists.newArrayList(somePublicWatchKey))); watchKeysMap .putAll(assembleMultiMap(somePublicNamespaceAsFile, Lists.newArrayList(somePublicFileWatchKey))); String notificationAsString = transformApolloConfigNotificationsToString(defaultNamespaceAsFile, someNotificationId, somePublicNamespace, someNotificationId, somePublicNamespaceAsFile, someNotificationId); when(watchKeysUtil .assembleAllWatchKeys(someAppId, someCluster, Sets.newHashSet(defaultNamespace, somePublicNamespace, somePublicNamespaceAsFile), someDataCenter)).thenReturn( watchKeysMap); DeferredResult<ResponseEntity<List<ApolloConfigNotification>>> deferredResult = controller .pollNotification(someAppId, someCluster, notificationAsString, someDataCenter, someClientIp); assertEquals(watchKeysMap.size(), deferredResults.size()); assertWatchKeys(watchKeysMap, deferredResult); verify(watchKeysUtil, times(1)).assembleAllWatchKeys(someAppId, someCluster, Sets.newHashSet(defaultNamespace, somePublicNamespace, somePublicNamespaceAsFile), someDataCenter); } @Test public void testPollNotificationWithMultipleNamespaceWithNotificationIdOutDated() throws Exception { String someWatchKey = "someKey"; String anotherWatchKey = Joiner.on(ConfigConsts.CLUSTER_NAMESPACE_SEPARATOR) .join(someAppId, someCluster, somePublicNamespace); String yetAnotherWatchKey = Joiner.on(ConfigConsts.CLUSTER_NAMESPACE_SEPARATOR) .join(someAppId, defaultCluster, somePublicNamespace); long notificationId = someNotificationId + 1; long yetAnotherNotificationId = someNotificationId; Multimap<String, String> watchKeysMap = assembleMultiMap(defaultNamespace, Lists.newArrayList(someWatchKey)); watchKeysMap .putAll(assembleMultiMap(somePublicNamespace, Lists.newArrayList(anotherWatchKey, yetAnotherWatchKey))); when(watchKeysUtil .assembleAllWatchKeys(someAppId, someCluster, Sets.newHashSet(defaultNamespace, somePublicNamespace), someDataCenter)).thenReturn( watchKeysMap); ReleaseMessage someReleaseMessage = mock(ReleaseMessage.class); when(someReleaseMessage.getId()).thenReturn(notificationId); when(someReleaseMessage.getMessage()).thenReturn(anotherWatchKey); ReleaseMessage yetAnotherReleaseMessage = mock(ReleaseMessage.class); when(yetAnotherReleaseMessage.getId()).thenReturn(yetAnotherNotificationId); when(yetAnotherReleaseMessage.getMessage()).thenReturn(yetAnotherWatchKey); when(releaseMessageService .findLatestReleaseMessagesGroupByMessages(Sets.newHashSet(watchKeysMap.values()))) .thenReturn(Lists.newArrayList(someReleaseMessage, yetAnotherReleaseMessage)); String notificationAsString = transformApolloConfigNotificationsToString(defaultNamespace, someNotificationId, somePublicNamespace, someNotificationId); DeferredResult<ResponseEntity<List<ApolloConfigNotification>>> deferredResult = controller .pollNotification(someAppId, someCluster, notificationAsString, someDataCenter, someClientIp); ResponseEntity<List<ApolloConfigNotification>> result = (ResponseEntity<List<ApolloConfigNotification>>) deferredResult.getResult(); assertEquals(HttpStatus.OK, result.getStatusCode()); assertEquals(1, result.getBody().size()); assertEquals(somePublicNamespace, result.getBody().get(0).getNamespaceName()); assertEquals(notificationId, result.getBody().get(0).getNotificationId()); ApolloNotificationMessages notificationMessages = result.getBody().get(0).getMessages(); assertEquals(2, notificationMessages.getDetails().size()); assertEquals(notificationId, notificationMessages.get(anotherWatchKey).longValue()); assertEquals(yetAnotherNotificationId, notificationMessages.get(yetAnotherWatchKey).longValue()); } @Test public void testPollNotificationWithMultipleNamespacesAndHandleMessage() throws Exception { String someWatchKey = "someKey"; String anotherWatchKey = Joiner.on(ConfigConsts.CLUSTER_NAMESPACE_SEPARATOR) .join(someAppId, someCluster, somePublicNamespace); Multimap<String, String> watchKeysMap = assembleMultiMap(defaultNamespace, Lists.newArrayList(someWatchKey)); watchKeysMap .putAll(assembleMultiMap(somePublicNamespace, Lists.newArrayList(anotherWatchKey))); when(watchKeysUtil .assembleAllWatchKeys(someAppId, someCluster, Sets.newHashSet(defaultNamespace, somePublicNamespace), someDataCenter)).thenReturn( watchKeysMap); String notificationAsString = transformApolloConfigNotificationsToString(defaultNamespace, someNotificationId, somePublicNamespace, someNotificationId); DeferredResult<ResponseEntity<List<ApolloConfigNotification>>> deferredResult = controller .pollNotification(someAppId, someCluster, notificationAsString, someDataCenter, someClientIp); assertEquals(watchKeysMap.size(), deferredResults.size()); long someId = 1; ReleaseMessage someReleaseMessage = new ReleaseMessage(anotherWatchKey); someReleaseMessage.setId(someId); controller.handleMessage(someReleaseMessage, Topics.APOLLO_RELEASE_TOPIC); ResponseEntity<List<ApolloConfigNotification>> response = (ResponseEntity<List<ApolloConfigNotification>>) deferredResult.getResult(); assertEquals(1, response.getBody().size()); ApolloConfigNotification notification = response.getBody().get(0); assertEquals(HttpStatus.OK, response.getStatusCode()); assertEquals(somePublicNamespace, notification.getNamespaceName()); assertEquals(someId, notification.getNotificationId()); ApolloNotificationMessages notificationMessages = response.getBody().get(0).getMessages(); assertEquals(1, notificationMessages.getDetails().size()); assertEquals(someId, notificationMessages.get(anotherWatchKey).longValue()); } @Test public void testPollNotificationWithHandleMessageInBatch() throws Exception { String someWatchKey = Joiner.on(ConfigConsts.CLUSTER_NAMESPACE_SEPARATOR) .join(someAppId, someCluster, defaultNamespace); int someBatch = 1; int someBatchInterval = 10; Multimap<String, String> watchKeysMap = assembleMultiMap(defaultNamespace, Lists.newArrayList(someWatchKey)); String notificationAsString = transformApolloConfigNotificationsToString(defaultNamespace, someNotificationId); when(watchKeysUtil .assembleAllWatchKeys(someAppId, someCluster, Sets.newHashSet(defaultNamespace), someDataCenter)).thenReturn(watchKeysMap); when(bizConfig.releaseMessageNotificationBatch()).thenReturn(someBatch); when(bizConfig.releaseMessageNotificationBatchIntervalInMilli()).thenReturn(someBatchInterval); DeferredResult<ResponseEntity<List<ApolloConfigNotification>>> deferredResult = controller .pollNotification(someAppId, someCluster, notificationAsString, someDataCenter, someClientIp); DeferredResult<ResponseEntity<List<ApolloConfigNotification>>> anotherDeferredResult = controller .pollNotification(someAppId, someCluster, notificationAsString, someDataCenter, someClientIp); long someId = 1; ReleaseMessage someReleaseMessage = new ReleaseMessage(someWatchKey); someReleaseMessage.setId(someId); controller.handleMessage(someReleaseMessage, Topics.APOLLO_RELEASE_TOPIC); //in batch mode, at most one of them should have result assertFalse(deferredResult.hasResult() && anotherDeferredResult.hasResult()); //now both of them should have result await().atMost(someBatchInterval * 500, TimeUnit.MILLISECONDS).untilAsserted( () -> assertTrue(deferredResult.hasResult() && anotherDeferredResult.hasResult())); } @Test public void testPollNotificationWithIncorrectCase() throws Exception { String appIdWithIncorrectCase = someAppId.toUpperCase(); String namespaceWithIncorrectCase = defaultNamespace.toUpperCase(); String someMessage = Joiner.on(ConfigConsts.CLUSTER_NAMESPACE_SEPARATOR) .join(someAppId, someCluster, defaultNamespace); String someWatchKey = Joiner.on(ConfigConsts.CLUSTER_NAMESPACE_SEPARATOR) .join(appIdWithIncorrectCase, someCluster, defaultNamespace); Multimap<String, String> watchKeysMap = assembleMultiMap(defaultNamespace, Lists.newArrayList(someWatchKey)); String notificationAsString = transformApolloConfigNotificationsToString(defaultNamespace.toUpperCase(), someNotificationId); when(namespaceUtil.filterNamespaceName(namespaceWithIncorrectCase)).thenReturn(namespaceWithIncorrectCase); when(namespaceUtil.normalizeNamespace(appIdWithIncorrectCase, namespaceWithIncorrectCase)).thenReturn(defaultNamespace); when(watchKeysUtil .assembleAllWatchKeys(appIdWithIncorrectCase, someCluster, Sets.newHashSet(defaultNamespace), someDataCenter)).thenReturn(watchKeysMap); DeferredResult<ResponseEntity<List<ApolloConfigNotification>>> deferredResult = controller .pollNotification(appIdWithIncorrectCase, someCluster, notificationAsString, someDataCenter, someClientIp); long someId = 1; ReleaseMessage someReleaseMessage = new ReleaseMessage(someMessage); someReleaseMessage.setId(someId); controller.handleMessage(someReleaseMessage, Topics.APOLLO_RELEASE_TOPIC); assertTrue(deferredResult.hasResult()); ResponseEntity<List<ApolloConfigNotification>> response = (ResponseEntity<List<ApolloConfigNotification>>) deferredResult.getResult(); assertEquals(1, response.getBody().size()); ApolloConfigNotification notification = response.getBody().get(0); assertEquals(HttpStatus.OK, response.getStatusCode()); assertEquals(namespaceWithIncorrectCase, notification.getNamespaceName()); assertEquals(someId, notification.getNotificationId()); ApolloNotificationMessages notificationMessages = notification.getMessages(); assertEquals(1, notificationMessages.getDetails().size()); assertEquals(someId, notificationMessages.get(someMessage).longValue()); } private String transformApolloConfigNotificationsToString( String namespace, long notificationId) { List<ApolloConfigNotification> notifications = Lists.newArrayList(assembleApolloConfigNotification(namespace, notificationId)); return gson.toJson(notifications); } private String transformApolloConfigNotificationsToString(String namespace, long notificationId, String anotherNamespace, long anotherNotificationId) { List<ApolloConfigNotification> notifications = Lists.newArrayList(assembleApolloConfigNotification(namespace, notificationId), assembleApolloConfigNotification(anotherNamespace, anotherNotificationId)); return gson.toJson(notifications); } private String transformApolloConfigNotificationsToString(String namespace, long notificationId, String anotherNamespace, long anotherNotificationId, String yetAnotherNamespace, long yetAnotherNotificationId) { List<ApolloConfigNotification> notifications = Lists.newArrayList(assembleApolloConfigNotification(namespace, notificationId), assembleApolloConfigNotification(anotherNamespace, anotherNotificationId), assembleApolloConfigNotification(yetAnotherNamespace, yetAnotherNotificationId)); return gson.toJson(notifications); } private ApolloConfigNotification assembleApolloConfigNotification(String namespace, long notificationId) { ApolloConfigNotification notification = new ApolloConfigNotification(namespace, notificationId); return notification; } private Multimap<String, String> assembleMultiMap(String key, Iterable<String> values) { Multimap<String, String> multimap = HashMultimap.create(); multimap.putAll(key, values); return multimap; } private void assertWatchKeys(Multimap<String, String> watchKeysMap, DeferredResult deferredResult) { for (String watchKey : watchKeysMap.values()) { Collection<DeferredResultWrapper> deferredResultWrappers = deferredResults.get(watchKey); boolean found = false; for (DeferredResultWrapper wrapper: deferredResultWrappers) { if (Objects.equals(wrapper.getResult(), deferredResult)) { found = true; } } assertTrue(found); } } }
-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 contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. - [x] Write necessary unit tests to verify the code. - [x] Run `mvn clean test` to make sure this pull request doesn't break anything.
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 DefaultInjector Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. - [x] Write necessary unit tests to verify the code. - [x] Run `mvn clean test` to make sure this pull request doesn't break anything.
./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 "LPT": return Env.LPT; case "FAT": case "FWS": return Env.FAT; case "UAT": return Env.UAT; case "PRO": case "PROD": //just in case return Env.PRO; case "DEV": return Env.DEV; case "LOCAL": return Env.LOCAL; case "TOOLS": return Env.TOOLS; default: return Env.UNKNOWN; } } }
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 "LPT": return Env.LPT; case "FAT": case "FWS": return Env.FAT; case "UAT": return Env.UAT; case "PRO": case "PROD": //just in case return Env.PRO; case "DEV": return Env.DEV; case "LOCAL": return Env.LOCAL; case "TOOLS": return Env.TOOLS; default: return Env.UNKNOWN; } } }
-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 contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. - [x] Write necessary unit tests to verify the code. - [x] Run `mvn clean test` to make sure this pull request doesn't break anything.
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 DefaultInjector Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. - [x] Write necessary unit tests to verify the code. - [x] Run `mvn clean test` to make sure this pull request doesn't break anything.
./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.framework.apollo.biz.service.NamespaceService; import com.ctrip.framework.apollo.biz.service.ReleaseService; import com.ctrip.framework.apollo.common.dto.AppDTO; import com.ctrip.framework.apollo.common.dto.ClusterDTO; import com.ctrip.framework.apollo.common.dto.ItemDTO; import com.ctrip.framework.apollo.common.dto.NamespaceDTO; import com.ctrip.framework.apollo.common.dto.ReleaseDTO; import com.ctrip.framework.apollo.core.ConfigConsts; import com.google.common.base.Joiner; import com.google.gson.Gson; import org.junit.Assert; import org.junit.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpEntity; import org.springframework.http.HttpHeaders; import org.springframework.http.HttpStatus; import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; import org.springframework.test.context.jdbc.Sql; import org.springframework.test.context.jdbc.Sql.ExecutionPhase; import org.springframework.util.LinkedMultiValueMap; import org.springframework.util.MultiValueMap; import java.util.HashMap; import java.util.Map; import static org.mockito.Mockito.*; public class ReleaseControllerTest extends AbstractControllerTest { private static final Gson GSON = new Gson(); @Autowired ReleaseRepository releaseRepository; @Test @Sql(scripts = "/controller/test-release.sql", executionPhase = ExecutionPhase.BEFORE_TEST_METHOD) @Sql(scripts = "/controller/cleanup.sql", executionPhase = ExecutionPhase.AFTER_TEST_METHOD) public void testReleaseBuild() { String appId = "someAppId"; AppDTO app = restTemplate.getForObject("http://localhost:" + port + "/apps/" + appId, AppDTO.class); ClusterDTO cluster = restTemplate.getForObject( "http://localhost:" + port + "/apps/" + app.getAppId() + "/clusters/default", ClusterDTO.class); NamespaceDTO namespace = restTemplate.getForObject("http://localhost:" + port + "/apps/" + app.getAppId() + "/clusters/" + cluster.getName() + "/namespaces/application", NamespaceDTO.class); Assert.assertEquals("someAppId", app.getAppId()); Assert.assertEquals("default", cluster.getName()); Assert.assertEquals("application", namespace.getNamespaceName()); ItemDTO[] items = restTemplate.getForObject( "http://localhost:" + port + "/apps/" + app.getAppId() + "/clusters/" + cluster.getName() + "/namespaces/" + namespace.getNamespaceName() + "/items", ItemDTO[].class); Assert.assertEquals(3, items.length); HttpHeaders headers = new HttpHeaders(); headers.setContentType(MediaType.APPLICATION_FORM_URLENCODED); MultiValueMap<String, String> parameters = new LinkedMultiValueMap<>(); parameters.add("name", "someReleaseName"); parameters.add("comment", "someComment"); parameters.add("operator", "test"); HttpEntity<MultiValueMap<String, String>> entity = new HttpEntity<>(parameters, headers); ResponseEntity<ReleaseDTO> response = restTemplate.postForEntity( "http://localhost:" + port + "/apps/" + app.getAppId() + "/clusters/" + cluster.getName() + "/namespaces/" + namespace.getNamespaceName() + "/releases", entity, ReleaseDTO.class); Assert.assertEquals(HttpStatus.OK, response.getStatusCode()); ReleaseDTO release = response.getBody(); Assert.assertEquals("someReleaseName", release.getName()); Assert.assertEquals("someComment", release.getComment()); Assert.assertEquals("someAppId", release.getAppId()); Assert.assertEquals("default", release.getClusterName()); Assert.assertEquals("application", release.getNamespaceName()); Map<String, String> configurations = new HashMap<>(); configurations.put("k1", "v1"); configurations.put("k2", "v2"); configurations.put("k3", "v3"); Assert.assertEquals(GSON.toJson(configurations), release.getConfigurations()); } @Test public void testMessageSendAfterBuildRelease() throws Exception { String someAppId = "someAppId"; String someNamespaceName = "someNamespace"; String someCluster = "someCluster"; String someName = "someName"; String someComment = "someComment"; String someUserName = "someUser"; NamespaceService someNamespaceService = mock(NamespaceService.class); ReleaseService someReleaseService = mock(ReleaseService.class); MessageSender someMessageSender = mock(MessageSender.class); Namespace someNamespace = mock(Namespace.class); ReleaseController releaseController = new ReleaseController(someReleaseService, someNamespaceService, someMessageSender, null); when(someNamespaceService.findOne(someAppId, someCluster, someNamespaceName)) .thenReturn(someNamespace); releaseController .publish(someAppId, someCluster, someNamespaceName, someName, someComment, "test", false); verify(someMessageSender, times(1)) .sendMessage(Joiner.on(ConfigConsts.CLUSTER_NAMESPACE_SEPARATOR) .join(someAppId, someCluster, someNamespaceName), Topics.APOLLO_RELEASE_TOPIC); } }
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.framework.apollo.biz.service.NamespaceService; import com.ctrip.framework.apollo.biz.service.ReleaseService; import com.ctrip.framework.apollo.common.dto.AppDTO; import com.ctrip.framework.apollo.common.dto.ClusterDTO; import com.ctrip.framework.apollo.common.dto.ItemDTO; import com.ctrip.framework.apollo.common.dto.NamespaceDTO; import com.ctrip.framework.apollo.common.dto.ReleaseDTO; import com.ctrip.framework.apollo.core.ConfigConsts; import com.google.common.base.Joiner; import com.google.gson.Gson; import org.junit.Assert; import org.junit.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpEntity; import org.springframework.http.HttpHeaders; import org.springframework.http.HttpStatus; import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; import org.springframework.test.context.jdbc.Sql; import org.springframework.test.context.jdbc.Sql.ExecutionPhase; import org.springframework.util.LinkedMultiValueMap; import org.springframework.util.MultiValueMap; import java.util.HashMap; import java.util.Map; import static org.mockito.Mockito.*; public class ReleaseControllerTest extends AbstractControllerTest { private static final Gson GSON = new Gson(); @Autowired ReleaseRepository releaseRepository; @Test @Sql(scripts = "/controller/test-release.sql", executionPhase = ExecutionPhase.BEFORE_TEST_METHOD) @Sql(scripts = "/controller/cleanup.sql", executionPhase = ExecutionPhase.AFTER_TEST_METHOD) public void testReleaseBuild() { String appId = "someAppId"; AppDTO app = restTemplate.getForObject("http://localhost:" + port + "/apps/" + appId, AppDTO.class); ClusterDTO cluster = restTemplate.getForObject( "http://localhost:" + port + "/apps/" + app.getAppId() + "/clusters/default", ClusterDTO.class); NamespaceDTO namespace = restTemplate.getForObject("http://localhost:" + port + "/apps/" + app.getAppId() + "/clusters/" + cluster.getName() + "/namespaces/application", NamespaceDTO.class); Assert.assertEquals("someAppId", app.getAppId()); Assert.assertEquals("default", cluster.getName()); Assert.assertEquals("application", namespace.getNamespaceName()); ItemDTO[] items = restTemplate.getForObject( "http://localhost:" + port + "/apps/" + app.getAppId() + "/clusters/" + cluster.getName() + "/namespaces/" + namespace.getNamespaceName() + "/items", ItemDTO[].class); Assert.assertEquals(3, items.length); HttpHeaders headers = new HttpHeaders(); headers.setContentType(MediaType.APPLICATION_FORM_URLENCODED); MultiValueMap<String, String> parameters = new LinkedMultiValueMap<>(); parameters.add("name", "someReleaseName"); parameters.add("comment", "someComment"); parameters.add("operator", "test"); HttpEntity<MultiValueMap<String, String>> entity = new HttpEntity<>(parameters, headers); ResponseEntity<ReleaseDTO> response = restTemplate.postForEntity( "http://localhost:" + port + "/apps/" + app.getAppId() + "/clusters/" + cluster.getName() + "/namespaces/" + namespace.getNamespaceName() + "/releases", entity, ReleaseDTO.class); Assert.assertEquals(HttpStatus.OK, response.getStatusCode()); ReleaseDTO release = response.getBody(); Assert.assertEquals("someReleaseName", release.getName()); Assert.assertEquals("someComment", release.getComment()); Assert.assertEquals("someAppId", release.getAppId()); Assert.assertEquals("default", release.getClusterName()); Assert.assertEquals("application", release.getNamespaceName()); Map<String, String> configurations = new HashMap<>(); configurations.put("k1", "v1"); configurations.put("k2", "v2"); configurations.put("k3", "v3"); Assert.assertEquals(GSON.toJson(configurations), release.getConfigurations()); } @Test public void testMessageSendAfterBuildRelease() throws Exception { String someAppId = "someAppId"; String someNamespaceName = "someNamespace"; String someCluster = "someCluster"; String someName = "someName"; String someComment = "someComment"; String someUserName = "someUser"; NamespaceService someNamespaceService = mock(NamespaceService.class); ReleaseService someReleaseService = mock(ReleaseService.class); MessageSender someMessageSender = mock(MessageSender.class); Namespace someNamespace = mock(Namespace.class); ReleaseController releaseController = new ReleaseController(someReleaseService, someNamespaceService, someMessageSender, null); when(someNamespaceService.findOne(someAppId, someCluster, someNamespaceName)) .thenReturn(someNamespace); releaseController .publish(someAppId, someCluster, someNamespaceName, someName, someComment, "test", false); verify(someMessageSender, times(1)) .sendMessage(Joiner.on(ConfigConsts.CLUSTER_NAMESPACE_SEPARATOR) .join(someAppId, someCluster, someNamespaceName), Topics.APOLLO_RELEASE_TOPIC); } }
-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 contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. - [x] Write necessary unit tests to verify the code. - [x] Run `mvn clean test` to make sure this pull request doesn't break anything.
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 DefaultInjector Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. - [x] Write necessary unit tests to verify the code. - [x] Run `mvn clean test` to make sure this pull request doesn't break anything.
./apollo-common/src/main/java/com/ctrip/framework/apollo/common/constants/ReleaseOperation.java
package com.ctrip.framework.apollo.common.constants; /** * @author Jason Song([email protected]) */ 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 = 5; int MATER_ROLLBACK_MERGE_TO_GRAY = 6; int ABANDON_GRAY_RELEASE = 7; int GRAY_RELEASE_DELETED_AFTER_MERGE = 8; }
package com.ctrip.framework.apollo.common.constants; /** * @author Jason Song([email protected]) */ 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 = 5; int MATER_ROLLBACK_MERGE_TO_GRAY = 6; int ABANDON_GRAY_RELEASE = 7; int GRAY_RELEASE_DELETED_AFTER_MERGE = 8; }
-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 contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. - [x] Write necessary unit tests to verify the code. - [x] Run `mvn clean test` to make sure this pull request doesn't break anything.
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 DefaultInjector Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. - [x] Write necessary unit tests to verify the code. - [x] Run `mvn clean test` to make sure this pull request doesn't break anything.
./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.env.ConfigurableEnvironment; import static org.mockito.Mockito.when; public class ConfigTest extends AbstractUnitTest{ @Mock private ConfigurableEnvironment environment; @InjectMocks private PortalConfig config; @Test public void testGetNotExistValue() { String testKey = "key"; String testDefaultValue = "value"; when(environment.getProperty(testKey, testDefaultValue)).thenReturn(testDefaultValue); Assert.assertEquals(testDefaultValue, config.getValue(testKey, testDefaultValue)); } @Test public void testGetArrayProperty() { String testKey = "key"; String testValue = "a,b,c"; when(environment.getProperty(testKey)).thenReturn(testValue); String[] result = config.getArrayProperty(testKey, null); Assert.assertEquals(3, result.length); Assert.assertEquals("a", result[0]); Assert.assertEquals("b", result[1]); Assert.assertEquals("c", result[2]); } @Test public void testGetBooleanProperty() { String testKey = "key"; String testValue = "true"; when(environment.getProperty(testKey)).thenReturn(testValue); boolean result = config.getBooleanProperty(testKey, false); Assert.assertTrue(result); } @Test public void testGetIntProperty() { String testKey = "key"; String testValue = "1024"; when(environment.getProperty(testKey)).thenReturn(testValue); int result = config.getIntProperty(testKey, 0); Assert.assertEquals(1024, result); } }
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.env.ConfigurableEnvironment; import static org.mockito.Mockito.when; public class ConfigTest extends AbstractUnitTest{ @Mock private ConfigurableEnvironment environment; @InjectMocks private PortalConfig config; @Test public void testGetNotExistValue() { String testKey = "key"; String testDefaultValue = "value"; when(environment.getProperty(testKey, testDefaultValue)).thenReturn(testDefaultValue); Assert.assertEquals(testDefaultValue, config.getValue(testKey, testDefaultValue)); } @Test public void testGetArrayProperty() { String testKey = "key"; String testValue = "a,b,c"; when(environment.getProperty(testKey)).thenReturn(testValue); String[] result = config.getArrayProperty(testKey, null); Assert.assertEquals(3, result.length); Assert.assertEquals("a", result[0]); Assert.assertEquals("b", result[1]); Assert.assertEquals("c", result[2]); } @Test public void testGetBooleanProperty() { String testKey = "key"; String testValue = "true"; when(environment.getProperty(testKey)).thenReturn(testValue); boolean result = config.getBooleanProperty(testKey, false); Assert.assertTrue(result); } @Test public void testGetIntProperty() { String testKey = "key"; String testValue = "1024"; when(environment.getProperty(testKey)).thenReturn(testValue); int result = config.getIntProperty(testKey, 0); Assert.assertEquals(1024, result); } }
-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 contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. - [x] Write necessary unit tests to verify the code. - [x] Run `mvn clean test` to make sure this pull request doesn't break anything.
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 DefaultInjector Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. - [x] Write necessary unit tests to verify the code. - [x] Run `mvn clean test` to make sure this pull request doesn't break anything.
./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([email protected]) */ @Entity @Table(name = "ReleaseHistory") @SQLDelete(sql = "Update ReleaseHistory set isDeleted = 1 where id = ?") @Where(clause = "isDeleted = 0") public class ReleaseHistory extends BaseEntity { @Column(name = "AppId", nullable = false) private String appId; @Column(name = "ClusterName", nullable = false) private String clusterName; @Column(name = "NamespaceName", nullable = false) private String namespaceName; @Column(name = "BranchName", nullable = false) private String branchName; @Column(name = "ReleaseId") private long releaseId; @Column(name = "PreviousReleaseId") private long previousReleaseId; @Column(name = "Operation") private int operation; @Column(name = "OperationContext", nullable = false) private String operationContext; public String getAppId() { return appId; } public void setAppId(String appId) { this.appId = appId; } public String getClusterName() { return clusterName; } public void setClusterName(String clusterName) { this.clusterName = clusterName; } public String getNamespaceName() { return namespaceName; } public void setNamespaceName(String namespaceName) { this.namespaceName = namespaceName; } public String getBranchName() { return branchName; } public void setBranchName(String branchName) { this.branchName = branchName; } public long getReleaseId() { return releaseId; } public void setReleaseId(long releaseId) { this.releaseId = releaseId; } public long getPreviousReleaseId() { return previousReleaseId; } public void setPreviousReleaseId(long previousReleaseId) { this.previousReleaseId = previousReleaseId; } public int getOperation() { return operation; } public void setOperation(int operation) { this.operation = operation; } public String getOperationContext() { return operationContext; } public void setOperationContext(String operationContext) { this.operationContext = operationContext; } public String toString() { return toStringHelper().add("appId", appId).add("clusterName", clusterName) .add("namespaceName", namespaceName).add("branchName", branchName) .add("releaseId", releaseId).add("previousReleaseId", previousReleaseId) .add("operation", operation).toString(); } }
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([email protected]) */ @Entity @Table(name = "ReleaseHistory") @SQLDelete(sql = "Update ReleaseHistory set isDeleted = 1 where id = ?") @Where(clause = "isDeleted = 0") public class ReleaseHistory extends BaseEntity { @Column(name = "AppId", nullable = false) private String appId; @Column(name = "ClusterName", nullable = false) private String clusterName; @Column(name = "NamespaceName", nullable = false) private String namespaceName; @Column(name = "BranchName", nullable = false) private String branchName; @Column(name = "ReleaseId") private long releaseId; @Column(name = "PreviousReleaseId") private long previousReleaseId; @Column(name = "Operation") private int operation; @Column(name = "OperationContext", nullable = false) private String operationContext; public String getAppId() { return appId; } public void setAppId(String appId) { this.appId = appId; } public String getClusterName() { return clusterName; } public void setClusterName(String clusterName) { this.clusterName = clusterName; } public String getNamespaceName() { return namespaceName; } public void setNamespaceName(String namespaceName) { this.namespaceName = namespaceName; } public String getBranchName() { return branchName; } public void setBranchName(String branchName) { this.branchName = branchName; } public long getReleaseId() { return releaseId; } public void setReleaseId(long releaseId) { this.releaseId = releaseId; } public long getPreviousReleaseId() { return previousReleaseId; } public void setPreviousReleaseId(long previousReleaseId) { this.previousReleaseId = previousReleaseId; } public int getOperation() { return operation; } public void setOperation(int operation) { this.operation = operation; } public String getOperationContext() { return operationContext; } public void setOperationContext(String operationContext) { this.operationContext = operationContext; } public String toString() { return toStringHelper().add("appId", appId).add("clusterName", clusterName) .add("namespaceName", namespaceName).add("branchName", branchName) .add("releaseId", releaseId).add("previousReleaseId", previousReleaseId) .add("operation", operation).toString(); } }
-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 contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. - [x] Write necessary unit tests to verify the code. - [x] Run `mvn clean test` to make sure this pull request doesn't break anything.
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 DefaultInjector Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. - [x] Write necessary unit tests to verify the code. - [x] Run `mvn clean test` to make sure this pull request doesn't break anything.
./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.boot.autoconfigure.EnableAutoConfiguration; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.EnableAspectJAutoProxy; import org.springframework.context.annotation.PropertySource; import org.springframework.transaction.annotation.EnableTransactionManagement; /** * Spring boot application entry point * * @author Jason Song([email protected]) */ @EnableAspectJAutoProxy @EnableAutoConfiguration @Configuration @EnableTransactionManagement @PropertySource(value = {"classpath:configservice.properties"}) @ComponentScan(basePackageClasses = {ApolloCommonConfig.class, ApolloBizConfig.class, ConfigServiceApplication.class, ApolloMetaServiceConfig.class}) public class ConfigServiceApplication { public static void main(String[] args) throws Exception { SpringApplication.run(ConfigServiceApplication.class, args); } }
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.boot.autoconfigure.EnableAutoConfiguration; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.EnableAspectJAutoProxy; import org.springframework.context.annotation.PropertySource; import org.springframework.transaction.annotation.EnableTransactionManagement; /** * Spring boot application entry point * * @author Jason Song([email protected]) */ @EnableAspectJAutoProxy @EnableAutoConfiguration @Configuration @EnableTransactionManagement @PropertySource(value = {"classpath:configservice.properties"}) @ComponentScan(basePackageClasses = {ApolloCommonConfig.class, ApolloBizConfig.class, ConfigServiceApplication.class, ApolloMetaServiceConfig.class}) public class ConfigServiceApplication { public static void main(String[] args) throws Exception { SpringApplication.run(ConfigServiceApplication.class, args); } }
-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 contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. - [x] Write necessary unit tests to verify the code. - [x] Run `mvn clean test` to make sure this pull request doesn't break anything.
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 DefaultInjector Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. - [x] Write necessary unit tests to verify the code. - [x] Run `mvn clean test` to make sure this pull request doesn't break anything.
./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 Song([email protected]) */ @Entity @Table(name = "UserRole") @SQLDelete(sql = "Update UserRole set isDeleted = 1 where id = ?") @Where(clause = "isDeleted = 0") public class UserRole extends BaseEntity { @Column(name = "UserId", nullable = false) private String userId; @Column(name = "RoleId", nullable = false) private long roleId; public String getUserId() { return userId; } public void setUserId(String userId) { this.userId = userId; } public long getRoleId() { return roleId; } public void setRoleId(long roleId) { this.roleId = roleId; } }
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 Song([email protected]) */ @Entity @Table(name = "UserRole") @SQLDelete(sql = "Update UserRole set isDeleted = 1 where id = ?") @Where(clause = "isDeleted = 0") public class UserRole extends BaseEntity { @Column(name = "UserId", nullable = false) private String userId; @Column(name = "RoleId", nullable = false) private long roleId; public String getUserId() { return userId; } public void setUserId(String userId) { this.userId = userId; } public long getRoleId() { return roleId; } public void setRoleId(long roleId) { this.roleId = roleId; } }
-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 contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. - [x] Write necessary unit tests to verify the code. - [x] Run `mvn clean test` to make sure this pull request doesn't break anything.
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 DefaultInjector Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. - [x] Write necessary unit tests to verify the code. - [x] Run `mvn clean test` to make sure this pull request doesn't break anything.
./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 contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. - [x] Write necessary unit tests to verify the code. - [x] Run `mvn clean test` to make sure this pull request doesn't break anything.
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 DefaultInjector Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. - [x] Write necessary unit tests to verify the code. - [x] Run `mvn clean test` to make sure this pull request doesn't break anything.
./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.SpringValueRegistry; import com.ctrip.framework.apollo.tracer.Tracer; import com.google.inject.AbstractModule; import com.google.inject.Guice; import com.google.inject.Injector; import com.google.inject.Singleton; public class SpringInjector { private static volatile Injector s_injector; private static final Object lock = new Object(); private static Injector getInjector() { if (s_injector == null) { synchronized (lock) { if (s_injector == null) { try { s_injector = Guice.createInjector(new SpringModule()); } catch (Throwable ex) { ApolloConfigException exception = new ApolloConfigException("Unable to initialize Apollo Spring Injector!", ex); Tracer.logError(exception); throw exception; } } } } return s_injector; } public static <T> T getInstance(Class<T> clazz) { try { return getInjector().getInstance(clazz); } catch (Throwable ex) { Tracer.logError(ex); throw new ApolloConfigException( String.format("Unable to load instance for %s!", clazz.getName()), ex); } } private static class SpringModule extends AbstractModule { @Override protected void configure() { bind(PlaceholderHelper.class).in(Singleton.class); bind(ConfigPropertySourceFactory.class).in(Singleton.class); bind(SpringValueRegistry.class).in(Singleton.class); } } }
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.SpringValueRegistry; import com.ctrip.framework.apollo.tracer.Tracer; import com.google.inject.AbstractModule; import com.google.inject.Guice; import com.google.inject.Injector; import com.google.inject.Singleton; public class SpringInjector { private static volatile Injector s_injector; private static final Object lock = new Object(); private static Injector getInjector() { if (s_injector == null) { synchronized (lock) { if (s_injector == null) { try { s_injector = Guice.createInjector(new SpringModule()); } catch (Throwable ex) { ApolloConfigException exception = new ApolloConfigException("Unable to initialize Apollo Spring Injector!", ex); Tracer.logError(exception); throw exception; } } } } return s_injector; } public static <T> T getInstance(Class<T> clazz) { try { return getInjector().getInstance(clazz); } catch (Throwable ex) { Tracer.logError(ex); throw new ApolloConfigException( String.format("Unable to load instance for %s!", clazz.getName()), ex); } } private static class SpringModule extends AbstractModule { @Override protected void configure() { bind(PlaceholderHelper.class).in(Singleton.class); bind(ConfigPropertySourceFactory.class).in(Singleton.class); bind(SpringValueRegistry.class).in(Singleton.class); } } }
-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 contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. - [x] Write necessary unit tests to verify the code. - [x] Run `mvn clean test` to make sure this pull request doesn't break anything.
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 DefaultInjector Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. - [x] Write necessary unit tests to verify the code. - [x] Run `mvn clean test` to make sure this pull request doesn't break anything.
./apollo-portal/src/main/resources/static/img/secret.png
PNG  IHDRXIDATx^ \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!?⻧MA8*–.D6l*LҥR@4^{27Rp $P3%*_x釬߯L \lRx q觔jDanV2]%p RB&8"KНnWkVh!+]T1Ĩ/ċF!b-&\<ܽZ\.: SyA߈xy ^7Eސ۩hN8KFjij:U}\sF>veRpܥݵNܨmL>ہ #5*lԷV2D``Rt/2d-oyʟgȤj 3-6:ƽ?Wwh׮Ah3r%빟ȹ]r]8sT7%[7qڦ/;k2m@f/p;܉M `Aszv_xq^s_ArNp. jy3: Eo}Y=' YߺrBQh]#ڹ.hܰR4dπk޵Ʉ H=> FൿC1gBīS@gX?@;?ksW$ܻ0_^dҺM-+ t97T Z~7 X?Lw?xMK @;zدv|tݺވN,+s۩=b-߻"sݶڷtFZ50Fi'훛.Dž$ (^nR ]D=u9kd5SM@[e`y*( A{$IL%w!VQ:/ߐwҞ MvҀMm]}v=7dܫݛye0^_Wa.R<z5'kd*Ca_{ns۩| +!Z4j4{5kw~"}~CV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;A80/ H[O꧙hwhUШ}61[Ëa^ ^u]}o.a^O Upܥ̈́9x8%8ۺH9թzH'YtR̯0u2s~!Yі?pxZ&[email protected]ۄˋmb'Qv y6CfEk$ %""t7P/ 9nExIѣVtZFi1]=^?15T% wpis IvIjf]KbeC}G`׫}nF}7.I ʒܠQ?ɒ#g+|$Ik[̷1sc}G>d`^2A{e!0NSIM lKܢ *:k_&)N"٨}-9`Zy e}pʑ˞Sq2})ϫΤ$mU >Ŋu)fp3ѣAvlRhJhK@҉_$&7Pq?KUzdF[be8cjo}"b h#Yі N$T˴G%Tvvedd7VFKM{OY_t~GbTW(^.[$h0>߮tƒ:I?aoߗ -9y~ĩF oԫ E "/O`]^ N@*̶7-W튷z'Dn΂NձvI% Zq+3}!y* kVf4zfH[AY`cAmg'F՘їC-c{{Ib*G9-VJ̆Z36Z.sc-ǧS&jZyМkPPLPE27d䦕r$ *fnH@rJ9r愀L4RLE`E6d䢍red(C+y C H@{4QLpE|{('PH@HO@Ao@) J$ wPWJ@N` A ?`h+=K Ƞu\\2 ѓIENDB`
-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 contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. - [x] Write necessary unit tests to verify the code. - [x] Run `mvn clean test` to make sure this pull request doesn't break anything.
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 DefaultInjector Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. - [x] Write necessary unit tests to verify the code. - [x] Run `mvn clean test` to make sure this pull request doesn't break anything.
./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.ctrip.framework.apollo.portal.spi.LogoutHandler; import com.ctrip.framework.apollo.portal.spi.UserInfoHolder; import com.ctrip.framework.apollo.portal.spi.UserService; import com.ctrip.framework.apollo.portal.spi.springsecurity.SpringSecurityUserService; import org.springframework.security.access.prepost.PreAuthorize; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RestController; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException; import java.util.List; @RestController public class UserInfoController { private final UserInfoHolder userInfoHolder; private final LogoutHandler logoutHandler; private final UserService userService; public UserInfoController( final UserInfoHolder userInfoHolder, final LogoutHandler logoutHandler, final UserService userService) { this.userInfoHolder = userInfoHolder; this.logoutHandler = logoutHandler; this.userService = userService; } @PreAuthorize(value = "@permissionValidator.isSuperAdmin()") @PostMapping("/users") public void createOrUpdateUser(@RequestBody UserPO user) { if (StringUtils.isContainEmpty(user.getUsername(), user.getPassword())) { throw new BadRequestException("Username and password can not be empty."); } if (userService instanceof SpringSecurityUserService) { ((SpringSecurityUserService) userService).createOrUpdate(user); } else { throw new UnsupportedOperationException("Create or update user operation is unsupported"); } } @GetMapping("/user") public UserInfo getCurrentUserName() { return userInfoHolder.getUser(); } @GetMapping("/user/logout") public void logout(HttpServletRequest request, HttpServletResponse response) throws IOException { logoutHandler.logout(request, response); } @GetMapping("/users") public List<UserInfo> searchUsersByKeyword(@RequestParam(value = "keyword") String keyword, @RequestParam(value = "offset", defaultValue = "0") int offset, @RequestParam(value = "limit", defaultValue = "10") int limit) { return userService.searchUsers(keyword, offset, limit); } @GetMapping("/users/{userId}") public UserInfo getUserByUserId(@PathVariable String userId) { return userService.findByUserId(userId); } }
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.ctrip.framework.apollo.portal.spi.LogoutHandler; import com.ctrip.framework.apollo.portal.spi.UserInfoHolder; import com.ctrip.framework.apollo.portal.spi.UserService; import com.ctrip.framework.apollo.portal.spi.springsecurity.SpringSecurityUserService; import org.springframework.security.access.prepost.PreAuthorize; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RestController; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException; import java.util.List; @RestController public class UserInfoController { private final UserInfoHolder userInfoHolder; private final LogoutHandler logoutHandler; private final UserService userService; public UserInfoController( final UserInfoHolder userInfoHolder, final LogoutHandler logoutHandler, final UserService userService) { this.userInfoHolder = userInfoHolder; this.logoutHandler = logoutHandler; this.userService = userService; } @PreAuthorize(value = "@permissionValidator.isSuperAdmin()") @PostMapping("/users") public void createOrUpdateUser(@RequestBody UserPO user) { if (StringUtils.isContainEmpty(user.getUsername(), user.getPassword())) { throw new BadRequestException("Username and password can not be empty."); } if (userService instanceof SpringSecurityUserService) { ((SpringSecurityUserService) userService).createOrUpdate(user); } else { throw new UnsupportedOperationException("Create or update user operation is unsupported"); } } @GetMapping("/user") public UserInfo getCurrentUserName() { return userInfoHolder.getUser(); } @GetMapping("/user/logout") public void logout(HttpServletRequest request, HttpServletResponse response) throws IOException { logoutHandler.logout(request, response); } @GetMapping("/users") public List<UserInfo> searchUsersByKeyword(@RequestParam(value = "keyword") String keyword, @RequestParam(value = "offset", defaultValue = "0") int offset, @RequestParam(value = "limit", defaultValue = "10") int limit) { return userService.searchUsers(keyword, offset, limit); } @GetMapping("/users/{userId}") public UserInfo getUserByUserId(@PathVariable String userId) { return userService.findByUserId(userId); } }
-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 contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. - [x] Write necessary unit tests to verify the code. - [x] Run `mvn clean test` to make sure this pull request doesn't break anything.
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 DefaultInjector Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. - [x] Write necessary unit tests to verify the code. - [x] Run `mvn clean test` to make sure this pull request doesn't break anything.
./doc/images/gray-release/abandon-gray-release.png
PNG  IHDRa8Y IDATxřI9G$ 9 &'9}>mg0DDQD9 +mN3贈fYV_Uں6QXX4b " " " " " " " " " O H@@8M'J$ܯj " " " " " " " " " " " " " " " " " " ]DqU HD4G8@hnn7Zee555eqIU4=yyy֣GٳBܫJ,;&I`@oҥǭ[n L<gmf%%%6l0  Wi4~9}Txl'b khh[$Qc4O'"shV~Y>}r* ޻3*M03VUU9/??y. \Db˶l"ѯs*& /O^W(:F̙36}38âν,ׯ_ooM:Ս" " " A~~x)t>>Yy@)@\u%G!dSnj3f̰—c+`nݺ?rH;S?SUܟ~۴i?`;-UWW_1b3?ScΜ9c\.2h" " " ".ǯ]YD@:D@aA]NYdڢ3pq66~|WZZDwҽ{Zgԍ^AH!wAh/q1>/qO}a;c 4 #I˧Xm~ g?~{h->z2G}d?yI}" " " " " " " "v`u뭷&+ĠەW^Ŀl+/*7 D$ 4;+ N 2čB&#Z1 ҏU GX+**qOD;7<O:$<>C駟NʁIlɮ\>2̔' ^#ǏDxqnC:# ;E[x^3"Ԓ%KL:cƌ:0xUVV&EZmmmR-ogTO«%w7ښ5kCqwO> 8ЮZFDE [nIz*׉Ȁ#H׋,_WWoc[wB 8DI~7{ 'L21D#mJUfuRHE? AAq(!>Q`yK%"bB/XeYY)ڣG.˙ƹ"-EX{\T1AûeI sISӅYf.ę<]{cʺ>lW,ψ;SlʕN-t6ڸ˗/w6= ᷧ~p1"5jԞc׻&`TqD7Yj /8A >:77;҅L♏ !$U|券MYTTdp?5]Ńs= ڥ/$nogpÆ ֻwoַ<:,ʁ"GuT0k@V/gpkDk׮uÖ`m/14ocbwdO6ՎreZ Yua  [[ךּ*؝xv]3۷yf"цg` =}Y;\tpN6< izM%o񆋳딗z-|]tEg E =@.:D!l2Kw}>^k8脈ENw TeeF]y3f݄ 2܁8FOG=('y=)aB`C/]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Yb?dM*3|%kѵv=坥/r>Z@ hkw]Olğ{xwߩZqrC3f%PcKjmafmVLز_i;qCN,,2u "3#qmݶu%[lEwy"$@"$@"$@"0fh}Dq>qn;7&C@ǒ~*2 Af;b^w[sq7xc%ZwUf%pC! S i(Xoo;Kq9J9X /K:qW#HFi+A"I@曖$gAcb?e}#K?VQSSD HD HD HD`7)}&GcI?IA9^{=<0aB/$DvmB! êU+6D!Ёx6?Xa!,q@塥,x?"gBḰT< K>d}Dz}, - >+QVnv"nI0lYxTc6$@"$@"$@"$@"N2uZkF{Hӌ3˔,&-EB|@,ѵfmAR9)FcNef"r 2I8XªN)MyҎM,Y!X'~߮ˡ "~Y  1r eܸ7PMY|ee"gfuVHq,u<3(['O>nJ>MD *6٧'^C wE@2fJ͞)1FfHk\s h[p:3oYdI:JMw}YnR0JŻ`~fV{bCAN<j˞-UJTY<};&@"$@"$@"$@"t4uZ,u",YBC=5$@"$@"$@"$@"0t$7t{ȓ&M*;7?$@"$@"$@"$@"YY$@"$@"$@"$@"$"߬"D HD HD HD HC IːN"$@"$@"$@"$@"0~`OR @1J@"We;=>j@G%5BnZ>AkLQ!Ji72HO&ȹD/wFn}.kZ%2nښfd&kׅr`.e]a7CIDATx<:NK)3OIɐ[g"׊E,ϐ@ #<ϻiq`5#oc^}6Q>NukcjMB]0cF#4Nܵn& zx< |a,Wwү@Á0q<aV ~uQ{@@uzۡNcpa +\8m'&_x^0,lyO/U*@|>nPJA.LK;>xmV(kzJ҃_b7@xX,j%5^\.kΫV5M KQ7lۦFeXC^Wx)51P} rpdtWc)v  *YX|j@ɫW=W?'&v@IENDB`
-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 contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. - [x] Write necessary unit tests to verify the code. - [x] Run `mvn clean test` to make sure this pull request doesn't break anything.
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 DefaultInjector Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. - [x] Write necessary unit tests to verify the code. - [x] Run `mvn clean test` to make sure this pull request doesn't break anything.
./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; import com.ctrip.framework.apollo.biz.message.MessageSender; import com.ctrip.framework.apollo.biz.message.Topics; import com.ctrip.framework.apollo.biz.repository.NamespaceRepository; import com.ctrip.framework.apollo.biz.utils.ReleaseMessageKeyGenerator; import com.ctrip.framework.apollo.common.constants.GsonType; import com.ctrip.framework.apollo.common.constants.NamespaceBranchStatus; import com.ctrip.framework.apollo.common.entity.AppNamespace; import com.ctrip.framework.apollo.common.exception.BadRequestException; import com.ctrip.framework.apollo.common.exception.ServiceException; import com.ctrip.framework.apollo.common.utils.BeanUtils; import com.ctrip.framework.apollo.core.ConfigConsts; import com.google.common.collect.Maps; import com.google.gson.Gson; import org.springframework.context.annotation.Lazy; import org.springframework.data.domain.Pageable; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import org.springframework.util.CollectionUtils; import java.util.Collections; import java.util.Date; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.Objects; import java.util.Set; import java.util.stream.Collectors; @Service public class NamespaceService { private static final Gson GSON = new Gson(); private final NamespaceRepository namespaceRepository; private final AuditService auditService; private final AppNamespaceService appNamespaceService; private final ItemService itemService; private final CommitService commitService; private final ReleaseService releaseService; private final ClusterService clusterService; private final NamespaceBranchService namespaceBranchService; private final ReleaseHistoryService releaseHistoryService; private final NamespaceLockService namespaceLockService; private final InstanceService instanceService; private final MessageSender messageSender; public NamespaceService( final ReleaseHistoryService releaseHistoryService, final NamespaceRepository namespaceRepository, final AuditService auditService, final @Lazy AppNamespaceService appNamespaceService, final MessageSender messageSender, final @Lazy ItemService itemService, final CommitService commitService, final @Lazy ReleaseService releaseService, final @Lazy ClusterService clusterService, final @Lazy NamespaceBranchService namespaceBranchService, final NamespaceLockService namespaceLockService, final InstanceService instanceService) { this.releaseHistoryService = releaseHistoryService; this.namespaceRepository = namespaceRepository; this.auditService = auditService; this.appNamespaceService = appNamespaceService; this.messageSender = messageSender; this.itemService = itemService; this.commitService = commitService; this.releaseService = releaseService; this.clusterService = clusterService; this.namespaceBranchService = namespaceBranchService; this.namespaceLockService = namespaceLockService; this.instanceService = instanceService; } public Namespace findOne(Long namespaceId) { return namespaceRepository.findById(namespaceId).orElse(null); } public Namespace findOne(String appId, String clusterName, String namespaceName) { return namespaceRepository.findByAppIdAndClusterNameAndNamespaceName(appId, clusterName, namespaceName); } public Namespace findPublicNamespaceForAssociatedNamespace(String clusterName, String namespaceName) { AppNamespace appNamespace = appNamespaceService.findPublicNamespaceByName(namespaceName); if (appNamespace == null) { throw new BadRequestException("namespace not exist"); } String appId = appNamespace.getAppId(); Namespace namespace = findOne(appId, clusterName, namespaceName); //default cluster's namespace if (Objects.equals(clusterName, ConfigConsts.CLUSTER_NAME_DEFAULT)) { return namespace; } //custom cluster's namespace not exist. //return default cluster's namespace if (namespace == null) { return findOne(appId, ConfigConsts.CLUSTER_NAME_DEFAULT, namespaceName); } //custom cluster's namespace exist and has published. //return custom cluster's namespace Release latestActiveRelease = releaseService.findLatestActiveRelease(namespace); if (latestActiveRelease != null) { return namespace; } Namespace defaultNamespace = findOne(appId, ConfigConsts.CLUSTER_NAME_DEFAULT, namespaceName); //custom cluster's namespace exist but never published. //and default cluster's namespace not exist. //return custom cluster's namespace if (defaultNamespace == null) { return namespace; } //custom cluster's namespace exist but never published. //and default cluster's namespace exist and has published. //return default cluster's namespace Release defaultNamespaceLatestActiveRelease = releaseService.findLatestActiveRelease(defaultNamespace); if (defaultNamespaceLatestActiveRelease != null) { return defaultNamespace; } //custom cluster's namespace exist but never published. //and default cluster's namespace exist but never published. //return custom cluster's namespace return namespace; } public List<Namespace> findPublicAppNamespaceAllNamespaces(String namespaceName, Pageable page) { AppNamespace publicAppNamespace = appNamespaceService.findPublicNamespaceByName(namespaceName); if (publicAppNamespace == null) { throw new BadRequestException( String.format("Public appNamespace not exists. NamespaceName = %s", namespaceName)); } List<Namespace> namespaces = namespaceRepository.findByNamespaceName(namespaceName, page); return filterChildNamespace(namespaces); } private List<Namespace> filterChildNamespace(List<Namespace> namespaces) { List<Namespace> result = new LinkedList<>(); if (CollectionUtils.isEmpty(namespaces)) { return result; } for (Namespace namespace : namespaces) { if (!isChildNamespace(namespace)) { result.add(namespace); } } return result; } public int countPublicAppNamespaceAssociatedNamespaces(String publicNamespaceName) { AppNamespace publicAppNamespace = appNamespaceService.findPublicNamespaceByName(publicNamespaceName); if (publicAppNamespace == null) { throw new BadRequestException( String.format("Public appNamespace not exists. NamespaceName = %s", publicNamespaceName)); } return namespaceRepository.countByNamespaceNameAndAppIdNot(publicNamespaceName, publicAppNamespace.getAppId()); } public List<Namespace> findNamespaces(String appId, String clusterName) { List<Namespace> namespaces = namespaceRepository.findByAppIdAndClusterNameOrderByIdAsc(appId, clusterName); if (namespaces == null) { return Collections.emptyList(); } return namespaces; } public List<Namespace> findByAppIdAndNamespaceName(String appId, String namespaceName) { return namespaceRepository.findByAppIdAndNamespaceNameOrderByIdAsc(appId, namespaceName); } public Namespace findChildNamespace(String appId, String parentClusterName, String namespaceName) { List<Namespace> namespaces = findByAppIdAndNamespaceName(appId, namespaceName); if (CollectionUtils.isEmpty(namespaces) || namespaces.size() == 1) { return null; } List<Cluster> childClusters = clusterService.findChildClusters(appId, parentClusterName); if (CollectionUtils.isEmpty(childClusters)) { return null; } Set<String> childClusterNames = childClusters.stream().map(Cluster::getName).collect(Collectors.toSet()); //the child namespace is the intersection of the child clusters and child namespaces for (Namespace namespace : namespaces) { if (childClusterNames.contains(namespace.getClusterName())) { return namespace; } } return null; } public Namespace findChildNamespace(Namespace parentNamespace) { String appId = parentNamespace.getAppId(); String parentClusterName = parentNamespace.getClusterName(); String namespaceName = parentNamespace.getNamespaceName(); return findChildNamespace(appId, parentClusterName, namespaceName); } public Namespace findParentNamespace(String appId, String clusterName, String namespaceName) { return findParentNamespace(new Namespace(appId, clusterName, namespaceName)); } public Namespace findParentNamespace(Namespace namespace) { String appId = namespace.getAppId(); String namespaceName = namespace.getNamespaceName(); Cluster cluster = clusterService.findOne(appId, namespace.getClusterName()); if (cluster != null && cluster.getParentClusterId() > 0) { Cluster parentCluster = clusterService.findOne(cluster.getParentClusterId()); return findOne(appId, parentCluster.getName(), namespaceName); } return null; } public boolean isChildNamespace(String appId, String clusterName, String namespaceName) { return isChildNamespace(new Namespace(appId, clusterName, namespaceName)); } public boolean isChildNamespace(Namespace namespace) { return findParentNamespace(namespace) != null; } public boolean isNamespaceUnique(String appId, String cluster, String namespace) { Objects.requireNonNull(appId, "AppId must not be null"); Objects.requireNonNull(cluster, "Cluster must not be null"); Objects.requireNonNull(namespace, "Namespace must not be null"); return Objects.isNull( namespaceRepository.findByAppIdAndClusterNameAndNamespaceName(appId, cluster, namespace)); } @Transactional public void deleteByAppIdAndClusterName(String appId, String clusterName, String operator) { List<Namespace> toDeleteNamespaces = findNamespaces(appId, clusterName); for (Namespace namespace : toDeleteNamespaces) { deleteNamespace(namespace, operator); } } @Transactional public Namespace deleteNamespace(Namespace namespace, String operator) { String appId = namespace.getAppId(); String clusterName = namespace.getClusterName(); String namespaceName = namespace.getNamespaceName(); itemService.batchDelete(namespace.getId(), operator); commitService.batchDelete(appId, clusterName, namespace.getNamespaceName(), operator); // Child namespace releases should retain as long as the parent namespace exists, because parent namespaces' release // histories need them if (!isChildNamespace(namespace)) { releaseService.batchDelete(appId, clusterName, namespace.getNamespaceName(), operator); } //delete child namespace Namespace childNamespace = findChildNamespace(namespace); if (childNamespace != null) { namespaceBranchService.deleteBranch(appId, clusterName, namespaceName, childNamespace.getClusterName(), NamespaceBranchStatus.DELETED, operator); //delete child namespace's releases. Notice: delete child namespace will not delete child namespace's releases releaseService.batchDelete(appId, childNamespace.getClusterName(), namespaceName, operator); } releaseHistoryService.batchDelete(appId, clusterName, namespaceName, operator); instanceService.batchDeleteInstanceConfig(appId, clusterName, namespaceName); namespaceLockService.unlock(namespace.getId()); namespace.setDeleted(true); namespace.setDataChangeLastModifiedBy(operator); auditService.audit(Namespace.class.getSimpleName(), namespace.getId(), Audit.OP.DELETE, operator); Namespace deleted = namespaceRepository.save(namespace); //Publish release message to do some clean up in config service, such as updating the cache messageSender.sendMessage(ReleaseMessageKeyGenerator.generate(appId, clusterName, namespaceName), Topics.APOLLO_RELEASE_TOPIC); return deleted; } @Transactional public Namespace save(Namespace entity) { if (!isNamespaceUnique(entity.getAppId(), entity.getClusterName(), entity.getNamespaceName())) { throw new ServiceException("namespace not unique"); } entity.setId(0);//protection Namespace namespace = namespaceRepository.save(entity); auditService.audit(Namespace.class.getSimpleName(), namespace.getId(), Audit.OP.INSERT, namespace.getDataChangeCreatedBy()); return namespace; } @Transactional public Namespace update(Namespace namespace) { Namespace managedNamespace = namespaceRepository.findByAppIdAndClusterNameAndNamespaceName( namespace.getAppId(), namespace.getClusterName(), namespace.getNamespaceName()); BeanUtils.copyEntityProperties(namespace, managedNamespace); managedNamespace = namespaceRepository.save(managedNamespace); auditService.audit(Namespace.class.getSimpleName(), managedNamespace.getId(), Audit.OP.UPDATE, managedNamespace.getDataChangeLastModifiedBy()); return managedNamespace; } @Transactional public void instanceOfAppNamespaces(String appId, String clusterName, String createBy) { List<AppNamespace> appNamespaces = appNamespaceService.findByAppId(appId); for (AppNamespace appNamespace : appNamespaces) { Namespace ns = new Namespace(); ns.setAppId(appId); ns.setClusterName(clusterName); ns.setNamespaceName(appNamespace.getName()); ns.setDataChangeCreatedBy(createBy); ns.setDataChangeLastModifiedBy(createBy); namespaceRepository.save(ns); auditService.audit(Namespace.class.getSimpleName(), ns.getId(), Audit.OP.INSERT, createBy); } } public Map<String, Boolean> namespacePublishInfo(String appId) { List<Cluster> clusters = clusterService.findParentClusters(appId); if (CollectionUtils.isEmpty(clusters)) { throw new BadRequestException("app not exist"); } Map<String, Boolean> clusterHasNotPublishedItems = Maps.newHashMap(); for (Cluster cluster : clusters) { String clusterName = cluster.getName(); List<Namespace> namespaces = findNamespaces(appId, clusterName); for (Namespace namespace : namespaces) { boolean isNamespaceNotPublished = isNamespaceNotPublished(namespace); if (isNamespaceNotPublished) { clusterHasNotPublishedItems.put(clusterName, true); break; } } clusterHasNotPublishedItems.putIfAbsent(clusterName, false); } return clusterHasNotPublishedItems; } private boolean isNamespaceNotPublished(Namespace namespace) { Release latestRelease = releaseService.findLatestActiveRelease(namespace); long namespaceId = namespace.getId(); if (latestRelease == null) { Item lastItem = itemService.findLastOne(namespaceId); return lastItem != null; } Date lastPublishTime = latestRelease.getDataChangeLastModifiedTime(); List<Item> itemsModifiedAfterLastPublish = itemService.findItemsModifiedAfterDate(namespaceId, lastPublishTime); if (CollectionUtils.isEmpty(itemsModifiedAfterLastPublish)) { return false; } Map<String, String> publishedConfiguration = GSON.fromJson(latestRelease.getConfigurations(), GsonType.CONFIG); for (Item item : itemsModifiedAfterLastPublish) { if (!Objects.equals(item.getValue(), publishedConfiguration.get(item.getKey()))) { return true; } } return false; } }
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; import com.ctrip.framework.apollo.biz.message.MessageSender; import com.ctrip.framework.apollo.biz.message.Topics; import com.ctrip.framework.apollo.biz.repository.NamespaceRepository; import com.ctrip.framework.apollo.biz.utils.ReleaseMessageKeyGenerator; import com.ctrip.framework.apollo.common.constants.GsonType; import com.ctrip.framework.apollo.common.constants.NamespaceBranchStatus; import com.ctrip.framework.apollo.common.entity.AppNamespace; import com.ctrip.framework.apollo.common.exception.BadRequestException; import com.ctrip.framework.apollo.common.exception.ServiceException; import com.ctrip.framework.apollo.common.utils.BeanUtils; import com.ctrip.framework.apollo.core.ConfigConsts; import com.google.common.collect.Maps; import com.google.gson.Gson; import org.springframework.context.annotation.Lazy; import org.springframework.data.domain.Pageable; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import org.springframework.util.CollectionUtils; import java.util.Collections; import java.util.Date; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.Objects; import java.util.Set; import java.util.stream.Collectors; @Service public class NamespaceService { private static final Gson GSON = new Gson(); private final NamespaceRepository namespaceRepository; private final AuditService auditService; private final AppNamespaceService appNamespaceService; private final ItemService itemService; private final CommitService commitService; private final ReleaseService releaseService; private final ClusterService clusterService; private final NamespaceBranchService namespaceBranchService; private final ReleaseHistoryService releaseHistoryService; private final NamespaceLockService namespaceLockService; private final InstanceService instanceService; private final MessageSender messageSender; public NamespaceService( final ReleaseHistoryService releaseHistoryService, final NamespaceRepository namespaceRepository, final AuditService auditService, final @Lazy AppNamespaceService appNamespaceService, final MessageSender messageSender, final @Lazy ItemService itemService, final CommitService commitService, final @Lazy ReleaseService releaseService, final @Lazy ClusterService clusterService, final @Lazy NamespaceBranchService namespaceBranchService, final NamespaceLockService namespaceLockService, final InstanceService instanceService) { this.releaseHistoryService = releaseHistoryService; this.namespaceRepository = namespaceRepository; this.auditService = auditService; this.appNamespaceService = appNamespaceService; this.messageSender = messageSender; this.itemService = itemService; this.commitService = commitService; this.releaseService = releaseService; this.clusterService = clusterService; this.namespaceBranchService = namespaceBranchService; this.namespaceLockService = namespaceLockService; this.instanceService = instanceService; } public Namespace findOne(Long namespaceId) { return namespaceRepository.findById(namespaceId).orElse(null); } public Namespace findOne(String appId, String clusterName, String namespaceName) { return namespaceRepository.findByAppIdAndClusterNameAndNamespaceName(appId, clusterName, namespaceName); } public Namespace findPublicNamespaceForAssociatedNamespace(String clusterName, String namespaceName) { AppNamespace appNamespace = appNamespaceService.findPublicNamespaceByName(namespaceName); if (appNamespace == null) { throw new BadRequestException("namespace not exist"); } String appId = appNamespace.getAppId(); Namespace namespace = findOne(appId, clusterName, namespaceName); //default cluster's namespace if (Objects.equals(clusterName, ConfigConsts.CLUSTER_NAME_DEFAULT)) { return namespace; } //custom cluster's namespace not exist. //return default cluster's namespace if (namespace == null) { return findOne(appId, ConfigConsts.CLUSTER_NAME_DEFAULT, namespaceName); } //custom cluster's namespace exist and has published. //return custom cluster's namespace Release latestActiveRelease = releaseService.findLatestActiveRelease(namespace); if (latestActiveRelease != null) { return namespace; } Namespace defaultNamespace = findOne(appId, ConfigConsts.CLUSTER_NAME_DEFAULT, namespaceName); //custom cluster's namespace exist but never published. //and default cluster's namespace not exist. //return custom cluster's namespace if (defaultNamespace == null) { return namespace; } //custom cluster's namespace exist but never published. //and default cluster's namespace exist and has published. //return default cluster's namespace Release defaultNamespaceLatestActiveRelease = releaseService.findLatestActiveRelease(defaultNamespace); if (defaultNamespaceLatestActiveRelease != null) { return defaultNamespace; } //custom cluster's namespace exist but never published. //and default cluster's namespace exist but never published. //return custom cluster's namespace return namespace; } public List<Namespace> findPublicAppNamespaceAllNamespaces(String namespaceName, Pageable page) { AppNamespace publicAppNamespace = appNamespaceService.findPublicNamespaceByName(namespaceName); if (publicAppNamespace == null) { throw new BadRequestException( String.format("Public appNamespace not exists. NamespaceName = %s", namespaceName)); } List<Namespace> namespaces = namespaceRepository.findByNamespaceName(namespaceName, page); return filterChildNamespace(namespaces); } private List<Namespace> filterChildNamespace(List<Namespace> namespaces) { List<Namespace> result = new LinkedList<>(); if (CollectionUtils.isEmpty(namespaces)) { return result; } for (Namespace namespace : namespaces) { if (!isChildNamespace(namespace)) { result.add(namespace); } } return result; } public int countPublicAppNamespaceAssociatedNamespaces(String publicNamespaceName) { AppNamespace publicAppNamespace = appNamespaceService.findPublicNamespaceByName(publicNamespaceName); if (publicAppNamespace == null) { throw new BadRequestException( String.format("Public appNamespace not exists. NamespaceName = %s", publicNamespaceName)); } return namespaceRepository.countByNamespaceNameAndAppIdNot(publicNamespaceName, publicAppNamespace.getAppId()); } public List<Namespace> findNamespaces(String appId, String clusterName) { List<Namespace> namespaces = namespaceRepository.findByAppIdAndClusterNameOrderByIdAsc(appId, clusterName); if (namespaces == null) { return Collections.emptyList(); } return namespaces; } public List<Namespace> findByAppIdAndNamespaceName(String appId, String namespaceName) { return namespaceRepository.findByAppIdAndNamespaceNameOrderByIdAsc(appId, namespaceName); } public Namespace findChildNamespace(String appId, String parentClusterName, String namespaceName) { List<Namespace> namespaces = findByAppIdAndNamespaceName(appId, namespaceName); if (CollectionUtils.isEmpty(namespaces) || namespaces.size() == 1) { return null; } List<Cluster> childClusters = clusterService.findChildClusters(appId, parentClusterName); if (CollectionUtils.isEmpty(childClusters)) { return null; } Set<String> childClusterNames = childClusters.stream().map(Cluster::getName).collect(Collectors.toSet()); //the child namespace is the intersection of the child clusters and child namespaces for (Namespace namespace : namespaces) { if (childClusterNames.contains(namespace.getClusterName())) { return namespace; } } return null; } public Namespace findChildNamespace(Namespace parentNamespace) { String appId = parentNamespace.getAppId(); String parentClusterName = parentNamespace.getClusterName(); String namespaceName = parentNamespace.getNamespaceName(); return findChildNamespace(appId, parentClusterName, namespaceName); } public Namespace findParentNamespace(String appId, String clusterName, String namespaceName) { return findParentNamespace(new Namespace(appId, clusterName, namespaceName)); } public Namespace findParentNamespace(Namespace namespace) { String appId = namespace.getAppId(); String namespaceName = namespace.getNamespaceName(); Cluster cluster = clusterService.findOne(appId, namespace.getClusterName()); if (cluster != null && cluster.getParentClusterId() > 0) { Cluster parentCluster = clusterService.findOne(cluster.getParentClusterId()); return findOne(appId, parentCluster.getName(), namespaceName); } return null; } public boolean isChildNamespace(String appId, String clusterName, String namespaceName) { return isChildNamespace(new Namespace(appId, clusterName, namespaceName)); } public boolean isChildNamespace(Namespace namespace) { return findParentNamespace(namespace) != null; } public boolean isNamespaceUnique(String appId, String cluster, String namespace) { Objects.requireNonNull(appId, "AppId must not be null"); Objects.requireNonNull(cluster, "Cluster must not be null"); Objects.requireNonNull(namespace, "Namespace must not be null"); return Objects.isNull( namespaceRepository.findByAppIdAndClusterNameAndNamespaceName(appId, cluster, namespace)); } @Transactional public void deleteByAppIdAndClusterName(String appId, String clusterName, String operator) { List<Namespace> toDeleteNamespaces = findNamespaces(appId, clusterName); for (Namespace namespace : toDeleteNamespaces) { deleteNamespace(namespace, operator); } } @Transactional public Namespace deleteNamespace(Namespace namespace, String operator) { String appId = namespace.getAppId(); String clusterName = namespace.getClusterName(); String namespaceName = namespace.getNamespaceName(); itemService.batchDelete(namespace.getId(), operator); commitService.batchDelete(appId, clusterName, namespace.getNamespaceName(), operator); // Child namespace releases should retain as long as the parent namespace exists, because parent namespaces' release // histories need them if (!isChildNamespace(namespace)) { releaseService.batchDelete(appId, clusterName, namespace.getNamespaceName(), operator); } //delete child namespace Namespace childNamespace = findChildNamespace(namespace); if (childNamespace != null) { namespaceBranchService.deleteBranch(appId, clusterName, namespaceName, childNamespace.getClusterName(), NamespaceBranchStatus.DELETED, operator); //delete child namespace's releases. Notice: delete child namespace will not delete child namespace's releases releaseService.batchDelete(appId, childNamespace.getClusterName(), namespaceName, operator); } releaseHistoryService.batchDelete(appId, clusterName, namespaceName, operator); instanceService.batchDeleteInstanceConfig(appId, clusterName, namespaceName); namespaceLockService.unlock(namespace.getId()); namespace.setDeleted(true); namespace.setDataChangeLastModifiedBy(operator); auditService.audit(Namespace.class.getSimpleName(), namespace.getId(), Audit.OP.DELETE, operator); Namespace deleted = namespaceRepository.save(namespace); //Publish release message to do some clean up in config service, such as updating the cache messageSender.sendMessage(ReleaseMessageKeyGenerator.generate(appId, clusterName, namespaceName), Topics.APOLLO_RELEASE_TOPIC); return deleted; } @Transactional public Namespace save(Namespace entity) { if (!isNamespaceUnique(entity.getAppId(), entity.getClusterName(), entity.getNamespaceName())) { throw new ServiceException("namespace not unique"); } entity.setId(0);//protection Namespace namespace = namespaceRepository.save(entity); auditService.audit(Namespace.class.getSimpleName(), namespace.getId(), Audit.OP.INSERT, namespace.getDataChangeCreatedBy()); return namespace; } @Transactional public Namespace update(Namespace namespace) { Namespace managedNamespace = namespaceRepository.findByAppIdAndClusterNameAndNamespaceName( namespace.getAppId(), namespace.getClusterName(), namespace.getNamespaceName()); BeanUtils.copyEntityProperties(namespace, managedNamespace); managedNamespace = namespaceRepository.save(managedNamespace); auditService.audit(Namespace.class.getSimpleName(), managedNamespace.getId(), Audit.OP.UPDATE, managedNamespace.getDataChangeLastModifiedBy()); return managedNamespace; } @Transactional public void instanceOfAppNamespaces(String appId, String clusterName, String createBy) { List<AppNamespace> appNamespaces = appNamespaceService.findByAppId(appId); for (AppNamespace appNamespace : appNamespaces) { Namespace ns = new Namespace(); ns.setAppId(appId); ns.setClusterName(clusterName); ns.setNamespaceName(appNamespace.getName()); ns.setDataChangeCreatedBy(createBy); ns.setDataChangeLastModifiedBy(createBy); namespaceRepository.save(ns); auditService.audit(Namespace.class.getSimpleName(), ns.getId(), Audit.OP.INSERT, createBy); } } public Map<String, Boolean> namespacePublishInfo(String appId) { List<Cluster> clusters = clusterService.findParentClusters(appId); if (CollectionUtils.isEmpty(clusters)) { throw new BadRequestException("app not exist"); } Map<String, Boolean> clusterHasNotPublishedItems = Maps.newHashMap(); for (Cluster cluster : clusters) { String clusterName = cluster.getName(); List<Namespace> namespaces = findNamespaces(appId, clusterName); for (Namespace namespace : namespaces) { boolean isNamespaceNotPublished = isNamespaceNotPublished(namespace); if (isNamespaceNotPublished) { clusterHasNotPublishedItems.put(clusterName, true); break; } } clusterHasNotPublishedItems.putIfAbsent(clusterName, false); } return clusterHasNotPublishedItems; } private boolean isNamespaceNotPublished(Namespace namespace) { Release latestRelease = releaseService.findLatestActiveRelease(namespace); long namespaceId = namespace.getId(); if (latestRelease == null) { Item lastItem = itemService.findLastOne(namespaceId); return lastItem != null; } Date lastPublishTime = latestRelease.getDataChangeLastModifiedTime(); List<Item> itemsModifiedAfterLastPublish = itemService.findItemsModifiedAfterDate(namespaceId, lastPublishTime); if (CollectionUtils.isEmpty(itemsModifiedAfterLastPublish)) { return false; } Map<String, String> publishedConfiguration = GSON.fromJson(latestRelease.getConfigurations(), GsonType.CONFIG); for (Item item : itemsModifiedAfterLastPublish) { if (!Objects.equals(item.getValue(), publishedConfiguration.get(item.getKey()))) { return true; } } return false; } }
-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 contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. - [x] Write necessary unit tests to verify the code. - [x] Run `mvn clean test` to make sure this pull request doesn't break anything.
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 DefaultInjector Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. - [x] Write necessary unit tests to verify the code. - [x] Run `mvn clean test` to make sure this pull request doesn't break anything.
./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', 'someOperator');
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', 'someOperator');
-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 contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. - [x] Write necessary unit tests to verify the code. - [x] Run `mvn clean test` to make sure this pull request doesn't break anything.
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 DefaultInjector Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. - [x] Write necessary unit tests to verify the code. - [x] Run `mvn clean test` to make sure this pull request doesn't break anything.
./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 contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. - [x] Write necessary unit tests to verify the code. - [x] Run `mvn clean test` to make sure this pull request doesn't break anything.
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 DefaultInjector Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. - [x] Write necessary unit tests to verify the code. - [x] Run `mvn clean test` to make sure this pull request doesn't break anything.
./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', 'SystemRoleService', function SystemRoleController($scope, $location, $window, $translate, toastr, AppService, UserService, AppUtil, EnvService, PermissionService, SystemRoleService) { $scope.addCreateApplicationBtnDisabled = false; $scope.deleteCreateApplicationBtnDisabled = false; $scope.modifySystemRoleWidgetId = 'modifySystemRoleWidgetId'; $scope.modifyManageAppMasterRoleWidgetId = 'modifyManageAppMasterRoleWidgetId'; $scope.hasCreateApplicationPermissionUserList = []; $scope.operateManageAppMasterRoleBtn = true; $scope.app = { appId: "", info: "" }; initPermission(); $scope.addCreateApplicationRoleToUser = function () { var user = $('.' + $scope.modifySystemRoleWidgetId).select2('data')[0]; if (!user) { toastr.warning($translate.instant('SystemRole.PleaseChooseUser')); return; } SystemRoleService.add_create_application_role(user.id) .then( function (value) { toastr.info($translate.instant('SystemRole.Added')); getCreateApplicationRoleUsers(); }, function (reason) { toastr.warning(AppUtil.errorMsg(reason), $translate.instant('SystemRole.AddFailed')); } ); }; $scope.deleteCreateApplicationRoleFromUser = function (userId) { SystemRoleService.delete_create_application_role(userId) .then( function (value) { toastr.info($translate.instant('SystemRole.Deleted')); getCreateApplicationRoleUsers(); }, function (reason) { toastr.warn(AppUtil.errorMsg(reason), $translate.instant('SystemRole.DeleteFailed')); } ); }; function getCreateApplicationRoleUsers() { SystemRoleService.get_create_application_role_users() .then( function (result) { $scope.hasCreateApplicationPermissionUserList = result; }, function (reason) { toastr.warning(AppUtil.errorMsg(reason), $translate.instant('SystemRole.GetCanCreateProjectUsersError')); } ) } function initPermission() { PermissionService.has_root_permission() .then(function (result) { $scope.isRootUser = result.hasPermission; if ($scope.isRootUser) { getCreateApplicationRoleUsers(); } }); } $scope.getAppInfo = function () { if (!$scope.app.appId) { toastr.warning($translate.instant('SystemRole.PleaseEnterAppId')); $scope.operateManageAppMasterRoleBtn = true; return; } $scope.app.info = ""; AppService.load($scope.app.appId).then(function (result) { if (!result.appId) { toastr.warning($translate.instant('SystemRole.AppIdNotFound', { appId: $scope.app.appId })); $scope.operateManageAppMasterRoleBtn = true; return; } $scope.app.info = $translate.instant('SystemRole.AppInfoContent', { appName: result.name, departmentName: result.orgName, departmentId: result.orgId, ownerName: result.ownerName }); $scope.operateManageAppMasterRoleBtn = false; }, function (result) { AppUtil.showErrorMsg(result); $scope.operateManageAppMasterRoleBt = true; }); }; $scope.deleteAppMasterAssignRole = function () { if (!$scope.app.appId) { toastr.warning($translate.instant('SystemRole.PleaseEnterAppId')); return; } var user = $('.' + $scope.modifyManageAppMasterRoleWidgetId).select2('data')[0]; if (!user) { toastr.warning($translate.instant('SystemRole.PleaseChooseUser')); return; } var confirmTips = $translate.instant('SystemRole.DeleteMasterAssignRoleTips', { appId: $scope.app.appId, userId: user.id }); if (confirm(confirmTips)) { AppService.delete_app_master_assign_role($scope.app.appId, user.id).then(function (result) { var deletedTips = $translate.instant('SystemRole.DeletedMasterAssignRoleTips', { appId: $scope.app.appId, userId: user.id }); toastr.success(deletedTips); $scope.operateManageAppMasterRoleBtn = true; }, function (result) { AppUtil.showErrorMsg(result); }) } }; $scope.allowAppMasterAssignRole = function () { if (!$scope.app.appId) { toastr.warning($translate.instant('SystemRole.PleaseEnterAppId')); return; } var user = $('.' + $scope.modifyManageAppMasterRoleWidgetId).select2('data')[0]; if (!user) { toastr.warning($translate.instant('SystemRole.PleaseChooseUser')); return; } var confirmTips = $translate.instant('SystemRole.AllowAppMasterAssignRoleTips', { appId: $scope.app.appId, userId: user.id }); if (confirm(confirmTips)) { AppService.allow_app_master_assign_role($scope.app.appId, user.id).then(function (result) { var allowedTips = $translate.instant('SystemRole.AllowedAppMasterAssignRoleTips', { appId: $scope.app.appId, userId: user.id }); toastr.success(allowedTips); $scope.operateManageAppMasterRoleBtn = true; }, function (result) { AppUtil.showErrorMsg(result); }) } }; }]);
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', 'SystemRoleService', function SystemRoleController($scope, $location, $window, $translate, toastr, AppService, UserService, AppUtil, EnvService, PermissionService, SystemRoleService) { $scope.addCreateApplicationBtnDisabled = false; $scope.deleteCreateApplicationBtnDisabled = false; $scope.modifySystemRoleWidgetId = 'modifySystemRoleWidgetId'; $scope.modifyManageAppMasterRoleWidgetId = 'modifyManageAppMasterRoleWidgetId'; $scope.hasCreateApplicationPermissionUserList = []; $scope.operateManageAppMasterRoleBtn = true; $scope.app = { appId: "", info: "" }; initPermission(); $scope.addCreateApplicationRoleToUser = function () { var user = $('.' + $scope.modifySystemRoleWidgetId).select2('data')[0]; if (!user) { toastr.warning($translate.instant('SystemRole.PleaseChooseUser')); return; } SystemRoleService.add_create_application_role(user.id) .then( function (value) { toastr.info($translate.instant('SystemRole.Added')); getCreateApplicationRoleUsers(); }, function (reason) { toastr.warning(AppUtil.errorMsg(reason), $translate.instant('SystemRole.AddFailed')); } ); }; $scope.deleteCreateApplicationRoleFromUser = function (userId) { SystemRoleService.delete_create_application_role(userId) .then( function (value) { toastr.info($translate.instant('SystemRole.Deleted')); getCreateApplicationRoleUsers(); }, function (reason) { toastr.warn(AppUtil.errorMsg(reason), $translate.instant('SystemRole.DeleteFailed')); } ); }; function getCreateApplicationRoleUsers() { SystemRoleService.get_create_application_role_users() .then( function (result) { $scope.hasCreateApplicationPermissionUserList = result; }, function (reason) { toastr.warning(AppUtil.errorMsg(reason), $translate.instant('SystemRole.GetCanCreateProjectUsersError')); } ) } function initPermission() { PermissionService.has_root_permission() .then(function (result) { $scope.isRootUser = result.hasPermission; if ($scope.isRootUser) { getCreateApplicationRoleUsers(); } }); } $scope.getAppInfo = function () { if (!$scope.app.appId) { toastr.warning($translate.instant('SystemRole.PleaseEnterAppId')); $scope.operateManageAppMasterRoleBtn = true; return; } $scope.app.info = ""; AppService.load($scope.app.appId).then(function (result) { if (!result.appId) { toastr.warning($translate.instant('SystemRole.AppIdNotFound', { appId: $scope.app.appId })); $scope.operateManageAppMasterRoleBtn = true; return; } $scope.app.info = $translate.instant('SystemRole.AppInfoContent', { appName: result.name, departmentName: result.orgName, departmentId: result.orgId, ownerName: result.ownerName }); $scope.operateManageAppMasterRoleBtn = false; }, function (result) { AppUtil.showErrorMsg(result); $scope.operateManageAppMasterRoleBt = true; }); }; $scope.deleteAppMasterAssignRole = function () { if (!$scope.app.appId) { toastr.warning($translate.instant('SystemRole.PleaseEnterAppId')); return; } var user = $('.' + $scope.modifyManageAppMasterRoleWidgetId).select2('data')[0]; if (!user) { toastr.warning($translate.instant('SystemRole.PleaseChooseUser')); return; } var confirmTips = $translate.instant('SystemRole.DeleteMasterAssignRoleTips', { appId: $scope.app.appId, userId: user.id }); if (confirm(confirmTips)) { AppService.delete_app_master_assign_role($scope.app.appId, user.id).then(function (result) { var deletedTips = $translate.instant('SystemRole.DeletedMasterAssignRoleTips', { appId: $scope.app.appId, userId: user.id }); toastr.success(deletedTips); $scope.operateManageAppMasterRoleBtn = true; }, function (result) { AppUtil.showErrorMsg(result); }) } }; $scope.allowAppMasterAssignRole = function () { if (!$scope.app.appId) { toastr.warning($translate.instant('SystemRole.PleaseEnterAppId')); return; } var user = $('.' + $scope.modifyManageAppMasterRoleWidgetId).select2('data')[0]; if (!user) { toastr.warning($translate.instant('SystemRole.PleaseChooseUser')); return; } var confirmTips = $translate.instant('SystemRole.AllowAppMasterAssignRoleTips', { appId: $scope.app.appId, userId: user.id }); if (confirm(confirmTips)) { AppService.allow_app_master_assign_role($scope.app.appId, user.id).then(function (result) { var allowedTips = $translate.instant('SystemRole.AllowedAppMasterAssignRoleTips', { appId: $scope.app.appId, userId: user.id }); toastr.success(allowedTips); $scope.operateManageAppMasterRoleBtn = true; }, function (result) { AppUtil.showErrorMsg(result); }) } }; }]);
-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 contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. - [x] Write necessary unit tests to verify the code. - [x] Run `mvn clean test` to make sure this pull request doesn't break anything.
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 DefaultInjector Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. - [x] Write necessary unit tests to verify the code. - [x] Run `mvn clean test` to make sure this pull request doesn't break anything.
./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.common.entity.AppNamespace; import com.ctrip.framework.apollo.common.exception.ServiceException; import com.ctrip.framework.apollo.common.utils.BeanUtils; import com.ctrip.framework.apollo.core.ConfigConsts; import com.ctrip.framework.apollo.core.enums.ConfigFileFormat; import com.ctrip.framework.apollo.core.utils.StringUtils; import com.google.common.base.Preconditions; import com.google.common.base.Strings; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.context.annotation.Lazy; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import java.util.Collections; import java.util.List; import java.util.Objects; import java.util.Set; @Service public class AppNamespaceService { private static final Logger logger = LoggerFactory.getLogger(AppNamespaceService.class); private final AppNamespaceRepository appNamespaceRepository; private final NamespaceService namespaceService; private final ClusterService clusterService; private final AuditService auditService; public AppNamespaceService( final AppNamespaceRepository appNamespaceRepository, final @Lazy NamespaceService namespaceService, final @Lazy ClusterService clusterService, final AuditService auditService) { this.appNamespaceRepository = appNamespaceRepository; this.namespaceService = namespaceService; this.clusterService = clusterService; this.auditService = auditService; } public boolean isAppNamespaceNameUnique(String appId, String namespaceName) { Objects.requireNonNull(appId, "AppId must not be null"); Objects.requireNonNull(namespaceName, "Namespace must not be null"); return Objects.isNull(appNamespaceRepository.findByAppIdAndName(appId, namespaceName)); } public AppNamespace findPublicNamespaceByName(String namespaceName) { Preconditions.checkArgument(namespaceName != null, "Namespace must not be null"); return appNamespaceRepository.findByNameAndIsPublicTrue(namespaceName); } public List<AppNamespace> findByAppId(String appId) { return appNamespaceRepository.findByAppId(appId); } public List<AppNamespace> findPublicNamespacesByNames(Set<String> namespaceNames) { if (namespaceNames == null || namespaceNames.isEmpty()) { return Collections.emptyList(); } return appNamespaceRepository.findByNameInAndIsPublicTrue(namespaceNames); } public List<AppNamespace> findPrivateAppNamespace(String appId) { return appNamespaceRepository.findByAppIdAndIsPublic(appId, false); } public AppNamespace findOne(String appId, String namespaceName) { Preconditions .checkArgument(!StringUtils.isContainEmpty(appId, namespaceName), "appId or Namespace must not be null"); return appNamespaceRepository.findByAppIdAndName(appId, namespaceName); } public List<AppNamespace> findByAppIdAndNamespaces(String appId, Set<String> namespaceNames) { Preconditions.checkArgument(!Strings.isNullOrEmpty(appId), "appId must not be null"); if (namespaceNames == null || namespaceNames.isEmpty()) { return Collections.emptyList(); } return appNamespaceRepository.findByAppIdAndNameIn(appId, namespaceNames); } @Transactional public void createDefaultAppNamespace(String appId, String createBy) { if (!isAppNamespaceNameUnique(appId, ConfigConsts.NAMESPACE_APPLICATION)) { throw new ServiceException("appnamespace not unique"); } AppNamespace appNs = new AppNamespace(); appNs.setAppId(appId); appNs.setName(ConfigConsts.NAMESPACE_APPLICATION); appNs.setComment("default app namespace"); appNs.setFormat(ConfigFileFormat.Properties.getValue()); appNs.setDataChangeCreatedBy(createBy); appNs.setDataChangeLastModifiedBy(createBy); appNamespaceRepository.save(appNs); auditService.audit(AppNamespace.class.getSimpleName(), appNs.getId(), Audit.OP.INSERT, createBy); } @Transactional public AppNamespace createAppNamespace(AppNamespace appNamespace) { String createBy = appNamespace.getDataChangeCreatedBy(); if (!isAppNamespaceNameUnique(appNamespace.getAppId(), appNamespace.getName())) { throw new ServiceException("appnamespace not unique"); } appNamespace.setId(0);//protection appNamespace.setDataChangeCreatedBy(createBy); appNamespace.setDataChangeLastModifiedBy(createBy); appNamespace = appNamespaceRepository.save(appNamespace); createNamespaceForAppNamespaceInAllCluster(appNamespace.getAppId(), appNamespace.getName(), createBy); auditService.audit(AppNamespace.class.getSimpleName(), appNamespace.getId(), Audit.OP.INSERT, createBy); return appNamespace; } public AppNamespace update(AppNamespace appNamespace) { AppNamespace managedNs = appNamespaceRepository.findByAppIdAndName(appNamespace.getAppId(), appNamespace.getName()); BeanUtils.copyEntityProperties(appNamespace, managedNs); managedNs = appNamespaceRepository.save(managedNs); auditService.audit(AppNamespace.class.getSimpleName(), managedNs.getId(), Audit.OP.UPDATE, managedNs.getDataChangeLastModifiedBy()); return managedNs; } public void createNamespaceForAppNamespaceInAllCluster(String appId, String namespaceName, String createBy) { List<Cluster> clusters = clusterService.findParentClusters(appId); for (Cluster cluster : clusters) { // in case there is some dirty data, e.g. public namespace deleted in other app and now created in this app if (!namespaceService.isNamespaceUnique(appId, cluster.getName(), namespaceName)) { continue; } Namespace namespace = new Namespace(); namespace.setClusterName(cluster.getName()); namespace.setAppId(appId); namespace.setNamespaceName(namespaceName); namespace.setDataChangeCreatedBy(createBy); namespace.setDataChangeLastModifiedBy(createBy); namespaceService.save(namespace); } } @Transactional public void batchDelete(String appId, String operator) { appNamespaceRepository.batchDeleteByAppId(appId, operator); } @Transactional public void deleteAppNamespace(AppNamespace appNamespace, String operator) { String appId = appNamespace.getAppId(); String namespaceName = appNamespace.getName(); logger.info("{} is deleting AppNamespace, appId: {}, namespace: {}", operator, appId, namespaceName); // 1. delete namespaces List<Namespace> namespaces = namespaceService.findByAppIdAndNamespaceName(appId, namespaceName); if (namespaces != null) { for (Namespace namespace : namespaces) { namespaceService.deleteNamespace(namespace, operator); } } // 2. delete app namespace appNamespaceRepository.delete(appId, namespaceName, operator); } }
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.common.entity.AppNamespace; import com.ctrip.framework.apollo.common.exception.ServiceException; import com.ctrip.framework.apollo.common.utils.BeanUtils; import com.ctrip.framework.apollo.core.ConfigConsts; import com.ctrip.framework.apollo.core.enums.ConfigFileFormat; import com.ctrip.framework.apollo.core.utils.StringUtils; import com.google.common.base.Preconditions; import com.google.common.base.Strings; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.context.annotation.Lazy; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import java.util.Collections; import java.util.List; import java.util.Objects; import java.util.Set; @Service public class AppNamespaceService { private static final Logger logger = LoggerFactory.getLogger(AppNamespaceService.class); private final AppNamespaceRepository appNamespaceRepository; private final NamespaceService namespaceService; private final ClusterService clusterService; private final AuditService auditService; public AppNamespaceService( final AppNamespaceRepository appNamespaceRepository, final @Lazy NamespaceService namespaceService, final @Lazy ClusterService clusterService, final AuditService auditService) { this.appNamespaceRepository = appNamespaceRepository; this.namespaceService = namespaceService; this.clusterService = clusterService; this.auditService = auditService; } public boolean isAppNamespaceNameUnique(String appId, String namespaceName) { Objects.requireNonNull(appId, "AppId must not be null"); Objects.requireNonNull(namespaceName, "Namespace must not be null"); return Objects.isNull(appNamespaceRepository.findByAppIdAndName(appId, namespaceName)); } public AppNamespace findPublicNamespaceByName(String namespaceName) { Preconditions.checkArgument(namespaceName != null, "Namespace must not be null"); return appNamespaceRepository.findByNameAndIsPublicTrue(namespaceName); } public List<AppNamespace> findByAppId(String appId) { return appNamespaceRepository.findByAppId(appId); } public List<AppNamespace> findPublicNamespacesByNames(Set<String> namespaceNames) { if (namespaceNames == null || namespaceNames.isEmpty()) { return Collections.emptyList(); } return appNamespaceRepository.findByNameInAndIsPublicTrue(namespaceNames); } public List<AppNamespace> findPrivateAppNamespace(String appId) { return appNamespaceRepository.findByAppIdAndIsPublic(appId, false); } public AppNamespace findOne(String appId, String namespaceName) { Preconditions .checkArgument(!StringUtils.isContainEmpty(appId, namespaceName), "appId or Namespace must not be null"); return appNamespaceRepository.findByAppIdAndName(appId, namespaceName); } public List<AppNamespace> findByAppIdAndNamespaces(String appId, Set<String> namespaceNames) { Preconditions.checkArgument(!Strings.isNullOrEmpty(appId), "appId must not be null"); if (namespaceNames == null || namespaceNames.isEmpty()) { return Collections.emptyList(); } return appNamespaceRepository.findByAppIdAndNameIn(appId, namespaceNames); } @Transactional public void createDefaultAppNamespace(String appId, String createBy) { if (!isAppNamespaceNameUnique(appId, ConfigConsts.NAMESPACE_APPLICATION)) { throw new ServiceException("appnamespace not unique"); } AppNamespace appNs = new AppNamespace(); appNs.setAppId(appId); appNs.setName(ConfigConsts.NAMESPACE_APPLICATION); appNs.setComment("default app namespace"); appNs.setFormat(ConfigFileFormat.Properties.getValue()); appNs.setDataChangeCreatedBy(createBy); appNs.setDataChangeLastModifiedBy(createBy); appNamespaceRepository.save(appNs); auditService.audit(AppNamespace.class.getSimpleName(), appNs.getId(), Audit.OP.INSERT, createBy); } @Transactional public AppNamespace createAppNamespace(AppNamespace appNamespace) { String createBy = appNamespace.getDataChangeCreatedBy(); if (!isAppNamespaceNameUnique(appNamespace.getAppId(), appNamespace.getName())) { throw new ServiceException("appnamespace not unique"); } appNamespace.setId(0);//protection appNamespace.setDataChangeCreatedBy(createBy); appNamespace.setDataChangeLastModifiedBy(createBy); appNamespace = appNamespaceRepository.save(appNamespace); createNamespaceForAppNamespaceInAllCluster(appNamespace.getAppId(), appNamespace.getName(), createBy); auditService.audit(AppNamespace.class.getSimpleName(), appNamespace.getId(), Audit.OP.INSERT, createBy); return appNamespace; } public AppNamespace update(AppNamespace appNamespace) { AppNamespace managedNs = appNamespaceRepository.findByAppIdAndName(appNamespace.getAppId(), appNamespace.getName()); BeanUtils.copyEntityProperties(appNamespace, managedNs); managedNs = appNamespaceRepository.save(managedNs); auditService.audit(AppNamespace.class.getSimpleName(), managedNs.getId(), Audit.OP.UPDATE, managedNs.getDataChangeLastModifiedBy()); return managedNs; } public void createNamespaceForAppNamespaceInAllCluster(String appId, String namespaceName, String createBy) { List<Cluster> clusters = clusterService.findParentClusters(appId); for (Cluster cluster : clusters) { // in case there is some dirty data, e.g. public namespace deleted in other app and now created in this app if (!namespaceService.isNamespaceUnique(appId, cluster.getName(), namespaceName)) { continue; } Namespace namespace = new Namespace(); namespace.setClusterName(cluster.getName()); namespace.setAppId(appId); namespace.setNamespaceName(namespaceName); namespace.setDataChangeCreatedBy(createBy); namespace.setDataChangeLastModifiedBy(createBy); namespaceService.save(namespace); } } @Transactional public void batchDelete(String appId, String operator) { appNamespaceRepository.batchDeleteByAppId(appId, operator); } @Transactional public void deleteAppNamespace(AppNamespace appNamespace, String operator) { String appId = appNamespace.getAppId(); String namespaceName = appNamespace.getName(); logger.info("{} is deleting AppNamespace, appId: {}, namespace: {}", operator, appId, namespaceName); // 1. delete namespaces List<Namespace> namespaces = namespaceService.findByAppIdAndNamespaceName(appId, namespaceName); if (namespaces != null) { for (Namespace namespace : namespaces) { namespaceService.deleteNamespace(namespace, operator); } } // 2. delete app namespace appNamespaceRepository.delete(appId, namespaceName, operator); } }
-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 contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. - [x] Write necessary unit tests to verify the code. - [x] Run `mvn clean test` to make sure this pull request doesn't break anything.
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 DefaultInjector Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. - [x] Write necessary unit tests to verify the code. - [x] Run `mvn clean test` to make sure this pull request doesn't break anything.
./apollo-portal/src/main/resources/static/img/merge.png
PNG  IHDRXIDATx^M#sͮ+4,@ lW @\ gq o]:{9d_fVUf#UF#1 Tw }crA,rsp @Gf !Ȧ4a&w˿ho"GBЂJ7Z*Epb5 ?!@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N `y?$?0nM0F<^=blIENDB`
-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 contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. - [x] Write necessary unit tests to verify the code. - [x] Run `mvn clean test` to make sure this pull request doesn't break anything.
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 DefaultInjector Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. - [x] Write necessary unit tests to verify the code. - [x] Run `mvn clean test` to make sure this pull request doesn't break anything.
./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: { env: "=" }, link: function (scope) { var MODAL_ID = "#publishDenyModal"; EventManager.subscribe(EventManager.EventType.PUBLISH_DENY, function (context) { scope.toReleaseNamespace = context.namespace; scope.mergeAndPublish = !!context.mergeAndPublish; AppUtil.showModal(MODAL_ID); }); scope.emergencyPublish = emergencyPublish; function emergencyPublish() { AppUtil.hideModal(MODAL_ID); EventManager.emit(EventManager.EventType.EMERGENCY_PUBLISH, { mergeAndPublish: scope.mergeAndPublish, namespace: scope.toReleaseNamespace }); } } } }
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: { env: "=" }, link: function (scope) { var MODAL_ID = "#publishDenyModal"; EventManager.subscribe(EventManager.EventType.PUBLISH_DENY, function (context) { scope.toReleaseNamespace = context.namespace; scope.mergeAndPublish = !!context.mergeAndPublish; AppUtil.showModal(MODAL_ID); }); scope.emergencyPublish = emergencyPublish; function emergencyPublish() { AppUtil.hideModal(MODAL_ID); EventManager.emit(EventManager.EventType.EMERGENCY_PUBLISH, { mergeAndPublish: scope.mergeAndPublish, namespace: scope.toReleaseNamespace }); } } } }
-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 contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. - [x] Write necessary unit tests to verify the code. - [x] Run `mvn clean test` to make sure this pull request doesn't break anything.
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 DefaultInjector Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. - [x] Write necessary unit tests to verify the code. - [x] Run `mvn clean test` to make sure this pull request doesn't break anything.
./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.framework.apollo.tracer.spi.Transaction; import com.google.common.base.Strings; import com.google.common.collect.Lists; import com.google.common.collect.Maps; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.List; import java.util.Map; import java.util.concurrent.Executors; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicBoolean; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype.Service; /** * Only use in apollo-portal * Provider an available meta server url. * If there is no available meta server url for the given environment, * the default meta server url will be used(http://apollo.meta). * @see com.ctrip.framework.apollo.core.MetaDomainConsts * @author wxq */ @Service public class PortalMetaDomainService { private static final Logger logger = LoggerFactory.getLogger(PortalMetaDomainService.class); private static final long REFRESH_INTERVAL_IN_SECOND = 60;// 1 min static final String DEFAULT_META_URL = "http://apollo.meta"; private final Map<Env, String> metaServerAddressCache = Maps.newConcurrentMap(); /** * initialize meta server provider without cache. * Multiple {@link PortalMetaServerProvider} */ private final List<PortalMetaServerProvider> portalMetaServerProviders = new ArrayList<>(); // env -> meta server address cache // comma separated meta server address -> selected single meta server address cache private final Map<String, String> selectedMetaServerAddressCache = Maps.newConcurrentMap(); private final AtomicBoolean periodicRefreshStarted = new AtomicBoolean(false); PortalMetaDomainService(final PortalConfig portalConfig) { // high priority with data in database portalMetaServerProviders.add(new DatabasePortalMetaServerProvider(portalConfig)); // System properties, OS environment, configuration file portalMetaServerProviders.add(new DefaultPortalMetaServerProvider()); } /** * Return one meta server address. If multiple meta server addresses are configured, will select one. */ public String getDomain(Env env) { String metaServerAddress = getMetaServerAddress(env); // if there is more than one address, need to select one if (metaServerAddress.contains(",")) { return selectMetaServerAddress(metaServerAddress); } return metaServerAddress; } /** * Return meta server address. If multiple meta server addresses are configured, will return the comma separated string. */ public String getMetaServerAddress(Env env) { // in cache? if (!metaServerAddressCache.containsKey(env)) { // put it to cache metaServerAddressCache .put(env, getMetaServerAddressCacheValue(portalMetaServerProviders, env) ); } // get from cache return metaServerAddressCache.get(env); } /** * Get the meta server from provider by given environment. * If there is no available meta server url for the given environment, * the default meta server url will be used(http://apollo.meta). * @param providers provide environment's meta server address * @param env environment * @return meta server address */ private String getMetaServerAddressCacheValue( Collection<PortalMetaServerProvider> providers, Env env) { // null value String metaAddress = null; for(PortalMetaServerProvider portalMetaServerProvider : providers) { if(portalMetaServerProvider.exists(env)) { metaAddress = portalMetaServerProvider.getMetaServerAddress(env); logger.info("Located meta server address [{}] for env [{}]", metaAddress, env); break; } } // check find it or not if (Strings.isNullOrEmpty(metaAddress)) { // Fallback to default meta address metaAddress = DEFAULT_META_URL; logger.warn( "Meta server address fallback to [{}] for env [{}], because it is not available in MetaServerProvider", metaAddress, env); } return metaAddress.trim(); } /** * reload all {@link PortalMetaServerProvider}. * clear cache {@link this#metaServerAddressCache} */ public void reload() { for(PortalMetaServerProvider portalMetaServerProvider : portalMetaServerProviders) { portalMetaServerProvider.reload(); } metaServerAddressCache.clear(); } /** * Select one available meta server from the comma separated meta server addresses, e.g. * http://1.2.3.4:8080,http://2.3.4.5:8080 * * <br /> * * In production environment, we still suggest using one single domain like http://config.xxx.com(backed by software * load balancers like nginx) instead of multiple ip addresses */ private String selectMetaServerAddress(String metaServerAddresses) { String metaAddressSelected = selectedMetaServerAddressCache.get(metaServerAddresses); if (metaAddressSelected == null) { // initialize if (periodicRefreshStarted.compareAndSet(false, true)) { schedulePeriodicRefresh(); } updateMetaServerAddresses(metaServerAddresses); metaAddressSelected = selectedMetaServerAddressCache.get(metaServerAddresses); } return metaAddressSelected; } private void updateMetaServerAddresses(String metaServerAddresses) { logger.debug("Selecting meta server address for: {}", metaServerAddresses); Transaction transaction = Tracer.newTransaction("Apollo.MetaService", "refreshMetaServerAddress"); transaction.addData("Url", metaServerAddresses); try { List<String> metaServers = Lists.newArrayList(metaServerAddresses.split(",")); // random load balancing Collections.shuffle(metaServers); boolean serverAvailable = false; for (String address : metaServers) { address = address.trim(); //check whether /services/config is accessible if (NetUtil.pingUrl(address + "/services/config")) { // select the first available meta server selectedMetaServerAddressCache.put(metaServerAddresses, address); serverAvailable = true; logger.debug("Selected meta server address {} for {}", address, metaServerAddresses); break; } } // we need to make sure the map is not empty, e.g. the first update might be failed if (!selectedMetaServerAddressCache.containsKey(metaServerAddresses)) { selectedMetaServerAddressCache.put(metaServerAddresses, metaServers.get(0).trim()); } if (!serverAvailable) { logger.warn("Could not find available meta server for configured meta server addresses: {}, fallback to: {}", metaServerAddresses, selectedMetaServerAddressCache.get(metaServerAddresses)); } transaction.setStatus(Transaction.SUCCESS); } catch (Throwable ex) { transaction.setStatus(ex); throw ex; } finally { transaction.complete(); } } private void schedulePeriodicRefresh() { ScheduledExecutorService scheduledExecutorService = Executors.newScheduledThreadPool(1, ApolloThreadFactory.create("MetaServiceLocator", true)); scheduledExecutorService.scheduleAtFixedRate(new Runnable() { @Override public void run() { try { for (String metaServerAddresses : selectedMetaServerAddressCache.keySet()) { updateMetaServerAddresses(metaServerAddresses); } } catch (Throwable ex) { logger.warn(String.format("Refreshing meta server address failed, will retry in %d seconds", REFRESH_INTERVAL_IN_SECOND), ex); } } }, REFRESH_INTERVAL_IN_SECOND, REFRESH_INTERVAL_IN_SECOND, TimeUnit.SECONDS); } }
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.framework.apollo.tracer.spi.Transaction; import com.google.common.base.Strings; import com.google.common.collect.Lists; import com.google.common.collect.Maps; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.List; import java.util.Map; import java.util.concurrent.Executors; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicBoolean; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype.Service; /** * Only use in apollo-portal * Provider an available meta server url. * If there is no available meta server url for the given environment, * the default meta server url will be used(http://apollo.meta). * @see com.ctrip.framework.apollo.core.MetaDomainConsts * @author wxq */ @Service public class PortalMetaDomainService { private static final Logger logger = LoggerFactory.getLogger(PortalMetaDomainService.class); private static final long REFRESH_INTERVAL_IN_SECOND = 60;// 1 min static final String DEFAULT_META_URL = "http://apollo.meta"; private final Map<Env, String> metaServerAddressCache = Maps.newConcurrentMap(); /** * initialize meta server provider without cache. * Multiple {@link PortalMetaServerProvider} */ private final List<PortalMetaServerProvider> portalMetaServerProviders = new ArrayList<>(); // env -> meta server address cache // comma separated meta server address -> selected single meta server address cache private final Map<String, String> selectedMetaServerAddressCache = Maps.newConcurrentMap(); private final AtomicBoolean periodicRefreshStarted = new AtomicBoolean(false); PortalMetaDomainService(final PortalConfig portalConfig) { // high priority with data in database portalMetaServerProviders.add(new DatabasePortalMetaServerProvider(portalConfig)); // System properties, OS environment, configuration file portalMetaServerProviders.add(new DefaultPortalMetaServerProvider()); } /** * Return one meta server address. If multiple meta server addresses are configured, will select one. */ public String getDomain(Env env) { String metaServerAddress = getMetaServerAddress(env); // if there is more than one address, need to select one if (metaServerAddress.contains(",")) { return selectMetaServerAddress(metaServerAddress); } return metaServerAddress; } /** * Return meta server address. If multiple meta server addresses are configured, will return the comma separated string. */ public String getMetaServerAddress(Env env) { // in cache? if (!metaServerAddressCache.containsKey(env)) { // put it to cache metaServerAddressCache .put(env, getMetaServerAddressCacheValue(portalMetaServerProviders, env) ); } // get from cache return metaServerAddressCache.get(env); } /** * Get the meta server from provider by given environment. * If there is no available meta server url for the given environment, * the default meta server url will be used(http://apollo.meta). * @param providers provide environment's meta server address * @param env environment * @return meta server address */ private String getMetaServerAddressCacheValue( Collection<PortalMetaServerProvider> providers, Env env) { // null value String metaAddress = null; for(PortalMetaServerProvider portalMetaServerProvider : providers) { if(portalMetaServerProvider.exists(env)) { metaAddress = portalMetaServerProvider.getMetaServerAddress(env); logger.info("Located meta server address [{}] for env [{}]", metaAddress, env); break; } } // check find it or not if (Strings.isNullOrEmpty(metaAddress)) { // Fallback to default meta address metaAddress = DEFAULT_META_URL; logger.warn( "Meta server address fallback to [{}] for env [{}], because it is not available in MetaServerProvider", metaAddress, env); } return metaAddress.trim(); } /** * reload all {@link PortalMetaServerProvider}. * clear cache {@link this#metaServerAddressCache} */ public void reload() { for(PortalMetaServerProvider portalMetaServerProvider : portalMetaServerProviders) { portalMetaServerProvider.reload(); } metaServerAddressCache.clear(); } /** * Select one available meta server from the comma separated meta server addresses, e.g. * http://1.2.3.4:8080,http://2.3.4.5:8080 * * <br /> * * In production environment, we still suggest using one single domain like http://config.xxx.com(backed by software * load balancers like nginx) instead of multiple ip addresses */ private String selectMetaServerAddress(String metaServerAddresses) { String metaAddressSelected = selectedMetaServerAddressCache.get(metaServerAddresses); if (metaAddressSelected == null) { // initialize if (periodicRefreshStarted.compareAndSet(false, true)) { schedulePeriodicRefresh(); } updateMetaServerAddresses(metaServerAddresses); metaAddressSelected = selectedMetaServerAddressCache.get(metaServerAddresses); } return metaAddressSelected; } private void updateMetaServerAddresses(String metaServerAddresses) { logger.debug("Selecting meta server address for: {}", metaServerAddresses); Transaction transaction = Tracer.newTransaction("Apollo.MetaService", "refreshMetaServerAddress"); transaction.addData("Url", metaServerAddresses); try { List<String> metaServers = Lists.newArrayList(metaServerAddresses.split(",")); // random load balancing Collections.shuffle(metaServers); boolean serverAvailable = false; for (String address : metaServers) { address = address.trim(); //check whether /services/config is accessible if (NetUtil.pingUrl(address + "/services/config")) { // select the first available meta server selectedMetaServerAddressCache.put(metaServerAddresses, address); serverAvailable = true; logger.debug("Selected meta server address {} for {}", address, metaServerAddresses); break; } } // we need to make sure the map is not empty, e.g. the first update might be failed if (!selectedMetaServerAddressCache.containsKey(metaServerAddresses)) { selectedMetaServerAddressCache.put(metaServerAddresses, metaServers.get(0).trim()); } if (!serverAvailable) { logger.warn("Could not find available meta server for configured meta server addresses: {}, fallback to: {}", metaServerAddresses, selectedMetaServerAddressCache.get(metaServerAddresses)); } transaction.setStatus(Transaction.SUCCESS); } catch (Throwable ex) { transaction.setStatus(ex); throw ex; } finally { transaction.complete(); } } private void schedulePeriodicRefresh() { ScheduledExecutorService scheduledExecutorService = Executors.newScheduledThreadPool(1, ApolloThreadFactory.create("MetaServiceLocator", true)); scheduledExecutorService.scheduleAtFixedRate(new Runnable() { @Override public void run() { try { for (String metaServerAddresses : selectedMetaServerAddressCache.keySet()) { updateMetaServerAddresses(metaServerAddresses); } } catch (Throwable ex) { logger.warn(String.format("Refreshing meta server address failed, will retry in %d seconds", REFRESH_INTERVAL_IN_SECOND), ex); } } }, REFRESH_INTERVAL_IN_SECOND, REFRESH_INTERVAL_IN_SECOND, TimeUnit.SECONDS); } }
-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 contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. - [x] Write necessary unit tests to verify the code. - [x] Run `mvn clean test` to make sure this pull request doesn't break anything.
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 DefaultInjector Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. - [x] Write necessary unit tests to verify the code. - [x] Run `mvn clean test` to make sure this pull request doesn't break anything.
./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; } public boolean isCanAppAdminCreatePrivateNamespace() { return canAppAdminCreatePrivateNamespace; } public void setCanAppAdminCreatePrivateNamespace(boolean canAppAdminCreatePrivateNamespace) { this.canAppAdminCreatePrivateNamespace = canAppAdminCreatePrivateNamespace; } }
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; } public boolean isCanAppAdminCreatePrivateNamespace() { return canAppAdminCreatePrivateNamespace; } public void setCanAppAdminCreatePrivateNamespace(boolean canAppAdminCreatePrivateNamespace) { this.canAppAdminCreatePrivateNamespace = canAppAdminCreatePrivateNamespace; } }
-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 contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. - [x] Write necessary unit tests to verify the code. - [x] Run `mvn clean test` to make sure this pull request doesn't break anything.
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 DefaultInjector Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. - [x] Write necessary unit tests to verify the code. - [x] Run `mvn clean test` to make sure this pull request doesn't break anything.
./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 contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. - [x] Write necessary unit tests to verify the code. - [x] Run `mvn clean test` to make sure this pull request doesn't break anything.
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 DefaultInjector Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request. - [x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. - [x] Write necessary unit tests to verify the code. - [x] Run `mvn clean test` to make sure this pull request doesn't break anything.
./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/schema/beans/spring-beans.xsd http://www.ctrip.com/schema/apollo http://www.ctrip.com/schema/apollo.xsd"> <apollo:config namespaces="application"/> <bean class="com.ctrip.framework.apollo.spring.XmlConfigPlaceholderTest.TestXmlBean"> <property name="timeout" value="${timeout:100}"/> <property name="batch" value="${batch:200}"/> </bean> </beans>
<?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/schema/beans/spring-beans.xsd http://www.ctrip.com/schema/apollo http://www.ctrip.com/schema/apollo.xsd"> <apollo:config namespaces="application"/> <bean class="com.ctrip.framework.apollo.spring.XmlConfigPlaceholderTest.TestXmlBean"> <property name="timeout" value="${timeout:100}"/> <property name="batch" value="${batch:200}"/> </bean> </beans>
-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.ScheduledExecutorService; import java.util.concurrent.atomic.AtomicReference; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.ctrip.framework.apollo.build.ApolloInjector; import com.ctrip.framework.apollo.core.dto.ServiceDTO; import com.ctrip.framework.apollo.core.utils.ApolloThreadFactory; import com.ctrip.framework.apollo.exceptions.ApolloConfigException; import com.ctrip.framework.apollo.tracer.Tracer; import com.ctrip.framework.apollo.tracer.spi.Transaction; import com.ctrip.framework.apollo.util.ConfigUtil; import com.ctrip.framework.apollo.util.ExceptionUtil; import com.ctrip.framework.apollo.util.http.HttpRequest; import com.ctrip.framework.apollo.util.http.HttpResponse; import com.ctrip.framework.apollo.util.http.HttpUtil; import com.google.common.base.Joiner; import com.google.common.base.Strings; import com.google.common.collect.Lists; import com.google.common.collect.Maps; import com.google.common.escape.Escaper; import com.google.common.net.UrlEscapers; import com.google.gson.reflect.TypeToken; public class ConfigServiceLocator { private static final Logger logger = LoggerFactory.getLogger(ConfigServiceLocator.class); private HttpUtil m_httpUtil; private ConfigUtil m_configUtil; private AtomicReference<List<ServiceDTO>> m_configServices; private Type m_responseType; private ScheduledExecutorService m_executorService; private static final Joiner.MapJoiner MAP_JOINER = Joiner.on("&").withKeyValueSeparator("="); private static final Escaper queryParamEscaper = UrlEscapers.urlFormParameterEscaper(); /** * Create a config service locator. */ public ConfigServiceLocator() { List<ServiceDTO> initial = Lists.newArrayList(); m_configServices = new AtomicReference<>(initial); m_responseType = new TypeToken<List<ServiceDTO>>() { }.getType(); m_httpUtil = ApolloInjector.getInstance(HttpUtil.class); m_configUtil = ApolloInjector.getInstance(ConfigUtil.class); this.m_executorService = Executors.newScheduledThreadPool(1, ApolloThreadFactory.create("ConfigServiceLocator", true)); initConfigServices(); } private void initConfigServices() { // get from run time configurations List<ServiceDTO> customizedConfigServices = getCustomizedConfigService(); if (customizedConfigServices != null) { setConfigServices(customizedConfigServices); return; } // update from meta service this.tryUpdateConfigServices(); this.schedulePeriodicRefresh(); } private List<ServiceDTO> getCustomizedConfigService() { // 1. Get from System Property String configServices = System.getProperty("apollo.configService"); if (Strings.isNullOrEmpty(configServices)) { // 2. Get from OS environment variable configServices = System.getenv("APOLLO_CONFIGSERVICE"); } if (Strings.isNullOrEmpty(configServices)) { // 3. Get from server.properties configServices = Foundation.server().getProperty("apollo.configService", null); } if (Strings.isNullOrEmpty(configServices)) { return null; } logger.warn("Located config services from apollo.configService configuration: {}, will not refresh config services from remote meta service!", configServices); // mock service dto list String[] configServiceUrls = configServices.split(","); List<ServiceDTO> serviceDTOS = Lists.newArrayList(); for (String configServiceUrl : configServiceUrls) { configServiceUrl = configServiceUrl.trim(); ServiceDTO serviceDTO = new ServiceDTO(); serviceDTO.setHomepageUrl(configServiceUrl); serviceDTO.setAppName(ServiceNameConsts.APOLLO_CONFIGSERVICE); serviceDTO.setInstanceId(configServiceUrl); serviceDTOS.add(serviceDTO); } return serviceDTOS; } /** * Get the config service info from remote meta server. * * @return the services dto */ public List<ServiceDTO> getConfigServices() { if (m_configServices.get().isEmpty()) { updateConfigServices(); } return m_configServices.get(); } private boolean tryUpdateConfigServices() { try { updateConfigServices(); return true; } catch (Throwable ex) { //ignore } return false; } private void schedulePeriodicRefresh() { this.m_executorService.scheduleAtFixedRate( new Runnable() { @Override public void run() { logger.debug("refresh config services"); Tracer.logEvent("Apollo.MetaService", "periodicRefresh"); tryUpdateConfigServices(); } }, m_configUtil.getRefreshInterval(), m_configUtil.getRefreshInterval(), m_configUtil.getRefreshIntervalTimeUnit()); } private synchronized void updateConfigServices() { String url = assembleMetaServiceUrl(); HttpRequest request = new HttpRequest(url); int maxRetries = 2; Throwable exception = null; for (int i = 0; i < maxRetries; i++) { Transaction transaction = Tracer.newTransaction("Apollo.MetaService", "getConfigService"); transaction.addData("Url", url); try { HttpResponse<List<ServiceDTO>> response = m_httpUtil.doGet(request, m_responseType); transaction.setStatus(Transaction.SUCCESS); List<ServiceDTO> services = response.getBody(); if (services == null || services.isEmpty()) { logConfigService("Empty response!"); continue; } setConfigServices(services); return; } catch (Throwable ex) { Tracer.logEvent("ApolloConfigException", ExceptionUtil.getDetailMessage(ex)); transaction.setStatus(ex); exception = ex; } finally { transaction.complete(); } try { m_configUtil.getOnErrorRetryIntervalTimeUnit().sleep(m_configUtil.getOnErrorRetryInterval()); } catch (InterruptedException ex) { //ignore } } throw new ApolloConfigException( String.format("Get config services failed from %s", url), exception); } private void setConfigServices(List<ServiceDTO> services) { m_configServices.set(services); logConfigServices(services); } private String assembleMetaServiceUrl() { String domainName = m_configUtil.getMetaServerDomainName(); String appId = m_configUtil.getAppId(); String localIp = m_configUtil.getLocalIp(); Map<String, String> queryParams = Maps.newHashMap(); queryParams.put("appId", queryParamEscaper.escape(appId)); if (!Strings.isNullOrEmpty(localIp)) { queryParams.put("ip", queryParamEscaper.escape(localIp)); } return domainName + "/services/config?" + MAP_JOINER.join(queryParams); } private void logConfigServices(List<ServiceDTO> serviceDtos) { for (ServiceDTO serviceDto : serviceDtos) { logConfigService(serviceDto.getHomepageUrl()); } } private void logConfigService(String serviceUrl) { Tracer.logEvent("Apollo.Config.Services", serviceUrl); } }
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.ScheduledExecutorService; import java.util.concurrent.atomic.AtomicReference; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.ctrip.framework.apollo.build.ApolloInjector; import com.ctrip.framework.apollo.core.dto.ServiceDTO; import com.ctrip.framework.apollo.core.utils.ApolloThreadFactory; import com.ctrip.framework.apollo.exceptions.ApolloConfigException; import com.ctrip.framework.apollo.tracer.Tracer; import com.ctrip.framework.apollo.tracer.spi.Transaction; import com.ctrip.framework.apollo.util.ConfigUtil; import com.ctrip.framework.apollo.util.ExceptionUtil; import com.ctrip.framework.apollo.util.http.HttpRequest; import com.ctrip.framework.apollo.util.http.HttpResponse; import com.ctrip.framework.apollo.util.http.HttpClient; import com.google.common.base.Joiner; import com.google.common.base.Strings; import com.google.common.collect.Lists; import com.google.common.collect.Maps; import com.google.common.escape.Escaper; import com.google.common.net.UrlEscapers; import com.google.gson.reflect.TypeToken; public class ConfigServiceLocator { private static final Logger logger = LoggerFactory.getLogger(ConfigServiceLocator.class); private HttpClient m_httpClient; private ConfigUtil m_configUtil; private AtomicReference<List<ServiceDTO>> m_configServices; private Type m_responseType; private ScheduledExecutorService m_executorService; private static final Joiner.MapJoiner MAP_JOINER = Joiner.on("&").withKeyValueSeparator("="); private static final Escaper queryParamEscaper = UrlEscapers.urlFormParameterEscaper(); /** * Create a config service locator. */ public ConfigServiceLocator() { List<ServiceDTO> initial = Lists.newArrayList(); m_configServices = new AtomicReference<>(initial); m_responseType = new TypeToken<List<ServiceDTO>>() { }.getType(); m_httpClient = ApolloInjector.getInstance(HttpClient.class); m_configUtil = ApolloInjector.getInstance(ConfigUtil.class); this.m_executorService = Executors.newScheduledThreadPool(1, ApolloThreadFactory.create("ConfigServiceLocator", true)); initConfigServices(); } private void initConfigServices() { // get from run time configurations List<ServiceDTO> customizedConfigServices = getCustomizedConfigService(); if (customizedConfigServices != null) { setConfigServices(customizedConfigServices); return; } // update from meta service this.tryUpdateConfigServices(); this.schedulePeriodicRefresh(); } private List<ServiceDTO> getCustomizedConfigService() { // 1. Get from System Property String configServices = System.getProperty("apollo.configService"); if (Strings.isNullOrEmpty(configServices)) { // 2. Get from OS environment variable configServices = System.getenv("APOLLO_CONFIGSERVICE"); } if (Strings.isNullOrEmpty(configServices)) { // 3. Get from server.properties configServices = Foundation.server().getProperty("apollo.configService", null); } if (Strings.isNullOrEmpty(configServices)) { return null; } logger.warn("Located config services from apollo.configService configuration: {}, will not refresh config services from remote meta service!", configServices); // mock service dto list String[] configServiceUrls = configServices.split(","); List<ServiceDTO> serviceDTOS = Lists.newArrayList(); for (String configServiceUrl : configServiceUrls) { configServiceUrl = configServiceUrl.trim(); ServiceDTO serviceDTO = new ServiceDTO(); serviceDTO.setHomepageUrl(configServiceUrl); serviceDTO.setAppName(ServiceNameConsts.APOLLO_CONFIGSERVICE); serviceDTO.setInstanceId(configServiceUrl); serviceDTOS.add(serviceDTO); } return serviceDTOS; } /** * Get the config service info from remote meta server. * * @return the services dto */ public List<ServiceDTO> getConfigServices() { if (m_configServices.get().isEmpty()) { updateConfigServices(); } return m_configServices.get(); } private boolean tryUpdateConfigServices() { try { updateConfigServices(); return true; } catch (Throwable ex) { //ignore } return false; } private void schedulePeriodicRefresh() { this.m_executorService.scheduleAtFixedRate( new Runnable() { @Override public void run() { logger.debug("refresh config services"); Tracer.logEvent("Apollo.MetaService", "periodicRefresh"); tryUpdateConfigServices(); } }, m_configUtil.getRefreshInterval(), m_configUtil.getRefreshInterval(), m_configUtil.getRefreshIntervalTimeUnit()); } private synchronized void updateConfigServices() { String url = assembleMetaServiceUrl(); HttpRequest request = new HttpRequest(url); int maxRetries = 2; Throwable exception = null; for (int i = 0; i < maxRetries; i++) { Transaction transaction = Tracer.newTransaction("Apollo.MetaService", "getConfigService"); transaction.addData("Url", url); try { HttpResponse<List<ServiceDTO>> response = m_httpClient.doGet(request, m_responseType); transaction.setStatus(Transaction.SUCCESS); List<ServiceDTO> services = response.getBody(); if (services == null || services.isEmpty()) { logConfigService("Empty response!"); continue; } setConfigServices(services); return; } catch (Throwable ex) { Tracer.logEvent("ApolloConfigException", ExceptionUtil.getDetailMessage(ex)); transaction.setStatus(ex); exception = ex; } finally { transaction.complete(); } try { m_configUtil.getOnErrorRetryIntervalTimeUnit().sleep(m_configUtil.getOnErrorRetryInterval()); } catch (InterruptedException ex) { //ignore } } throw new ApolloConfigException( String.format("Get config services failed from %s", url), exception); } private void setConfigServices(List<ServiceDTO> services) { m_configServices.set(services); logConfigServices(services); } private String assembleMetaServiceUrl() { String domainName = m_configUtil.getMetaServerDomainName(); String appId = m_configUtil.getAppId(); String localIp = m_configUtil.getLocalIp(); Map<String, String> queryParams = Maps.newHashMap(); queryParams.put("appId", queryParamEscaper.escape(appId)); if (!Strings.isNullOrEmpty(localIp)) { queryParams.put("ip", queryParamEscaper.escape(localIp)); } return domainName + "/services/config?" + MAP_JOINER.join(queryParams); } private void logConfigServices(List<ServiceDTO> serviceDtos) { for (ServiceDTO serviceDto : serviceDtos) { logConfigService(serviceDto.getHomepageUrl()); } } private void logConfigService(String serviceUrl) { Tracer.logEvent("Apollo.Config.Services", serviceUrl); } }
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.apollo.spi.ConfigRegistry; import com.ctrip.framework.apollo.spi.DefaultConfigFactory; import com.ctrip.framework.apollo.spi.DefaultConfigFactoryManager; import com.ctrip.framework.apollo.spi.DefaultConfigRegistry; import com.ctrip.framework.apollo.tracer.Tracer; import com.ctrip.framework.apollo.util.ConfigUtil; import com.ctrip.framework.apollo.util.factory.DefaultPropertiesFactory; import com.ctrip.framework.apollo.util.factory.PropertiesFactory; import com.ctrip.framework.apollo.util.http.HttpUtil; import com.ctrip.framework.apollo.util.yaml.YamlParser; import com.ctrip.framework.foundation.internals.ServiceBootstrap; import com.google.inject.AbstractModule; import com.google.inject.Guice; import com.google.inject.Singleton; import java.util.List; /** * Guice injector * @author Jason Song([email protected]) */ public class DefaultInjector implements Injector { private final com.google.inject.Injector m_injector; private final List<ApolloInjectorCustomizer> m_customizers; public DefaultInjector() { try { m_injector = Guice.createInjector(new ApolloModule()); m_customizers = ServiceBootstrap.loadAllOrdered(ApolloInjectorCustomizer.class); } catch (Throwable ex) { ApolloConfigException exception = new ApolloConfigException("Unable to initialize Guice Injector!", ex); Tracer.logError(exception); throw exception; } } @Override public <T> T getInstance(Class<T> clazz) { try { for (ApolloInjectorCustomizer customizer : m_customizers) { T instance = customizer.getInstance(clazz); if (instance != null) { return instance; } } return m_injector.getInstance(clazz); } catch (Throwable ex) { Tracer.logError(ex); throw new ApolloConfigException( String.format("Unable to load instance for %s!", clazz.getName()), ex); } } @Override public <T> T getInstance(Class<T> clazz, String name) { try { for (ApolloInjectorCustomizer customizer : m_customizers) { T instance = customizer.getInstance(clazz, name); if (instance != null) { return instance; } } //Guice does not support get instance by type and name return null; } catch (Throwable ex) { Tracer.logError(ex); throw new ApolloConfigException( String.format("Unable to load instance for %s with name %s!", clazz.getName(), name), ex); } } private static class ApolloModule extends AbstractModule { @Override protected void configure() { bind(ConfigManager.class).to(DefaultConfigManager.class).in(Singleton.class); bind(ConfigFactoryManager.class).to(DefaultConfigFactoryManager.class).in(Singleton.class); bind(ConfigRegistry.class).to(DefaultConfigRegistry.class).in(Singleton.class); bind(ConfigFactory.class).to(DefaultConfigFactory.class).in(Singleton.class); bind(ConfigUtil.class).in(Singleton.class); bind(HttpUtil.class).in(Singleton.class); bind(ConfigServiceLocator.class).in(Singleton.class); bind(RemoteConfigLongPollService.class).in(Singleton.class); bind(YamlParser.class).in(Singleton.class); bind(PropertiesFactory.class).to(DefaultPropertiesFactory.class).in(Singleton.class); } } }
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.apollo.spi.ConfigRegistry; import com.ctrip.framework.apollo.spi.DefaultConfigFactory; import com.ctrip.framework.apollo.spi.DefaultConfigFactoryManager; import com.ctrip.framework.apollo.spi.DefaultConfigRegistry; import com.ctrip.framework.apollo.tracer.Tracer; import com.ctrip.framework.apollo.util.ConfigUtil; import com.ctrip.framework.apollo.util.factory.DefaultPropertiesFactory; import com.ctrip.framework.apollo.util.factory.PropertiesFactory; import com.ctrip.framework.apollo.util.http.DefaultHttpClient; import com.ctrip.framework.apollo.util.http.HttpClient; import com.ctrip.framework.apollo.util.yaml.YamlParser; import com.ctrip.framework.foundation.internals.ServiceBootstrap; import com.google.inject.AbstractModule; import com.google.inject.Guice; import com.google.inject.Singleton; import java.util.List; /** * Guice injector * @author Jason Song([email protected]) */ public class DefaultInjector implements Injector { private final com.google.inject.Injector m_injector; private final List<ApolloInjectorCustomizer> m_customizers; public DefaultInjector() { try { m_injector = Guice.createInjector(new ApolloModule()); m_customizers = ServiceBootstrap.loadAllOrdered(ApolloInjectorCustomizer.class); } catch (Throwable ex) { ApolloConfigException exception = new ApolloConfigException("Unable to initialize Guice Injector!", ex); Tracer.logError(exception); throw exception; } } @Override public <T> T getInstance(Class<T> clazz) { try { for (ApolloInjectorCustomizer customizer : m_customizers) { T instance = customizer.getInstance(clazz); if (instance != null) { return instance; } } return m_injector.getInstance(clazz); } catch (Throwable ex) { Tracer.logError(ex); throw new ApolloConfigException( String.format("Unable to load instance for %s!", clazz.getName()), ex); } } @Override public <T> T getInstance(Class<T> clazz, String name) { try { for (ApolloInjectorCustomizer customizer : m_customizers) { T instance = customizer.getInstance(clazz, name); if (instance != null) { return instance; } } //Guice does not support get instance by type and name return null; } catch (Throwable ex) { Tracer.logError(ex); throw new ApolloConfigException( String.format("Unable to load instance for %s with name %s!", clazz.getName(), name), ex); } } private static class ApolloModule extends AbstractModule { @Override protected void configure() { bind(ConfigManager.class).to(DefaultConfigManager.class).in(Singleton.class); bind(ConfigFactoryManager.class).to(DefaultConfigFactoryManager.class).in(Singleton.class); bind(ConfigRegistry.class).to(DefaultConfigRegistry.class).in(Singleton.class); bind(ConfigFactory.class).to(DefaultConfigFactory.class).in(Singleton.class); bind(ConfigUtil.class).in(Singleton.class); bind(HttpClient.class).to(DefaultHttpClient.class).in(Singleton.class); bind(ConfigServiceLocator.class).in(Singleton.class); bind(RemoteConfigLongPollService.class).in(Singleton.class); bind(YamlParser.class).in(Singleton.class); bind(PropertiesFactory.class).to(DefaultPropertiesFactory.class).in(Singleton.class); } } }
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.framework.apollo.core.dto.ServiceDTO; import com.ctrip.framework.apollo.core.enums.ConfigFileFormat; import com.ctrip.framework.apollo.core.schedule.ExponentialSchedulePolicy; import com.ctrip.framework.apollo.core.schedule.SchedulePolicy; import com.ctrip.framework.apollo.core.signature.Signature; import com.ctrip.framework.apollo.core.utils.ApolloThreadFactory; import com.ctrip.framework.apollo.core.utils.StringUtils; import com.ctrip.framework.apollo.exceptions.ApolloConfigException; import com.ctrip.framework.apollo.tracer.Tracer; import com.ctrip.framework.apollo.tracer.spi.Transaction; import com.ctrip.framework.apollo.util.ConfigUtil; import com.ctrip.framework.apollo.util.ExceptionUtil; import com.ctrip.framework.apollo.util.http.HttpRequest; import com.ctrip.framework.apollo.util.http.HttpResponse; import com.ctrip.framework.apollo.util.http.HttpUtil; import com.google.common.base.Joiner; import com.google.common.base.Strings; import com.google.common.collect.HashMultimap; import com.google.common.collect.Lists; import com.google.common.collect.Maps; import com.google.common.collect.Multimap; import com.google.common.collect.Multimaps; import com.google.common.escape.Escaper; import com.google.common.net.UrlEscapers; import com.google.common.reflect.TypeToken; import com.google.common.util.concurrent.RateLimiter; import com.google.gson.Gson; import java.lang.reflect.Type; import java.util.List; import java.util.Map; import java.util.Random; import java.util.concurrent.ConcurrentMap; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicBoolean; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * @author Jason Song([email protected]) */ public class RemoteConfigLongPollService { private static final Logger logger = LoggerFactory.getLogger(RemoteConfigLongPollService.class); private static final Joiner STRING_JOINER = Joiner.on(ConfigConsts.CLUSTER_NAMESPACE_SEPARATOR); private static final Joiner.MapJoiner MAP_JOINER = Joiner.on("&").withKeyValueSeparator("="); private static final Escaper queryParamEscaper = UrlEscapers.urlFormParameterEscaper(); private static final long INIT_NOTIFICATION_ID = ConfigConsts.NOTIFICATION_ID_PLACEHOLDER; //90 seconds, should be longer than server side's long polling timeout, which is now 60 seconds private static final int LONG_POLLING_READ_TIMEOUT = 90 * 1000; private final ExecutorService m_longPollingService; private final AtomicBoolean m_longPollingStopped; private SchedulePolicy m_longPollFailSchedulePolicyInSecond; private RateLimiter m_longPollRateLimiter; private final AtomicBoolean m_longPollStarted; private final Multimap<String, RemoteConfigRepository> m_longPollNamespaces; private final ConcurrentMap<String, Long> m_notifications; private final Map<String, ApolloNotificationMessages> m_remoteNotificationMessages;//namespaceName -> watchedKey -> notificationId private Type m_responseType; private static final Gson GSON = new Gson(); private ConfigUtil m_configUtil; private HttpUtil m_httpUtil; private ConfigServiceLocator m_serviceLocator; /** * Constructor. */ public RemoteConfigLongPollService() { m_longPollFailSchedulePolicyInSecond = new ExponentialSchedulePolicy(1, 120); //in second m_longPollingStopped = new AtomicBoolean(false); m_longPollingService = Executors.newSingleThreadExecutor( ApolloThreadFactory.create("RemoteConfigLongPollService", true)); m_longPollStarted = new AtomicBoolean(false); m_longPollNamespaces = Multimaps.synchronizedSetMultimap(HashMultimap.<String, RemoteConfigRepository>create()); m_notifications = Maps.newConcurrentMap(); m_remoteNotificationMessages = Maps.newConcurrentMap(); m_responseType = new TypeToken<List<ApolloConfigNotification>>() { }.getType(); m_configUtil = ApolloInjector.getInstance(ConfigUtil.class); m_httpUtil = ApolloInjector.getInstance(HttpUtil.class); m_serviceLocator = ApolloInjector.getInstance(ConfigServiceLocator.class); m_longPollRateLimiter = RateLimiter.create(m_configUtil.getLongPollQPS()); } public boolean submit(String namespace, RemoteConfigRepository remoteConfigRepository) { boolean added = m_longPollNamespaces.put(namespace, remoteConfigRepository); m_notifications.putIfAbsent(namespace, INIT_NOTIFICATION_ID); if (!m_longPollStarted.get()) { startLongPolling(); } return added; } private void startLongPolling() { if (!m_longPollStarted.compareAndSet(false, true)) { //already started return; } try { final String appId = m_configUtil.getAppId(); final String cluster = m_configUtil.getCluster(); final String dataCenter = m_configUtil.getDataCenter(); final String secret = m_configUtil.getAccessKeySecret(); final long longPollingInitialDelayInMills = m_configUtil.getLongPollingInitialDelayInMills(); m_longPollingService.submit(new Runnable() { @Override public void run() { if (longPollingInitialDelayInMills > 0) { try { logger.debug("Long polling will start in {} ms.", longPollingInitialDelayInMills); TimeUnit.MILLISECONDS.sleep(longPollingInitialDelayInMills); } catch (InterruptedException e) { //ignore } } doLongPollingRefresh(appId, cluster, dataCenter, secret); } }); } catch (Throwable ex) { m_longPollStarted.set(false); ApolloConfigException exception = new ApolloConfigException("Schedule long polling refresh failed", ex); Tracer.logError(exception); logger.warn(ExceptionUtil.getDetailMessage(exception)); } } void stopLongPollingRefresh() { this.m_longPollingStopped.compareAndSet(false, true); } private void doLongPollingRefresh(String appId, String cluster, String dataCenter, String secret) { final Random random = new Random(); ServiceDTO lastServiceDto = null; while (!m_longPollingStopped.get() && !Thread.currentThread().isInterrupted()) { if (!m_longPollRateLimiter.tryAcquire(5, TimeUnit.SECONDS)) { //wait at most 5 seconds try { TimeUnit.SECONDS.sleep(5); } catch (InterruptedException e) { } } Transaction transaction = Tracer.newTransaction("Apollo.ConfigService", "pollNotification"); String url = null; try { if (lastServiceDto == null) { List<ServiceDTO> configServices = getConfigServices(); lastServiceDto = configServices.get(random.nextInt(configServices.size())); } url = assembleLongPollRefreshUrl(lastServiceDto.getHomepageUrl(), appId, cluster, dataCenter, m_notifications); logger.debug("Long polling from {}", url); HttpRequest request = new HttpRequest(url); request.setReadTimeout(LONG_POLLING_READ_TIMEOUT); if (!StringUtils.isBlank(secret)) { Map<String, String> headers = Signature.buildHttpHeaders(url, appId, secret); request.setHeaders(headers); } transaction.addData("Url", url); final HttpResponse<List<ApolloConfigNotification>> response = m_httpUtil.doGet(request, m_responseType); logger.debug("Long polling response: {}, url: {}", response.getStatusCode(), url); if (response.getStatusCode() == 200 && response.getBody() != null) { updateNotifications(response.getBody()); updateRemoteNotifications(response.getBody()); transaction.addData("Result", response.getBody().toString()); notify(lastServiceDto, response.getBody()); } //try to load balance if (response.getStatusCode() == 304 && random.nextBoolean()) { lastServiceDto = null; } m_longPollFailSchedulePolicyInSecond.success(); transaction.addData("StatusCode", response.getStatusCode()); transaction.setStatus(Transaction.SUCCESS); } catch (Throwable ex) { lastServiceDto = null; Tracer.logEvent("ApolloConfigException", ExceptionUtil.getDetailMessage(ex)); transaction.setStatus(ex); long sleepTimeInSecond = m_longPollFailSchedulePolicyInSecond.fail(); logger.warn( "Long polling failed, will retry in {} seconds. appId: {}, cluster: {}, namespaces: {}, long polling url: {}, reason: {}", sleepTimeInSecond, appId, cluster, assembleNamespaces(), url, ExceptionUtil.getDetailMessage(ex)); try { TimeUnit.SECONDS.sleep(sleepTimeInSecond); } catch (InterruptedException ie) { //ignore } } finally { transaction.complete(); } } } private void notify(ServiceDTO lastServiceDto, List<ApolloConfigNotification> notifications) { if (notifications == null || notifications.isEmpty()) { return; } for (ApolloConfigNotification notification : notifications) { String namespaceName = notification.getNamespaceName(); //create a new list to avoid ConcurrentModificationException List<RemoteConfigRepository> toBeNotified = Lists.newArrayList(m_longPollNamespaces.get(namespaceName)); ApolloNotificationMessages originalMessages = m_remoteNotificationMessages.get(namespaceName); ApolloNotificationMessages remoteMessages = originalMessages == null ? null : originalMessages.clone(); //since .properties are filtered out by default, so we need to check if there is any listener for it toBeNotified.addAll(m_longPollNamespaces .get(String.format("%s.%s", namespaceName, ConfigFileFormat.Properties.getValue()))); for (RemoteConfigRepository remoteConfigRepository : toBeNotified) { try { remoteConfigRepository.onLongPollNotified(lastServiceDto, remoteMessages); } catch (Throwable ex) { Tracer.logError(ex); } } } } private void updateNotifications(List<ApolloConfigNotification> deltaNotifications) { for (ApolloConfigNotification notification : deltaNotifications) { if (Strings.isNullOrEmpty(notification.getNamespaceName())) { continue; } String namespaceName = notification.getNamespaceName(); if (m_notifications.containsKey(namespaceName)) { m_notifications.put(namespaceName, notification.getNotificationId()); } //since .properties are filtered out by default, so we need to check if there is notification with .properties suffix String namespaceNameWithPropertiesSuffix = String.format("%s.%s", namespaceName, ConfigFileFormat.Properties.getValue()); if (m_notifications.containsKey(namespaceNameWithPropertiesSuffix)) { m_notifications.put(namespaceNameWithPropertiesSuffix, notification.getNotificationId()); } } } private void updateRemoteNotifications(List<ApolloConfigNotification> deltaNotifications) { for (ApolloConfigNotification notification : deltaNotifications) { if (Strings.isNullOrEmpty(notification.getNamespaceName())) { continue; } if (notification.getMessages() == null || notification.getMessages().isEmpty()) { continue; } ApolloNotificationMessages localRemoteMessages = m_remoteNotificationMessages.get(notification.getNamespaceName()); if (localRemoteMessages == null) { localRemoteMessages = new ApolloNotificationMessages(); m_remoteNotificationMessages.put(notification.getNamespaceName(), localRemoteMessages); } localRemoteMessages.mergeFrom(notification.getMessages()); } } private String assembleNamespaces() { return STRING_JOINER.join(m_longPollNamespaces.keySet()); } String assembleLongPollRefreshUrl(String uri, String appId, String cluster, String dataCenter, Map<String, Long> notificationsMap) { Map<String, String> queryParams = Maps.newHashMap(); queryParams.put("appId", queryParamEscaper.escape(appId)); queryParams.put("cluster", queryParamEscaper.escape(cluster)); queryParams .put("notifications", queryParamEscaper.escape(assembleNotifications(notificationsMap))); if (!Strings.isNullOrEmpty(dataCenter)) { queryParams.put("dataCenter", queryParamEscaper.escape(dataCenter)); } String localIp = m_configUtil.getLocalIp(); if (!Strings.isNullOrEmpty(localIp)) { queryParams.put("ip", queryParamEscaper.escape(localIp)); } String params = MAP_JOINER.join(queryParams); if (!uri.endsWith("/")) { uri += "/"; } return uri + "notifications/v2?" + params; } String assembleNotifications(Map<String, Long> notificationsMap) { List<ApolloConfigNotification> notifications = Lists.newArrayList(); for (Map.Entry<String, Long> entry : notificationsMap.entrySet()) { ApolloConfigNotification notification = new ApolloConfigNotification(entry.getKey(), entry.getValue()); notifications.add(notification); } return GSON.toJson(notifications); } private List<ServiceDTO> getConfigServices() { List<ServiceDTO> services = m_serviceLocator.getConfigServices(); if (services.size() == 0) { throw new ApolloConfigException("No available config service"); } return services; } }
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.framework.apollo.core.dto.ServiceDTO; import com.ctrip.framework.apollo.core.enums.ConfigFileFormat; import com.ctrip.framework.apollo.core.schedule.ExponentialSchedulePolicy; import com.ctrip.framework.apollo.core.schedule.SchedulePolicy; import com.ctrip.framework.apollo.core.signature.Signature; import com.ctrip.framework.apollo.core.utils.ApolloThreadFactory; import com.ctrip.framework.apollo.core.utils.StringUtils; import com.ctrip.framework.apollo.exceptions.ApolloConfigException; import com.ctrip.framework.apollo.tracer.Tracer; import com.ctrip.framework.apollo.tracer.spi.Transaction; import com.ctrip.framework.apollo.util.ConfigUtil; import com.ctrip.framework.apollo.util.ExceptionUtil; import com.ctrip.framework.apollo.util.http.HttpRequest; import com.ctrip.framework.apollo.util.http.HttpResponse; import com.ctrip.framework.apollo.util.http.HttpClient; import com.google.common.base.Joiner; import com.google.common.base.Strings; import com.google.common.collect.HashMultimap; import com.google.common.collect.Lists; import com.google.common.collect.Maps; import com.google.common.collect.Multimap; import com.google.common.collect.Multimaps; import com.google.common.escape.Escaper; import com.google.common.net.UrlEscapers; import com.google.common.reflect.TypeToken; import com.google.common.util.concurrent.RateLimiter; import com.google.gson.Gson; import java.lang.reflect.Type; import java.util.List; import java.util.Map; import java.util.Random; import java.util.concurrent.ConcurrentMap; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicBoolean; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * @author Jason Song([email protected]) */ public class RemoteConfigLongPollService { private static final Logger logger = LoggerFactory.getLogger(RemoteConfigLongPollService.class); private static final Joiner STRING_JOINER = Joiner.on(ConfigConsts.CLUSTER_NAMESPACE_SEPARATOR); private static final Joiner.MapJoiner MAP_JOINER = Joiner.on("&").withKeyValueSeparator("="); private static final Escaper queryParamEscaper = UrlEscapers.urlFormParameterEscaper(); private static final long INIT_NOTIFICATION_ID = ConfigConsts.NOTIFICATION_ID_PLACEHOLDER; //90 seconds, should be longer than server side's long polling timeout, which is now 60 seconds private static final int LONG_POLLING_READ_TIMEOUT = 90 * 1000; private final ExecutorService m_longPollingService; private final AtomicBoolean m_longPollingStopped; private SchedulePolicy m_longPollFailSchedulePolicyInSecond; private RateLimiter m_longPollRateLimiter; private final AtomicBoolean m_longPollStarted; private final Multimap<String, RemoteConfigRepository> m_longPollNamespaces; private final ConcurrentMap<String, Long> m_notifications; private final Map<String, ApolloNotificationMessages> m_remoteNotificationMessages;//namespaceName -> watchedKey -> notificationId private Type m_responseType; private static final Gson GSON = new Gson(); private ConfigUtil m_configUtil; private HttpClient m_httpClient; private ConfigServiceLocator m_serviceLocator; /** * Constructor. */ public RemoteConfigLongPollService() { m_longPollFailSchedulePolicyInSecond = new ExponentialSchedulePolicy(1, 120); //in second m_longPollingStopped = new AtomicBoolean(false); m_longPollingService = Executors.newSingleThreadExecutor( ApolloThreadFactory.create("RemoteConfigLongPollService", true)); m_longPollStarted = new AtomicBoolean(false); m_longPollNamespaces = Multimaps.synchronizedSetMultimap(HashMultimap.<String, RemoteConfigRepository>create()); m_notifications = Maps.newConcurrentMap(); m_remoteNotificationMessages = Maps.newConcurrentMap(); m_responseType = new TypeToken<List<ApolloConfigNotification>>() { }.getType(); m_configUtil = ApolloInjector.getInstance(ConfigUtil.class); m_httpClient = ApolloInjector.getInstance(HttpClient.class); m_serviceLocator = ApolloInjector.getInstance(ConfigServiceLocator.class); m_longPollRateLimiter = RateLimiter.create(m_configUtil.getLongPollQPS()); } public boolean submit(String namespace, RemoteConfigRepository remoteConfigRepository) { boolean added = m_longPollNamespaces.put(namespace, remoteConfigRepository); m_notifications.putIfAbsent(namespace, INIT_NOTIFICATION_ID); if (!m_longPollStarted.get()) { startLongPolling(); } return added; } private void startLongPolling() { if (!m_longPollStarted.compareAndSet(false, true)) { //already started return; } try { final String appId = m_configUtil.getAppId(); final String cluster = m_configUtil.getCluster(); final String dataCenter = m_configUtil.getDataCenter(); final String secret = m_configUtil.getAccessKeySecret(); final long longPollingInitialDelayInMills = m_configUtil.getLongPollingInitialDelayInMills(); m_longPollingService.submit(new Runnable() { @Override public void run() { if (longPollingInitialDelayInMills > 0) { try { logger.debug("Long polling will start in {} ms.", longPollingInitialDelayInMills); TimeUnit.MILLISECONDS.sleep(longPollingInitialDelayInMills); } catch (InterruptedException e) { //ignore } } doLongPollingRefresh(appId, cluster, dataCenter, secret); } }); } catch (Throwable ex) { m_longPollStarted.set(false); ApolloConfigException exception = new ApolloConfigException("Schedule long polling refresh failed", ex); Tracer.logError(exception); logger.warn(ExceptionUtil.getDetailMessage(exception)); } } void stopLongPollingRefresh() { this.m_longPollingStopped.compareAndSet(false, true); } private void doLongPollingRefresh(String appId, String cluster, String dataCenter, String secret) { final Random random = new Random(); ServiceDTO lastServiceDto = null; while (!m_longPollingStopped.get() && !Thread.currentThread().isInterrupted()) { if (!m_longPollRateLimiter.tryAcquire(5, TimeUnit.SECONDS)) { //wait at most 5 seconds try { TimeUnit.SECONDS.sleep(5); } catch (InterruptedException e) { } } Transaction transaction = Tracer.newTransaction("Apollo.ConfigService", "pollNotification"); String url = null; try { if (lastServiceDto == null) { List<ServiceDTO> configServices = getConfigServices(); lastServiceDto = configServices.get(random.nextInt(configServices.size())); } url = assembleLongPollRefreshUrl(lastServiceDto.getHomepageUrl(), appId, cluster, dataCenter, m_notifications); logger.debug("Long polling from {}", url); HttpRequest request = new HttpRequest(url); request.setReadTimeout(LONG_POLLING_READ_TIMEOUT); if (!StringUtils.isBlank(secret)) { Map<String, String> headers = Signature.buildHttpHeaders(url, appId, secret); request.setHeaders(headers); } transaction.addData("Url", url); final HttpResponse<List<ApolloConfigNotification>> response = m_httpClient.doGet(request, m_responseType); logger.debug("Long polling response: {}, url: {}", response.getStatusCode(), url); if (response.getStatusCode() == 200 && response.getBody() != null) { updateNotifications(response.getBody()); updateRemoteNotifications(response.getBody()); transaction.addData("Result", response.getBody().toString()); notify(lastServiceDto, response.getBody()); } //try to load balance if (response.getStatusCode() == 304 && random.nextBoolean()) { lastServiceDto = null; } m_longPollFailSchedulePolicyInSecond.success(); transaction.addData("StatusCode", response.getStatusCode()); transaction.setStatus(Transaction.SUCCESS); } catch (Throwable ex) { lastServiceDto = null; Tracer.logEvent("ApolloConfigException", ExceptionUtil.getDetailMessage(ex)); transaction.setStatus(ex); long sleepTimeInSecond = m_longPollFailSchedulePolicyInSecond.fail(); logger.warn( "Long polling failed, will retry in {} seconds. appId: {}, cluster: {}, namespaces: {}, long polling url: {}, reason: {}", sleepTimeInSecond, appId, cluster, assembleNamespaces(), url, ExceptionUtil.getDetailMessage(ex)); try { TimeUnit.SECONDS.sleep(sleepTimeInSecond); } catch (InterruptedException ie) { //ignore } } finally { transaction.complete(); } } } private void notify(ServiceDTO lastServiceDto, List<ApolloConfigNotification> notifications) { if (notifications == null || notifications.isEmpty()) { return; } for (ApolloConfigNotification notification : notifications) { String namespaceName = notification.getNamespaceName(); //create a new list to avoid ConcurrentModificationException List<RemoteConfigRepository> toBeNotified = Lists.newArrayList(m_longPollNamespaces.get(namespaceName)); ApolloNotificationMessages originalMessages = m_remoteNotificationMessages.get(namespaceName); ApolloNotificationMessages remoteMessages = originalMessages == null ? null : originalMessages.clone(); //since .properties are filtered out by default, so we need to check if there is any listener for it toBeNotified.addAll(m_longPollNamespaces .get(String.format("%s.%s", namespaceName, ConfigFileFormat.Properties.getValue()))); for (RemoteConfigRepository remoteConfigRepository : toBeNotified) { try { remoteConfigRepository.onLongPollNotified(lastServiceDto, remoteMessages); } catch (Throwable ex) { Tracer.logError(ex); } } } } private void updateNotifications(List<ApolloConfigNotification> deltaNotifications) { for (ApolloConfigNotification notification : deltaNotifications) { if (Strings.isNullOrEmpty(notification.getNamespaceName())) { continue; } String namespaceName = notification.getNamespaceName(); if (m_notifications.containsKey(namespaceName)) { m_notifications.put(namespaceName, notification.getNotificationId()); } //since .properties are filtered out by default, so we need to check if there is notification with .properties suffix String namespaceNameWithPropertiesSuffix = String.format("%s.%s", namespaceName, ConfigFileFormat.Properties.getValue()); if (m_notifications.containsKey(namespaceNameWithPropertiesSuffix)) { m_notifications.put(namespaceNameWithPropertiesSuffix, notification.getNotificationId()); } } } private void updateRemoteNotifications(List<ApolloConfigNotification> deltaNotifications) { for (ApolloConfigNotification notification : deltaNotifications) { if (Strings.isNullOrEmpty(notification.getNamespaceName())) { continue; } if (notification.getMessages() == null || notification.getMessages().isEmpty()) { continue; } ApolloNotificationMessages localRemoteMessages = m_remoteNotificationMessages.get(notification.getNamespaceName()); if (localRemoteMessages == null) { localRemoteMessages = new ApolloNotificationMessages(); m_remoteNotificationMessages.put(notification.getNamespaceName(), localRemoteMessages); } localRemoteMessages.mergeFrom(notification.getMessages()); } } private String assembleNamespaces() { return STRING_JOINER.join(m_longPollNamespaces.keySet()); } String assembleLongPollRefreshUrl(String uri, String appId, String cluster, String dataCenter, Map<String, Long> notificationsMap) { Map<String, String> queryParams = Maps.newHashMap(); queryParams.put("appId", queryParamEscaper.escape(appId)); queryParams.put("cluster", queryParamEscaper.escape(cluster)); queryParams .put("notifications", queryParamEscaper.escape(assembleNotifications(notificationsMap))); if (!Strings.isNullOrEmpty(dataCenter)) { queryParams.put("dataCenter", queryParamEscaper.escape(dataCenter)); } String localIp = m_configUtil.getLocalIp(); if (!Strings.isNullOrEmpty(localIp)) { queryParams.put("ip", queryParamEscaper.escape(localIp)); } String params = MAP_JOINER.join(queryParams); if (!uri.endsWith("/")) { uri += "/"; } return uri + "notifications/v2?" + params; } String assembleNotifications(Map<String, Long> notificationsMap) { List<ApolloConfigNotification> notifications = Lists.newArrayList(); for (Map.Entry<String, Long> entry : notificationsMap.entrySet()) { ApolloConfigNotification notification = new ApolloConfigNotification(entry.getKey(), entry.getValue()); notifications.add(notification); } return GSON.toJson(notifications); } private List<ServiceDTO> getConfigServices() { List<ServiceDTO> services = m_serviceLocator.getConfigServices(); if (services.size() == 0) { throw new ApolloConfigException("No available config service"); } return services; } }
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.ApolloNotificationMessages; import com.ctrip.framework.apollo.core.dto.ServiceDTO; import com.ctrip.framework.apollo.core.schedule.ExponentialSchedulePolicy; import com.ctrip.framework.apollo.core.schedule.SchedulePolicy; import com.ctrip.framework.apollo.core.signature.Signature; import com.ctrip.framework.apollo.core.utils.ApolloThreadFactory; import com.ctrip.framework.apollo.core.utils.StringUtils; import com.ctrip.framework.apollo.enums.ConfigSourceType; import com.ctrip.framework.apollo.exceptions.ApolloConfigException; import com.ctrip.framework.apollo.exceptions.ApolloConfigStatusCodeException; import com.ctrip.framework.apollo.tracer.Tracer; import com.ctrip.framework.apollo.tracer.spi.Transaction; import com.ctrip.framework.apollo.util.ConfigUtil; import com.ctrip.framework.apollo.util.ExceptionUtil; import com.ctrip.framework.apollo.util.http.HttpRequest; import com.ctrip.framework.apollo.util.http.HttpResponse; import com.ctrip.framework.apollo.util.http.HttpUtil; import com.google.common.base.Joiner; import com.google.common.base.Strings; import com.google.common.collect.Lists; import com.google.common.collect.Maps; import com.google.common.escape.Escaper; import com.google.common.net.UrlEscapers; import com.google.common.util.concurrent.RateLimiter; import com.google.gson.Gson; import java.util.Collections; import java.util.List; import java.util.Map; import java.util.Properties; import java.util.concurrent.Executors; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicBoolean; import java.util.concurrent.atomic.AtomicReference; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * @author Jason Song([email protected]) */ public class RemoteConfigRepository extends AbstractConfigRepository { private static final Logger logger = LoggerFactory.getLogger(RemoteConfigRepository.class); private static final Joiner STRING_JOINER = Joiner.on(ConfigConsts.CLUSTER_NAMESPACE_SEPARATOR); private static final Joiner.MapJoiner MAP_JOINER = Joiner.on("&").withKeyValueSeparator("="); private static final Escaper pathEscaper = UrlEscapers.urlPathSegmentEscaper(); private static final Escaper queryParamEscaper = UrlEscapers.urlFormParameterEscaper(); private final ConfigServiceLocator m_serviceLocator; private final HttpUtil m_httpUtil; private final ConfigUtil m_configUtil; private final RemoteConfigLongPollService remoteConfigLongPollService; private volatile AtomicReference<ApolloConfig> m_configCache; private final String m_namespace; private final static ScheduledExecutorService m_executorService; private final AtomicReference<ServiceDTO> m_longPollServiceDto; private final AtomicReference<ApolloNotificationMessages> m_remoteMessages; private final RateLimiter m_loadConfigRateLimiter; private final AtomicBoolean m_configNeedForceRefresh; private final SchedulePolicy m_loadConfigFailSchedulePolicy; private static final Gson GSON = new Gson(); static { m_executorService = Executors.newScheduledThreadPool(1, ApolloThreadFactory.create("RemoteConfigRepository", true)); } /** * Constructor. * * @param namespace the namespace */ public RemoteConfigRepository(String namespace) { m_namespace = namespace; m_configCache = new AtomicReference<>(); m_configUtil = ApolloInjector.getInstance(ConfigUtil.class); m_httpUtil = ApolloInjector.getInstance(HttpUtil.class); m_serviceLocator = ApolloInjector.getInstance(ConfigServiceLocator.class); remoteConfigLongPollService = ApolloInjector.getInstance(RemoteConfigLongPollService.class); m_longPollServiceDto = new AtomicReference<>(); m_remoteMessages = new AtomicReference<>(); m_loadConfigRateLimiter = RateLimiter.create(m_configUtil.getLoadConfigQPS()); m_configNeedForceRefresh = new AtomicBoolean(true); m_loadConfigFailSchedulePolicy = new ExponentialSchedulePolicy(m_configUtil.getOnErrorRetryInterval(), m_configUtil.getOnErrorRetryInterval() * 8); this.trySync(); this.schedulePeriodicRefresh(); this.scheduleLongPollingRefresh(); } @Override public Properties getConfig() { if (m_configCache.get() == null) { this.sync(); } return transformApolloConfigToProperties(m_configCache.get()); } @Override public void setUpstreamRepository(ConfigRepository upstreamConfigRepository) { //remote config doesn't need upstream } @Override public ConfigSourceType getSourceType() { return ConfigSourceType.REMOTE; } private void schedulePeriodicRefresh() { logger.debug("Schedule periodic refresh with interval: {} {}", m_configUtil.getRefreshInterval(), m_configUtil.getRefreshIntervalTimeUnit()); m_executorService.scheduleAtFixedRate( new Runnable() { @Override public void run() { Tracer.logEvent("Apollo.ConfigService", String.format("periodicRefresh: %s", m_namespace)); logger.debug("refresh config for namespace: {}", m_namespace); trySync(); Tracer.logEvent("Apollo.Client.Version", Apollo.VERSION); } }, m_configUtil.getRefreshInterval(), m_configUtil.getRefreshInterval(), m_configUtil.getRefreshIntervalTimeUnit()); } @Override protected synchronized void sync() { Transaction transaction = Tracer.newTransaction("Apollo.ConfigService", "syncRemoteConfig"); try { ApolloConfig previous = m_configCache.get(); ApolloConfig current = loadApolloConfig(); //reference equals means HTTP 304 if (previous != current) { logger.debug("Remote Config refreshed!"); m_configCache.set(current); this.fireRepositoryChange(m_namespace, this.getConfig()); } if (current != null) { Tracer.logEvent(String.format("Apollo.Client.Configs.%s", current.getNamespaceName()), current.getReleaseKey()); } transaction.setStatus(Transaction.SUCCESS); } catch (Throwable ex) { transaction.setStatus(ex); throw ex; } finally { transaction.complete(); } } private Properties transformApolloConfigToProperties(ApolloConfig apolloConfig) { Properties result = propertiesFactory.getPropertiesInstance(); result.putAll(apolloConfig.getConfigurations()); return result; } private ApolloConfig loadApolloConfig() { if (!m_loadConfigRateLimiter.tryAcquire(5, TimeUnit.SECONDS)) { //wait at most 5 seconds try { TimeUnit.SECONDS.sleep(5); } catch (InterruptedException e) { } } String appId = m_configUtil.getAppId(); String cluster = m_configUtil.getCluster(); String dataCenter = m_configUtil.getDataCenter(); String secret = m_configUtil.getAccessKeySecret(); Tracer.logEvent("Apollo.Client.ConfigMeta", STRING_JOINER.join(appId, cluster, m_namespace)); int maxRetries = m_configNeedForceRefresh.get() ? 2 : 1; long onErrorSleepTime = 0; // 0 means no sleep Throwable exception = null; List<ServiceDTO> configServices = getConfigServices(); String url = null; retryLoopLabel: for (int i = 0; i < maxRetries; i++) { List<ServiceDTO> randomConfigServices = Lists.newLinkedList(configServices); Collections.shuffle(randomConfigServices); //Access the server which notifies the client first if (m_longPollServiceDto.get() != null) { randomConfigServices.add(0, m_longPollServiceDto.getAndSet(null)); } for (ServiceDTO configService : randomConfigServices) { if (onErrorSleepTime > 0) { logger.warn( "Load config failed, will retry in {} {}. appId: {}, cluster: {}, namespaces: {}", onErrorSleepTime, m_configUtil.getOnErrorRetryIntervalTimeUnit(), appId, cluster, m_namespace); try { m_configUtil.getOnErrorRetryIntervalTimeUnit().sleep(onErrorSleepTime); } catch (InterruptedException e) { //ignore } } url = assembleQueryConfigUrl(configService.getHomepageUrl(), appId, cluster, m_namespace, dataCenter, m_remoteMessages.get(), m_configCache.get()); logger.debug("Loading config from {}", url); HttpRequest request = new HttpRequest(url); if (!StringUtils.isBlank(secret)) { Map<String, String> headers = Signature.buildHttpHeaders(url, appId, secret); request.setHeaders(headers); } Transaction transaction = Tracer.newTransaction("Apollo.ConfigService", "queryConfig"); transaction.addData("Url", url); try { HttpResponse<ApolloConfig> response = m_httpUtil.doGet(request, ApolloConfig.class); m_configNeedForceRefresh.set(false); m_loadConfigFailSchedulePolicy.success(); transaction.addData("StatusCode", response.getStatusCode()); transaction.setStatus(Transaction.SUCCESS); if (response.getStatusCode() == 304) { logger.debug("Config server responds with 304 HTTP status code."); return m_configCache.get(); } ApolloConfig result = response.getBody(); logger.debug("Loaded config for {}: {}", m_namespace, result); return result; } catch (ApolloConfigStatusCodeException ex) { ApolloConfigStatusCodeException statusCodeException = ex; //config not found if (ex.getStatusCode() == 404) { String message = String.format( "Could not find config for namespace - appId: %s, cluster: %s, namespace: %s, " + "please check whether the configs are released in Apollo!", appId, cluster, m_namespace); statusCodeException = new ApolloConfigStatusCodeException(ex.getStatusCode(), message); } Tracer.logEvent("ApolloConfigException", ExceptionUtil.getDetailMessage(statusCodeException)); transaction.setStatus(statusCodeException); exception = statusCodeException; if(ex.getStatusCode() == 404) { break retryLoopLabel; } } catch (Throwable ex) { Tracer.logEvent("ApolloConfigException", ExceptionUtil.getDetailMessage(ex)); transaction.setStatus(ex); exception = ex; } finally { transaction.complete(); } // if force refresh, do normal sleep, if normal config load, do exponential sleep onErrorSleepTime = m_configNeedForceRefresh.get() ? m_configUtil.getOnErrorRetryInterval() : m_loadConfigFailSchedulePolicy.fail(); } } String message = String.format( "Load Apollo Config failed - appId: %s, cluster: %s, namespace: %s, url: %s", appId, cluster, m_namespace, url); throw new ApolloConfigException(message, exception); } String assembleQueryConfigUrl(String uri, String appId, String cluster, String namespace, String dataCenter, ApolloNotificationMessages remoteMessages, ApolloConfig previousConfig) { String path = "configs/%s/%s/%s"; List<String> pathParams = Lists.newArrayList(pathEscaper.escape(appId), pathEscaper.escape(cluster), pathEscaper.escape(namespace)); Map<String, String> queryParams = Maps.newHashMap(); if (previousConfig != null) { queryParams.put("releaseKey", queryParamEscaper.escape(previousConfig.getReleaseKey())); } if (!Strings.isNullOrEmpty(dataCenter)) { queryParams.put("dataCenter", queryParamEscaper.escape(dataCenter)); } String localIp = m_configUtil.getLocalIp(); if (!Strings.isNullOrEmpty(localIp)) { queryParams.put("ip", queryParamEscaper.escape(localIp)); } if (remoteMessages != null) { queryParams.put("messages", queryParamEscaper.escape(GSON.toJson(remoteMessages))); } String pathExpanded = String.format(path, pathParams.toArray()); if (!queryParams.isEmpty()) { pathExpanded += "?" + MAP_JOINER.join(queryParams); } if (!uri.endsWith("/")) { uri += "/"; } return uri + pathExpanded; } private void scheduleLongPollingRefresh() { remoteConfigLongPollService.submit(m_namespace, this); } public void onLongPollNotified(ServiceDTO longPollNotifiedServiceDto, ApolloNotificationMessages remoteMessages) { m_longPollServiceDto.set(longPollNotifiedServiceDto); m_remoteMessages.set(remoteMessages); m_executorService.submit(new Runnable() { @Override public void run() { m_configNeedForceRefresh.set(true); trySync(); } }); } private List<ServiceDTO> getConfigServices() { List<ServiceDTO> services = m_serviceLocator.getConfigServices(); if (services.size() == 0) { throw new ApolloConfigException("No available config service"); } return services; } }
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.ApolloNotificationMessages; import com.ctrip.framework.apollo.core.dto.ServiceDTO; import com.ctrip.framework.apollo.core.schedule.ExponentialSchedulePolicy; import com.ctrip.framework.apollo.core.schedule.SchedulePolicy; import com.ctrip.framework.apollo.core.signature.Signature; import com.ctrip.framework.apollo.core.utils.ApolloThreadFactory; import com.ctrip.framework.apollo.core.utils.StringUtils; import com.ctrip.framework.apollo.enums.ConfigSourceType; import com.ctrip.framework.apollo.exceptions.ApolloConfigException; import com.ctrip.framework.apollo.exceptions.ApolloConfigStatusCodeException; import com.ctrip.framework.apollo.tracer.Tracer; import com.ctrip.framework.apollo.tracer.spi.Transaction; import com.ctrip.framework.apollo.util.ConfigUtil; import com.ctrip.framework.apollo.util.ExceptionUtil; import com.ctrip.framework.apollo.util.http.HttpRequest; import com.ctrip.framework.apollo.util.http.HttpResponse; import com.ctrip.framework.apollo.util.http.HttpClient; import com.google.common.base.Joiner; import com.google.common.base.Strings; import com.google.common.collect.Lists; import com.google.common.collect.Maps; import com.google.common.escape.Escaper; import com.google.common.net.UrlEscapers; import com.google.common.util.concurrent.RateLimiter; import com.google.gson.Gson; import java.util.Collections; import java.util.List; import java.util.Map; import java.util.Properties; import java.util.concurrent.Executors; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicBoolean; import java.util.concurrent.atomic.AtomicReference; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * @author Jason Song([email protected]) */ public class RemoteConfigRepository extends AbstractConfigRepository { private static final Logger logger = LoggerFactory.getLogger(RemoteConfigRepository.class); private static final Joiner STRING_JOINER = Joiner.on(ConfigConsts.CLUSTER_NAMESPACE_SEPARATOR); private static final Joiner.MapJoiner MAP_JOINER = Joiner.on("&").withKeyValueSeparator("="); private static final Escaper pathEscaper = UrlEscapers.urlPathSegmentEscaper(); private static final Escaper queryParamEscaper = UrlEscapers.urlFormParameterEscaper(); private final ConfigServiceLocator m_serviceLocator; private final HttpClient m_httpClient; private final ConfigUtil m_configUtil; private final RemoteConfigLongPollService remoteConfigLongPollService; private volatile AtomicReference<ApolloConfig> m_configCache; private final String m_namespace; private final static ScheduledExecutorService m_executorService; private final AtomicReference<ServiceDTO> m_longPollServiceDto; private final AtomicReference<ApolloNotificationMessages> m_remoteMessages; private final RateLimiter m_loadConfigRateLimiter; private final AtomicBoolean m_configNeedForceRefresh; private final SchedulePolicy m_loadConfigFailSchedulePolicy; private static final Gson GSON = new Gson(); static { m_executorService = Executors.newScheduledThreadPool(1, ApolloThreadFactory.create("RemoteConfigRepository", true)); } /** * Constructor. * * @param namespace the namespace */ public RemoteConfigRepository(String namespace) { m_namespace = namespace; m_configCache = new AtomicReference<>(); m_configUtil = ApolloInjector.getInstance(ConfigUtil.class); m_httpClient = ApolloInjector.getInstance(HttpClient.class); m_serviceLocator = ApolloInjector.getInstance(ConfigServiceLocator.class); remoteConfigLongPollService = ApolloInjector.getInstance(RemoteConfigLongPollService.class); m_longPollServiceDto = new AtomicReference<>(); m_remoteMessages = new AtomicReference<>(); m_loadConfigRateLimiter = RateLimiter.create(m_configUtil.getLoadConfigQPS()); m_configNeedForceRefresh = new AtomicBoolean(true); m_loadConfigFailSchedulePolicy = new ExponentialSchedulePolicy(m_configUtil.getOnErrorRetryInterval(), m_configUtil.getOnErrorRetryInterval() * 8); this.trySync(); this.schedulePeriodicRefresh(); this.scheduleLongPollingRefresh(); } @Override public Properties getConfig() { if (m_configCache.get() == null) { this.sync(); } return transformApolloConfigToProperties(m_configCache.get()); } @Override public void setUpstreamRepository(ConfigRepository upstreamConfigRepository) { //remote config doesn't need upstream } @Override public ConfigSourceType getSourceType() { return ConfigSourceType.REMOTE; } private void schedulePeriodicRefresh() { logger.debug("Schedule periodic refresh with interval: {} {}", m_configUtil.getRefreshInterval(), m_configUtil.getRefreshIntervalTimeUnit()); m_executorService.scheduleAtFixedRate( new Runnable() { @Override public void run() { Tracer.logEvent("Apollo.ConfigService", String.format("periodicRefresh: %s", m_namespace)); logger.debug("refresh config for namespace: {}", m_namespace); trySync(); Tracer.logEvent("Apollo.Client.Version", Apollo.VERSION); } }, m_configUtil.getRefreshInterval(), m_configUtil.getRefreshInterval(), m_configUtil.getRefreshIntervalTimeUnit()); } @Override protected synchronized void sync() { Transaction transaction = Tracer.newTransaction("Apollo.ConfigService", "syncRemoteConfig"); try { ApolloConfig previous = m_configCache.get(); ApolloConfig current = loadApolloConfig(); //reference equals means HTTP 304 if (previous != current) { logger.debug("Remote Config refreshed!"); m_configCache.set(current); this.fireRepositoryChange(m_namespace, this.getConfig()); } if (current != null) { Tracer.logEvent(String.format("Apollo.Client.Configs.%s", current.getNamespaceName()), current.getReleaseKey()); } transaction.setStatus(Transaction.SUCCESS); } catch (Throwable ex) { transaction.setStatus(ex); throw ex; } finally { transaction.complete(); } } private Properties transformApolloConfigToProperties(ApolloConfig apolloConfig) { Properties result = propertiesFactory.getPropertiesInstance(); result.putAll(apolloConfig.getConfigurations()); return result; } private ApolloConfig loadApolloConfig() { if (!m_loadConfigRateLimiter.tryAcquire(5, TimeUnit.SECONDS)) { //wait at most 5 seconds try { TimeUnit.SECONDS.sleep(5); } catch (InterruptedException e) { } } String appId = m_configUtil.getAppId(); String cluster = m_configUtil.getCluster(); String dataCenter = m_configUtil.getDataCenter(); String secret = m_configUtil.getAccessKeySecret(); Tracer.logEvent("Apollo.Client.ConfigMeta", STRING_JOINER.join(appId, cluster, m_namespace)); int maxRetries = m_configNeedForceRefresh.get() ? 2 : 1; long onErrorSleepTime = 0; // 0 means no sleep Throwable exception = null; List<ServiceDTO> configServices = getConfigServices(); String url = null; retryLoopLabel: for (int i = 0; i < maxRetries; i++) { List<ServiceDTO> randomConfigServices = Lists.newLinkedList(configServices); Collections.shuffle(randomConfigServices); //Access the server which notifies the client first if (m_longPollServiceDto.get() != null) { randomConfigServices.add(0, m_longPollServiceDto.getAndSet(null)); } for (ServiceDTO configService : randomConfigServices) { if (onErrorSleepTime > 0) { logger.warn( "Load config failed, will retry in {} {}. appId: {}, cluster: {}, namespaces: {}", onErrorSleepTime, m_configUtil.getOnErrorRetryIntervalTimeUnit(), appId, cluster, m_namespace); try { m_configUtil.getOnErrorRetryIntervalTimeUnit().sleep(onErrorSleepTime); } catch (InterruptedException e) { //ignore } } url = assembleQueryConfigUrl(configService.getHomepageUrl(), appId, cluster, m_namespace, dataCenter, m_remoteMessages.get(), m_configCache.get()); logger.debug("Loading config from {}", url); HttpRequest request = new HttpRequest(url); if (!StringUtils.isBlank(secret)) { Map<String, String> headers = Signature.buildHttpHeaders(url, appId, secret); request.setHeaders(headers); } Transaction transaction = Tracer.newTransaction("Apollo.ConfigService", "queryConfig"); transaction.addData("Url", url); try { HttpResponse<ApolloConfig> response = m_httpClient.doGet(request, ApolloConfig.class); m_configNeedForceRefresh.set(false); m_loadConfigFailSchedulePolicy.success(); transaction.addData("StatusCode", response.getStatusCode()); transaction.setStatus(Transaction.SUCCESS); if (response.getStatusCode() == 304) { logger.debug("Config server responds with 304 HTTP status code."); return m_configCache.get(); } ApolloConfig result = response.getBody(); logger.debug("Loaded config for {}: {}", m_namespace, result); return result; } catch (ApolloConfigStatusCodeException ex) { ApolloConfigStatusCodeException statusCodeException = ex; //config not found if (ex.getStatusCode() == 404) { String message = String.format( "Could not find config for namespace - appId: %s, cluster: %s, namespace: %s, " + "please check whether the configs are released in Apollo!", appId, cluster, m_namespace); statusCodeException = new ApolloConfigStatusCodeException(ex.getStatusCode(), message); } Tracer.logEvent("ApolloConfigException", ExceptionUtil.getDetailMessage(statusCodeException)); transaction.setStatus(statusCodeException); exception = statusCodeException; if(ex.getStatusCode() == 404) { break retryLoopLabel; } } catch (Throwable ex) { Tracer.logEvent("ApolloConfigException", ExceptionUtil.getDetailMessage(ex)); transaction.setStatus(ex); exception = ex; } finally { transaction.complete(); } // if force refresh, do normal sleep, if normal config load, do exponential sleep onErrorSleepTime = m_configNeedForceRefresh.get() ? m_configUtil.getOnErrorRetryInterval() : m_loadConfigFailSchedulePolicy.fail(); } } String message = String.format( "Load Apollo Config failed - appId: %s, cluster: %s, namespace: %s, url: %s", appId, cluster, m_namespace, url); throw new ApolloConfigException(message, exception); } String assembleQueryConfigUrl(String uri, String appId, String cluster, String namespace, String dataCenter, ApolloNotificationMessages remoteMessages, ApolloConfig previousConfig) { String path = "configs/%s/%s/%s"; List<String> pathParams = Lists.newArrayList(pathEscaper.escape(appId), pathEscaper.escape(cluster), pathEscaper.escape(namespace)); Map<String, String> queryParams = Maps.newHashMap(); if (previousConfig != null) { queryParams.put("releaseKey", queryParamEscaper.escape(previousConfig.getReleaseKey())); } if (!Strings.isNullOrEmpty(dataCenter)) { queryParams.put("dataCenter", queryParamEscaper.escape(dataCenter)); } String localIp = m_configUtil.getLocalIp(); if (!Strings.isNullOrEmpty(localIp)) { queryParams.put("ip", queryParamEscaper.escape(localIp)); } if (remoteMessages != null) { queryParams.put("messages", queryParamEscaper.escape(GSON.toJson(remoteMessages))); } String pathExpanded = String.format(path, pathParams.toArray()); if (!queryParams.isEmpty()) { pathExpanded += "?" + MAP_JOINER.join(queryParams); } if (!uri.endsWith("/")) { uri += "/"; } return uri + pathExpanded; } private void scheduleLongPollingRefresh() { remoteConfigLongPollService.submit(m_namespace, this); } public void onLongPollNotified(ServiceDTO longPollNotifiedServiceDto, ApolloNotificationMessages remoteMessages) { m_longPollServiceDto.set(longPollNotifiedServiceDto); m_remoteMessages.set(remoteMessages); m_executorService.submit(new Runnable() { @Override public void run() { m_configNeedForceRefresh.set(true); trySync(); } }); } private List<ServiceDTO> getConfigServices() { List<ServiceDTO> services = m_serviceLocator.getConfigServices(); if (services.size() == 0) { throw new ApolloConfigException("No available config service"); } return services; } }
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.common.base.Function; import com.google.common.io.CharStreams; import com.google.gson.Gson; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.lang.reflect.Type; import java.net.HttpURLConnection; import java.net.URL; import java.nio.charset.StandardCharsets; import java.util.Map; /** * @author Jason Song([email protected]) */ public class HttpUtil { private ConfigUtil m_configUtil; private static final Gson GSON = new Gson(); /** * Constructor. */ public HttpUtil() { m_configUtil = ApolloInjector.getInstance(ConfigUtil.class); } /** * Do get operation for the http request. * * @param httpRequest the request * @param responseType the response type * @return the response * @throws ApolloConfigException if any error happened or response code is neither 200 nor 304 */ public <T> HttpResponse<T> doGet(HttpRequest httpRequest, final Class<T> responseType) { Function<String, T> convertResponse = new Function<String, T>() { @Override public T apply(String input) { return GSON.fromJson(input, responseType); } }; return doGetWithSerializeFunction(httpRequest, convertResponse); } /** * Do get operation for the http request. * * @param httpRequest the request * @param responseType the response type * @return the response * @throws ApolloConfigException if any error happened or response code is neither 200 nor 304 */ public <T> HttpResponse<T> doGet(HttpRequest httpRequest, final Type responseType) { Function<String, T> convertResponse = new Function<String, T>() { @Override public T apply(String input) { return GSON.fromJson(input, responseType); } }; return doGetWithSerializeFunction(httpRequest, convertResponse); } private <T> HttpResponse<T> doGetWithSerializeFunction(HttpRequest httpRequest, Function<String, T> serializeFunction) { InputStreamReader isr = null; InputStreamReader esr = null; int statusCode; try { HttpURLConnection conn = (HttpURLConnection) new URL(httpRequest.getUrl()).openConnection(); conn.setRequestMethod("GET"); Map<String, String> headers = httpRequest.getHeaders(); if (headers != null && headers.size() > 0) { for (Map.Entry<String, String> entry : headers.entrySet()) { conn.setRequestProperty(entry.getKey(), entry.getValue()); } } int connectTimeout = httpRequest.getConnectTimeout(); if (connectTimeout < 0) { connectTimeout = m_configUtil.getConnectTimeout(); } int readTimeout = httpRequest.getReadTimeout(); if (readTimeout < 0) { readTimeout = m_configUtil.getReadTimeout(); } conn.setConnectTimeout(connectTimeout); conn.setReadTimeout(readTimeout); conn.connect(); statusCode = conn.getResponseCode(); String response; try { isr = new InputStreamReader(conn.getInputStream(), StandardCharsets.UTF_8); response = CharStreams.toString(isr); } catch (IOException ex) { /** * according to https://docs.oracle.com/javase/7/docs/technotes/guides/net/http-keepalive.html, * we should clean up the connection by reading the response body so that the connection * could be reused. */ InputStream errorStream = conn.getErrorStream(); if (errorStream != null) { esr = new InputStreamReader(errorStream, StandardCharsets.UTF_8); try { CharStreams.toString(esr); } catch (IOException ioe) { //ignore } } // 200 and 304 should not trigger IOException, thus we must throw the original exception out if (statusCode == 200 || statusCode == 304) { throw ex; } // for status codes like 404, IOException is expected when calling conn.getInputStream() throw new ApolloConfigStatusCodeException(statusCode, ex); } if (statusCode == 200) { return new HttpResponse<>(statusCode, serializeFunction.apply(response)); } if (statusCode == 304) { return new HttpResponse<>(statusCode, null); } } catch (ApolloConfigStatusCodeException ex) { throw ex; } catch (Throwable ex) { throw new ApolloConfigException("Could not complete get operation", ex); } finally { if (isr != null) { try { isr.close(); } catch (IOException ex) { // ignore } } if (esr != null) { try { esr.close(); } catch (IOException ex) { // ignore } } } throw new ApolloConfigStatusCodeException(statusCode, String.format("Get operation failed for %s", httpRequest.getUrl())); } }
package com.ctrip.framework.apollo.util.http; import com.ctrip.framework.apollo.exceptions.ApolloConfigException; import java.lang.reflect.Type; /** * @author Jason Song([email protected]) * @deprecated in favor of the interface {@link HttpClient} and it's default implementation {@link * DefaultHttpClient} */ @Deprecated public class HttpUtil implements HttpClient { private HttpClient m_httpClient; /** * Constructor. */ public HttpUtil() { m_httpClient = new DefaultHttpClient(); } /** * Do get operation for the http request. * * @param httpRequest the request * @param responseType the response type * @return the response * @throws ApolloConfigException if any error happened or response code is neither 200 nor 304 */ @Override public <T> HttpResponse<T> doGet(HttpRequest httpRequest, final Class<T> responseType) { return m_httpClient.doGet(httpRequest, responseType); } /** * Do get operation for the http request. * * @param httpRequest the request * @param responseType the response type * @return the response * @throws ApolloConfigException if any error happened or response code is neither 200 nor 304 */ @Override public <T> HttpResponse<T> doGet(HttpRequest httpRequest, final Type responseType) { return m_httpClient.doGet(httpRequest, responseType); } }
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 org.mockito.Mockito.mock; import static org.mockito.Mockito.never; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; import com.ctrip.framework.apollo.build.MockInjector; import com.ctrip.framework.apollo.core.dto.ApolloConfigNotification; import com.ctrip.framework.apollo.core.dto.ApolloNotificationMessages; import com.ctrip.framework.apollo.core.dto.ServiceDTO; import com.ctrip.framework.apollo.core.signature.Signature; import com.ctrip.framework.apollo.util.ConfigUtil; import com.ctrip.framework.apollo.util.http.HttpRequest; import com.ctrip.framework.apollo.util.http.HttpResponse; import com.ctrip.framework.apollo.util.http.HttpUtil; import com.google.common.collect.ImmutableMap; import com.google.common.collect.Lists; import com.google.common.net.HttpHeaders; import com.google.common.util.concurrent.SettableFuture; import java.lang.reflect.Type; import java.util.List; import java.util.Map; import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicInteger; import javax.servlet.http.HttpServletResponse; import org.junit.After; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.ArgumentCaptor; import org.mockito.Mock; import org.mockito.invocation.InvocationOnMock; import org.mockito.runners.MockitoJUnitRunner; import org.mockito.stubbing.Answer; import org.springframework.test.util.ReflectionTestUtils; /** * @author Jason Song([email protected]) */ @RunWith(MockitoJUnitRunner.class) public class RemoteConfigLongPollServiceTest { private RemoteConfigLongPollService remoteConfigLongPollService; @Mock private HttpResponse<List<ApolloConfigNotification>> pollResponse; @Mock private HttpUtil httpUtil; @Mock private ConfigServiceLocator configServiceLocator; private Type responseType; private static String someServerUrl; private static String someAppId; private static String someCluster; private static String someSecret; @Before public void setUp() throws Exception { MockInjector.setInstance(HttpUtil.class, httpUtil); someServerUrl = "http://someServer"; ServiceDTO serviceDTO = mock(ServiceDTO.class); when(serviceDTO.getHomepageUrl()).thenReturn(someServerUrl); when(configServiceLocator.getConfigServices()).thenReturn(Lists.newArrayList(serviceDTO)); MockInjector.setInstance(ConfigServiceLocator.class, configServiceLocator); MockInjector.setInstance(ConfigUtil.class, new MockConfigUtil()); remoteConfigLongPollService = new RemoteConfigLongPollService(); responseType = (Type) ReflectionTestUtils.getField(remoteConfigLongPollService, "m_responseType"); someAppId = "someAppId"; someCluster = "someCluster"; } @After public void tearDown() throws Exception { MockInjector.reset(); } @Test public void testSubmitLongPollNamespaceWith304Response() throws Exception { RemoteConfigRepository someRepository = mock(RemoteConfigRepository.class); final String someNamespace = "someNamespace"; when(pollResponse.getStatusCode()).thenReturn(HttpServletResponse.SC_NOT_MODIFIED); final SettableFuture<Boolean> longPollFinished = SettableFuture.create(); doAnswer(new Answer<HttpResponse<List<ApolloConfigNotification>>>() { @Override public HttpResponse<List<ApolloConfigNotification>> answer(InvocationOnMock invocation) throws Throwable { try { TimeUnit.MILLISECONDS.sleep(50); } catch (InterruptedException e) { } HttpRequest request = invocation.getArgumentAt(0, HttpRequest.class); assertTrue(request.getUrl().contains(someServerUrl + "/notifications/v2?")); assertTrue(request.getUrl().contains("appId=" + someAppId)); assertTrue(request.getUrl().contains("cluster=" + someCluster)); assertTrue(request.getUrl().contains("notifications=")); assertTrue(request.getUrl().contains(someNamespace)); longPollFinished.set(true); return pollResponse; } }).when(httpUtil).doGet(any(HttpRequest.class), eq(responseType)); remoteConfigLongPollService.submit(someNamespace, someRepository); longPollFinished.get(5000, TimeUnit.MILLISECONDS); remoteConfigLongPollService.stopLongPollingRefresh(); verify(someRepository, never()).onLongPollNotified(any(ServiceDTO.class), any(ApolloNotificationMessages.class)); } @Test public void testSubmitLongPollNamespaceWith200Response() throws Exception { RemoteConfigRepository someRepository = mock(RemoteConfigRepository.class); final String someNamespace = "someNamespace"; ApolloNotificationMessages notificationMessages = new ApolloNotificationMessages(); String someKey = "someKey"; long someNotificationId = 1; String anotherKey = "anotherKey"; long anotherNotificationId = 2; notificationMessages.put(someKey, someNotificationId); notificationMessages.put(anotherKey, anotherNotificationId); ApolloConfigNotification someNotification = mock(ApolloConfigNotification.class); when(someNotification.getNamespaceName()).thenReturn(someNamespace); when(someNotification.getMessages()).thenReturn(notificationMessages); when(pollResponse.getStatusCode()).thenReturn(HttpServletResponse.SC_OK); when(pollResponse.getBody()).thenReturn(Lists.newArrayList(someNotification)); doAnswer(new Answer<HttpResponse<List<ApolloConfigNotification>>>() { @Override public HttpResponse<List<ApolloConfigNotification>> answer(InvocationOnMock invocation) throws Throwable { try { TimeUnit.MILLISECONDS.sleep(50); } catch (InterruptedException e) { } return pollResponse; } }).when(httpUtil).doGet(any(HttpRequest.class), eq(responseType)); final SettableFuture<Boolean> onNotified = SettableFuture.create(); doAnswer(new Answer<Void>() { @Override public Void answer(InvocationOnMock invocation) throws Throwable { onNotified.set(true); return null; } }).when(someRepository).onLongPollNotified(any(ServiceDTO.class), any(ApolloNotificationMessages.class)); remoteConfigLongPollService.submit(someNamespace, someRepository); onNotified.get(5000, TimeUnit.MILLISECONDS); remoteConfigLongPollService.stopLongPollingRefresh(); final ArgumentCaptor<ApolloNotificationMessages> captor = ArgumentCaptor.forClass(ApolloNotificationMessages.class); verify(someRepository, times(1)).onLongPollNotified(any(ServiceDTO.class), captor.capture()); ApolloNotificationMessages captured = captor.getValue(); assertEquals(2, captured.getDetails().size()); assertEquals(someNotificationId, captured.get(someKey).longValue()); assertEquals(anotherNotificationId, captured.get(anotherKey).longValue()); } @Test public void testSubmitLongPollNamespaceWithAccessKeySecret() throws Exception { someSecret = "someSecret"; RemoteConfigRepository someRepository = mock(RemoteConfigRepository.class); final String someNamespace = "someNamespace"; ApolloNotificationMessages notificationMessages = new ApolloNotificationMessages(); String someKey = "someKey"; long someNotificationId = 1; notificationMessages.put(someKey, someNotificationId); ApolloConfigNotification someNotification = mock(ApolloConfigNotification.class); when(someNotification.getNamespaceName()).thenReturn(someNamespace); when(someNotification.getMessages()).thenReturn(notificationMessages); when(pollResponse.getStatusCode()).thenReturn(HttpServletResponse.SC_OK); when(pollResponse.getBody()).thenReturn(Lists.newArrayList(someNotification)); doAnswer(new Answer<HttpResponse<List<ApolloConfigNotification>>>() { @Override public HttpResponse<List<ApolloConfigNotification>> answer(InvocationOnMock invocation) throws Throwable { try { TimeUnit.MILLISECONDS.sleep(50); } catch (InterruptedException e) { } HttpRequest request = invocation.getArgumentAt(0, HttpRequest.class); Map<String, String> headers = request.getHeaders(); assertNotNull(headers); assertTrue(headers.containsKey(Signature.HTTP_HEADER_TIMESTAMP)); assertTrue(headers.containsKey(HttpHeaders.AUTHORIZATION)); return pollResponse; } }).when(httpUtil).doGet(any(HttpRequest.class), eq(responseType)); final SettableFuture<Boolean> onNotified = SettableFuture.create(); doAnswer(new Answer<Void>() { @Override public Void answer(InvocationOnMock invocation) throws Throwable { onNotified.set(true); return null; } }).when(someRepository).onLongPollNotified(any(ServiceDTO.class), any(ApolloNotificationMessages.class)); remoteConfigLongPollService.submit(someNamespace, someRepository); onNotified.get(5000, TimeUnit.MILLISECONDS); remoteConfigLongPollService.stopLongPollingRefresh(); verify(someRepository, times(1)).onLongPollNotified(any(ServiceDTO.class), any(ApolloNotificationMessages.class)); } @Test public void testSubmitLongPollMultipleNamespaces() throws Exception { RemoteConfigRepository someRepository = mock(RemoteConfigRepository.class); RemoteConfigRepository anotherRepository = mock(RemoteConfigRepository.class); final String someNamespace = "someNamespace"; final String anotherNamespace = "anotherNamespace"; final ApolloConfigNotification someNotification = mock(ApolloConfigNotification.class); when(someNotification.getNamespaceName()).thenReturn(someNamespace); final ApolloConfigNotification anotherNotification = mock(ApolloConfigNotification.class); when(anotherNotification.getNamespaceName()).thenReturn(anotherNamespace); final SettableFuture<Boolean> submitAnotherNamespaceStart = SettableFuture.create(); final SettableFuture<Boolean> submitAnotherNamespaceFinish = SettableFuture.create(); doAnswer(new Answer<HttpResponse<List<ApolloConfigNotification>>>() { final AtomicInteger counter = new AtomicInteger(); @Override public HttpResponse<List<ApolloConfigNotification>> answer(InvocationOnMock invocation) throws Throwable { try { TimeUnit.MILLISECONDS.sleep(50); } catch (InterruptedException e) { } //the first time if (counter.incrementAndGet() == 1) { HttpRequest request = invocation.getArgumentAt(0, HttpRequest.class); assertTrue(request.getUrl().contains("notifications=")); assertTrue(request.getUrl().contains(someNamespace)); submitAnotherNamespaceStart.set(true); when(pollResponse.getStatusCode()).thenReturn(HttpServletResponse.SC_OK); when(pollResponse.getBody()).thenReturn(Lists.newArrayList(someNotification)); } else if (submitAnotherNamespaceFinish.get()) { HttpRequest request = invocation.getArgumentAt(0, HttpRequest.class); assertTrue(request.getUrl().contains("notifications=")); assertTrue(request.getUrl().contains(someNamespace)); assertTrue(request.getUrl().contains(anotherNamespace)); when(pollResponse.getStatusCode()).thenReturn(HttpServletResponse.SC_OK); when(pollResponse.getBody()).thenReturn(Lists.newArrayList(anotherNotification)); } else { when(pollResponse.getStatusCode()).thenReturn(HttpServletResponse.SC_NOT_MODIFIED); when(pollResponse.getBody()).thenReturn(null); } return pollResponse; } }).when(httpUtil).doGet(any(HttpRequest.class), eq(responseType)); final SettableFuture<Boolean> onAnotherRepositoryNotified = SettableFuture.create(); doAnswer(new Answer<Void>() { @Override public Void answer(InvocationOnMock invocation) throws Throwable { onAnotherRepositoryNotified.set(true); return null; } }).when(anotherRepository).onLongPollNotified(any(ServiceDTO.class), any(ApolloNotificationMessages.class)); remoteConfigLongPollService.submit(someNamespace, someRepository); submitAnotherNamespaceStart.get(5000, TimeUnit.MILLISECONDS); remoteConfigLongPollService.submit(anotherNamespace, anotherRepository); submitAnotherNamespaceFinish.set(true); onAnotherRepositoryNotified.get(5000, TimeUnit.MILLISECONDS); remoteConfigLongPollService.stopLongPollingRefresh(); verify(someRepository, times(1)).onLongPollNotified(any(ServiceDTO.class), any(ApolloNotificationMessages.class)); verify(anotherRepository, times(1)).onLongPollNotified(any(ServiceDTO.class), any(ApolloNotificationMessages.class)); } @Test public void testSubmitLongPollMultipleNamespacesWithMultipleNotificationsReturned() throws Exception { RemoteConfigRepository someRepository = mock(RemoteConfigRepository.class); RemoteConfigRepository anotherRepository = mock(RemoteConfigRepository.class); final String someNamespace = "someNamespace"; final String anotherNamespace = "anotherNamespace"; ApolloNotificationMessages notificationMessages = new ApolloNotificationMessages(); String someKey = "someKey"; long someNotificationId = 1; notificationMessages.put(someKey, someNotificationId); ApolloNotificationMessages anotherNotificationMessages = new ApolloNotificationMessages(); String anotherKey = "anotherKey"; long anotherNotificationId = 2; anotherNotificationMessages.put(anotherKey, anotherNotificationId); final ApolloConfigNotification someNotification = mock(ApolloConfigNotification.class); when(someNotification.getNamespaceName()).thenReturn(someNamespace); when(someNotification.getMessages()).thenReturn(notificationMessages); final ApolloConfigNotification anotherNotification = mock(ApolloConfigNotification.class); when(anotherNotification.getNamespaceName()).thenReturn(anotherNamespace); when(anotherNotification.getMessages()).thenReturn(anotherNotificationMessages); when(pollResponse.getStatusCode()).thenReturn(HttpServletResponse.SC_OK); when(pollResponse.getBody()).thenReturn(Lists.newArrayList(someNotification, anotherNotification)); doAnswer(new Answer<HttpResponse<List<ApolloConfigNotification>>>() { @Override public HttpResponse<List<ApolloConfigNotification>> answer(InvocationOnMock invocation) throws Throwable { try { TimeUnit.MILLISECONDS.sleep(50); } catch (InterruptedException e) { } return pollResponse; } }).when(httpUtil).doGet(any(HttpRequest.class), eq(responseType)); final SettableFuture<Boolean> someRepositoryNotified = SettableFuture.create(); doAnswer(new Answer<Void>() { @Override public Void answer(InvocationOnMock invocation) throws Throwable { someRepositoryNotified.set(true); return null; } }).when(someRepository).onLongPollNotified(any(ServiceDTO.class), any(ApolloNotificationMessages.class)); final SettableFuture<Boolean> anotherRepositoryNotified = SettableFuture.create(); doAnswer(new Answer<Void>() { @Override public Void answer(InvocationOnMock invocation) throws Throwable { anotherRepositoryNotified.set(true); return null; } }).when(anotherRepository).onLongPollNotified(any(ServiceDTO.class), any(ApolloNotificationMessages.class)); remoteConfigLongPollService.submit(someNamespace, someRepository); remoteConfigLongPollService.submit(anotherNamespace, anotherRepository); someRepositoryNotified.get(5000, TimeUnit.MILLISECONDS); anotherRepositoryNotified.get(5000, TimeUnit.MILLISECONDS); remoteConfigLongPollService.stopLongPollingRefresh(); final ArgumentCaptor<ApolloNotificationMessages> captor = ArgumentCaptor.forClass(ApolloNotificationMessages.class); final ArgumentCaptor<ApolloNotificationMessages> anotherCaptor = ArgumentCaptor.forClass(ApolloNotificationMessages.class); verify(someRepository, times(1)).onLongPollNotified(any(ServiceDTO.class), captor.capture()); verify(anotherRepository, times(1)).onLongPollNotified(any(ServiceDTO.class), anotherCaptor.capture()); ApolloNotificationMessages result = captor.getValue(); assertEquals(1, result.getDetails().size()); assertEquals(someNotificationId, result.get(someKey).longValue()); ApolloNotificationMessages anotherResult = anotherCaptor.getValue(); assertEquals(1, anotherResult.getDetails().size()); assertEquals(anotherNotificationId, anotherResult.get(anotherKey).longValue()); } @Test public void testSubmitLongPollNamespaceWithMessagesUpdated() throws Exception { RemoteConfigRepository someRepository = mock(RemoteConfigRepository.class); final String someNamespace = "someNamespace"; ApolloNotificationMessages notificationMessages = new ApolloNotificationMessages(); String someKey = "someKey"; long someNotificationId = 1; notificationMessages.put(someKey, someNotificationId); ApolloConfigNotification someNotification = mock(ApolloConfigNotification.class); when(someNotification.getNamespaceName()).thenReturn(someNamespace); when(someNotification.getMessages()).thenReturn(notificationMessages); when(pollResponse.getStatusCode()).thenReturn(HttpServletResponse.SC_OK); when(pollResponse.getBody()).thenReturn(Lists.newArrayList(someNotification)); doAnswer(new Answer<HttpResponse<List<ApolloConfigNotification>>>() { @Override public HttpResponse<List<ApolloConfigNotification>> answer(InvocationOnMock invocation) throws Throwable { try { TimeUnit.MILLISECONDS.sleep(50); } catch (InterruptedException e) { } return pollResponse; } }).when(httpUtil).doGet(any(HttpRequest.class), eq(responseType)); final SettableFuture<Boolean> onNotified = SettableFuture.create(); doAnswer(new Answer<Void>() { @Override public Void answer(InvocationOnMock invocation) throws Throwable { onNotified.set(true); return null; } }).when(someRepository).onLongPollNotified(any(ServiceDTO.class), any(ApolloNotificationMessages.class)); remoteConfigLongPollService.submit(someNamespace, someRepository); onNotified.get(5000, TimeUnit.MILLISECONDS); //reset to 304 when(pollResponse.getStatusCode()).thenReturn(HttpServletResponse.SC_NOT_MODIFIED); final ArgumentCaptor<ApolloNotificationMessages> captor = ArgumentCaptor.forClass(ApolloNotificationMessages.class); verify(someRepository, times(1)).onLongPollNotified(any(ServiceDTO.class), captor.capture()); ApolloNotificationMessages captured = captor.getValue(); assertEquals(1, captured.getDetails().size()); assertEquals(someNotificationId, captured.get(someKey).longValue()); final SettableFuture<Boolean> anotherOnNotified = SettableFuture.create(); doAnswer(new Answer<Void>() { @Override public Void answer(InvocationOnMock invocation) throws Throwable { anotherOnNotified.set(true); return null; } }).when(someRepository).onLongPollNotified(any(ServiceDTO.class), any(ApolloNotificationMessages.class)); String anotherKey = "anotherKey"; long anotherNotificationId = 2; notificationMessages.put(anotherKey, anotherNotificationId); //send notifications when(pollResponse.getStatusCode()).thenReturn(HttpServletResponse.SC_OK); anotherOnNotified.get(5000, TimeUnit.MILLISECONDS); remoteConfigLongPollService.stopLongPollingRefresh(); verify(someRepository, times(2)).onLongPollNotified(any(ServiceDTO.class), captor.capture()); captured = captor.getValue(); assertEquals(2, captured.getDetails().size()); assertEquals(someNotificationId, captured.get(someKey).longValue()); assertEquals(anotherNotificationId, captured.get(anotherKey).longValue()); } @Test public void testAssembleLongPollRefreshUrl() throws Exception { String someUri = someServerUrl; String someAppId = "someAppId"; String someCluster = "someCluster+ &.-_someSign"; String someNamespace = "someName"; long someNotificationId = 1; Map<String, Long> notificationsMap = ImmutableMap.of(someNamespace, someNotificationId); String longPollRefreshUrl = remoteConfigLongPollService .assembleLongPollRefreshUrl(someUri, someAppId, someCluster, null, notificationsMap); assertTrue(longPollRefreshUrl.contains(someServerUrl + "/notifications/v2?")); assertTrue(longPollRefreshUrl.contains("appId=" + someAppId)); assertTrue(longPollRefreshUrl.contains("cluster=someCluster%2B+%26.-_someSign")); assertTrue(longPollRefreshUrl.contains( "notifications=%5B%7B%22namespaceName%22%3A%22" + someNamespace + "%22%2C%22notificationId%22%3A" + 1 + "%7D%5D")); } @Test public void testAssembleLongPollRefreshUrlWithMultipleNamespaces() throws Exception { String someUri = someServerUrl; String someAppId = "someAppId"; String someCluster = "someCluster+ &.-_someSign"; String someNamespace = "someName"; String anotherNamespace = "anotherName"; long someNotificationId = 1; long anotherNotificationId = 2; Map<String, Long> notificationsMap = ImmutableMap.of(someNamespace, someNotificationId, anotherNamespace, anotherNotificationId); String longPollRefreshUrl = remoteConfigLongPollService .assembleLongPollRefreshUrl(someUri, someAppId, someCluster, null, notificationsMap); assertTrue(longPollRefreshUrl.contains(someServerUrl + "/notifications/v2?")); assertTrue(longPollRefreshUrl.contains("appId=" + someAppId)); assertTrue(longPollRefreshUrl.contains("cluster=someCluster%2B+%26.-_someSign")); assertTrue( longPollRefreshUrl.contains("notifications=%5B%7B%22namespaceName%22%3A%22" + someNamespace + "%22%2C%22notificationId%22%3A" + someNotificationId + "%7D%2C%7B%22namespaceName%22%3A%22" + anotherNamespace + "%22%2C%22notificationId%22%3A" + anotherNotificationId + "%7D%5D")); } public static class MockConfigUtil extends ConfigUtil { @Override public String getAppId() { return someAppId; } @Override public String getCluster() { return someCluster; } @Override public String getAccessKeySecret() { return someSecret; } @Override public String getDataCenter() { return null; } @Override public int getLoadConfigQPS() { return 200; } @Override public int getLongPollQPS() { return 200; } @Override public long getLongPollingInitialDelayInMills() { return 0; } } }
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 org.mockito.Mockito.mock; import static org.mockito.Mockito.never; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; import com.ctrip.framework.apollo.build.MockInjector; import com.ctrip.framework.apollo.core.dto.ApolloConfigNotification; import com.ctrip.framework.apollo.core.dto.ApolloNotificationMessages; import com.ctrip.framework.apollo.core.dto.ServiceDTO; import com.ctrip.framework.apollo.core.signature.Signature; import com.ctrip.framework.apollo.util.ConfigUtil; import com.ctrip.framework.apollo.util.http.HttpRequest; import com.ctrip.framework.apollo.util.http.HttpResponse; import com.ctrip.framework.apollo.util.http.HttpClient; import com.google.common.collect.ImmutableMap; import com.google.common.collect.Lists; import com.google.common.net.HttpHeaders; import com.google.common.util.concurrent.SettableFuture; import java.lang.reflect.Type; import java.util.List; import java.util.Map; import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicInteger; import javax.servlet.http.HttpServletResponse; import org.junit.After; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.ArgumentCaptor; import org.mockito.Mock; import org.mockito.invocation.InvocationOnMock; import org.mockito.runners.MockitoJUnitRunner; import org.mockito.stubbing.Answer; import org.springframework.test.util.ReflectionTestUtils; /** * @author Jason Song([email protected]) */ @RunWith(MockitoJUnitRunner.class) public class RemoteConfigLongPollServiceTest { private RemoteConfigLongPollService remoteConfigLongPollService; @Mock private HttpResponse<List<ApolloConfigNotification>> pollResponse; @Mock private HttpClient httpClient; @Mock private ConfigServiceLocator configServiceLocator; private Type responseType; private static String someServerUrl; private static String someAppId; private static String someCluster; private static String someSecret; @Before public void setUp() throws Exception { MockInjector.setInstance(HttpClient.class, httpClient); someServerUrl = "http://someServer"; ServiceDTO serviceDTO = mock(ServiceDTO.class); when(serviceDTO.getHomepageUrl()).thenReturn(someServerUrl); when(configServiceLocator.getConfigServices()).thenReturn(Lists.newArrayList(serviceDTO)); MockInjector.setInstance(ConfigServiceLocator.class, configServiceLocator); MockInjector.setInstance(ConfigUtil.class, new MockConfigUtil()); remoteConfigLongPollService = new RemoteConfigLongPollService(); responseType = (Type) ReflectionTestUtils.getField(remoteConfigLongPollService, "m_responseType"); someAppId = "someAppId"; someCluster = "someCluster"; } @After public void tearDown() throws Exception { MockInjector.reset(); } @Test public void testSubmitLongPollNamespaceWith304Response() throws Exception { RemoteConfigRepository someRepository = mock(RemoteConfigRepository.class); final String someNamespace = "someNamespace"; when(pollResponse.getStatusCode()).thenReturn(HttpServletResponse.SC_NOT_MODIFIED); final SettableFuture<Boolean> longPollFinished = SettableFuture.create(); doAnswer(new Answer<HttpResponse<List<ApolloConfigNotification>>>() { @Override public HttpResponse<List<ApolloConfigNotification>> answer(InvocationOnMock invocation) throws Throwable { try { TimeUnit.MILLISECONDS.sleep(50); } catch (InterruptedException e) { } HttpRequest request = invocation.getArgumentAt(0, HttpRequest.class); assertTrue(request.getUrl().contains(someServerUrl + "/notifications/v2?")); assertTrue(request.getUrl().contains("appId=" + someAppId)); assertTrue(request.getUrl().contains("cluster=" + someCluster)); assertTrue(request.getUrl().contains("notifications=")); assertTrue(request.getUrl().contains(someNamespace)); longPollFinished.set(true); return pollResponse; } }).when(httpClient).doGet(any(HttpRequest.class), eq(responseType)); remoteConfigLongPollService.submit(someNamespace, someRepository); longPollFinished.get(5000, TimeUnit.MILLISECONDS); remoteConfigLongPollService.stopLongPollingRefresh(); verify(someRepository, never()).onLongPollNotified(any(ServiceDTO.class), any(ApolloNotificationMessages.class)); } @Test public void testSubmitLongPollNamespaceWith200Response() throws Exception { RemoteConfigRepository someRepository = mock(RemoteConfigRepository.class); final String someNamespace = "someNamespace"; ApolloNotificationMessages notificationMessages = new ApolloNotificationMessages(); String someKey = "someKey"; long someNotificationId = 1; String anotherKey = "anotherKey"; long anotherNotificationId = 2; notificationMessages.put(someKey, someNotificationId); notificationMessages.put(anotherKey, anotherNotificationId); ApolloConfigNotification someNotification = mock(ApolloConfigNotification.class); when(someNotification.getNamespaceName()).thenReturn(someNamespace); when(someNotification.getMessages()).thenReturn(notificationMessages); when(pollResponse.getStatusCode()).thenReturn(HttpServletResponse.SC_OK); when(pollResponse.getBody()).thenReturn(Lists.newArrayList(someNotification)); doAnswer(new Answer<HttpResponse<List<ApolloConfigNotification>>>() { @Override public HttpResponse<List<ApolloConfigNotification>> answer(InvocationOnMock invocation) throws Throwable { try { TimeUnit.MILLISECONDS.sleep(50); } catch (InterruptedException e) { } return pollResponse; } }).when(httpClient).doGet(any(HttpRequest.class), eq(responseType)); final SettableFuture<Boolean> onNotified = SettableFuture.create(); doAnswer(new Answer<Void>() { @Override public Void answer(InvocationOnMock invocation) throws Throwable { onNotified.set(true); return null; } }).when(someRepository).onLongPollNotified(any(ServiceDTO.class), any(ApolloNotificationMessages.class)); remoteConfigLongPollService.submit(someNamespace, someRepository); onNotified.get(5000, TimeUnit.MILLISECONDS); remoteConfigLongPollService.stopLongPollingRefresh(); final ArgumentCaptor<ApolloNotificationMessages> captor = ArgumentCaptor.forClass(ApolloNotificationMessages.class); verify(someRepository, times(1)).onLongPollNotified(any(ServiceDTO.class), captor.capture()); ApolloNotificationMessages captured = captor.getValue(); assertEquals(2, captured.getDetails().size()); assertEquals(someNotificationId, captured.get(someKey).longValue()); assertEquals(anotherNotificationId, captured.get(anotherKey).longValue()); } @Test public void testSubmitLongPollNamespaceWithAccessKeySecret() throws Exception { someSecret = "someSecret"; RemoteConfigRepository someRepository = mock(RemoteConfigRepository.class); final String someNamespace = "someNamespace"; ApolloNotificationMessages notificationMessages = new ApolloNotificationMessages(); String someKey = "someKey"; long someNotificationId = 1; notificationMessages.put(someKey, someNotificationId); ApolloConfigNotification someNotification = mock(ApolloConfigNotification.class); when(someNotification.getNamespaceName()).thenReturn(someNamespace); when(someNotification.getMessages()).thenReturn(notificationMessages); when(pollResponse.getStatusCode()).thenReturn(HttpServletResponse.SC_OK); when(pollResponse.getBody()).thenReturn(Lists.newArrayList(someNotification)); doAnswer(new Answer<HttpResponse<List<ApolloConfigNotification>>>() { @Override public HttpResponse<List<ApolloConfigNotification>> answer(InvocationOnMock invocation) throws Throwable { try { TimeUnit.MILLISECONDS.sleep(50); } catch (InterruptedException e) { } HttpRequest request = invocation.getArgumentAt(0, HttpRequest.class); Map<String, String> headers = request.getHeaders(); assertNotNull(headers); assertTrue(headers.containsKey(Signature.HTTP_HEADER_TIMESTAMP)); assertTrue(headers.containsKey(HttpHeaders.AUTHORIZATION)); return pollResponse; } }).when(httpClient).doGet(any(HttpRequest.class), eq(responseType)); final SettableFuture<Boolean> onNotified = SettableFuture.create(); doAnswer(new Answer<Void>() { @Override public Void answer(InvocationOnMock invocation) throws Throwable { onNotified.set(true); return null; } }).when(someRepository).onLongPollNotified(any(ServiceDTO.class), any(ApolloNotificationMessages.class)); remoteConfigLongPollService.submit(someNamespace, someRepository); onNotified.get(5000, TimeUnit.MILLISECONDS); remoteConfigLongPollService.stopLongPollingRefresh(); verify(someRepository, times(1)).onLongPollNotified(any(ServiceDTO.class), any(ApolloNotificationMessages.class)); } @Test public void testSubmitLongPollMultipleNamespaces() throws Exception { RemoteConfigRepository someRepository = mock(RemoteConfigRepository.class); RemoteConfigRepository anotherRepository = mock(RemoteConfigRepository.class); final String someNamespace = "someNamespace"; final String anotherNamespace = "anotherNamespace"; final ApolloConfigNotification someNotification = mock(ApolloConfigNotification.class); when(someNotification.getNamespaceName()).thenReturn(someNamespace); final ApolloConfigNotification anotherNotification = mock(ApolloConfigNotification.class); when(anotherNotification.getNamespaceName()).thenReturn(anotherNamespace); final SettableFuture<Boolean> submitAnotherNamespaceStart = SettableFuture.create(); final SettableFuture<Boolean> submitAnotherNamespaceFinish = SettableFuture.create(); doAnswer(new Answer<HttpResponse<List<ApolloConfigNotification>>>() { final AtomicInteger counter = new AtomicInteger(); @Override public HttpResponse<List<ApolloConfigNotification>> answer(InvocationOnMock invocation) throws Throwable { try { TimeUnit.MILLISECONDS.sleep(50); } catch (InterruptedException e) { } //the first time if (counter.incrementAndGet() == 1) { HttpRequest request = invocation.getArgumentAt(0, HttpRequest.class); assertTrue(request.getUrl().contains("notifications=")); assertTrue(request.getUrl().contains(someNamespace)); submitAnotherNamespaceStart.set(true); when(pollResponse.getStatusCode()).thenReturn(HttpServletResponse.SC_OK); when(pollResponse.getBody()).thenReturn(Lists.newArrayList(someNotification)); } else if (submitAnotherNamespaceFinish.get()) { HttpRequest request = invocation.getArgumentAt(0, HttpRequest.class); assertTrue(request.getUrl().contains("notifications=")); assertTrue(request.getUrl().contains(someNamespace)); assertTrue(request.getUrl().contains(anotherNamespace)); when(pollResponse.getStatusCode()).thenReturn(HttpServletResponse.SC_OK); when(pollResponse.getBody()).thenReturn(Lists.newArrayList(anotherNotification)); } else { when(pollResponse.getStatusCode()).thenReturn(HttpServletResponse.SC_NOT_MODIFIED); when(pollResponse.getBody()).thenReturn(null); } return pollResponse; } }).when(httpClient).doGet(any(HttpRequest.class), eq(responseType)); final SettableFuture<Boolean> onAnotherRepositoryNotified = SettableFuture.create(); doAnswer(new Answer<Void>() { @Override public Void answer(InvocationOnMock invocation) throws Throwable { onAnotherRepositoryNotified.set(true); return null; } }).when(anotherRepository).onLongPollNotified(any(ServiceDTO.class), any(ApolloNotificationMessages.class)); remoteConfigLongPollService.submit(someNamespace, someRepository); submitAnotherNamespaceStart.get(5000, TimeUnit.MILLISECONDS); remoteConfigLongPollService.submit(anotherNamespace, anotherRepository); submitAnotherNamespaceFinish.set(true); onAnotherRepositoryNotified.get(5000, TimeUnit.MILLISECONDS); remoteConfigLongPollService.stopLongPollingRefresh(); verify(someRepository, times(1)).onLongPollNotified(any(ServiceDTO.class), any(ApolloNotificationMessages.class)); verify(anotherRepository, times(1)).onLongPollNotified(any(ServiceDTO.class), any(ApolloNotificationMessages.class)); } @Test public void testSubmitLongPollMultipleNamespacesWithMultipleNotificationsReturned() throws Exception { RemoteConfigRepository someRepository = mock(RemoteConfigRepository.class); RemoteConfigRepository anotherRepository = mock(RemoteConfigRepository.class); final String someNamespace = "someNamespace"; final String anotherNamespace = "anotherNamespace"; ApolloNotificationMessages notificationMessages = new ApolloNotificationMessages(); String someKey = "someKey"; long someNotificationId = 1; notificationMessages.put(someKey, someNotificationId); ApolloNotificationMessages anotherNotificationMessages = new ApolloNotificationMessages(); String anotherKey = "anotherKey"; long anotherNotificationId = 2; anotherNotificationMessages.put(anotherKey, anotherNotificationId); final ApolloConfigNotification someNotification = mock(ApolloConfigNotification.class); when(someNotification.getNamespaceName()).thenReturn(someNamespace); when(someNotification.getMessages()).thenReturn(notificationMessages); final ApolloConfigNotification anotherNotification = mock(ApolloConfigNotification.class); when(anotherNotification.getNamespaceName()).thenReturn(anotherNamespace); when(anotherNotification.getMessages()).thenReturn(anotherNotificationMessages); when(pollResponse.getStatusCode()).thenReturn(HttpServletResponse.SC_OK); when(pollResponse.getBody()).thenReturn(Lists.newArrayList(someNotification, anotherNotification)); doAnswer(new Answer<HttpResponse<List<ApolloConfigNotification>>>() { @Override public HttpResponse<List<ApolloConfigNotification>> answer(InvocationOnMock invocation) throws Throwable { try { TimeUnit.MILLISECONDS.sleep(50); } catch (InterruptedException e) { } return pollResponse; } }).when(httpClient).doGet(any(HttpRequest.class), eq(responseType)); final SettableFuture<Boolean> someRepositoryNotified = SettableFuture.create(); doAnswer(new Answer<Void>() { @Override public Void answer(InvocationOnMock invocation) throws Throwable { someRepositoryNotified.set(true); return null; } }).when(someRepository).onLongPollNotified(any(ServiceDTO.class), any(ApolloNotificationMessages.class)); final SettableFuture<Boolean> anotherRepositoryNotified = SettableFuture.create(); doAnswer(new Answer<Void>() { @Override public Void answer(InvocationOnMock invocation) throws Throwable { anotherRepositoryNotified.set(true); return null; } }).when(anotherRepository).onLongPollNotified(any(ServiceDTO.class), any(ApolloNotificationMessages.class)); remoteConfigLongPollService.submit(someNamespace, someRepository); remoteConfigLongPollService.submit(anotherNamespace, anotherRepository); someRepositoryNotified.get(5000, TimeUnit.MILLISECONDS); anotherRepositoryNotified.get(5000, TimeUnit.MILLISECONDS); remoteConfigLongPollService.stopLongPollingRefresh(); final ArgumentCaptor<ApolloNotificationMessages> captor = ArgumentCaptor.forClass(ApolloNotificationMessages.class); final ArgumentCaptor<ApolloNotificationMessages> anotherCaptor = ArgumentCaptor.forClass(ApolloNotificationMessages.class); verify(someRepository, times(1)).onLongPollNotified(any(ServiceDTO.class), captor.capture()); verify(anotherRepository, times(1)).onLongPollNotified(any(ServiceDTO.class), anotherCaptor.capture()); ApolloNotificationMessages result = captor.getValue(); assertEquals(1, result.getDetails().size()); assertEquals(someNotificationId, result.get(someKey).longValue()); ApolloNotificationMessages anotherResult = anotherCaptor.getValue(); assertEquals(1, anotherResult.getDetails().size()); assertEquals(anotherNotificationId, anotherResult.get(anotherKey).longValue()); } @Test public void testSubmitLongPollNamespaceWithMessagesUpdated() throws Exception { RemoteConfigRepository someRepository = mock(RemoteConfigRepository.class); final String someNamespace = "someNamespace"; ApolloNotificationMessages notificationMessages = new ApolloNotificationMessages(); String someKey = "someKey"; long someNotificationId = 1; notificationMessages.put(someKey, someNotificationId); ApolloConfigNotification someNotification = mock(ApolloConfigNotification.class); when(someNotification.getNamespaceName()).thenReturn(someNamespace); when(someNotification.getMessages()).thenReturn(notificationMessages); when(pollResponse.getStatusCode()).thenReturn(HttpServletResponse.SC_OK); when(pollResponse.getBody()).thenReturn(Lists.newArrayList(someNotification)); doAnswer(new Answer<HttpResponse<List<ApolloConfigNotification>>>() { @Override public HttpResponse<List<ApolloConfigNotification>> answer(InvocationOnMock invocation) throws Throwable { try { TimeUnit.MILLISECONDS.sleep(50); } catch (InterruptedException e) { } return pollResponse; } }).when(httpClient).doGet(any(HttpRequest.class), eq(responseType)); final SettableFuture<Boolean> onNotified = SettableFuture.create(); doAnswer(new Answer<Void>() { @Override public Void answer(InvocationOnMock invocation) throws Throwable { onNotified.set(true); return null; } }).when(someRepository).onLongPollNotified(any(ServiceDTO.class), any(ApolloNotificationMessages.class)); remoteConfigLongPollService.submit(someNamespace, someRepository); onNotified.get(5000, TimeUnit.MILLISECONDS); //reset to 304 when(pollResponse.getStatusCode()).thenReturn(HttpServletResponse.SC_NOT_MODIFIED); final ArgumentCaptor<ApolloNotificationMessages> captor = ArgumentCaptor.forClass(ApolloNotificationMessages.class); verify(someRepository, times(1)).onLongPollNotified(any(ServiceDTO.class), captor.capture()); ApolloNotificationMessages captured = captor.getValue(); assertEquals(1, captured.getDetails().size()); assertEquals(someNotificationId, captured.get(someKey).longValue()); final SettableFuture<Boolean> anotherOnNotified = SettableFuture.create(); doAnswer(new Answer<Void>() { @Override public Void answer(InvocationOnMock invocation) throws Throwable { anotherOnNotified.set(true); return null; } }).when(someRepository).onLongPollNotified(any(ServiceDTO.class), any(ApolloNotificationMessages.class)); String anotherKey = "anotherKey"; long anotherNotificationId = 2; notificationMessages.put(anotherKey, anotherNotificationId); //send notifications when(pollResponse.getStatusCode()).thenReturn(HttpServletResponse.SC_OK); anotherOnNotified.get(5000, TimeUnit.MILLISECONDS); remoteConfigLongPollService.stopLongPollingRefresh(); verify(someRepository, times(2)).onLongPollNotified(any(ServiceDTO.class), captor.capture()); captured = captor.getValue(); assertEquals(2, captured.getDetails().size()); assertEquals(someNotificationId, captured.get(someKey).longValue()); assertEquals(anotherNotificationId, captured.get(anotherKey).longValue()); } @Test public void testAssembleLongPollRefreshUrl() throws Exception { String someUri = someServerUrl; String someAppId = "someAppId"; String someCluster = "someCluster+ &.-_someSign"; String someNamespace = "someName"; long someNotificationId = 1; Map<String, Long> notificationsMap = ImmutableMap.of(someNamespace, someNotificationId); String longPollRefreshUrl = remoteConfigLongPollService .assembleLongPollRefreshUrl(someUri, someAppId, someCluster, null, notificationsMap); assertTrue(longPollRefreshUrl.contains(someServerUrl + "/notifications/v2?")); assertTrue(longPollRefreshUrl.contains("appId=" + someAppId)); assertTrue(longPollRefreshUrl.contains("cluster=someCluster%2B+%26.-_someSign")); assertTrue(longPollRefreshUrl.contains( "notifications=%5B%7B%22namespaceName%22%3A%22" + someNamespace + "%22%2C%22notificationId%22%3A" + 1 + "%7D%5D")); } @Test public void testAssembleLongPollRefreshUrlWithMultipleNamespaces() throws Exception { String someUri = someServerUrl; String someAppId = "someAppId"; String someCluster = "someCluster+ &.-_someSign"; String someNamespace = "someName"; String anotherNamespace = "anotherName"; long someNotificationId = 1; long anotherNotificationId = 2; Map<String, Long> notificationsMap = ImmutableMap.of(someNamespace, someNotificationId, anotherNamespace, anotherNotificationId); String longPollRefreshUrl = remoteConfigLongPollService .assembleLongPollRefreshUrl(someUri, someAppId, someCluster, null, notificationsMap); assertTrue(longPollRefreshUrl.contains(someServerUrl + "/notifications/v2?")); assertTrue(longPollRefreshUrl.contains("appId=" + someAppId)); assertTrue(longPollRefreshUrl.contains("cluster=someCluster%2B+%26.-_someSign")); assertTrue( longPollRefreshUrl.contains("notifications=%5B%7B%22namespaceName%22%3A%22" + someNamespace + "%22%2C%22notificationId%22%3A" + someNotificationId + "%7D%2C%7B%22namespaceName%22%3A%22" + anotherNamespace + "%22%2C%22notificationId%22%3A" + anotherNotificationId + "%7D%5D")); } public static class MockConfigUtil extends ConfigUtil { @Override public String getAppId() { return someAppId; } @Override public String getCluster() { return someCluster; } @Override public String getAccessKeySecret() { return someSecret; } @Override public String getDataCenter() { return null; } @Override public int getLoadConfigQPS() { return 200; } @Override public int getLongPollQPS() { return 200; } @Override public long getLongPollingInitialDelayInMills() { return 0; } } }
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 static org.mockito.Mockito.atLeast; import static org.mockito.Mockito.doAnswer; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.spy; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; import com.ctrip.framework.apollo.build.MockInjector; import com.ctrip.framework.apollo.core.dto.ApolloConfig; import com.ctrip.framework.apollo.core.dto.ApolloConfigNotification; import com.ctrip.framework.apollo.core.dto.ApolloNotificationMessages; import com.ctrip.framework.apollo.core.dto.ServiceDTO; import com.ctrip.framework.apollo.core.signature.Signature; import com.ctrip.framework.apollo.enums.ConfigSourceType; import com.ctrip.framework.apollo.exceptions.ApolloConfigException; import com.ctrip.framework.apollo.exceptions.ApolloConfigStatusCodeException; import com.ctrip.framework.apollo.util.ConfigUtil; import com.ctrip.framework.apollo.util.OrderedProperties; import com.ctrip.framework.apollo.util.factory.PropertiesFactory; import com.ctrip.framework.apollo.util.http.HttpRequest; import com.ctrip.framework.apollo.util.http.HttpResponse; import com.ctrip.framework.apollo.util.http.HttpUtil; import com.google.common.collect.ImmutableMap; import com.google.common.collect.Lists; import com.google.common.collect.Maps; import com.google.common.net.HttpHeaders; import com.google.common.net.UrlEscapers; import com.google.common.util.concurrent.SettableFuture; import com.google.gson.Gson; import java.lang.reflect.Type; import java.util.List; import java.util.Map; import java.util.Properties; import java.util.concurrent.TimeUnit; import javax.servlet.http.HttpServletResponse; import org.junit.After; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.ArgumentCaptor; import org.mockito.Mock; import org.mockito.invocation.InvocationOnMock; import org.mockito.runners.MockitoJUnitRunner; import org.mockito.stubbing.Answer; /** * Created by Jason on 4/9/16. */ @RunWith(MockitoJUnitRunner.class) public class RemoteConfigRepositoryTest { @Mock private ConfigServiceLocator configServiceLocator; private String someNamespace; private String someServerUrl; private ConfigUtil configUtil; private HttpUtil httpUtil; @Mock private static HttpResponse<ApolloConfig> someResponse; @Mock private static HttpResponse<List<ApolloConfigNotification>> pollResponse; private RemoteConfigLongPollService remoteConfigLongPollService; @Mock private PropertiesFactory propertiesFactory; private static String someAppId; private static String someCluster; private static String someSecret; @Before public void setUp() throws Exception { someNamespace = "someName"; when(pollResponse.getStatusCode()).thenReturn(HttpServletResponse.SC_NOT_MODIFIED); configUtil = new MockConfigUtil(); MockInjector.setInstance(ConfigUtil.class, configUtil); someServerUrl = "http://someServer"; ServiceDTO serviceDTO = mock(ServiceDTO.class); when(serviceDTO.getHomepageUrl()).thenReturn(someServerUrl); when(configServiceLocator.getConfigServices()).thenReturn(Lists.newArrayList(serviceDTO)); MockInjector.setInstance(ConfigServiceLocator.class, configServiceLocator); httpUtil = spy(new MockHttpUtil()); MockInjector.setInstance(HttpUtil.class, httpUtil); remoteConfigLongPollService = new RemoteConfigLongPollService(); MockInjector.setInstance(RemoteConfigLongPollService.class, remoteConfigLongPollService); when(propertiesFactory.getPropertiesInstance()).thenAnswer(new Answer<Properties>() { @Override public Properties answer(InvocationOnMock invocation) { return new Properties(); } }); MockInjector.setInstance(PropertiesFactory.class, propertiesFactory); someAppId = "someAppId"; someCluster = "someCluster"; } @After public void tearDown() throws Exception { MockInjector.reset(); } @Test public void testLoadConfig() throws Exception { String someKey = "someKey"; String someValue = "someValue"; Map<String, String> configurations = Maps.newHashMap(); configurations.put(someKey, someValue); ApolloConfig someApolloConfig = assembleApolloConfig(configurations); when(someResponse.getStatusCode()).thenReturn(200); when(someResponse.getBody()).thenReturn(someApolloConfig); RemoteConfigRepository remoteConfigRepository = new RemoteConfigRepository(someNamespace); Properties config = remoteConfigRepository.getConfig(); assertEquals(configurations, config); assertEquals(ConfigSourceType.REMOTE, remoteConfigRepository.getSourceType()); remoteConfigLongPollService.stopLongPollingRefresh(); } @Test public void testLoadConfigWithOrderedProperties() throws Exception { String someKey = "someKey"; String someValue = "someValue"; Map<String, String> configurations = Maps.newLinkedHashMap(); configurations.put(someKey, someValue); configurations.put("someKey2", "someValue2"); ApolloConfig someApolloConfig = assembleApolloConfig(configurations); when(someResponse.getStatusCode()).thenReturn(200); when(someResponse.getBody()).thenReturn(someApolloConfig); when(propertiesFactory.getPropertiesInstance()).thenAnswer(new Answer<Properties>() { @Override public Properties answer(InvocationOnMock invocation) { return new OrderedProperties(); } }); RemoteConfigRepository remoteConfigRepository = new RemoteConfigRepository(someNamespace); Properties config = remoteConfigRepository.getConfig(); assertTrue(config instanceof OrderedProperties); assertEquals(configurations, config); assertEquals(ConfigSourceType.REMOTE, remoteConfigRepository.getSourceType()); remoteConfigLongPollService.stopLongPollingRefresh(); String[] actualArrays = config.keySet().toArray(new String[]{}); String[] expectedArrays = {"someKey", "someKey2"}; assertArrayEquals(expectedArrays, actualArrays); } @Test public void testLoadConfigWithAccessKeySecret() throws Exception { someSecret = "someSecret"; String someKey = "someKey"; String someValue = "someValue"; Map<String, String> configurations = Maps.newHashMap(); configurations.put(someKey, someValue); ApolloConfig someApolloConfig = assembleApolloConfig(configurations); when(someResponse.getStatusCode()).thenReturn(200); when(someResponse.getBody()).thenReturn(someApolloConfig); doAnswer(new Answer<HttpResponse<ApolloConfig>>() { @Override public HttpResponse<ApolloConfig> answer(InvocationOnMock invocation) throws Throwable { HttpRequest request = invocation.getArgumentAt(0, HttpRequest.class); Map<String, String> headers = request.getHeaders(); assertNotNull(headers); assertTrue(headers.containsKey(Signature.HTTP_HEADER_TIMESTAMP)); assertTrue(headers.containsKey(HttpHeaders.AUTHORIZATION)); return someResponse; } }).when(httpUtil).doGet(any(HttpRequest.class), any(Class.class)); RemoteConfigRepository remoteConfigRepository = new RemoteConfigRepository(someNamespace); Properties config = remoteConfigRepository.getConfig(); assertEquals(configurations, config); assertEquals(ConfigSourceType.REMOTE, remoteConfigRepository.getSourceType()); remoteConfigLongPollService.stopLongPollingRefresh(); } @Test(expected = ApolloConfigException.class) public void testGetRemoteConfigWithServerError() throws Exception { when(someResponse.getStatusCode()).thenReturn(500); RemoteConfigRepository remoteConfigRepository = new RemoteConfigRepository(someNamespace); //must stop the long polling before exception occurred remoteConfigLongPollService.stopLongPollingRefresh(); remoteConfigRepository.getConfig(); } @Test(expected = ApolloConfigException.class) public void testGetRemoteConfigWithNotFount() throws Exception { when(someResponse.getStatusCode()).thenReturn(404); RemoteConfigRepository remoteConfigRepository = new RemoteConfigRepository(someNamespace); //must stop the long polling before exception occurred remoteConfigLongPollService.stopLongPollingRefresh(); remoteConfigRepository.getConfig(); } @Test public void testRepositoryChangeListener() throws Exception { Map<String, String> configurations = ImmutableMap.of("someKey", "someValue"); ApolloConfig someApolloConfig = assembleApolloConfig(configurations); when(someResponse.getStatusCode()).thenReturn(200); when(someResponse.getBody()).thenReturn(someApolloConfig); RepositoryChangeListener someListener = mock(RepositoryChangeListener.class); RemoteConfigRepository remoteConfigRepository = new RemoteConfigRepository(someNamespace); remoteConfigRepository.addChangeListener(someListener); final ArgumentCaptor<Properties> captor = ArgumentCaptor.forClass(Properties.class); Map<String, String> newConfigurations = ImmutableMap.of("someKey", "anotherValue"); ApolloConfig newApolloConfig = assembleApolloConfig(newConfigurations); when(someResponse.getBody()).thenReturn(newApolloConfig); remoteConfigRepository.sync(); verify(someListener, times(1)).onRepositoryChange(eq(someNamespace), captor.capture()); assertEquals(newConfigurations, captor.getValue()); remoteConfigLongPollService.stopLongPollingRefresh(); } @Test public void testLongPollingRefresh() throws Exception { Map<String, String> configurations = ImmutableMap.of("someKey", "someValue"); ApolloConfig someApolloConfig = assembleApolloConfig(configurations); when(someResponse.getStatusCode()).thenReturn(200); when(someResponse.getBody()).thenReturn(someApolloConfig); final SettableFuture<Boolean> longPollFinished = SettableFuture.create(); RepositoryChangeListener someListener = mock(RepositoryChangeListener.class); doAnswer(new Answer<Void>() { @Override public Void answer(InvocationOnMock invocation) throws Throwable { longPollFinished.set(true); return null; } }).when(someListener).onRepositoryChange(any(String.class), any(Properties.class)); RemoteConfigRepository remoteConfigRepository = new RemoteConfigRepository(someNamespace); remoteConfigRepository.addChangeListener(someListener); final ArgumentCaptor<Properties> captor = ArgumentCaptor.forClass(Properties.class); Map<String, String> newConfigurations = ImmutableMap.of("someKey", "anotherValue"); ApolloConfig newApolloConfig = assembleApolloConfig(newConfigurations); ApolloNotificationMessages notificationMessages = new ApolloNotificationMessages(); String someKey = "someKey"; long someNotificationId = 1; notificationMessages.put(someKey, someNotificationId); ApolloConfigNotification someNotification = mock(ApolloConfigNotification.class); when(someNotification.getNamespaceName()).thenReturn(someNamespace); when(someNotification.getMessages()).thenReturn(notificationMessages); when(pollResponse.getStatusCode()).thenReturn(HttpServletResponse.SC_OK); when(pollResponse.getBody()).thenReturn(Lists.newArrayList(someNotification)); when(someResponse.getBody()).thenReturn(newApolloConfig); longPollFinished.get(5000, TimeUnit.MILLISECONDS); remoteConfigLongPollService.stopLongPollingRefresh(); verify(someListener, times(1)).onRepositoryChange(eq(someNamespace), captor.capture()); assertEquals(newConfigurations, captor.getValue()); final ArgumentCaptor<HttpRequest> httpRequestArgumentCaptor = ArgumentCaptor .forClass(HttpRequest.class); verify(httpUtil, atLeast(2)).doGet(httpRequestArgumentCaptor.capture(), eq(ApolloConfig.class)); HttpRequest request = httpRequestArgumentCaptor.getValue(); assertTrue(request.getUrl().contains("messages=%7B%22details%22%3A%7B%22someKey%22%3A1%7D%7D")); } @Test public void testAssembleQueryConfigUrl() throws Exception { Gson gson = new Gson(); String someUri = "http://someServer"; String someAppId = "someAppId"; String someCluster = "someCluster+ &.-_someSign"; String someReleaseKey = "20160705193346-583078ef5716c055+20160705193308-31c471ddf9087c3f"; ApolloNotificationMessages notificationMessages = new ApolloNotificationMessages(); String someKey = "someKey"; long someNotificationId = 1; String anotherKey = "anotherKey"; long anotherNotificationId = 2; notificationMessages.put(someKey, someNotificationId); notificationMessages.put(anotherKey, anotherNotificationId); RemoteConfigRepository remoteConfigRepository = new RemoteConfigRepository(someNamespace); ApolloConfig someApolloConfig = mock(ApolloConfig.class); when(someApolloConfig.getReleaseKey()).thenReturn(someReleaseKey); String queryConfigUrl = remoteConfigRepository .assembleQueryConfigUrl(someUri, someAppId, someCluster, someNamespace, null, notificationMessages, someApolloConfig); remoteConfigLongPollService.stopLongPollingRefresh(); assertTrue(queryConfigUrl .contains( "http://someServer/configs/someAppId/someCluster+%20&.-_someSign/" + someNamespace)); assertTrue(queryConfigUrl .contains("releaseKey=20160705193346-583078ef5716c055%2B20160705193308-31c471ddf9087c3f")); assertTrue(queryConfigUrl .contains("messages=" + UrlEscapers.urlFormParameterEscaper() .escape(gson.toJson(notificationMessages)))); } private ApolloConfig assembleApolloConfig(Map<String, String> configurations) { String someAppId = "appId"; String someClusterName = "cluster"; String someReleaseKey = "1"; ApolloConfig apolloConfig = new ApolloConfig(someAppId, someClusterName, someNamespace, someReleaseKey); apolloConfig.setConfigurations(configurations); return apolloConfig; } public static class MockConfigUtil extends ConfigUtil { @Override public String getAppId() { return someAppId; } @Override public String getCluster() { return someCluster; } @Override public String getAccessKeySecret() { return someSecret; } @Override public String getDataCenter() { return null; } @Override public int getLoadConfigQPS() { return 200; } @Override public int getLongPollQPS() { return 200; } @Override public long getOnErrorRetryInterval() { return 10; } @Override public TimeUnit getOnErrorRetryIntervalTimeUnit() { return TimeUnit.MILLISECONDS; } @Override public long getLongPollingInitialDelayInMills() { return 0; } } public static class MockHttpUtil extends HttpUtil { @Override public <T> HttpResponse<T> doGet(HttpRequest httpRequest, Class<T> responseType) { if (someResponse.getStatusCode() == 200 || someResponse.getStatusCode() == 304) { return (HttpResponse<T>) someResponse; } throw new ApolloConfigStatusCodeException(someResponse.getStatusCode(), String.format("Http request failed due to status code: %d", someResponse.getStatusCode())); } @Override public <T> HttpResponse<T> doGet(HttpRequest httpRequest, Type responseType) { try { TimeUnit.MILLISECONDS.sleep(50); } catch (InterruptedException e) { } return (HttpResponse<T>) pollResponse; } } }
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 static org.mockito.Mockito.atLeast; import static org.mockito.Mockito.doAnswer; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.spy; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; import com.ctrip.framework.apollo.build.MockInjector; import com.ctrip.framework.apollo.core.dto.ApolloConfig; import com.ctrip.framework.apollo.core.dto.ApolloConfigNotification; import com.ctrip.framework.apollo.core.dto.ApolloNotificationMessages; import com.ctrip.framework.apollo.core.dto.ServiceDTO; import com.ctrip.framework.apollo.core.signature.Signature; import com.ctrip.framework.apollo.enums.ConfigSourceType; import com.ctrip.framework.apollo.exceptions.ApolloConfigException; import com.ctrip.framework.apollo.exceptions.ApolloConfigStatusCodeException; import com.ctrip.framework.apollo.util.ConfigUtil; import com.ctrip.framework.apollo.util.OrderedProperties; import com.ctrip.framework.apollo.util.factory.PropertiesFactory; import com.ctrip.framework.apollo.util.http.HttpRequest; import com.ctrip.framework.apollo.util.http.HttpResponse; import com.ctrip.framework.apollo.util.http.HttpClient; import com.google.common.collect.ImmutableMap; import com.google.common.collect.Lists; import com.google.common.collect.Maps; import com.google.common.net.HttpHeaders; import com.google.common.net.UrlEscapers; import com.google.common.util.concurrent.SettableFuture; import com.google.gson.Gson; import java.lang.reflect.Type; import java.util.List; import java.util.Map; import java.util.Properties; import java.util.concurrent.TimeUnit; import javax.servlet.http.HttpServletResponse; import org.junit.After; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.ArgumentCaptor; import org.mockito.Mock; import org.mockito.invocation.InvocationOnMock; import org.mockito.runners.MockitoJUnitRunner; import org.mockito.stubbing.Answer; /** * Created by Jason on 4/9/16. */ @RunWith(MockitoJUnitRunner.class) public class RemoteConfigRepositoryTest { @Mock private ConfigServiceLocator configServiceLocator; private String someNamespace; private String someServerUrl; private ConfigUtil configUtil; private HttpClient httpClient; @Mock private static HttpResponse<ApolloConfig> someResponse; @Mock private static HttpResponse<List<ApolloConfigNotification>> pollResponse; private RemoteConfigLongPollService remoteConfigLongPollService; @Mock private PropertiesFactory propertiesFactory; private static String someAppId; private static String someCluster; private static String someSecret; @Before public void setUp() throws Exception { someNamespace = "someName"; when(pollResponse.getStatusCode()).thenReturn(HttpServletResponse.SC_NOT_MODIFIED); configUtil = new MockConfigUtil(); MockInjector.setInstance(ConfigUtil.class, configUtil); someServerUrl = "http://someServer"; ServiceDTO serviceDTO = mock(ServiceDTO.class); when(serviceDTO.getHomepageUrl()).thenReturn(someServerUrl); when(configServiceLocator.getConfigServices()).thenReturn(Lists.newArrayList(serviceDTO)); MockInjector.setInstance(ConfigServiceLocator.class, configServiceLocator); httpClient = spy(new MockHttpClient()); MockInjector.setInstance(HttpClient.class, httpClient); remoteConfigLongPollService = new RemoteConfigLongPollService(); MockInjector.setInstance(RemoteConfigLongPollService.class, remoteConfigLongPollService); when(propertiesFactory.getPropertiesInstance()).thenAnswer(new Answer<Properties>() { @Override public Properties answer(InvocationOnMock invocation) { return new Properties(); } }); MockInjector.setInstance(PropertiesFactory.class, propertiesFactory); someAppId = "someAppId"; someCluster = "someCluster"; } @After public void tearDown() throws Exception { MockInjector.reset(); } @Test public void testLoadConfig() throws Exception { String someKey = "someKey"; String someValue = "someValue"; Map<String, String> configurations = Maps.newHashMap(); configurations.put(someKey, someValue); ApolloConfig someApolloConfig = assembleApolloConfig(configurations); when(someResponse.getStatusCode()).thenReturn(200); when(someResponse.getBody()).thenReturn(someApolloConfig); RemoteConfigRepository remoteConfigRepository = new RemoteConfigRepository(someNamespace); Properties config = remoteConfigRepository.getConfig(); assertEquals(configurations, config); assertEquals(ConfigSourceType.REMOTE, remoteConfigRepository.getSourceType()); remoteConfigLongPollService.stopLongPollingRefresh(); } @Test public void testLoadConfigWithOrderedProperties() throws Exception { String someKey = "someKey"; String someValue = "someValue"; Map<String, String> configurations = Maps.newLinkedHashMap(); configurations.put(someKey, someValue); configurations.put("someKey2", "someValue2"); ApolloConfig someApolloConfig = assembleApolloConfig(configurations); when(someResponse.getStatusCode()).thenReturn(200); when(someResponse.getBody()).thenReturn(someApolloConfig); when(propertiesFactory.getPropertiesInstance()).thenAnswer(new Answer<Properties>() { @Override public Properties answer(InvocationOnMock invocation) { return new OrderedProperties(); } }); RemoteConfigRepository remoteConfigRepository = new RemoteConfigRepository(someNamespace); Properties config = remoteConfigRepository.getConfig(); assertTrue(config instanceof OrderedProperties); assertEquals(configurations, config); assertEquals(ConfigSourceType.REMOTE, remoteConfigRepository.getSourceType()); remoteConfigLongPollService.stopLongPollingRefresh(); String[] actualArrays = config.keySet().toArray(new String[]{}); String[] expectedArrays = {"someKey", "someKey2"}; assertArrayEquals(expectedArrays, actualArrays); } @Test public void testLoadConfigWithAccessKeySecret() throws Exception { someSecret = "someSecret"; String someKey = "someKey"; String someValue = "someValue"; Map<String, String> configurations = Maps.newHashMap(); configurations.put(someKey, someValue); ApolloConfig someApolloConfig = assembleApolloConfig(configurations); when(someResponse.getStatusCode()).thenReturn(200); when(someResponse.getBody()).thenReturn(someApolloConfig); doAnswer(new Answer<HttpResponse<ApolloConfig>>() { @Override public HttpResponse<ApolloConfig> answer(InvocationOnMock invocation) throws Throwable { HttpRequest request = invocation.getArgumentAt(0, HttpRequest.class); Map<String, String> headers = request.getHeaders(); assertNotNull(headers); assertTrue(headers.containsKey(Signature.HTTP_HEADER_TIMESTAMP)); assertTrue(headers.containsKey(HttpHeaders.AUTHORIZATION)); return someResponse; } }).when(httpClient).doGet(any(HttpRequest.class), any(Class.class)); RemoteConfigRepository remoteConfigRepository = new RemoteConfigRepository(someNamespace); Properties config = remoteConfigRepository.getConfig(); assertEquals(configurations, config); assertEquals(ConfigSourceType.REMOTE, remoteConfigRepository.getSourceType()); remoteConfigLongPollService.stopLongPollingRefresh(); } @Test(expected = ApolloConfigException.class) public void testGetRemoteConfigWithServerError() throws Exception { when(someResponse.getStatusCode()).thenReturn(500); RemoteConfigRepository remoteConfigRepository = new RemoteConfigRepository(someNamespace); //must stop the long polling before exception occurred remoteConfigLongPollService.stopLongPollingRefresh(); remoteConfigRepository.getConfig(); } @Test(expected = ApolloConfigException.class) public void testGetRemoteConfigWithNotFount() throws Exception { when(someResponse.getStatusCode()).thenReturn(404); RemoteConfigRepository remoteConfigRepository = new RemoteConfigRepository(someNamespace); //must stop the long polling before exception occurred remoteConfigLongPollService.stopLongPollingRefresh(); remoteConfigRepository.getConfig(); } @Test public void testRepositoryChangeListener() throws Exception { Map<String, String> configurations = ImmutableMap.of("someKey", "someValue"); ApolloConfig someApolloConfig = assembleApolloConfig(configurations); when(someResponse.getStatusCode()).thenReturn(200); when(someResponse.getBody()).thenReturn(someApolloConfig); RepositoryChangeListener someListener = mock(RepositoryChangeListener.class); RemoteConfigRepository remoteConfigRepository = new RemoteConfigRepository(someNamespace); remoteConfigRepository.addChangeListener(someListener); final ArgumentCaptor<Properties> captor = ArgumentCaptor.forClass(Properties.class); Map<String, String> newConfigurations = ImmutableMap.of("someKey", "anotherValue"); ApolloConfig newApolloConfig = assembleApolloConfig(newConfigurations); when(someResponse.getBody()).thenReturn(newApolloConfig); remoteConfigRepository.sync(); verify(someListener, times(1)).onRepositoryChange(eq(someNamespace), captor.capture()); assertEquals(newConfigurations, captor.getValue()); remoteConfigLongPollService.stopLongPollingRefresh(); } @Test public void testLongPollingRefresh() throws Exception { Map<String, String> configurations = ImmutableMap.of("someKey", "someValue"); ApolloConfig someApolloConfig = assembleApolloConfig(configurations); when(someResponse.getStatusCode()).thenReturn(200); when(someResponse.getBody()).thenReturn(someApolloConfig); final SettableFuture<Boolean> longPollFinished = SettableFuture.create(); RepositoryChangeListener someListener = mock(RepositoryChangeListener.class); doAnswer(new Answer<Void>() { @Override public Void answer(InvocationOnMock invocation) throws Throwable { longPollFinished.set(true); return null; } }).when(someListener).onRepositoryChange(any(String.class), any(Properties.class)); RemoteConfigRepository remoteConfigRepository = new RemoteConfigRepository(someNamespace); remoteConfigRepository.addChangeListener(someListener); final ArgumentCaptor<Properties> captor = ArgumentCaptor.forClass(Properties.class); Map<String, String> newConfigurations = ImmutableMap.of("someKey", "anotherValue"); ApolloConfig newApolloConfig = assembleApolloConfig(newConfigurations); ApolloNotificationMessages notificationMessages = new ApolloNotificationMessages(); String someKey = "someKey"; long someNotificationId = 1; notificationMessages.put(someKey, someNotificationId); ApolloConfigNotification someNotification = mock(ApolloConfigNotification.class); when(someNotification.getNamespaceName()).thenReturn(someNamespace); when(someNotification.getMessages()).thenReturn(notificationMessages); when(pollResponse.getStatusCode()).thenReturn(HttpServletResponse.SC_OK); when(pollResponse.getBody()).thenReturn(Lists.newArrayList(someNotification)); when(someResponse.getBody()).thenReturn(newApolloConfig); longPollFinished.get(5000, TimeUnit.MILLISECONDS); remoteConfigLongPollService.stopLongPollingRefresh(); verify(someListener, times(1)).onRepositoryChange(eq(someNamespace), captor.capture()); assertEquals(newConfigurations, captor.getValue()); final ArgumentCaptor<HttpRequest> httpRequestArgumentCaptor = ArgumentCaptor .forClass(HttpRequest.class); verify(httpClient, atLeast(2)).doGet(httpRequestArgumentCaptor.capture(), eq(ApolloConfig.class)); HttpRequest request = httpRequestArgumentCaptor.getValue(); assertTrue(request.getUrl().contains("messages=%7B%22details%22%3A%7B%22someKey%22%3A1%7D%7D")); } @Test public void testAssembleQueryConfigUrl() throws Exception { Gson gson = new Gson(); String someUri = "http://someServer"; String someAppId = "someAppId"; String someCluster = "someCluster+ &.-_someSign"; String someReleaseKey = "20160705193346-583078ef5716c055+20160705193308-31c471ddf9087c3f"; ApolloNotificationMessages notificationMessages = new ApolloNotificationMessages(); String someKey = "someKey"; long someNotificationId = 1; String anotherKey = "anotherKey"; long anotherNotificationId = 2; notificationMessages.put(someKey, someNotificationId); notificationMessages.put(anotherKey, anotherNotificationId); RemoteConfigRepository remoteConfigRepository = new RemoteConfigRepository(someNamespace); ApolloConfig someApolloConfig = mock(ApolloConfig.class); when(someApolloConfig.getReleaseKey()).thenReturn(someReleaseKey); String queryConfigUrl = remoteConfigRepository .assembleQueryConfigUrl(someUri, someAppId, someCluster, someNamespace, null, notificationMessages, someApolloConfig); remoteConfigLongPollService.stopLongPollingRefresh(); assertTrue(queryConfigUrl .contains( "http://someServer/configs/someAppId/someCluster+%20&.-_someSign/" + someNamespace)); assertTrue(queryConfigUrl .contains("releaseKey=20160705193346-583078ef5716c055%2B20160705193308-31c471ddf9087c3f")); assertTrue(queryConfigUrl .contains("messages=" + UrlEscapers.urlFormParameterEscaper() .escape(gson.toJson(notificationMessages)))); } private ApolloConfig assembleApolloConfig(Map<String, String> configurations) { String someAppId = "appId"; String someClusterName = "cluster"; String someReleaseKey = "1"; ApolloConfig apolloConfig = new ApolloConfig(someAppId, someClusterName, someNamespace, someReleaseKey); apolloConfig.setConfigurations(configurations); return apolloConfig; } public static class MockConfigUtil extends ConfigUtil { @Override public String getAppId() { return someAppId; } @Override public String getCluster() { return someCluster; } @Override public String getAccessKeySecret() { return someSecret; } @Override public String getDataCenter() { return null; } @Override public int getLoadConfigQPS() { return 200; } @Override public int getLongPollQPS() { return 200; } @Override public long getOnErrorRetryInterval() { return 10; } @Override public TimeUnit getOnErrorRetryIntervalTimeUnit() { return TimeUnit.MILLISECONDS; } @Override public long getLongPollingInitialDelayInMills() { return 0; } } public static class MockHttpClient implements HttpClient { @Override public <T> HttpResponse<T> doGet(HttpRequest httpRequest, Class<T> responseType) { if (someResponse.getStatusCode() == 200 || someResponse.getStatusCode() == 304) { return (HttpResponse<T>) someResponse; } throw new ApolloConfigStatusCodeException(someResponse.getStatusCode(), String.format("Http request failed due to status code: %d", someResponse.getStatusCode())); } @Override public <T> HttpResponse<T> doGet(HttpRequest httpRequest, Type responseType) { try { TimeUnit.MILLISECONDS.sleep(50); } catch (InterruptedException e) { } return (HttpResponse<T>) pollResponse; } } }
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 configuration * * @author Zhiqiang Lin([email protected]) */ @Configuration @EnableEurekaServer @ConditionalOnProperty(name = "apollo.eureka.server.enabled", havingValue = "true", matchIfMissing = true) public class ConfigServerEurekaServerConfigure { }
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 configuration * * @author Zhiqiang Lin([email protected]) */ @Configuration @EnableEurekaServer @ConditionalOnProperty(name = "apollo.eureka.server.enabled", havingValue = "true", matchIfMissing = true) public class ConfigServerEurekaServerConfigure { }
-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 com.ctrip.framework.foundation.internals.ServiceBootstrap; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * @author Jason Song([email protected]) */ public abstract class Tracer { private static final Logger logger = LoggerFactory.getLogger(Tracer.class); private static final MessageProducerManager NULL_MESSAGE_PRODUCER_MANAGER = new NullMessageProducerManager(); private static volatile MessageProducerManager producerManager; private static Object lock = new Object(); static { getProducer(); } private static MessageProducer getProducer() { try { if (producerManager == null) { synchronized (lock) { if (producerManager == null) { producerManager = ServiceBootstrap.loadFirst(MessageProducerManager.class); } } } } catch (Throwable ex) { logger.error( "Failed to initialize message producer manager, use null message producer manager.", ex); producerManager = NULL_MESSAGE_PRODUCER_MANAGER; } return producerManager.getProducer(); } public static void logError(String message, Throwable cause) { try { getProducer().logError(message, cause); } catch (Throwable ex) { logger.warn("Failed to log error for message: {}, cause: {}", message, cause, ex); } } public static void logError(Throwable cause) { try { getProducer().logError(cause); } catch (Throwable ex) { logger.warn("Failed to log error for cause: {}", cause, ex); } } public static void logEvent(String type, String name) { try { getProducer().logEvent(type, name); } catch (Throwable ex) { logger.warn("Failed to log event for type: {}, name: {}", type, name, ex); } } public static void logEvent(String type, String name, String status, String nameValuePairs) { try { getProducer().logEvent(type, name, status, nameValuePairs); } catch (Throwable ex) { logger.warn("Failed to log event for type: {}, name: {}, status: {}, nameValuePairs: {}", type, name, status, nameValuePairs, ex); } } public static Transaction newTransaction(String type, String name) { try { return getProducer().newTransaction(type, name); } catch (Throwable ex) { logger.warn("Failed to create transaction for type: {}, name: {}", type, name, ex); return NULL_MESSAGE_PRODUCER_MANAGER.getProducer().newTransaction(type, name); } } }
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 com.ctrip.framework.foundation.internals.ServiceBootstrap; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * @author Jason Song([email protected]) */ public abstract class Tracer { private static final Logger logger = LoggerFactory.getLogger(Tracer.class); private static final MessageProducerManager NULL_MESSAGE_PRODUCER_MANAGER = new NullMessageProducerManager(); private static volatile MessageProducerManager producerManager; private static Object lock = new Object(); static { getProducer(); } private static MessageProducer getProducer() { try { if (producerManager == null) { synchronized (lock) { if (producerManager == null) { producerManager = ServiceBootstrap.loadFirst(MessageProducerManager.class); } } } } catch (Throwable ex) { logger.error( "Failed to initialize message producer manager, use null message producer manager.", ex); producerManager = NULL_MESSAGE_PRODUCER_MANAGER; } return producerManager.getProducer(); } public static void logError(String message, Throwable cause) { try { getProducer().logError(message, cause); } catch (Throwable ex) { logger.warn("Failed to log error for message: {}, cause: {}", message, cause, ex); } } public static void logError(Throwable cause) { try { getProducer().logError(cause); } catch (Throwable ex) { logger.warn("Failed to log error for cause: {}", cause, ex); } } public static void logEvent(String type, String name) { try { getProducer().logEvent(type, name); } catch (Throwable ex) { logger.warn("Failed to log event for type: {}, name: {}", type, name, ex); } } public static void logEvent(String type, String name, String status, String nameValuePairs) { try { getProducer().logEvent(type, name, status, nameValuePairs); } catch (Throwable ex) { logger.warn("Failed to log event for type: {}, name: {}, status: {}, nameValuePairs: {}", type, name, status, nameValuePairs, ex); } } public static Transaction newTransaction(String type, String name) { try { return getProducer().newTransaction(type, name); } catch (Throwable ex) { logger.warn("Failed to create transaction for type: {}, name: {}", type, name, ex); return NULL_MESSAGE_PRODUCER_MANAGER.getProducer().newTransaction(type, 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-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.apollo.biz.service.NamespaceBranchService; import com.ctrip.framework.apollo.biz.service.NamespaceService; import com.ctrip.framework.apollo.biz.utils.ReleaseMessageKeyGenerator; import com.ctrip.framework.apollo.common.constants.NamespaceBranchStatus; import com.ctrip.framework.apollo.common.dto.GrayReleaseRuleDTO; import com.ctrip.framework.apollo.common.dto.NamespaceDTO; import com.ctrip.framework.apollo.common.exception.BadRequestException; import com.ctrip.framework.apollo.common.utils.BeanUtils; import com.ctrip.framework.apollo.common.utils.GrayReleaseRuleItemTransformer; import org.springframework.transaction.annotation.Transactional; import org.springframework.web.bind.annotation.DeleteMapping; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.PutMapping; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RestController; @RestController public class NamespaceBranchController { private final MessageSender messageSender; private final NamespaceBranchService namespaceBranchService; private final NamespaceService namespaceService; public NamespaceBranchController( final MessageSender messageSender, final NamespaceBranchService namespaceBranchService, final NamespaceService namespaceService) { this.messageSender = messageSender; this.namespaceBranchService = namespaceBranchService; this.namespaceService = namespaceService; } @PostMapping("/apps/{appId}/clusters/{clusterName}/namespaces/{namespaceName}/branches") public NamespaceDTO createBranch(@PathVariable String appId, @PathVariable String clusterName, @PathVariable String namespaceName, @RequestParam("operator") String operator) { checkNamespace(appId, clusterName, namespaceName); Namespace createdBranch = namespaceBranchService.createBranch(appId, clusterName, namespaceName, operator); return BeanUtils.transform(NamespaceDTO.class, createdBranch); } @GetMapping("/apps/{appId}/clusters/{clusterName}/namespaces/{namespaceName}/branches/{branchName}/rules") public GrayReleaseRuleDTO findBranchGrayRules(@PathVariable String appId, @PathVariable String clusterName, @PathVariable String namespaceName, @PathVariable String branchName) { checkBranch(appId, clusterName, namespaceName, branchName); GrayReleaseRule rules = namespaceBranchService.findBranchGrayRules(appId, clusterName, namespaceName, branchName); if (rules == null) { return null; } GrayReleaseRuleDTO ruleDTO = new GrayReleaseRuleDTO(rules.getAppId(), rules.getClusterName(), rules.getNamespaceName(), rules.getBranchName()); ruleDTO.setReleaseId(rules.getReleaseId()); ruleDTO.setRuleItems(GrayReleaseRuleItemTransformer.batchTransformFromJSON(rules.getRules())); return ruleDTO; } @Transactional @PutMapping("/apps/{appId}/clusters/{clusterName}/namespaces/{namespaceName}/branches/{branchName}/rules") public void updateBranchGrayRules(@PathVariable String appId, @PathVariable String clusterName, @PathVariable String namespaceName, @PathVariable String branchName, @RequestBody GrayReleaseRuleDTO newRuleDto) { checkBranch(appId, clusterName, namespaceName, branchName); GrayReleaseRule newRules = BeanUtils.transform(GrayReleaseRule.class, newRuleDto); newRules.setRules(GrayReleaseRuleItemTransformer.batchTransformToJSON(newRuleDto.getRuleItems())); newRules.setBranchStatus(NamespaceBranchStatus.ACTIVE); namespaceBranchService.updateBranchGrayRules(appId, clusterName, namespaceName, branchName, newRules); messageSender.sendMessage(ReleaseMessageKeyGenerator.generate(appId, clusterName, namespaceName), Topics.APOLLO_RELEASE_TOPIC); } @Transactional @DeleteMapping("/apps/{appId}/clusters/{clusterName}/namespaces/{namespaceName}/branches/{branchName}") public void deleteBranch(@PathVariable String appId, @PathVariable String clusterName, @PathVariable String namespaceName, @PathVariable String branchName, @RequestParam("operator") String operator) { checkBranch(appId, clusterName, namespaceName, branchName); namespaceBranchService .deleteBranch(appId, clusterName, namespaceName, branchName, NamespaceBranchStatus.DELETED, operator); messageSender.sendMessage(ReleaseMessageKeyGenerator.generate(appId, clusterName, namespaceName), Topics.APOLLO_RELEASE_TOPIC); } @GetMapping("/apps/{appId}/clusters/{clusterName}/namespaces/{namespaceName}/branches") public NamespaceDTO loadNamespaceBranch(@PathVariable String appId, @PathVariable String clusterName, @PathVariable String namespaceName) { checkNamespace(appId, clusterName, namespaceName); Namespace childNamespace = namespaceBranchService.findBranch(appId, clusterName, namespaceName); if (childNamespace == null) { return null; } return BeanUtils.transform(NamespaceDTO.class, childNamespace); } private void checkBranch(String appId, String clusterName, String namespaceName, String branchName) { //1. check parent namespace checkNamespace(appId, clusterName, namespaceName); //2. check child namespace Namespace childNamespace = namespaceService.findOne(appId, branchName, namespaceName); if (childNamespace == null) { throw new BadRequestException(String.format("Namespace's branch not exist. AppId = %s, ClusterName = %s, " + "NamespaceName = %s, BranchName = %s", appId, clusterName, namespaceName, branchName)); } } private void checkNamespace(String appId, String clusterName, String namespaceName) { Namespace parentNamespace = namespaceService.findOne(appId, clusterName, namespaceName); if (parentNamespace == null) { throw new BadRequestException(String.format("Namespace not exist. AppId = %s, ClusterName = %s, NamespaceName = %s", appId, clusterName, namespaceName)); } } }
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.apollo.biz.service.NamespaceBranchService; import com.ctrip.framework.apollo.biz.service.NamespaceService; import com.ctrip.framework.apollo.biz.utils.ReleaseMessageKeyGenerator; import com.ctrip.framework.apollo.common.constants.NamespaceBranchStatus; import com.ctrip.framework.apollo.common.dto.GrayReleaseRuleDTO; import com.ctrip.framework.apollo.common.dto.NamespaceDTO; import com.ctrip.framework.apollo.common.exception.BadRequestException; import com.ctrip.framework.apollo.common.utils.BeanUtils; import com.ctrip.framework.apollo.common.utils.GrayReleaseRuleItemTransformer; import org.springframework.transaction.annotation.Transactional; import org.springframework.web.bind.annotation.DeleteMapping; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.PutMapping; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RestController; @RestController public class NamespaceBranchController { private final MessageSender messageSender; private final NamespaceBranchService namespaceBranchService; private final NamespaceService namespaceService; public NamespaceBranchController( final MessageSender messageSender, final NamespaceBranchService namespaceBranchService, final NamespaceService namespaceService) { this.messageSender = messageSender; this.namespaceBranchService = namespaceBranchService; this.namespaceService = namespaceService; } @PostMapping("/apps/{appId}/clusters/{clusterName}/namespaces/{namespaceName}/branches") public NamespaceDTO createBranch(@PathVariable String appId, @PathVariable String clusterName, @PathVariable String namespaceName, @RequestParam("operator") String operator) { checkNamespace(appId, clusterName, namespaceName); Namespace createdBranch = namespaceBranchService.createBranch(appId, clusterName, namespaceName, operator); return BeanUtils.transform(NamespaceDTO.class, createdBranch); } @GetMapping("/apps/{appId}/clusters/{clusterName}/namespaces/{namespaceName}/branches/{branchName}/rules") public GrayReleaseRuleDTO findBranchGrayRules(@PathVariable String appId, @PathVariable String clusterName, @PathVariable String namespaceName, @PathVariable String branchName) { checkBranch(appId, clusterName, namespaceName, branchName); GrayReleaseRule rules = namespaceBranchService.findBranchGrayRules(appId, clusterName, namespaceName, branchName); if (rules == null) { return null; } GrayReleaseRuleDTO ruleDTO = new GrayReleaseRuleDTO(rules.getAppId(), rules.getClusterName(), rules.getNamespaceName(), rules.getBranchName()); ruleDTO.setReleaseId(rules.getReleaseId()); ruleDTO.setRuleItems(GrayReleaseRuleItemTransformer.batchTransformFromJSON(rules.getRules())); return ruleDTO; } @Transactional @PutMapping("/apps/{appId}/clusters/{clusterName}/namespaces/{namespaceName}/branches/{branchName}/rules") public void updateBranchGrayRules(@PathVariable String appId, @PathVariable String clusterName, @PathVariable String namespaceName, @PathVariable String branchName, @RequestBody GrayReleaseRuleDTO newRuleDto) { checkBranch(appId, clusterName, namespaceName, branchName); GrayReleaseRule newRules = BeanUtils.transform(GrayReleaseRule.class, newRuleDto); newRules.setRules(GrayReleaseRuleItemTransformer.batchTransformToJSON(newRuleDto.getRuleItems())); newRules.setBranchStatus(NamespaceBranchStatus.ACTIVE); namespaceBranchService.updateBranchGrayRules(appId, clusterName, namespaceName, branchName, newRules); messageSender.sendMessage(ReleaseMessageKeyGenerator.generate(appId, clusterName, namespaceName), Topics.APOLLO_RELEASE_TOPIC); } @Transactional @DeleteMapping("/apps/{appId}/clusters/{clusterName}/namespaces/{namespaceName}/branches/{branchName}") public void deleteBranch(@PathVariable String appId, @PathVariable String clusterName, @PathVariable String namespaceName, @PathVariable String branchName, @RequestParam("operator") String operator) { checkBranch(appId, clusterName, namespaceName, branchName); namespaceBranchService .deleteBranch(appId, clusterName, namespaceName, branchName, NamespaceBranchStatus.DELETED, operator); messageSender.sendMessage(ReleaseMessageKeyGenerator.generate(appId, clusterName, namespaceName), Topics.APOLLO_RELEASE_TOPIC); } @GetMapping("/apps/{appId}/clusters/{clusterName}/namespaces/{namespaceName}/branches") public NamespaceDTO loadNamespaceBranch(@PathVariable String appId, @PathVariable String clusterName, @PathVariable String namespaceName) { checkNamespace(appId, clusterName, namespaceName); Namespace childNamespace = namespaceBranchService.findBranch(appId, clusterName, namespaceName); if (childNamespace == null) { return null; } return BeanUtils.transform(NamespaceDTO.class, childNamespace); } private void checkBranch(String appId, String clusterName, String namespaceName, String branchName) { //1. check parent namespace checkNamespace(appId, clusterName, namespaceName); //2. check child namespace Namespace childNamespace = namespaceService.findOne(appId, branchName, namespaceName); if (childNamespace == null) { throw new BadRequestException(String.format("Namespace's branch not exist. AppId = %s, ClusterName = %s, " + "NamespaceName = %s, BranchName = %s", appId, clusterName, namespaceName, branchName)); } } private void checkNamespace(String appId, String clusterName, String namespaceName) { Namespace parentNamespace = namespaceService.findOne(appId, clusterName, namespaceName); if (parentNamespace == null) { throw new BadRequestException(String.format("Namespace not exist. AppId = %s, ClusterName = %s, NamespaceName = %s", appId, clusterName, namespaceName)); } } }
-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) { return MASTER.equals(roleType) || MODIFY_NAMESPACE.equals(roleType) || RELEASE_NAMESPACE.equals(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) { return MASTER.equals(roleType) || MODIFY_NAMESPACE.equals(roleType) || RELEASE_NAMESPACE.equals(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.file.Path; import java.nio.file.Paths; import java.util.Properties; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.ctrip.framework.apollo.build.ApolloInjector; import com.ctrip.framework.apollo.core.ConfigConsts; import com.ctrip.framework.apollo.core.utils.ClassLoaderUtil; import com.ctrip.framework.apollo.exceptions.ApolloConfigException; import com.ctrip.framework.apollo.tracer.Tracer; import com.ctrip.framework.apollo.tracer.spi.Transaction; import com.ctrip.framework.apollo.util.ConfigUtil; import com.ctrip.framework.apollo.util.ExceptionUtil; import com.google.common.base.Joiner; import com.google.common.base.Preconditions; /** * @author Jason Song([email protected]) */ public class LocalFileConfigRepository extends AbstractConfigRepository implements RepositoryChangeListener { private static final Logger logger = LoggerFactory.getLogger(LocalFileConfigRepository.class); private static final String CONFIG_DIR = "/config-cache"; private final String m_namespace; private File m_baseDir; private final ConfigUtil m_configUtil; private volatile Properties m_fileProperties; private volatile ConfigRepository m_upstream; private volatile ConfigSourceType m_sourceType = ConfigSourceType.LOCAL; /** * Constructor. * * @param namespace the namespace */ public LocalFileConfigRepository(String namespace) { this(namespace, null); } public LocalFileConfigRepository(String namespace, ConfigRepository upstream) { m_namespace = namespace; m_configUtil = ApolloInjector.getInstance(ConfigUtil.class); this.setLocalCacheDir(findLocalCacheDir(), false); this.setUpstreamRepository(upstream); this.trySync(); } void setLocalCacheDir(File baseDir, boolean syncImmediately) { m_baseDir = baseDir; this.checkLocalConfigCacheDir(m_baseDir); if (syncImmediately) { this.trySync(); } } private File findLocalCacheDir() { try { String defaultCacheDir = m_configUtil.getDefaultLocalCacheDir(); Path path = Paths.get(defaultCacheDir); if (!Files.exists(path)) { Files.createDirectories(path); } if (Files.exists(path) && Files.isWritable(path)) { return new File(defaultCacheDir, CONFIG_DIR); } } catch (Throwable ex) { //ignore } return new File(ClassLoaderUtil.getClassPath(), CONFIG_DIR); } @Override public Properties getConfig() { if (m_fileProperties == null) { sync(); } Properties result = propertiesFactory.getPropertiesInstance(); result.putAll(m_fileProperties); return result; } @Override public void setUpstreamRepository(ConfigRepository upstreamConfigRepository) { if (upstreamConfigRepository == null) { return; } //clear previous listener if (m_upstream != null) { m_upstream.removeChangeListener(this); } m_upstream = upstreamConfigRepository; trySyncFromUpstream(); upstreamConfigRepository.addChangeListener(this); } @Override public ConfigSourceType getSourceType() { return m_sourceType; } @Override public void onRepositoryChange(String namespace, Properties newProperties) { if (newProperties.equals(m_fileProperties)) { return; } Properties newFileProperties = propertiesFactory.getPropertiesInstance(); newFileProperties.putAll(newProperties); updateFileProperties(newFileProperties, m_upstream.getSourceType()); this.fireRepositoryChange(namespace, newProperties); } @Override protected void sync() { //sync with upstream immediately boolean syncFromUpstreamResultSuccess = trySyncFromUpstream(); if (syncFromUpstreamResultSuccess) { return; } Transaction transaction = Tracer.newTransaction("Apollo.ConfigService", "syncLocalConfig"); Throwable exception = null; try { transaction.addData("Basedir", m_baseDir.getAbsolutePath()); m_fileProperties = this.loadFromLocalCacheFile(m_baseDir, m_namespace); m_sourceType = ConfigSourceType.LOCAL; transaction.setStatus(Transaction.SUCCESS); } catch (Throwable ex) { Tracer.logEvent("ApolloConfigException", ExceptionUtil.getDetailMessage(ex)); transaction.setStatus(ex); exception = ex; //ignore } finally { transaction.complete(); } if (m_fileProperties == null) { m_sourceType = ConfigSourceType.NONE; throw new ApolloConfigException( "Load config from local config failed!", exception); } } private boolean trySyncFromUpstream() { if (m_upstream == null) { return false; } try { updateFileProperties(m_upstream.getConfig(), m_upstream.getSourceType()); return true; } catch (Throwable ex) { Tracer.logError(ex); logger .warn("Sync config from upstream repository {} failed, reason: {}", m_upstream.getClass(), ExceptionUtil.getDetailMessage(ex)); } return false; } private synchronized void updateFileProperties(Properties newProperties, ConfigSourceType sourceType) { this.m_sourceType = sourceType; if (newProperties.equals(m_fileProperties)) { return; } this.m_fileProperties = newProperties; persistLocalCacheFile(m_baseDir, m_namespace); } private Properties loadFromLocalCacheFile(File baseDir, String namespace) throws IOException { Preconditions.checkNotNull(baseDir, "Basedir cannot be null"); File file = assembleLocalCacheFile(baseDir, namespace); Properties properties = null; if (file.isFile() && file.canRead()) { InputStream in = null; try { in = new FileInputStream(file); properties = propertiesFactory.getPropertiesInstance(); properties.load(in); logger.debug("Loading local config file {} successfully!", file.getAbsolutePath()); } catch (IOException ex) { Tracer.logError(ex); throw new ApolloConfigException(String .format("Loading config from local cache file %s failed", file.getAbsolutePath()), ex); } finally { try { if (in != null) { in.close(); } } catch (IOException ex) { // ignore } } } else { throw new ApolloConfigException( String.format("Cannot read from local cache file %s", file.getAbsolutePath())); } return properties; } void persistLocalCacheFile(File baseDir, String namespace) { if (baseDir == null) { return; } File file = assembleLocalCacheFile(baseDir, namespace); OutputStream out = null; Transaction transaction = Tracer.newTransaction("Apollo.ConfigService", "persistLocalConfigFile"); transaction.addData("LocalConfigFile", file.getAbsolutePath()); try { out = new FileOutputStream(file); m_fileProperties.store(out, "Persisted by DefaultConfig"); transaction.setStatus(Transaction.SUCCESS); } catch (IOException ex) { ApolloConfigException exception = new ApolloConfigException( String.format("Persist local cache file %s failed", file.getAbsolutePath()), ex); Tracer.logError(exception); transaction.setStatus(exception); logger.warn("Persist local cache file {} failed, reason: {}.", file.getAbsolutePath(), ExceptionUtil.getDetailMessage(ex)); } finally { if (out != null) { try { out.close(); } catch (IOException ex) { //ignore } } transaction.complete(); } } private void checkLocalConfigCacheDir(File baseDir) { if (baseDir.exists()) { return; } Transaction transaction = Tracer.newTransaction("Apollo.ConfigService", "createLocalConfigDir"); transaction.addData("BaseDir", baseDir.getAbsolutePath()); try { Files.createDirectory(baseDir.toPath()); transaction.setStatus(Transaction.SUCCESS); } catch (IOException ex) { ApolloConfigException exception = new ApolloConfigException( String.format("Create local config directory %s failed", baseDir.getAbsolutePath()), ex); Tracer.logError(exception); transaction.setStatus(exception); logger.warn( "Unable to create local config cache directory {}, reason: {}. Will not able to cache config file.", baseDir.getAbsolutePath(), ExceptionUtil.getDetailMessage(ex)); } finally { transaction.complete(); } } File assembleLocalCacheFile(File baseDir, String namespace) { String fileName = String.format("%s.properties", Joiner.on(ConfigConsts.CLUSTER_NAMESPACE_SEPARATOR) .join(m_configUtil.getAppId(), m_configUtil.getCluster(), namespace)); return new File(baseDir, fileName); } }
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.file.Path; import java.nio.file.Paths; import java.util.Properties; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.ctrip.framework.apollo.build.ApolloInjector; import com.ctrip.framework.apollo.core.ConfigConsts; import com.ctrip.framework.apollo.core.utils.ClassLoaderUtil; import com.ctrip.framework.apollo.exceptions.ApolloConfigException; import com.ctrip.framework.apollo.tracer.Tracer; import com.ctrip.framework.apollo.tracer.spi.Transaction; import com.ctrip.framework.apollo.util.ConfigUtil; import com.ctrip.framework.apollo.util.ExceptionUtil; import com.google.common.base.Joiner; import com.google.common.base.Preconditions; /** * @author Jason Song([email protected]) */ public class LocalFileConfigRepository extends AbstractConfigRepository implements RepositoryChangeListener { private static final Logger logger = LoggerFactory.getLogger(LocalFileConfigRepository.class); private static final String CONFIG_DIR = "/config-cache"; private final String m_namespace; private File m_baseDir; private final ConfigUtil m_configUtil; private volatile Properties m_fileProperties; private volatile ConfigRepository m_upstream; private volatile ConfigSourceType m_sourceType = ConfigSourceType.LOCAL; /** * Constructor. * * @param namespace the namespace */ public LocalFileConfigRepository(String namespace) { this(namespace, null); } public LocalFileConfigRepository(String namespace, ConfigRepository upstream) { m_namespace = namespace; m_configUtil = ApolloInjector.getInstance(ConfigUtil.class); this.setLocalCacheDir(findLocalCacheDir(), false); this.setUpstreamRepository(upstream); this.trySync(); } void setLocalCacheDir(File baseDir, boolean syncImmediately) { m_baseDir = baseDir; this.checkLocalConfigCacheDir(m_baseDir); if (syncImmediately) { this.trySync(); } } private File findLocalCacheDir() { try { String defaultCacheDir = m_configUtil.getDefaultLocalCacheDir(); Path path = Paths.get(defaultCacheDir); if (!Files.exists(path)) { Files.createDirectories(path); } if (Files.exists(path) && Files.isWritable(path)) { return new File(defaultCacheDir, CONFIG_DIR); } } catch (Throwable ex) { //ignore } return new File(ClassLoaderUtil.getClassPath(), CONFIG_DIR); } @Override public Properties getConfig() { if (m_fileProperties == null) { sync(); } Properties result = propertiesFactory.getPropertiesInstance(); result.putAll(m_fileProperties); return result; } @Override public void setUpstreamRepository(ConfigRepository upstreamConfigRepository) { if (upstreamConfigRepository == null) { return; } //clear previous listener if (m_upstream != null) { m_upstream.removeChangeListener(this); } m_upstream = upstreamConfigRepository; trySyncFromUpstream(); upstreamConfigRepository.addChangeListener(this); } @Override public ConfigSourceType getSourceType() { return m_sourceType; } @Override public void onRepositoryChange(String namespace, Properties newProperties) { if (newProperties.equals(m_fileProperties)) { return; } Properties newFileProperties = propertiesFactory.getPropertiesInstance(); newFileProperties.putAll(newProperties); updateFileProperties(newFileProperties, m_upstream.getSourceType()); this.fireRepositoryChange(namespace, newProperties); } @Override protected void sync() { //sync with upstream immediately boolean syncFromUpstreamResultSuccess = trySyncFromUpstream(); if (syncFromUpstreamResultSuccess) { return; } Transaction transaction = Tracer.newTransaction("Apollo.ConfigService", "syncLocalConfig"); Throwable exception = null; try { transaction.addData("Basedir", m_baseDir.getAbsolutePath()); m_fileProperties = this.loadFromLocalCacheFile(m_baseDir, m_namespace); m_sourceType = ConfigSourceType.LOCAL; transaction.setStatus(Transaction.SUCCESS); } catch (Throwable ex) { Tracer.logEvent("ApolloConfigException", ExceptionUtil.getDetailMessage(ex)); transaction.setStatus(ex); exception = ex; //ignore } finally { transaction.complete(); } if (m_fileProperties == null) { m_sourceType = ConfigSourceType.NONE; throw new ApolloConfigException( "Load config from local config failed!", exception); } } private boolean trySyncFromUpstream() { if (m_upstream == null) { return false; } try { updateFileProperties(m_upstream.getConfig(), m_upstream.getSourceType()); return true; } catch (Throwable ex) { Tracer.logError(ex); logger .warn("Sync config from upstream repository {} failed, reason: {}", m_upstream.getClass(), ExceptionUtil.getDetailMessage(ex)); } return false; } private synchronized void updateFileProperties(Properties newProperties, ConfigSourceType sourceType) { this.m_sourceType = sourceType; if (newProperties.equals(m_fileProperties)) { return; } this.m_fileProperties = newProperties; persistLocalCacheFile(m_baseDir, m_namespace); } private Properties loadFromLocalCacheFile(File baseDir, String namespace) throws IOException { Preconditions.checkNotNull(baseDir, "Basedir cannot be null"); File file = assembleLocalCacheFile(baseDir, namespace); Properties properties = null; if (file.isFile() && file.canRead()) { InputStream in = null; try { in = new FileInputStream(file); properties = propertiesFactory.getPropertiesInstance(); properties.load(in); logger.debug("Loading local config file {} successfully!", file.getAbsolutePath()); } catch (IOException ex) { Tracer.logError(ex); throw new ApolloConfigException(String .format("Loading config from local cache file %s failed", file.getAbsolutePath()), ex); } finally { try { if (in != null) { in.close(); } } catch (IOException ex) { // ignore } } } else { throw new ApolloConfigException( String.format("Cannot read from local cache file %s", file.getAbsolutePath())); } return properties; } void persistLocalCacheFile(File baseDir, String namespace) { if (baseDir == null) { return; } File file = assembleLocalCacheFile(baseDir, namespace); OutputStream out = null; Transaction transaction = Tracer.newTransaction("Apollo.ConfigService", "persistLocalConfigFile"); transaction.addData("LocalConfigFile", file.getAbsolutePath()); try { out = new FileOutputStream(file); m_fileProperties.store(out, "Persisted by DefaultConfig"); transaction.setStatus(Transaction.SUCCESS); } catch (IOException ex) { ApolloConfigException exception = new ApolloConfigException( String.format("Persist local cache file %s failed", file.getAbsolutePath()), ex); Tracer.logError(exception); transaction.setStatus(exception); logger.warn("Persist local cache file {} failed, reason: {}.", file.getAbsolutePath(), ExceptionUtil.getDetailMessage(ex)); } finally { if (out != null) { try { out.close(); } catch (IOException ex) { //ignore } } transaction.complete(); } } private void checkLocalConfigCacheDir(File baseDir) { if (baseDir.exists()) { return; } Transaction transaction = Tracer.newTransaction("Apollo.ConfigService", "createLocalConfigDir"); transaction.addData("BaseDir", baseDir.getAbsolutePath()); try { Files.createDirectory(baseDir.toPath()); transaction.setStatus(Transaction.SUCCESS); } catch (IOException ex) { ApolloConfigException exception = new ApolloConfigException( String.format("Create local config directory %s failed", baseDir.getAbsolutePath()), ex); Tracer.logError(exception); transaction.setStatus(exception); logger.warn( "Unable to create local config cache directory {}, reason: {}. Will not able to cache config file.", baseDir.getAbsolutePath(), ExceptionUtil.getDetailMessage(ex)); } finally { transaction.complete(); } } File assembleLocalCacheFile(File baseDir, String namespace) { String fileName = String.format("%s.properties", Joiner.on(ConfigConsts.CLUSTER_NAMESPACE_SEPARATOR) .join(m_configUtil.getAppId(), m_configUtil.getCluster(), namespace)); return new File(baseDir, fileName); } }
-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.framework.apollo.portal.constant.TracerEventType; import com.ctrip.framework.apollo.portal.spi.UserInfoHolder; import com.ctrip.framework.apollo.tracer.Tracer; import org.springframework.stereotype.Service; import java.util.List; @Service public class ClusterService { private final UserInfoHolder userInfoHolder; private final AdminServiceAPI.ClusterAPI clusterAPI; public ClusterService(final UserInfoHolder userInfoHolder, final AdminServiceAPI.ClusterAPI clusterAPI) { this.userInfoHolder = userInfoHolder; this.clusterAPI = clusterAPI; } public List<ClusterDTO> findClusters(Env env, String appId) { return clusterAPI.findClustersByApp(appId, env); } public ClusterDTO createCluster(Env env, ClusterDTO cluster) { if (!clusterAPI.isClusterUnique(cluster.getAppId(), env, cluster.getName())) { throw new BadRequestException(String.format("cluster %s already exists.", cluster.getName())); } ClusterDTO clusterDTO = clusterAPI.create(env, cluster); Tracer.logEvent(TracerEventType.CREATE_CLUSTER, cluster.getAppId(), "0", cluster.getName()); return clusterDTO; } public void deleteCluster(Env env, String appId, String clusterName){ clusterAPI.delete(env, appId, clusterName, userInfoHolder.getUser().getUserId()); } public ClusterDTO loadCluster(String appId, Env env, String clusterName){ return clusterAPI.loadCluster(appId, env, clusterName); } }
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.framework.apollo.portal.constant.TracerEventType; import com.ctrip.framework.apollo.portal.spi.UserInfoHolder; import com.ctrip.framework.apollo.tracer.Tracer; import org.springframework.stereotype.Service; import java.util.List; @Service public class ClusterService { private final UserInfoHolder userInfoHolder; private final AdminServiceAPI.ClusterAPI clusterAPI; public ClusterService(final UserInfoHolder userInfoHolder, final AdminServiceAPI.ClusterAPI clusterAPI) { this.userInfoHolder = userInfoHolder; this.clusterAPI = clusterAPI; } public List<ClusterDTO> findClusters(Env env, String appId) { return clusterAPI.findClustersByApp(appId, env); } public ClusterDTO createCluster(Env env, ClusterDTO cluster) { if (!clusterAPI.isClusterUnique(cluster.getAppId(), env, cluster.getName())) { throw new BadRequestException(String.format("cluster %s already exists.", cluster.getName())); } ClusterDTO clusterDTO = clusterAPI.create(env, cluster); Tracer.logEvent(TracerEventType.CREATE_CLUSTER, cluster.getAppId(), "0", cluster.getName()); return clusterDTO; } public void deleteCluster(Env env, String appId, String clusterName){ clusterAPI.delete(env, appId, clusterName, userInfoHolder.getUser().getUserId()); } public ClusterDTO loadCluster(String appId, Env env, String clusterName){ return clusterAPI.loadCluster(appId, env, clusterName); } }
-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.SecurityContextHolder; import org.springframework.security.oauth2.core.oidc.StandardClaimNames; import org.springframework.security.oauth2.core.oidc.user.OidcUser; import org.springframework.security.oauth2.core.user.OAuth2User; import org.springframework.security.oauth2.jwt.Jwt; /** * @author vdisk <[email protected]> */ public class OidcUserInfoHolder implements UserInfoHolder { private static final Logger log = LoggerFactory.getLogger(OidcUserInfoHolder.class); @Override public UserInfo getUser() { Object principal = SecurityContextHolder.getContext().getAuthentication().getPrincipal(); if (principal instanceof OidcUser) { UserInfo userInfo = new UserInfo(); OidcUser oidcUser = (OidcUser) principal; userInfo.setUserId(oidcUser.getSubject()); userInfo.setName(oidcUser.getPreferredUsername()); userInfo.setEmail(oidcUser.getEmail()); return userInfo; } if (principal instanceof Jwt) { Jwt jwt = (Jwt) principal; UserInfo userInfo = new UserInfo(); userInfo.setUserId(jwt.getSubject()); return userInfo; } log.debug("principal is neither oidcUser nor jwt, principal=[{}]", principal); if (principal instanceof OAuth2User) { UserInfo userInfo = new UserInfo(); OAuth2User oAuth2User = (OAuth2User) principal; userInfo.setUserId(oAuth2User.getName()); userInfo.setName(oAuth2User.getAttribute(StandardClaimNames.PREFERRED_USERNAME)); userInfo.setEmail(oAuth2User.getAttribute(StandardClaimNames.EMAIL)); return userInfo; } if (principal instanceof Principal) { UserInfo userInfo = new UserInfo(); Principal userPrincipal = (Principal) principal; userInfo.setUserId(userPrincipal.getName()); return userInfo; } UserInfo userInfo = new UserInfo(); userInfo.setUserId(String.valueOf(principal)); return userInfo; } }
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.SecurityContextHolder; import org.springframework.security.oauth2.core.oidc.StandardClaimNames; import org.springframework.security.oauth2.core.oidc.user.OidcUser; import org.springframework.security.oauth2.core.user.OAuth2User; import org.springframework.security.oauth2.jwt.Jwt; /** * @author vdisk <[email protected]> */ public class OidcUserInfoHolder implements UserInfoHolder { private static final Logger log = LoggerFactory.getLogger(OidcUserInfoHolder.class); @Override public UserInfo getUser() { Object principal = SecurityContextHolder.getContext().getAuthentication().getPrincipal(); if (principal instanceof OidcUser) { UserInfo userInfo = new UserInfo(); OidcUser oidcUser = (OidcUser) principal; userInfo.setUserId(oidcUser.getSubject()); userInfo.setName(oidcUser.getPreferredUsername()); userInfo.setEmail(oidcUser.getEmail()); return userInfo; } if (principal instanceof Jwt) { Jwt jwt = (Jwt) principal; UserInfo userInfo = new UserInfo(); userInfo.setUserId(jwt.getSubject()); return userInfo; } log.debug("principal is neither oidcUser nor jwt, principal=[{}]", principal); if (principal instanceof OAuth2User) { UserInfo userInfo = new UserInfo(); OAuth2User oAuth2User = (OAuth2User) principal; userInfo.setUserId(oAuth2User.getName()); userInfo.setName(oAuth2User.getAttribute(StandardClaimNames.PREFERRED_USERNAME)); userInfo.setEmail(oAuth2User.getAttribute(StandardClaimNames.EMAIL)); return userInfo; } if (principal instanceof Principal) { UserInfo userInfo = new UserInfo(); Principal userPrincipal = (Principal) principal; userInfo.setUserId(userPrincipal.getName()); return userInfo; } UserInfo userInfo = new UserInfo(); userInfo.setUserId(String.valueOf(principal)); return userInfo; } }
-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.DispatcherType; @Configuration public class CharacterEncodingFilterConfiguration { @Bean public FilterRegistrationBean encodingFilter() { FilterRegistrationBean bean = new FilterRegistrationBean(); bean.setFilter(new CharacterEncodingFilter()); bean.addInitParameter("encoding", "UTF-8"); //FIXME: https://github.com/Netflix/eureka/issues/702 // bean.addInitParameter("forceEncoding", "true"); bean.setName("encodingFilter"); bean.addUrlPatterns("/*"); bean.setDispatcherTypes(DispatcherType.REQUEST, DispatcherType.FORWARD); return bean; } }
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.DispatcherType; @Configuration public class CharacterEncodingFilterConfiguration { @Bean public FilterRegistrationBean encodingFilter() { FilterRegistrationBean bean = new FilterRegistrationBean(); bean.setFilter(new CharacterEncodingFilter()); bean.addInitParameter("encoding", "UTF-8"); //FIXME: https://github.com/Netflix/eureka/issues/702 // bean.addInitParameter("forceEncoding", "true"); bean.setName("encodingFilter"); bean.addUrlPatterns("/*"); bean.setDispatcherTypes(DispatcherType.REQUEST, DispatcherType.FORWARD); return bean; } }
-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.apache.http.impl.client.CloseableHttpClient; import org.apache.http.util.EntityUtils; public class ClusterOpenApiService extends AbstractOpenApiService { public ClusterOpenApiService(CloseableHttpClient client, String baseUrl, Gson gson) { super(client, baseUrl, gson); } public OpenClusterDTO getCluster(String appId, String env, String clusterName) { checkNotEmpty(appId, "App id"); checkNotEmpty(env, "Env"); if (Strings.isNullOrEmpty(clusterName)) { clusterName = ConfigConsts.CLUSTER_NAME_DEFAULT; } String path = String.format("envs/%s/apps/%s/clusters/%s", escapePath(env), escapePath(appId), escapePath(clusterName)); try (CloseableHttpResponse response = get(path)) { return gson.fromJson(EntityUtils.toString(response.getEntity()), OpenClusterDTO.class); } catch (Throwable ex) { throw new RuntimeException(String .format("Get cluster for appId: %s, cluster: %s in env: %s failed", appId, clusterName, env), ex); } } public OpenClusterDTO createCluster(String env, OpenClusterDTO openClusterDTO) { checkNotEmpty(openClusterDTO.getAppId(), "App id"); checkNotEmpty(env, "Env"); checkNotEmpty(openClusterDTO.getName(), "Cluster name"); checkNotEmpty(openClusterDTO.getDataChangeCreatedBy(), "Created by"); String path = String.format("envs/%s/apps/%s/clusters", escapePath(env), escapePath(openClusterDTO.getAppId())); try (CloseableHttpResponse response = post(path, openClusterDTO)) { return gson.fromJson(EntityUtils.toString(response.getEntity()), OpenClusterDTO.class); } catch (Throwable ex) { throw new RuntimeException(String .format("Create cluster: %s for appId: %s in env: %s failed", openClusterDTO.getName(), openClusterDTO.getAppId(), env), ex); } } }
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.apache.http.impl.client.CloseableHttpClient; import org.apache.http.util.EntityUtils; public class ClusterOpenApiService extends AbstractOpenApiService { public ClusterOpenApiService(CloseableHttpClient client, String baseUrl, Gson gson) { super(client, baseUrl, gson); } public OpenClusterDTO getCluster(String appId, String env, String clusterName) { checkNotEmpty(appId, "App id"); checkNotEmpty(env, "Env"); if (Strings.isNullOrEmpty(clusterName)) { clusterName = ConfigConsts.CLUSTER_NAME_DEFAULT; } String path = String.format("envs/%s/apps/%s/clusters/%s", escapePath(env), escapePath(appId), escapePath(clusterName)); try (CloseableHttpResponse response = get(path)) { return gson.fromJson(EntityUtils.toString(response.getEntity()), OpenClusterDTO.class); } catch (Throwable ex) { throw new RuntimeException(String .format("Get cluster for appId: %s, cluster: %s in env: %s failed", appId, clusterName, env), ex); } } public OpenClusterDTO createCluster(String env, OpenClusterDTO openClusterDTO) { checkNotEmpty(openClusterDTO.getAppId(), "App id"); checkNotEmpty(env, "Env"); checkNotEmpty(openClusterDTO.getName(), "Cluster name"); checkNotEmpty(openClusterDTO.getDataChangeCreatedBy(), "Created by"); String path = String.format("envs/%s/apps/%s/clusters", escapePath(env), escapePath(openClusterDTO.getAppId())); try (CloseableHttpResponse response = post(path, openClusterDTO)) { return gson.fromJson(EntityUtils.toString(response.getEntity()), OpenClusterDTO.class); } catch (Throwable ex) { throw new RuntimeException(String .format("Create cluster: %s for appId: %s in env: %s failed", openClusterDTO.getName(), openClusterDTO.getAppId(), env), ex); } } }
-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 com.ctrip.framework.apollo.portal.component.PermissionValidator; import com.ctrip.framework.apollo.portal.component.config.PortalConfig; import com.ctrip.framework.apollo.portal.entity.bo.ReleaseBO; import com.ctrip.framework.apollo.portal.entity.model.NamespaceReleaseModel; import com.ctrip.framework.apollo.portal.entity.vo.ReleaseCompareResult; import com.ctrip.framework.apollo.portal.listener.ConfigPublishEvent; import com.ctrip.framework.apollo.portal.service.ReleaseService; import com.ctrip.framework.apollo.portal.spi.UserInfoHolder; import javax.validation.Valid; import javax.validation.constraints.Positive; import javax.validation.constraints.PositiveOrZero; import org.springframework.context.ApplicationEventPublisher; import org.springframework.security.access.AccessDeniedException; import org.springframework.security.access.prepost.PreAuthorize; import org.springframework.validation.annotation.Validated; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.PutMapping; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RestController; import java.util.Collections; import java.util.List; @Validated @RestController public class ReleaseController { private final ReleaseService releaseService; private final ApplicationEventPublisher publisher; private final PortalConfig portalConfig; private final PermissionValidator permissionValidator; private final UserInfoHolder userInfoHolder; public ReleaseController( final ReleaseService releaseService, final ApplicationEventPublisher publisher, final PortalConfig portalConfig, final PermissionValidator permissionValidator, final UserInfoHolder userInfoHolder) { this.releaseService = releaseService; this.publisher = publisher; this.portalConfig = portalConfig; this.permissionValidator = permissionValidator; this.userInfoHolder = userInfoHolder; } @PreAuthorize(value = "@permissionValidator.hasReleaseNamespacePermission(#appId, #namespaceName, #env)") @PostMapping(value = "/apps/{appId}/envs/{env}/clusters/{clusterName}/namespaces/{namespaceName}/releases") public ReleaseDTO createRelease(@PathVariable String appId, @PathVariable String env, @PathVariable String clusterName, @PathVariable String namespaceName, @RequestBody NamespaceReleaseModel model) { model.setAppId(appId); model.setEnv(env); model.setClusterName(clusterName); model.setNamespaceName(namespaceName); if (model.isEmergencyPublish() && !portalConfig.isEmergencyPublishAllowed(Env.valueOf(env))) { throw new BadRequestException(String.format("Env: %s is not supported emergency publish now", env)); } ReleaseDTO createdRelease = releaseService.publish(model); ConfigPublishEvent event = ConfigPublishEvent.instance(); event.withAppId(appId) .withCluster(clusterName) .withNamespace(namespaceName) .withReleaseId(createdRelease.getId()) .setNormalPublishEvent(true) .setEnv(Env.valueOf(env)); publisher.publishEvent(event); return createdRelease; } @PreAuthorize(value = "@permissionValidator.hasReleaseNamespacePermission(#appId, #namespaceName, #env)") @PostMapping(value = "/apps/{appId}/envs/{env}/clusters/{clusterName}/namespaces/{namespaceName}/branches/{branchName}/releases") public ReleaseDTO createGrayRelease(@PathVariable String appId, @PathVariable String env, @PathVariable String clusterName, @PathVariable String namespaceName, @PathVariable String branchName, @RequestBody NamespaceReleaseModel model) { model.setAppId(appId); model.setEnv(env); model.setClusterName(branchName); model.setNamespaceName(namespaceName); if (model.isEmergencyPublish() && !portalConfig.isEmergencyPublishAllowed(Env.valueOf(env))) { throw new BadRequestException(String.format("Env: %s is not supported emergency publish now", env)); } ReleaseDTO createdRelease = releaseService.publish(model); ConfigPublishEvent event = ConfigPublishEvent.instance(); event.withAppId(appId) .withCluster(clusterName) .withNamespace(namespaceName) .withReleaseId(createdRelease.getId()) .setGrayPublishEvent(true) .setEnv(Env.valueOf(env)); publisher.publishEvent(event); return createdRelease; } @GetMapping("/envs/{env}/releases/{releaseId}") public ReleaseDTO get(@PathVariable String env, @PathVariable long releaseId) { ReleaseDTO release = releaseService.findReleaseById(Env.valueOf(env), releaseId); if (release == null) { throw new NotFoundException("release not found"); } return release; } @GetMapping(value = "/apps/{appId}/envs/{env}/clusters/{clusterName}/namespaces/{namespaceName}/releases/all") public List<ReleaseBO> findAllReleases(@PathVariable String appId, @PathVariable String env, @PathVariable String clusterName, @PathVariable String namespaceName, @Valid @PositiveOrZero(message = "page should be positive or 0") @RequestParam(defaultValue = "0") int page, @Valid @Positive(message = "size should be positive number") @RequestParam(defaultValue = "5") int size) { if (permissionValidator.shouldHideConfigToCurrentUser(appId, env, namespaceName)) { return Collections.emptyList(); } return releaseService.findAllReleases(appId, Env.valueOf(env), clusterName, namespaceName, page, size); } @GetMapping(value = "/apps/{appId}/envs/{env}/clusters/{clusterName}/namespaces/{namespaceName}/releases/active") public List<ReleaseDTO> findActiveReleases(@PathVariable String appId, @PathVariable String env, @PathVariable String clusterName, @PathVariable String namespaceName, @Valid @PositiveOrZero(message = "page should be positive or 0") @RequestParam(defaultValue = "0") int page, @Valid @Positive(message = "size should be positive number") @RequestParam(defaultValue = "5") int size) { if (permissionValidator.shouldHideConfigToCurrentUser(appId, env, namespaceName)) { return Collections.emptyList(); } return releaseService.findActiveReleases(appId, Env.valueOf(env), clusterName, namespaceName, page, size); } @GetMapping(value = "/envs/{env}/releases/compare") public ReleaseCompareResult compareRelease(@PathVariable String env, @RequestParam long baseReleaseId, @RequestParam long toCompareReleaseId) { return releaseService.compare(Env.valueOf(env), baseReleaseId, toCompareReleaseId); } @PutMapping(path = "/envs/{env}/releases/{releaseId}/rollback") public void rollback(@PathVariable String env, @PathVariable long releaseId, @RequestParam(defaultValue = "-1") long toReleaseId) { ReleaseDTO release = releaseService.findReleaseById(Env.valueOf(env), releaseId); if (release == null) { throw new NotFoundException("release not found"); } if (!permissionValidator.hasReleaseNamespacePermission(release.getAppId(), release.getNamespaceName(), env)) { throw new AccessDeniedException("Access is denied"); } if (toReleaseId > -1) { releaseService.rollbackTo(Env.valueOf(env), releaseId, toReleaseId, userInfoHolder.getUser().getUserId()); } else { releaseService.rollback(Env.valueOf(env), releaseId, userInfoHolder.getUser().getUserId()); } ConfigPublishEvent event = ConfigPublishEvent.instance(); event.withAppId(release.getAppId()) .withCluster(release.getClusterName()) .withNamespace(release.getNamespaceName()) .withPreviousReleaseId(releaseId) .setRollbackEvent(true) .setEnv(Env.valueOf(env)); publisher.publishEvent(event); } }
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 com.ctrip.framework.apollo.portal.component.PermissionValidator; import com.ctrip.framework.apollo.portal.component.config.PortalConfig; import com.ctrip.framework.apollo.portal.entity.bo.ReleaseBO; import com.ctrip.framework.apollo.portal.entity.model.NamespaceReleaseModel; import com.ctrip.framework.apollo.portal.entity.vo.ReleaseCompareResult; import com.ctrip.framework.apollo.portal.listener.ConfigPublishEvent; import com.ctrip.framework.apollo.portal.service.ReleaseService; import com.ctrip.framework.apollo.portal.spi.UserInfoHolder; import javax.validation.Valid; import javax.validation.constraints.Positive; import javax.validation.constraints.PositiveOrZero; import org.springframework.context.ApplicationEventPublisher; import org.springframework.security.access.AccessDeniedException; import org.springframework.security.access.prepost.PreAuthorize; import org.springframework.validation.annotation.Validated; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.PutMapping; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RestController; import java.util.Collections; import java.util.List; @Validated @RestController public class ReleaseController { private final ReleaseService releaseService; private final ApplicationEventPublisher publisher; private final PortalConfig portalConfig; private final PermissionValidator permissionValidator; private final UserInfoHolder userInfoHolder; public ReleaseController( final ReleaseService releaseService, final ApplicationEventPublisher publisher, final PortalConfig portalConfig, final PermissionValidator permissionValidator, final UserInfoHolder userInfoHolder) { this.releaseService = releaseService; this.publisher = publisher; this.portalConfig = portalConfig; this.permissionValidator = permissionValidator; this.userInfoHolder = userInfoHolder; } @PreAuthorize(value = "@permissionValidator.hasReleaseNamespacePermission(#appId, #namespaceName, #env)") @PostMapping(value = "/apps/{appId}/envs/{env}/clusters/{clusterName}/namespaces/{namespaceName}/releases") public ReleaseDTO createRelease(@PathVariable String appId, @PathVariable String env, @PathVariable String clusterName, @PathVariable String namespaceName, @RequestBody NamespaceReleaseModel model) { model.setAppId(appId); model.setEnv(env); model.setClusterName(clusterName); model.setNamespaceName(namespaceName); if (model.isEmergencyPublish() && !portalConfig.isEmergencyPublishAllowed(Env.valueOf(env))) { throw new BadRequestException(String.format("Env: %s is not supported emergency publish now", env)); } ReleaseDTO createdRelease = releaseService.publish(model); ConfigPublishEvent event = ConfigPublishEvent.instance(); event.withAppId(appId) .withCluster(clusterName) .withNamespace(namespaceName) .withReleaseId(createdRelease.getId()) .setNormalPublishEvent(true) .setEnv(Env.valueOf(env)); publisher.publishEvent(event); return createdRelease; } @PreAuthorize(value = "@permissionValidator.hasReleaseNamespacePermission(#appId, #namespaceName, #env)") @PostMapping(value = "/apps/{appId}/envs/{env}/clusters/{clusterName}/namespaces/{namespaceName}/branches/{branchName}/releases") public ReleaseDTO createGrayRelease(@PathVariable String appId, @PathVariable String env, @PathVariable String clusterName, @PathVariable String namespaceName, @PathVariable String branchName, @RequestBody NamespaceReleaseModel model) { model.setAppId(appId); model.setEnv(env); model.setClusterName(branchName); model.setNamespaceName(namespaceName); if (model.isEmergencyPublish() && !portalConfig.isEmergencyPublishAllowed(Env.valueOf(env))) { throw new BadRequestException(String.format("Env: %s is not supported emergency publish now", env)); } ReleaseDTO createdRelease = releaseService.publish(model); ConfigPublishEvent event = ConfigPublishEvent.instance(); event.withAppId(appId) .withCluster(clusterName) .withNamespace(namespaceName) .withReleaseId(createdRelease.getId()) .setGrayPublishEvent(true) .setEnv(Env.valueOf(env)); publisher.publishEvent(event); return createdRelease; } @GetMapping("/envs/{env}/releases/{releaseId}") public ReleaseDTO get(@PathVariable String env, @PathVariable long releaseId) { ReleaseDTO release = releaseService.findReleaseById(Env.valueOf(env), releaseId); if (release == null) { throw new NotFoundException("release not found"); } return release; } @GetMapping(value = "/apps/{appId}/envs/{env}/clusters/{clusterName}/namespaces/{namespaceName}/releases/all") public List<ReleaseBO> findAllReleases(@PathVariable String appId, @PathVariable String env, @PathVariable String clusterName, @PathVariable String namespaceName, @Valid @PositiveOrZero(message = "page should be positive or 0") @RequestParam(defaultValue = "0") int page, @Valid @Positive(message = "size should be positive number") @RequestParam(defaultValue = "5") int size) { if (permissionValidator.shouldHideConfigToCurrentUser(appId, env, namespaceName)) { return Collections.emptyList(); } return releaseService.findAllReleases(appId, Env.valueOf(env), clusterName, namespaceName, page, size); } @GetMapping(value = "/apps/{appId}/envs/{env}/clusters/{clusterName}/namespaces/{namespaceName}/releases/active") public List<ReleaseDTO> findActiveReleases(@PathVariable String appId, @PathVariable String env, @PathVariable String clusterName, @PathVariable String namespaceName, @Valid @PositiveOrZero(message = "page should be positive or 0") @RequestParam(defaultValue = "0") int page, @Valid @Positive(message = "size should be positive number") @RequestParam(defaultValue = "5") int size) { if (permissionValidator.shouldHideConfigToCurrentUser(appId, env, namespaceName)) { return Collections.emptyList(); } return releaseService.findActiveReleases(appId, Env.valueOf(env), clusterName, namespaceName, page, size); } @GetMapping(value = "/envs/{env}/releases/compare") public ReleaseCompareResult compareRelease(@PathVariable String env, @RequestParam long baseReleaseId, @RequestParam long toCompareReleaseId) { return releaseService.compare(Env.valueOf(env), baseReleaseId, toCompareReleaseId); } @PutMapping(path = "/envs/{env}/releases/{releaseId}/rollback") public void rollback(@PathVariable String env, @PathVariable long releaseId, @RequestParam(defaultValue = "-1") long toReleaseId) { ReleaseDTO release = releaseService.findReleaseById(Env.valueOf(env), releaseId); if (release == null) { throw new NotFoundException("release not found"); } if (!permissionValidator.hasReleaseNamespacePermission(release.getAppId(), release.getNamespaceName(), env)) { throw new AccessDeniedException("Access is denied"); } if (toReleaseId > -1) { releaseService.rollbackTo(Env.valueOf(env), releaseId, toReleaseId, userInfoHolder.getUser().getUserId()); } else { releaseService.rollback(Env.valueOf(env), releaseId, userInfoHolder.getUser().getUserId()); } ConfigPublishEvent event = ConfigPublishEvent.instance(); event.withAppId(release.getAppId()) .withCluster(release.getClusterName()) .withNamespace(release.getNamespaceName()) .withPreviousReleaseId(releaseId) .setRollbackEvent(true) .setEnv(Env.valueOf(env)); publisher.publishEvent(event); } }
-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; import com.ctrip.framework.apollo.biz.repository.ReleaseMessageRepository; import org.junit.Before; import org.junit.Test; import org.mockito.Mock; import org.springframework.test.util.ReflectionTestUtils; import java.util.concurrent.TimeUnit; import static org.junit.Assert.assertEquals; import static org.mockito.Mockito.when; /** * @author Jason Song([email protected]) */ public class ReleaseMessageScannerTest extends AbstractUnitTest { private ReleaseMessageScanner releaseMessageScanner; @Mock private ReleaseMessageRepository releaseMessageRepository; @Mock private BizConfig bizConfig; private int databaseScanInterval; @Before public void setUp() throws Exception { releaseMessageScanner = new ReleaseMessageScanner(); ReflectionTestUtils .setField(releaseMessageScanner, "releaseMessageRepository", releaseMessageRepository); ReflectionTestUtils.setField(releaseMessageScanner, "bizConfig", bizConfig); databaseScanInterval = 100; //100 ms when(bizConfig.releaseMessageScanIntervalInMilli()).thenReturn(databaseScanInterval); releaseMessageScanner.afterPropertiesSet(); } @Test public void testScanMessageAndNotifyMessageListener() throws Exception { SettableFuture<ReleaseMessage> someListenerFuture = SettableFuture.create(); ReleaseMessageListener someListener = (message, channel) -> someListenerFuture.set(message); releaseMessageScanner.addMessageListener(someListener); String someMessage = "someMessage"; long someId = 100; ReleaseMessage someReleaseMessage = assembleReleaseMessage(someId, someMessage); when(releaseMessageRepository.findFirst500ByIdGreaterThanOrderByIdAsc(0L)).thenReturn( Lists.newArrayList(someReleaseMessage)); ReleaseMessage someListenerMessage = someListenerFuture.get(5000, TimeUnit.MILLISECONDS); assertEquals(someMessage, someListenerMessage.getMessage()); assertEquals(someId, someListenerMessage.getId()); SettableFuture<ReleaseMessage> anotherListenerFuture = SettableFuture.create(); ReleaseMessageListener anotherListener = (message, channel) -> anotherListenerFuture.set(message); releaseMessageScanner.addMessageListener(anotherListener); String anotherMessage = "anotherMessage"; long anotherId = someId + 1; ReleaseMessage anotherReleaseMessage = assembleReleaseMessage(anotherId, anotherMessage); when(releaseMessageRepository.findFirst500ByIdGreaterThanOrderByIdAsc(someId)).thenReturn( Lists.newArrayList(anotherReleaseMessage)); ReleaseMessage anotherListenerMessage = anotherListenerFuture.get(5000, TimeUnit.MILLISECONDS); assertEquals(anotherMessage, anotherListenerMessage.getMessage()); assertEquals(anotherId, anotherListenerMessage.getId()); } private ReleaseMessage assembleReleaseMessage(long id, String message) { ReleaseMessage releaseMessage = new ReleaseMessage(); releaseMessage.setId(id); releaseMessage.setMessage(message); return 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; import com.ctrip.framework.apollo.biz.repository.ReleaseMessageRepository; import org.junit.Before; import org.junit.Test; import org.mockito.Mock; import org.springframework.test.util.ReflectionTestUtils; import java.util.concurrent.TimeUnit; import static org.junit.Assert.assertEquals; import static org.mockito.Mockito.when; /** * @author Jason Song([email protected]) */ public class ReleaseMessageScannerTest extends AbstractUnitTest { private ReleaseMessageScanner releaseMessageScanner; @Mock private ReleaseMessageRepository releaseMessageRepository; @Mock private BizConfig bizConfig; private int databaseScanInterval; @Before public void setUp() throws Exception { releaseMessageScanner = new ReleaseMessageScanner(); ReflectionTestUtils .setField(releaseMessageScanner, "releaseMessageRepository", releaseMessageRepository); ReflectionTestUtils.setField(releaseMessageScanner, "bizConfig", bizConfig); databaseScanInterval = 100; //100 ms when(bizConfig.releaseMessageScanIntervalInMilli()).thenReturn(databaseScanInterval); releaseMessageScanner.afterPropertiesSet(); } @Test public void testScanMessageAndNotifyMessageListener() throws Exception { SettableFuture<ReleaseMessage> someListenerFuture = SettableFuture.create(); ReleaseMessageListener someListener = (message, channel) -> someListenerFuture.set(message); releaseMessageScanner.addMessageListener(someListener); String someMessage = "someMessage"; long someId = 100; ReleaseMessage someReleaseMessage = assembleReleaseMessage(someId, someMessage); when(releaseMessageRepository.findFirst500ByIdGreaterThanOrderByIdAsc(0L)).thenReturn( Lists.newArrayList(someReleaseMessage)); ReleaseMessage someListenerMessage = someListenerFuture.get(5000, TimeUnit.MILLISECONDS); assertEquals(someMessage, someListenerMessage.getMessage()); assertEquals(someId, someListenerMessage.getId()); SettableFuture<ReleaseMessage> anotherListenerFuture = SettableFuture.create(); ReleaseMessageListener anotherListener = (message, channel) -> anotherListenerFuture.set(message); releaseMessageScanner.addMessageListener(anotherListener); String anotherMessage = "anotherMessage"; long anotherId = someId + 1; ReleaseMessage anotherReleaseMessage = assembleReleaseMessage(anotherId, anotherMessage); when(releaseMessageRepository.findFirst500ByIdGreaterThanOrderByIdAsc(someId)).thenReturn( Lists.newArrayList(anotherReleaseMessage)); ReleaseMessage anotherListenerMessage = anotherListenerFuture.get(5000, TimeUnit.MILLISECONDS); assertEquals(anotherMessage, anotherListenerMessage.getMessage()); assertEquals(anotherId, anotherListenerMessage.getId()); } private ReleaseMessage assembleReleaseMessage(long id, String message) { ReleaseMessage releaseMessage = new ReleaseMessage(); releaseMessage.setId(id); releaseMessage.setMessage(message); return 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([email protected]) */ public class InstanceConfigDTO { private ReleaseDTO release; private Date releaseDeliveryTime; private Date dataChangeLastModifiedTime; public ReleaseDTO getRelease() { return release; } public void setRelease(ReleaseDTO release) { this.release = release; } public Date getDataChangeLastModifiedTime() { return dataChangeLastModifiedTime; } public void setDataChangeLastModifiedTime(Date dataChangeLastModifiedTime) { this.dataChangeLastModifiedTime = dataChangeLastModifiedTime; } public Date getReleaseDeliveryTime() { return releaseDeliveryTime; } public void setReleaseDeliveryTime(Date releaseDeliveryTime) { this.releaseDeliveryTime = releaseDeliveryTime; } }
package com.ctrip.framework.apollo.common.dto; import java.util.Date; /** * @author Jason Song([email protected]) */ public class InstanceConfigDTO { private ReleaseDTO release; private Date releaseDeliveryTime; private Date dataChangeLastModifiedTime; public ReleaseDTO getRelease() { return release; } public void setRelease(ReleaseDTO release) { this.release = release; } public Date getDataChangeLastModifiedTime() { return dataChangeLastModifiedTime; } public void setDataChangeLastModifiedTime(Date dataChangeLastModifiedTime) { this.dataChangeLastModifiedTime = dataChangeLastModifiedTime; } public Date getReleaseDeliveryTime() { return releaseDeliveryTime; } public void setReleaseDeliveryTime(Date releaseDeliveryTime) { this.releaseDeliveryTime = releaseDeliveryTime; } }
-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> findByAppIdAndParentClusterId(String appId, Long parentClusterId); List<Cluster> findByAppId(String appId); Cluster findByAppIdAndName(String appId, String name); List<Cluster> findByParentClusterId(Long parentClusterId); }
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> findByAppIdAndParentClusterId(String appId, Long parentClusterId); List<Cluster> findByAppId(String appId); Cluster findByAppIdAndName(String appId, String name); List<Cluster> findByParentClusterId(Long parentClusterId); }
-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() { return instanceId; } public void setAppName(String appName) { this.appName = appName; } public void setHomepageUrl(String homepageUrl) { this.homepageUrl = homepageUrl; } public void setInstanceId(String instanceId) { this.instanceId = instanceId; } @Override public String toString() { final StringBuilder sb = new StringBuilder("ServiceDTO{"); sb.append("appName='").append(appName).append('\''); sb.append(", instanceId='").append(instanceId).append('\''); sb.append(", homepageUrl='").append(homepageUrl).append('\''); sb.append('}'); return sb.toString(); } }
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() { return instanceId; } public void setAppName(String appName) { this.appName = appName; } public void setHomepageUrl(String homepageUrl) { this.homepageUrl = homepageUrl; } public void setInstanceId(String instanceId) { this.instanceId = instanceId; } @Override public String toString() { final StringBuilder sb = new StringBuilder("ServiceDTO{"); sb.append("appName='").append(appName).append('\''); sb.append(", instanceId='").append(instanceId).append('\''); sb.append(", homepageUrl='").append(homepageUrl).append('\''); sb.append('}'); return sb.toString(); } }
-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.HttpGet; import org.apache.http.client.methods.HttpPost; import org.apache.http.entity.ContentType; import org.apache.http.entity.StringEntity; import org.apache.http.util.EntityUtils; import org.junit.Before; import org.junit.Test; import org.mockito.ArgumentCaptor; public class ClusterOpenApiServiceTest extends AbstractOpenApiServiceTest { private ClusterOpenApiService clusterOpenApiService; private String someAppId; private String someEnv; @Before public void setUp() throws Exception { super.setUp(); someAppId = "someAppId"; someEnv = "someEnv"; StringEntity responseEntity = new StringEntity("{}"); when(someHttpResponse.getEntity()).thenReturn(responseEntity); clusterOpenApiService = new ClusterOpenApiService(httpClient, someBaseUrl, gson); } @Test public void testGetCluster() throws Exception { String someCluster = "someCluster"; final ArgumentCaptor<HttpGet> request = ArgumentCaptor.forClass(HttpGet.class); clusterOpenApiService.getCluster(someAppId, someEnv, someCluster); verify(httpClient, times(1)).execute(request.capture()); HttpGet get = request.getValue(); assertEquals(String .format("%s/envs/%s/apps/%s/clusters/%s", someBaseUrl, someEnv, someAppId, someCluster), get.getURI().toString()); } @Test(expected = RuntimeException.class) public void testGetClusterWithError() throws Exception { String someCluster = "someCluster"; when(statusLine.getStatusCode()).thenReturn(404); clusterOpenApiService.getCluster(someAppId, someEnv, someCluster); } @Test public void testCreateCluster() throws Exception { String someCluster = "someCluster"; String someCreatedBy = "someCreatedBy"; OpenClusterDTO clusterDTO = new OpenClusterDTO(); clusterDTO.setAppId(someAppId); clusterDTO.setName(someCluster); clusterDTO.setDataChangeCreatedBy(someCreatedBy); final ArgumentCaptor<HttpPost> request = ArgumentCaptor.forClass(HttpPost.class); clusterOpenApiService.createCluster(someEnv, clusterDTO); verify(httpClient, times(1)).execute(request.capture()); HttpPost post = request.getValue(); assertEquals(String .format("%s/envs/%s/apps/%s/clusters", someBaseUrl, someEnv, someAppId), post.getURI().toString()); StringEntity entity = (StringEntity) post.getEntity(); assertEquals(ContentType.APPLICATION_JSON.toString(), entity.getContentType().getValue()); assertEquals(gson.toJson(clusterDTO), EntityUtils.toString(entity)); } @Test(expected = RuntimeException.class) public void testCreateClusterWithError() throws Exception { String someCluster = "someCluster"; String someCreatedBy = "someCreatedBy"; OpenClusterDTO clusterDTO = new OpenClusterDTO(); clusterDTO.setAppId(someAppId); clusterDTO.setName(someCluster); clusterDTO.setDataChangeCreatedBy(someCreatedBy); when(statusLine.getStatusCode()).thenReturn(400); clusterOpenApiService.createCluster(someEnv, clusterDTO); } }
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.HttpGet; import org.apache.http.client.methods.HttpPost; import org.apache.http.entity.ContentType; import org.apache.http.entity.StringEntity; import org.apache.http.util.EntityUtils; import org.junit.Before; import org.junit.Test; import org.mockito.ArgumentCaptor; public class ClusterOpenApiServiceTest extends AbstractOpenApiServiceTest { private ClusterOpenApiService clusterOpenApiService; private String someAppId; private String someEnv; @Before public void setUp() throws Exception { super.setUp(); someAppId = "someAppId"; someEnv = "someEnv"; StringEntity responseEntity = new StringEntity("{}"); when(someHttpResponse.getEntity()).thenReturn(responseEntity); clusterOpenApiService = new ClusterOpenApiService(httpClient, someBaseUrl, gson); } @Test public void testGetCluster() throws Exception { String someCluster = "someCluster"; final ArgumentCaptor<HttpGet> request = ArgumentCaptor.forClass(HttpGet.class); clusterOpenApiService.getCluster(someAppId, someEnv, someCluster); verify(httpClient, times(1)).execute(request.capture()); HttpGet get = request.getValue(); assertEquals(String .format("%s/envs/%s/apps/%s/clusters/%s", someBaseUrl, someEnv, someAppId, someCluster), get.getURI().toString()); } @Test(expected = RuntimeException.class) public void testGetClusterWithError() throws Exception { String someCluster = "someCluster"; when(statusLine.getStatusCode()).thenReturn(404); clusterOpenApiService.getCluster(someAppId, someEnv, someCluster); } @Test public void testCreateCluster() throws Exception { String someCluster = "someCluster"; String someCreatedBy = "someCreatedBy"; OpenClusterDTO clusterDTO = new OpenClusterDTO(); clusterDTO.setAppId(someAppId); clusterDTO.setName(someCluster); clusterDTO.setDataChangeCreatedBy(someCreatedBy); final ArgumentCaptor<HttpPost> request = ArgumentCaptor.forClass(HttpPost.class); clusterOpenApiService.createCluster(someEnv, clusterDTO); verify(httpClient, times(1)).execute(request.capture()); HttpPost post = request.getValue(); assertEquals(String .format("%s/envs/%s/apps/%s/clusters", someBaseUrl, someEnv, someAppId), post.getURI().toString()); StringEntity entity = (StringEntity) post.getEntity(); assertEquals(ContentType.APPLICATION_JSON.toString(), entity.getContentType().getValue()); assertEquals(gson.toJson(clusterDTO), EntityUtils.toString(entity)); } @Test(expected = RuntimeException.class) public void testCreateClusterWithError() throws Exception { String someCluster = "someCluster"; String someCreatedBy = "someCreatedBy"; OpenClusterDTO clusterDTO = new OpenClusterDTO(); clusterDTO.setAppId(someAppId); clusterDTO.setName(someCluster); clusterDTO.setDataChangeCreatedBy(someCreatedBy); when(statusLine.getStatusCode()).thenReturn(400); clusterOpenApiService.createCluster(someEnv, clusterDTO); } }
-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.env.ConfigurableEnvironment; import static org.mockito.Mockito.when; public class ConfigTest extends AbstractUnitTest{ @Mock private ConfigurableEnvironment environment; @InjectMocks private PortalConfig config; @Test public void testGetNotExistValue() { String testKey = "key"; String testDefaultValue = "value"; when(environment.getProperty(testKey, testDefaultValue)).thenReturn(testDefaultValue); Assert.assertEquals(testDefaultValue, config.getValue(testKey, testDefaultValue)); } @Test public void testGetArrayProperty() { String testKey = "key"; String testValue = "a,b,c"; when(environment.getProperty(testKey)).thenReturn(testValue); String[] result = config.getArrayProperty(testKey, null); Assert.assertEquals(3, result.length); Assert.assertEquals("a", result[0]); Assert.assertEquals("b", result[1]); Assert.assertEquals("c", result[2]); } @Test public void testGetBooleanProperty() { String testKey = "key"; String testValue = "true"; when(environment.getProperty(testKey)).thenReturn(testValue); boolean result = config.getBooleanProperty(testKey, false); Assert.assertTrue(result); } @Test public void testGetIntProperty() { String testKey = "key"; String testValue = "1024"; when(environment.getProperty(testKey)).thenReturn(testValue); int result = config.getIntProperty(testKey, 0); Assert.assertEquals(1024, result); } }
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.env.ConfigurableEnvironment; import static org.mockito.Mockito.when; public class ConfigTest extends AbstractUnitTest{ @Mock private ConfigurableEnvironment environment; @InjectMocks private PortalConfig config; @Test public void testGetNotExistValue() { String testKey = "key"; String testDefaultValue = "value"; when(environment.getProperty(testKey, testDefaultValue)).thenReturn(testDefaultValue); Assert.assertEquals(testDefaultValue, config.getValue(testKey, testDefaultValue)); } @Test public void testGetArrayProperty() { String testKey = "key"; String testValue = "a,b,c"; when(environment.getProperty(testKey)).thenReturn(testValue); String[] result = config.getArrayProperty(testKey, null); Assert.assertEquals(3, result.length); Assert.assertEquals("a", result[0]); Assert.assertEquals("b", result[1]); Assert.assertEquals("c", result[2]); } @Test public void testGetBooleanProperty() { String testKey = "key"; String testValue = "true"; when(environment.getProperty(testKey)).thenReturn(testValue); boolean result = config.getBooleanProperty(testKey, false); Assert.assertTrue(result); } @Test public void testGetIntProperty() { String testKey = "key"; String testValue = "1024"; when(environment.getProperty(testKey)).thenReturn(testValue); int result = config.getIntProperty(testKey, 0); Assert.assertEquals(1024, result); } }
-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 interface AuditRepository extends PagingAndSortingRepository<Audit, Long> { @Query("SELECT a from Audit a WHERE a.dataChangeCreatedBy = :owner") List<Audit> findByOwner(@Param("owner") String owner); @Query("SELECT a from Audit a WHERE a.dataChangeCreatedBy = :owner AND a.entityName =:entity AND a.opName = :op") List<Audit> findAudits(@Param("owner") String owner, @Param("entity") String entity, @Param("op") String op); }
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 interface AuditRepository extends PagingAndSortingRepository<Audit, Long> { @Query("SELECT a from Audit a WHERE a.dataChangeCreatedBy = :owner") List<Audit> findByOwner(@Param("owner") String owner); @Query("SELECT a from Audit a WHERE a.dataChangeCreatedBy = :owner AND a.entityName =:entity AND a.opName = :op") List<Audit> findAudits(@Param("owner") String owner, @Param("entity") String entity, @Param("op") String op); }
-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 ConfigFileUtilsTest { private final Logger logger = LoggerFactory.getLogger(this.getClass()); @Test public void checkFormat() { ConfigFileUtils.checkFormat("1234+default+app.properties"); ConfigFileUtils.checkFormat("1234+default+app.yml"); ConfigFileUtils.checkFormat("1234+default+app.json"); } @Test(expected = BadRequestException.class) public void checkFormatWithException0() { ConfigFileUtils.checkFormat("1234+defaultes"); } @Test(expected = BadRequestException.class) public void checkFormatWithException1() { ConfigFileUtils.checkFormat(".json"); } @Test(expected = BadRequestException.class) public void checkFormatWithException2() { ConfigFileUtils.checkFormat("application."); } @Test public void getFormat() { final String properties = ConfigFileUtils.getFormat("application+default+application.properties"); assertEquals("properties", properties); final String yml = ConfigFileUtils.getFormat("application+default+application.yml"); assertEquals("yml", yml); } @Test public void getAppId() { final String application = ConfigFileUtils.getAppId("application+default+application.properties"); assertEquals("application", application); final String abc = ConfigFileUtils.getAppId("abc+default+application.yml"); assertEquals("abc", abc); } @Test public void getClusterName() { final String cluster = ConfigFileUtils.getClusterName("application+default+application.properties"); assertEquals("default", cluster); final String Beijing = ConfigFileUtils.getClusterName("abc+Beijing+application.yml"); assertEquals("Beijing", Beijing); } @Test public void getNamespace() { final String application = ConfigFileUtils.getNamespace("234+default+application.properties"); assertEquals("application", application); final String applicationYml = ConfigFileUtils.getNamespace("abc+default+application.yml"); assertEquals("application.yml", applicationYml); } @Test public void toFilename() { final String propertiesFilename0 = ConfigFileUtils.toFilename("123", "default", "application", ConfigFileFormat.Properties); logger.info("propertiesFilename0 {}", propertiesFilename0); assertEquals("123+default+application.properties", propertiesFilename0); final String ymlFilename0 = ConfigFileUtils.toFilename("666", "none", "cc.yml", ConfigFileFormat.YML); logger.info("ymlFilename0 {}", ymlFilename0); assertEquals("666+none+cc.yml", ymlFilename0); } }
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 ConfigFileUtilsTest { private final Logger logger = LoggerFactory.getLogger(this.getClass()); @Test public void checkFormat() { ConfigFileUtils.checkFormat("1234+default+app.properties"); ConfigFileUtils.checkFormat("1234+default+app.yml"); ConfigFileUtils.checkFormat("1234+default+app.json"); } @Test(expected = BadRequestException.class) public void checkFormatWithException0() { ConfigFileUtils.checkFormat("1234+defaultes"); } @Test(expected = BadRequestException.class) public void checkFormatWithException1() { ConfigFileUtils.checkFormat(".json"); } @Test(expected = BadRequestException.class) public void checkFormatWithException2() { ConfigFileUtils.checkFormat("application."); } @Test public void getFormat() { final String properties = ConfigFileUtils.getFormat("application+default+application.properties"); assertEquals("properties", properties); final String yml = ConfigFileUtils.getFormat("application+default+application.yml"); assertEquals("yml", yml); } @Test public void getAppId() { final String application = ConfigFileUtils.getAppId("application+default+application.properties"); assertEquals("application", application); final String abc = ConfigFileUtils.getAppId("abc+default+application.yml"); assertEquals("abc", abc); } @Test public void getClusterName() { final String cluster = ConfigFileUtils.getClusterName("application+default+application.properties"); assertEquals("default", cluster); final String Beijing = ConfigFileUtils.getClusterName("abc+Beijing+application.yml"); assertEquals("Beijing", Beijing); } @Test public void getNamespace() { final String application = ConfigFileUtils.getNamespace("234+default+application.properties"); assertEquals("application", application); final String applicationYml = ConfigFileUtils.getNamespace("abc+default+application.yml"); assertEquals("application.yml", applicationYml); } @Test public void toFilename() { final String propertiesFilename0 = ConfigFileUtils.toFilename("123", "default", "application", ConfigFileFormat.Properties); logger.info("propertiesFilename0 {}", propertiesFilename0); assertEquals("123+default+application.properties", propertiesFilename0); final String ymlFilename0 = ConfigFileUtils.toFilename("666", "none", "cc.yml", ConfigFileFormat.YML); logger.info("ymlFilename0 {}", ymlFilename0); assertEquals("666+none+cc.yml", ymlFilename0); } }
-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.springframework.beans.factory.annotation.Autowired; import org.springframework.core.env.ConfigurableEnvironment; import org.springframework.util.CollectionUtils; import java.util.List; import java.util.concurrent.Executors; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.TimeUnit; import javax.annotation.PostConstruct; public abstract class RefreshableConfig { private static final Logger logger = LoggerFactory.getLogger(RefreshableConfig.class); private static final String LIST_SEPARATOR = ","; //TimeUnit: second private static final int CONFIG_REFRESH_INTERVAL = 60; protected Splitter splitter = Splitter.on(LIST_SEPARATOR).omitEmptyStrings().trimResults(); @Autowired private ConfigurableEnvironment environment; private List<RefreshablePropertySource> propertySources; /** * register refreshable property source. * Notice: The front property source has higher priority. */ protected abstract List<RefreshablePropertySource> getRefreshablePropertySources(); @PostConstruct public void setup() { propertySources = getRefreshablePropertySources(); if (CollectionUtils.isEmpty(propertySources)) { throw new IllegalStateException("Property sources can not be empty."); } //add property source to environment for (RefreshablePropertySource propertySource : propertySources) { propertySource.refresh(); environment.getPropertySources().addLast(propertySource); } //task to update configs ScheduledExecutorService executorService = Executors.newScheduledThreadPool(1, ApolloThreadFactory.create("ConfigRefresher", true)); executorService .scheduleWithFixedDelay(() -> { try { propertySources.forEach(RefreshablePropertySource::refresh); } catch (Throwable t) { logger.error("Refresh configs failed.", t); Tracer.logError("Refresh configs failed.", t); } }, CONFIG_REFRESH_INTERVAL, CONFIG_REFRESH_INTERVAL, TimeUnit.SECONDS); } public int getIntProperty(String key, int defaultValue) { try { String value = getValue(key); return value == null ? defaultValue : Integer.parseInt(value); } catch (Throwable e) { Tracer.logError("Get int property failed.", e); return defaultValue; } } public boolean getBooleanProperty(String key, boolean defaultValue) { try { String value = getValue(key); return value == null ? defaultValue : "true".equals(value); } catch (Throwable e) { Tracer.logError("Get boolean property failed.", e); return defaultValue; } } public String[] getArrayProperty(String key, String[] defaultValue) { try { String value = getValue(key); return Strings.isNullOrEmpty(value) ? defaultValue : value.split(LIST_SEPARATOR); } catch (Throwable e) { Tracer.logError("Get array property failed.", e); return defaultValue; } } public String getValue(String key, String defaultValue) { try { return environment.getProperty(key, defaultValue); } catch (Throwable e) { Tracer.logError("Get value failed.", e); return defaultValue; } } public String getValue(String key) { return environment.getProperty(key); } }
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.springframework.beans.factory.annotation.Autowired; import org.springframework.core.env.ConfigurableEnvironment; import org.springframework.util.CollectionUtils; import java.util.List; import java.util.concurrent.Executors; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.TimeUnit; import javax.annotation.PostConstruct; public abstract class RefreshableConfig { private static final Logger logger = LoggerFactory.getLogger(RefreshableConfig.class); private static final String LIST_SEPARATOR = ","; //TimeUnit: second private static final int CONFIG_REFRESH_INTERVAL = 60; protected Splitter splitter = Splitter.on(LIST_SEPARATOR).omitEmptyStrings().trimResults(); @Autowired private ConfigurableEnvironment environment; private List<RefreshablePropertySource> propertySources; /** * register refreshable property source. * Notice: The front property source has higher priority. */ protected abstract List<RefreshablePropertySource> getRefreshablePropertySources(); @PostConstruct public void setup() { propertySources = getRefreshablePropertySources(); if (CollectionUtils.isEmpty(propertySources)) { throw new IllegalStateException("Property sources can not be empty."); } //add property source to environment for (RefreshablePropertySource propertySource : propertySources) { propertySource.refresh(); environment.getPropertySources().addLast(propertySource); } //task to update configs ScheduledExecutorService executorService = Executors.newScheduledThreadPool(1, ApolloThreadFactory.create("ConfigRefresher", true)); executorService .scheduleWithFixedDelay(() -> { try { propertySources.forEach(RefreshablePropertySource::refresh); } catch (Throwable t) { logger.error("Refresh configs failed.", t); Tracer.logError("Refresh configs failed.", t); } }, CONFIG_REFRESH_INTERVAL, CONFIG_REFRESH_INTERVAL, TimeUnit.SECONDS); } public int getIntProperty(String key, int defaultValue) { try { String value = getValue(key); return value == null ? defaultValue : Integer.parseInt(value); } catch (Throwable e) { Tracer.logError("Get int property failed.", e); return defaultValue; } } public boolean getBooleanProperty(String key, boolean defaultValue) { try { String value = getValue(key); return value == null ? defaultValue : "true".equals(value); } catch (Throwable e) { Tracer.logError("Get boolean property failed.", e); return defaultValue; } } public String[] getArrayProperty(String key, String[] defaultValue) { try { String value = getValue(key); return Strings.isNullOrEmpty(value) ? defaultValue : value.split(LIST_SEPARATOR); } catch (Throwable e) { Tracer.logError("Get array property failed.", e); return defaultValue; } } public String getValue(String key, String defaultValue) { try { return environment.getProperty(key, defaultValue); } catch (Throwable e) { Tracer.logError("Get value failed.", e); return defaultValue; } } public String getValue(String key) { return environment.getProperty(key); } }
-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 * * @author github.com/zhegexiaohuozi [email protected] * @since 2018/2/6. */ public class SpringValue { private MethodParameter methodParameter; private Field field; private WeakReference<Object> beanRef; private String beanName; private String key; private String placeholder; private Class<?> targetType; private Type genericType; private boolean isJson; public SpringValue(String key, String placeholder, Object bean, String beanName, Field field, boolean isJson) { this.beanRef = new WeakReference<>(bean); this.beanName = beanName; this.field = field; this.key = key; this.placeholder = placeholder; this.targetType = field.getType(); this.isJson = isJson; if(isJson){ this.genericType = field.getGenericType(); } } public SpringValue(String key, String placeholder, Object bean, String beanName, Method method, boolean isJson) { this.beanRef = new WeakReference<>(bean); this.beanName = beanName; this.methodParameter = new MethodParameter(method, 0); this.key = key; this.placeholder = placeholder; Class<?>[] paramTps = method.getParameterTypes(); this.targetType = paramTps[0]; this.isJson = isJson; if(isJson){ this.genericType = method.getGenericParameterTypes()[0]; } } public void update(Object newVal) throws IllegalAccessException, InvocationTargetException { if (isField()) { injectField(newVal); } else { injectMethod(newVal); } } private void injectField(Object newVal) throws IllegalAccessException { Object bean = beanRef.get(); if (bean == null) { return; } boolean accessible = field.isAccessible(); field.setAccessible(true); field.set(bean, newVal); field.setAccessible(accessible); } private void injectMethod(Object newVal) throws InvocationTargetException, IllegalAccessException { Object bean = beanRef.get(); if (bean == null) { return; } methodParameter.getMethod().invoke(bean, newVal); } public String getBeanName() { return beanName; } public Class<?> getTargetType() { return targetType; } public String getPlaceholder() { return this.placeholder; } public MethodParameter getMethodParameter() { return methodParameter; } public boolean isField() { return this.field != null; } public Field getField() { return field; } public Type getGenericType() { return genericType; } public boolean isJson() { return isJson; } boolean isTargetBeanValid() { return beanRef.get() != null; } @Override public String toString() { Object bean = beanRef.get(); if (bean == null) { return ""; } if (isField()) { return String .format("key: %s, beanName: %s, field: %s.%s", key, beanName, bean.getClass().getName(), field.getName()); } return String.format("key: %s, beanName: %s, method: %s.%s", key, beanName, bean.getClass().getName(), methodParameter.getMethod().getName()); } }
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 * * @author github.com/zhegexiaohuozi [email protected] * @since 2018/2/6. */ public class SpringValue { private MethodParameter methodParameter; private Field field; private WeakReference<Object> beanRef; private String beanName; private String key; private String placeholder; private Class<?> targetType; private Type genericType; private boolean isJson; public SpringValue(String key, String placeholder, Object bean, String beanName, Field field, boolean isJson) { this.beanRef = new WeakReference<>(bean); this.beanName = beanName; this.field = field; this.key = key; this.placeholder = placeholder; this.targetType = field.getType(); this.isJson = isJson; if(isJson){ this.genericType = field.getGenericType(); } } public SpringValue(String key, String placeholder, Object bean, String beanName, Method method, boolean isJson) { this.beanRef = new WeakReference<>(bean); this.beanName = beanName; this.methodParameter = new MethodParameter(method, 0); this.key = key; this.placeholder = placeholder; Class<?>[] paramTps = method.getParameterTypes(); this.targetType = paramTps[0]; this.isJson = isJson; if(isJson){ this.genericType = method.getGenericParameterTypes()[0]; } } public void update(Object newVal) throws IllegalAccessException, InvocationTargetException { if (isField()) { injectField(newVal); } else { injectMethod(newVal); } } private void injectField(Object newVal) throws IllegalAccessException { Object bean = beanRef.get(); if (bean == null) { return; } boolean accessible = field.isAccessible(); field.setAccessible(true); field.set(bean, newVal); field.setAccessible(accessible); } private void injectMethod(Object newVal) throws InvocationTargetException, IllegalAccessException { Object bean = beanRef.get(); if (bean == null) { return; } methodParameter.getMethod().invoke(bean, newVal); } public String getBeanName() { return beanName; } public Class<?> getTargetType() { return targetType; } public String getPlaceholder() { return this.placeholder; } public MethodParameter getMethodParameter() { return methodParameter; } public boolean isField() { return this.field != null; } public Field getField() { return field; } public Type getGenericType() { return genericType; } public boolean isJson() { return isJson; } boolean isTargetBeanValid() { return beanRef.get() != null; } @Override public String toString() { Object bean = beanRef.get(); if (bean == null) { return ""; } if (isField()) { return String .format("key: %s, beanName: %s, field: %s.%s", key, beanName, bean.getClass().getName(), field.getName()); } return String.format("key: %s, beanName: %s, method: %s.%s", key, beanName, bean.getClass().getName(), methodParameter.getMethod().getName()); } }
-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.apollo.common.exception.ServiceException; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import java.util.List; import java.util.Objects; @Service public class AppService { private final AppRepository appRepository; private final AuditService auditService; public AppService(final AppRepository appRepository, final AuditService auditService) { this.appRepository = appRepository; this.auditService = auditService; } public boolean isAppIdUnique(String appId) { Objects.requireNonNull(appId, "AppId must not be null"); return Objects.isNull(appRepository.findByAppId(appId)); } @Transactional public void delete(long id, String operator) { App app = appRepository.findById(id).orElse(null); if (app == null) { return; } app.setDeleted(true); app.setDataChangeLastModifiedBy(operator); appRepository.save(app); auditService.audit(App.class.getSimpleName(), id, Audit.OP.DELETE, operator); } public List<App> findAll(Pageable pageable) { Page<App> page = appRepository.findAll(pageable); return page.getContent(); } public List<App> findByName(String name) { return appRepository.findByName(name); } public App findOne(String appId) { return appRepository.findByAppId(appId); } @Transactional public App save(App entity) { if (!isAppIdUnique(entity.getAppId())) { throw new ServiceException("appId not unique"); } entity.setId(0);//protection App app = appRepository.save(entity); auditService.audit(App.class.getSimpleName(), app.getId(), Audit.OP.INSERT, app.getDataChangeCreatedBy()); return app; } @Transactional public void update(App app) { String appId = app.getAppId(); App managedApp = appRepository.findByAppId(appId); if (managedApp == null) { throw new BadRequestException(String.format("App not exists. AppId = %s", appId)); } managedApp.setName(app.getName()); managedApp.setOrgId(app.getOrgId()); managedApp.setOrgName(app.getOrgName()); managedApp.setOwnerName(app.getOwnerName()); managedApp.setOwnerEmail(app.getOwnerEmail()); managedApp.setDataChangeLastModifiedBy(app.getDataChangeLastModifiedBy()); managedApp = appRepository.save(managedApp); auditService.audit(App.class.getSimpleName(), managedApp.getId(), Audit.OP.UPDATE, managedApp.getDataChangeLastModifiedBy()); } }
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.apollo.common.exception.ServiceException; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import java.util.List; import java.util.Objects; @Service public class AppService { private final AppRepository appRepository; private final AuditService auditService; public AppService(final AppRepository appRepository, final AuditService auditService) { this.appRepository = appRepository; this.auditService = auditService; } public boolean isAppIdUnique(String appId) { Objects.requireNonNull(appId, "AppId must not be null"); return Objects.isNull(appRepository.findByAppId(appId)); } @Transactional public void delete(long id, String operator) { App app = appRepository.findById(id).orElse(null); if (app == null) { return; } app.setDeleted(true); app.setDataChangeLastModifiedBy(operator); appRepository.save(app); auditService.audit(App.class.getSimpleName(), id, Audit.OP.DELETE, operator); } public List<App> findAll(Pageable pageable) { Page<App> page = appRepository.findAll(pageable); return page.getContent(); } public List<App> findByName(String name) { return appRepository.findByName(name); } public App findOne(String appId) { return appRepository.findByAppId(appId); } @Transactional public App save(App entity) { if (!isAppIdUnique(entity.getAppId())) { throw new ServiceException("appId not unique"); } entity.setId(0);//protection App app = appRepository.save(entity); auditService.audit(App.class.getSimpleName(), app.getId(), Audit.OP.INSERT, app.getDataChangeCreatedBy()); return app; } @Transactional public void update(App app) { String appId = app.getAppId(); App managedApp = appRepository.findByAppId(appId); if (managedApp == null) { throw new BadRequestException(String.format("App not exists. AppId = %s", appId)); } managedApp.setName(app.getName()); managedApp.setOrgId(app.getOrgId()); managedApp.setOrgName(app.getOrgName()); managedApp.setOwnerName(app.getOwnerName()); managedApp.setOwnerEmail(app.getOwnerEmail()); managedApp.setDataChangeLastModifiedBy(app.getDataChangeLastModifiedBy()); managedApp = appRepository.save(managedApp); auditService.audit(App.class.getSimpleName(), managedApp.getId(), Audit.OP.UPDATE, managedApp.getDataChangeLastModifiedBy()); } }
-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 "LPT": return Env.LPT; case "FAT": case "FWS": return Env.FAT; case "UAT": return Env.UAT; case "PRO": case "PROD": //just in case return Env.PRO; case "DEV": return Env.DEV; case "LOCAL": return Env.LOCAL; case "TOOLS": return Env.TOOLS; default: return Env.UNKNOWN; } } }
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 "LPT": return Env.LPT; case "FAT": case "FWS": return Env.FAT; case "UAT": return Env.UAT; case "PRO": case "PROD": //just in case return Env.PRO; case "DEV": return Env.DEV; case "LOCAL": return Env.LOCAL; case "TOOLS": return Env.TOOLS; default: return Env.UNKNOWN; } } }
-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, Exception e) { super(str, e); setHttpStatus(HttpStatus.INTERNAL_SERVER_ERROR); } }
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, Exception e) { super(str, e); setHttpStatus(HttpStatus.INTERNAL_SERVER_ERROR); } }
-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([email protected]) */ public class ApolloConfigStatusCodeException extends RuntimeException{ private final int m_statusCode; public ApolloConfigStatusCodeException(int statusCode, String message) { super(String.format("[status code: %d] %s", statusCode, message)); this.m_statusCode = statusCode; } public ApolloConfigStatusCodeException(int statusCode, Throwable cause) { super(cause); this.m_statusCode = statusCode; } public int getStatusCode() { return m_statusCode; } }
package com.ctrip.framework.apollo.exceptions; /** * @author Jason Song([email protected]) */ public class ApolloConfigStatusCodeException extends RuntimeException{ private final int m_statusCode; public ApolloConfigStatusCodeException(int statusCode, String message) { super(String.format("[status code: %d] %s", statusCode, message)); this.m_statusCode = statusCode; } public ApolloConfigStatusCodeException(int statusCode, Throwable cause) { super(cause); this.m_statusCode = statusCode; } public int getStatusCode() { return m_statusCode; } }
-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([email protected]) */ 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([email protected]) */ 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.Assert.assertThat; import static org.junit.Assert.fail; /** * Created by kezhenxu at 2019/1/14 12:49. * * @author kezhenxu (kezhenxu at lizhi dot fm) */ public class CommitControllerTest extends AbstractIntegrationTest { @Test public void shouldFailWhenPageOrSiseIsNegative() { try { restTemplate.getForEntity( url("/apps/{appId}/envs/{env}/clusters/{clusterName}/namespaces/{namespaceName}/commits?page=-1"), List.class, "1", "env", "cl", "ns" ); fail("should throw"); } catch (final HttpClientErrorException e) { assertThat( new String(e.getResponseBodyAsByteArray()), containsString("page should be positive or 0") ); } try { restTemplate.getForEntity( url("/apps/{appId}/envs/{env}/clusters/{clusterName}/namespaces/{namespaceName}/commits?size=0"), List.class, "1", "env", "cl", "ns" ); fail("should throw"); } catch (final HttpClientErrorException e) { assertThat( new String(e.getResponseBodyAsByteArray()), containsString("size should be positive number") ); } } }
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.Assert.assertThat; import static org.junit.Assert.fail; /** * Created by kezhenxu at 2019/1/14 12:49. * * @author kezhenxu (kezhenxu at lizhi dot fm) */ public class CommitControllerTest extends AbstractIntegrationTest { @Test public void shouldFailWhenPageOrSiseIsNegative() { try { restTemplate.getForEntity( url("/apps/{appId}/envs/{env}/clusters/{clusterName}/namespaces/{namespaceName}/commits?page=-1"), List.class, "1", "env", "cl", "ns" ); fail("should throw"); } catch (final HttpClientErrorException e) { assertThat( new String(e.getResponseBodyAsByteArray()), containsString("page should be positive or 0") ); } try { restTemplate.getForEntity( url("/apps/{appId}/envs/{env}/clusters/{clusterName}/namespaces/{namespaceName}/commits?size=0"), List.class, "1", "env", "cl", "ns" ); fail("should throw"); } catch (final HttpClientErrorException e) { assertThat( new String(e.getResponseBodyAsByteArray()), containsString("size should be positive number") ); } } }
-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 default implementation will be activated. * You may refer com.ctrip.framework.apollo.portal.spi.configuration.AuthConfiguration when providing your own implementation. * * @see com.ctrip.framework.apollo.portal.spi.configuration.AuthConfiguration */ package com.ctrip.framework.apollo.portal.spi;
/** * 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 default implementation will be activated. * You may refer com.ctrip.framework.apollo.portal.spi.configuration.AuthConfiguration when providing your own implementation. * * @see com.ctrip.framework.apollo.portal.spi.configuration.AuthConfiguration */ package com.ctrip.framework.apollo.portal.spi;
-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([email protected]) */ 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) { return (byte) (x >> 24); } public static byte int2(final int x) { return (byte) (x >> 16); } public static byte int1(final int x) { return (byte) (x >> 8); } public static byte int0(final int x) { return (byte) (x); } public static String toHexString(byte[] bytes) { char[] chars = new char[bytes.length * 2]; int i = 0; for (byte b : bytes) { chars[i++] = HEX_CHARS[b >> 4 & 0xF]; chars[i++] = HEX_CHARS[b & 0xF]; } return new String(chars); } }
package com.ctrip.framework.apollo.core.utils; /** * @author Jason Song([email protected]) */ 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) { return (byte) (x >> 24); } public static byte int2(final int x) { return (byte) (x >> 16); } public static byte int1(final int x) { return (byte) (x >> 8); } public static byte int0(final int x) { return (byte) (x); } public static String toHexString(byte[] bytes) { char[] chars = new char[bytes.length * 2]; int i = 0; for (byte b : bytes) { chars[i++] = HEX_CHARS[b >> 4 & 0xF]; chars[i++] = HEX_CHARS[b & 0xF]; } return new String(chars); } }
-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 findByAppIdAndClusterNameAndDataCenterAndIp(String appId, String clusterName, String dataCenter, String ip); }
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 findByAppIdAndClusterNameAndDataCenterAndIp(String appId, String clusterName, String dataCenter, String ip); }
-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.StatusLine; import org.apache.http.client.methods.CloseableHttpResponse; import org.apache.http.client.methods.HttpUriRequest; import org.apache.http.impl.client.CloseableHttpClient; import org.junit.Before; import org.junit.runner.RunWith; import org.mockito.Mock; import org.mockito.junit.MockitoJUnitRunner; @RunWith(MockitoJUnitRunner.class) abstract class AbstractOpenApiServiceTest { @Mock protected CloseableHttpClient httpClient; @Mock protected CloseableHttpResponse someHttpResponse; @Mock protected StatusLine statusLine; protected Gson gson; protected String someBaseUrl; @Before public void setUp() throws Exception { gson = new GsonBuilder().setDateFormat(ApolloOpenApiConstants.JSON_DATE_FORMAT).create(); someBaseUrl = "http://someBaseUrl"; when(someHttpResponse.getStatusLine()).thenReturn(statusLine); when(statusLine.getStatusCode()).thenReturn(200); when(httpClient.execute(any(HttpUriRequest.class))).thenReturn(someHttpResponse); } }
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.StatusLine; import org.apache.http.client.methods.CloseableHttpResponse; import org.apache.http.client.methods.HttpUriRequest; import org.apache.http.impl.client.CloseableHttpClient; import org.junit.Before; import org.junit.runner.RunWith; import org.mockito.Mock; import org.mockito.junit.MockitoJUnitRunner; @RunWith(MockitoJUnitRunner.class) abstract class AbstractOpenApiServiceTest { @Mock protected CloseableHttpClient httpClient; @Mock protected CloseableHttpResponse someHttpResponse; @Mock protected StatusLine statusLine; protected Gson gson; protected String someBaseUrl; @Before public void setUp() throws Exception { gson = new GsonBuilder().setDateFormat(ApolloOpenApiConstants.JSON_DATE_FORMAT).create(); someBaseUrl = "http://someBaseUrl"; when(someHttpResponse.getStatusLine()).thenReturn(statusLine); when(statusLine.getStatusCode()).thenReturn(200); when(httpClient.execute(any(HttpUriRequest.class))).thenReturn(someHttpResponse); } }
-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.ServerConfigRepository; import com.ctrip.framework.apollo.core.ConfigConsts; import org.junit.After; import org.junit.Before; import org.junit.Test; import org.mockito.Mock; import org.springframework.test.util.ReflectionTestUtils; import java.util.List; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNull; import static org.mockito.Mockito.spy; import static org.mockito.Mockito.when; /** * @author Jason Song([email protected]) */ public class BizDBPropertySourceTest extends AbstractUnitTest { @Mock private ServerConfigRepository serverConfigRepository; private BizDBPropertySource propertySource; private String clusterConfigKey = "clusterKey"; private String clusterConfigValue = "clusterValue"; private String dcConfigKey = "dcKey"; private String dcConfigValue = "dcValue"; private String defaultKey = "defaultKey"; private String defaultValue = "defaultValue"; @Before public void initTestData() { propertySource = spy(new BizDBPropertySource()); ReflectionTestUtils.setField(propertySource, "serverConfigRepository", serverConfigRepository); List<ServerConfig> configs = Lists.newLinkedList(); //cluster config String cluster = "cluster"; configs.add(MockBeanFactory.mockServerConfig(clusterConfigKey, clusterConfigValue, cluster)); String dc = "dc"; configs.add(MockBeanFactory.mockServerConfig(clusterConfigKey, clusterConfigValue + "dc", dc)); configs.add(MockBeanFactory.mockServerConfig(clusterConfigKey, clusterConfigValue + ConfigConsts.CLUSTER_NAME_DEFAULT, ConfigConsts.CLUSTER_NAME_DEFAULT)); //dc config configs.add(MockBeanFactory.mockServerConfig(dcConfigKey, dcConfigValue, dc)); configs.add(MockBeanFactory.mockServerConfig(dcConfigKey, dcConfigValue + ConfigConsts.CLUSTER_NAME_DEFAULT, ConfigConsts.CLUSTER_NAME_DEFAULT)); //default config configs.add(MockBeanFactory.mockServerConfig(defaultKey, defaultValue, ConfigConsts.CLUSTER_NAME_DEFAULT)); System.setProperty(ConfigConsts.APOLLO_CLUSTER_KEY, cluster); when(propertySource.getCurrentDataCenter()).thenReturn(dc); when(serverConfigRepository.findAll()).thenReturn(configs); } @After public void clear() { System.clearProperty(ConfigConsts.APOLLO_CLUSTER_KEY); } @Test public void testGetClusterConfig() { propertySource.refresh(); assertEquals(propertySource.getProperty(clusterConfigKey), clusterConfigValue); } @Test public void testGetDcConfig() { propertySource.refresh(); assertEquals(propertySource.getProperty(dcConfigKey), dcConfigValue); } @Test public void testGetDefaultConfig() { propertySource.refresh(); assertEquals(propertySource.getProperty(defaultKey), defaultValue); } @Test public void testGetNull() { propertySource.refresh(); assertNull(propertySource.getProperty("noKey")); } }
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.ServerConfigRepository; import com.ctrip.framework.apollo.core.ConfigConsts; import org.junit.After; import org.junit.Before; import org.junit.Test; import org.mockito.Mock; import org.springframework.test.util.ReflectionTestUtils; import java.util.List; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNull; import static org.mockito.Mockito.spy; import static org.mockito.Mockito.when; /** * @author Jason Song([email protected]) */ public class BizDBPropertySourceTest extends AbstractUnitTest { @Mock private ServerConfigRepository serverConfigRepository; private BizDBPropertySource propertySource; private String clusterConfigKey = "clusterKey"; private String clusterConfigValue = "clusterValue"; private String dcConfigKey = "dcKey"; private String dcConfigValue = "dcValue"; private String defaultKey = "defaultKey"; private String defaultValue = "defaultValue"; @Before public void initTestData() { propertySource = spy(new BizDBPropertySource()); ReflectionTestUtils.setField(propertySource, "serverConfigRepository", serverConfigRepository); List<ServerConfig> configs = Lists.newLinkedList(); //cluster config String cluster = "cluster"; configs.add(MockBeanFactory.mockServerConfig(clusterConfigKey, clusterConfigValue, cluster)); String dc = "dc"; configs.add(MockBeanFactory.mockServerConfig(clusterConfigKey, clusterConfigValue + "dc", dc)); configs.add(MockBeanFactory.mockServerConfig(clusterConfigKey, clusterConfigValue + ConfigConsts.CLUSTER_NAME_DEFAULT, ConfigConsts.CLUSTER_NAME_DEFAULT)); //dc config configs.add(MockBeanFactory.mockServerConfig(dcConfigKey, dcConfigValue, dc)); configs.add(MockBeanFactory.mockServerConfig(dcConfigKey, dcConfigValue + ConfigConsts.CLUSTER_NAME_DEFAULT, ConfigConsts.CLUSTER_NAME_DEFAULT)); //default config configs.add(MockBeanFactory.mockServerConfig(defaultKey, defaultValue, ConfigConsts.CLUSTER_NAME_DEFAULT)); System.setProperty(ConfigConsts.APOLLO_CLUSTER_KEY, cluster); when(propertySource.getCurrentDataCenter()).thenReturn(dc); when(serverConfigRepository.findAll()).thenReturn(configs); } @After public void clear() { System.clearProperty(ConfigConsts.APOLLO_CLUSTER_KEY); } @Test public void testGetClusterConfig() { propertySource.refresh(); assertEquals(propertySource.getProperty(clusterConfigKey), clusterConfigValue); } @Test public void testGetDcConfig() { propertySource.refresh(); assertEquals(propertySource.getProperty(dcConfigKey), dcConfigValue); } @Test public void testGetDefaultConfig() { propertySource.refresh(); assertEquals(propertySource.getProperty(defaultKey), defaultValue); } @Test public void testGetNull() { propertySource.refresh(); assertNull(propertySource.getProperty("noKey")); } }
-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 not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * */ package com.ctrip.framework.foundation.internals.provider; import com.google.common.base.Strings; import java.io.File; import java.io.FileInputStream; import java.io.InputStream; import java.io.InputStreamReader; import java.nio.charset.StandardCharsets; import java.util.Properties; import com.ctrip.framework.foundation.internals.Utils; import com.ctrip.framework.foundation.internals.io.BOMInputStream; import com.ctrip.framework.foundation.spi.provider.Provider; import com.ctrip.framework.foundation.spi.provider.ServerProvider; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class DefaultServerProvider implements ServerProvider { private static final Logger logger = LoggerFactory.getLogger(DefaultServerProvider.class); static final String DEFAULT_SERVER_PROPERTIES_PATH_ON_LINUX = "/opt/settings/server.properties"; static final String DEFAULT_SERVER_PROPERTIES_PATH_ON_WINDOWS = "C:/opt/settings/server.properties"; private String m_env; private String m_dc; private final Properties m_serverProperties = new Properties(); String getServerPropertiesPath() { final String serverPropertiesPath = getCustomizedServerPropertiesPath(); if (!Strings.isNullOrEmpty(serverPropertiesPath)) { return serverPropertiesPath; } return Utils.isOSWindows() ? DEFAULT_SERVER_PROPERTIES_PATH_ON_WINDOWS : DEFAULT_SERVER_PROPERTIES_PATH_ON_LINUX; } private String getCustomizedServerPropertiesPath() { // 1. Get from System Property final String serverPropertiesPathFromSystemProperty = System .getProperty("apollo.path.server.properties"); if (!Strings.isNullOrEmpty(serverPropertiesPathFromSystemProperty)) { return serverPropertiesPathFromSystemProperty; } // 2. Get from OS environment variable final String serverPropertiesPathFromEnvironment = System .getenv("APOLLO_PATH_SERVER_PROPERTIES"); if (!Strings.isNullOrEmpty(serverPropertiesPathFromEnvironment)) { return serverPropertiesPathFromEnvironment; } // last, return null if there is no custom value return null; } @Override public void initialize() { try { File file = new File(this.getServerPropertiesPath()); if (file.exists() && file.canRead()) { logger.info("Loading {}", file.getAbsolutePath()); FileInputStream fis = new FileInputStream(file); initialize(fis); return; } initialize(null); } catch (Throwable ex) { logger.error("Initialize DefaultServerProvider failed.", ex); } } @Override public void initialize(InputStream in) { try { if (in != null) { try { m_serverProperties.load(new InputStreamReader(new BOMInputStream(in), StandardCharsets.UTF_8)); } finally { in.close(); } } initEnvType(); initDataCenter(); } catch (Throwable ex) { logger.error("Initialize DefaultServerProvider failed.", ex); } } @Override public String getDataCenter() { return m_dc; } @Override public boolean isDataCenterSet() { return m_dc != null; } @Override public String getEnvType() { return m_env; } @Override public boolean isEnvTypeSet() { return m_env != null; } @Override public String getProperty(String name, String defaultValue) { if ("env".equalsIgnoreCase(name)) { String val = getEnvType(); return val == null ? defaultValue : val; } if ("dc".equalsIgnoreCase(name)) { String val = getDataCenter(); return val == null ? defaultValue : val; } String val = m_serverProperties.getProperty(name, defaultValue); return val == null ? defaultValue : val.trim(); } @Override public Class<? extends Provider> getType() { return ServerProvider.class; } private void initEnvType() { // 1. Try to get environment from JVM system property m_env = System.getProperty("env"); if (!Utils.isBlank(m_env)) { m_env = m_env.trim(); logger.info("Environment is set to [{}] by JVM system property 'env'.", m_env); return; } // 2. Try to get environment from OS environment variable m_env = System.getenv("ENV"); if (!Utils.isBlank(m_env)) { m_env = m_env.trim(); logger.info("Environment is set to [{}] by OS env variable 'ENV'.", m_env); return; } // 3. Try to get environment from file "server.properties" m_env = m_serverProperties.getProperty("env"); if (!Utils.isBlank(m_env)) { m_env = m_env.trim(); logger.info("Environment is set to [{}] by property 'env' in server.properties.", m_env); return; } // 4. Set environment to null. m_env = null; logger.info("Environment is set to null. Because it is not available in either (1) JVM system property 'env', (2) OS env variable 'ENV' nor (3) property 'env' from the properties InputStream."); } private void initDataCenter() { // 1. Try to get environment from JVM system property m_dc = System.getProperty("idc"); if (!Utils.isBlank(m_dc)) { m_dc = m_dc.trim(); logger.info("Data Center is set to [{}] by JVM system property 'idc'.", m_dc); return; } // 2. Try to get idc from OS environment variable m_dc = System.getenv("IDC"); if (!Utils.isBlank(m_dc)) { m_dc = m_dc.trim(); logger.info("Data Center is set to [{}] by OS env variable 'IDC'.", m_dc); return; } // 3. Try to get idc from from file "server.properties" m_dc = m_serverProperties.getProperty("idc"); if (!Utils.isBlank(m_dc)) { m_dc = m_dc.trim(); logger.info("Data Center is set to [{}] by property 'idc' in server.properties.", m_dc); return; } // 4. Set Data Center to null. m_dc = null; logger.debug("Data Center is set to null. Because it is not available in either (1) JVM system property 'idc', (2) OS env variable 'IDC' nor (3) property 'idc' from the properties InputStream."); } @Override public String toString() { return "environment [" + getEnvType() + "] data center [" + getDataCenter() + "] properties: " + m_serverProperties + " (DefaultServerProvider)"; } }
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * */ package com.ctrip.framework.foundation.internals.provider; import com.google.common.base.Strings; import java.io.File; import java.io.FileInputStream; import java.io.InputStream; import java.io.InputStreamReader; import java.nio.charset.StandardCharsets; import java.util.Properties; import com.ctrip.framework.foundation.internals.Utils; import com.ctrip.framework.foundation.internals.io.BOMInputStream; import com.ctrip.framework.foundation.spi.provider.Provider; import com.ctrip.framework.foundation.spi.provider.ServerProvider; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class DefaultServerProvider implements ServerProvider { private static final Logger logger = LoggerFactory.getLogger(DefaultServerProvider.class); static final String DEFAULT_SERVER_PROPERTIES_PATH_ON_LINUX = "/opt/settings/server.properties"; static final String DEFAULT_SERVER_PROPERTIES_PATH_ON_WINDOWS = "C:/opt/settings/server.properties"; private String m_env; private String m_dc; private final Properties m_serverProperties = new Properties(); String getServerPropertiesPath() { final String serverPropertiesPath = getCustomizedServerPropertiesPath(); if (!Strings.isNullOrEmpty(serverPropertiesPath)) { return serverPropertiesPath; } return Utils.isOSWindows() ? DEFAULT_SERVER_PROPERTIES_PATH_ON_WINDOWS : DEFAULT_SERVER_PROPERTIES_PATH_ON_LINUX; } private String getCustomizedServerPropertiesPath() { // 1. Get from System Property final String serverPropertiesPathFromSystemProperty = System .getProperty("apollo.path.server.properties"); if (!Strings.isNullOrEmpty(serverPropertiesPathFromSystemProperty)) { return serverPropertiesPathFromSystemProperty; } // 2. Get from OS environment variable final String serverPropertiesPathFromEnvironment = System .getenv("APOLLO_PATH_SERVER_PROPERTIES"); if (!Strings.isNullOrEmpty(serverPropertiesPathFromEnvironment)) { return serverPropertiesPathFromEnvironment; } // last, return null if there is no custom value return null; } @Override public void initialize() { try { File file = new File(this.getServerPropertiesPath()); if (file.exists() && file.canRead()) { logger.info("Loading {}", file.getAbsolutePath()); FileInputStream fis = new FileInputStream(file); initialize(fis); return; } initialize(null); } catch (Throwable ex) { logger.error("Initialize DefaultServerProvider failed.", ex); } } @Override public void initialize(InputStream in) { try { if (in != null) { try { m_serverProperties.load(new InputStreamReader(new BOMInputStream(in), StandardCharsets.UTF_8)); } finally { in.close(); } } initEnvType(); initDataCenter(); } catch (Throwable ex) { logger.error("Initialize DefaultServerProvider failed.", ex); } } @Override public String getDataCenter() { return m_dc; } @Override public boolean isDataCenterSet() { return m_dc != null; } @Override public String getEnvType() { return m_env; } @Override public boolean isEnvTypeSet() { return m_env != null; } @Override public String getProperty(String name, String defaultValue) { if ("env".equalsIgnoreCase(name)) { String val = getEnvType(); return val == null ? defaultValue : val; } if ("dc".equalsIgnoreCase(name)) { String val = getDataCenter(); return val == null ? defaultValue : val; } String val = m_serverProperties.getProperty(name, defaultValue); return val == null ? defaultValue : val.trim(); } @Override public Class<? extends Provider> getType() { return ServerProvider.class; } private void initEnvType() { // 1. Try to get environment from JVM system property m_env = System.getProperty("env"); if (!Utils.isBlank(m_env)) { m_env = m_env.trim(); logger.info("Environment is set to [{}] by JVM system property 'env'.", m_env); return; } // 2. Try to get environment from OS environment variable m_env = System.getenv("ENV"); if (!Utils.isBlank(m_env)) { m_env = m_env.trim(); logger.info("Environment is set to [{}] by OS env variable 'ENV'.", m_env); return; } // 3. Try to get environment from file "server.properties" m_env = m_serverProperties.getProperty("env"); if (!Utils.isBlank(m_env)) { m_env = m_env.trim(); logger.info("Environment is set to [{}] by property 'env' in server.properties.", m_env); return; } // 4. Set environment to null. m_env = null; logger.info("Environment is set to null. Because it is not available in either (1) JVM system property 'env', (2) OS env variable 'ENV' nor (3) property 'env' from the properties InputStream."); } private void initDataCenter() { // 1. Try to get environment from JVM system property m_dc = System.getProperty("idc"); if (!Utils.isBlank(m_dc)) { m_dc = m_dc.trim(); logger.info("Data Center is set to [{}] by JVM system property 'idc'.", m_dc); return; } // 2. Try to get idc from OS environment variable m_dc = System.getenv("IDC"); if (!Utils.isBlank(m_dc)) { m_dc = m_dc.trim(); logger.info("Data Center is set to [{}] by OS env variable 'IDC'.", m_dc); return; } // 3. Try to get idc from from file "server.properties" m_dc = m_serverProperties.getProperty("idc"); if (!Utils.isBlank(m_dc)) { m_dc = m_dc.trim(); logger.info("Data Center is set to [{}] by property 'idc' in server.properties.", m_dc); return; } // 4. Set Data Center to null. m_dc = null; logger.debug("Data Center is set to null. Because it is not available in either (1) JVM system property 'idc', (2) OS env variable 'IDC' nor (3) property 'idc' from the properties InputStream."); } @Override public String toString() { return "environment [" + getEnvType() + "] data center [" + getDataCenter() + "] properties: " + m_serverProperties + " (DefaultServerProvider)"; } }
-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.apollo.common.dto.ReleaseDTO; 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.framework.apollo.portal.component.ItemsComparator; import com.ctrip.framework.apollo.portal.constant.TracerEventType; import com.ctrip.framework.apollo.portal.entity.bo.NamespaceBO; import com.ctrip.framework.apollo.portal.spi.UserInfoHolder; import com.ctrip.framework.apollo.tracer.Tracer; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import java.util.Collections; import java.util.List; @Service public class NamespaceBranchService { private final ItemsComparator itemsComparator; private final UserInfoHolder userInfoHolder; private final NamespaceService namespaceService; private final ItemService itemService; private final AdminServiceAPI.NamespaceBranchAPI namespaceBranchAPI; private final ReleaseService releaseService; public NamespaceBranchService( final ItemsComparator itemsComparator, final UserInfoHolder userInfoHolder, final NamespaceService namespaceService, final ItemService itemService, final AdminServiceAPI.NamespaceBranchAPI namespaceBranchAPI, final ReleaseService releaseService) { this.itemsComparator = itemsComparator; this.userInfoHolder = userInfoHolder; this.namespaceService = namespaceService; this.itemService = itemService; this.namespaceBranchAPI = namespaceBranchAPI; this.releaseService = releaseService; } @Transactional public NamespaceDTO createBranch(String appId, Env env, String parentClusterName, String namespaceName) { String operator = userInfoHolder.getUser().getUserId(); return createBranch(appId, env, parentClusterName, namespaceName, operator); } @Transactional public NamespaceDTO createBranch(String appId, Env env, String parentClusterName, String namespaceName, String operator) { NamespaceDTO createdBranch = namespaceBranchAPI.createBranch(appId, env, parentClusterName, namespaceName, operator); Tracer.logEvent(TracerEventType.CREATE_GRAY_RELEASE, String.format("%s+%s+%s+%s", appId, env, parentClusterName, namespaceName)); return createdBranch; } public GrayReleaseRuleDTO findBranchGrayRules(String appId, Env env, String clusterName, String namespaceName, String branchName) { return namespaceBranchAPI.findBranchGrayRules(appId, env, clusterName, namespaceName, branchName); } public void updateBranchGrayRules(String appId, Env env, String clusterName, String namespaceName, String branchName, GrayReleaseRuleDTO rules) { String operator = userInfoHolder.getUser().getUserId(); updateBranchGrayRules(appId, env, clusterName, namespaceName, branchName, rules, operator); } public void updateBranchGrayRules(String appId, Env env, String clusterName, String namespaceName, String branchName, GrayReleaseRuleDTO rules, String operator) { rules.setDataChangeCreatedBy(operator); rules.setDataChangeLastModifiedBy(operator); namespaceBranchAPI.updateBranchGrayRules(appId, env, clusterName, namespaceName, branchName, rules); Tracer.logEvent(TracerEventType.UPDATE_GRAY_RELEASE_RULE, String.format("%s+%s+%s+%s", appId, env, clusterName, namespaceName)); } public void deleteBranch(String appId, Env env, String clusterName, String namespaceName, String branchName) { String operator = userInfoHolder.getUser().getUserId(); deleteBranch(appId, env, clusterName, namespaceName, branchName, operator); } public void deleteBranch(String appId, Env env, String clusterName, String namespaceName, String branchName, String operator) { namespaceBranchAPI.deleteBranch(appId, env, clusterName, namespaceName, branchName, operator); Tracer.logEvent(TracerEventType.DELETE_GRAY_RELEASE, String.format("%s+%s+%s+%s", appId, env, clusterName, namespaceName)); } public ReleaseDTO merge(String appId, Env env, String clusterName, String namespaceName, String branchName, String title, String comment, boolean isEmergencyPublish, boolean deleteBranch) { String operator = userInfoHolder.getUser().getUserId(); return merge(appId, env, clusterName, namespaceName, branchName, title, comment, isEmergencyPublish, deleteBranch, operator); } public ReleaseDTO merge(String appId, Env env, String clusterName, String namespaceName, String branchName, String title, String comment, boolean isEmergencyPublish, boolean deleteBranch, String operator) { ItemChangeSets changeSets = calculateBranchChangeSet(appId, env, clusterName, namespaceName, branchName, operator); ReleaseDTO mergedResult = releaseService.updateAndPublish(appId, env, clusterName, namespaceName, title, comment, branchName, isEmergencyPublish, deleteBranch, changeSets); Tracer.logEvent(TracerEventType.MERGE_GRAY_RELEASE, String.format("%s+%s+%s+%s", appId, env, clusterName, namespaceName)); return mergedResult; } private ItemChangeSets calculateBranchChangeSet(String appId, Env env, String clusterName, String namespaceName, String branchName, String operator) { NamespaceBO parentNamespace = namespaceService.loadNamespaceBO(appId, env, clusterName, namespaceName); if (parentNamespace == null) { throw new BadRequestException("base namespace not existed"); } if (parentNamespace.getItemModifiedCnt() > 0) { throw new BadRequestException("Merge operation failed. Because master has modified items"); } List<ItemDTO> masterItems = itemService.findItems(appId, env, clusterName, namespaceName); List<ItemDTO> branchItems = itemService.findItems(appId, env, branchName, namespaceName); ItemChangeSets changeSets = itemsComparator.compareIgnoreBlankAndCommentItem(parentNamespace.getBaseInfo().getId(), masterItems, branchItems); changeSets.setDeleteItems(Collections.emptyList()); changeSets.setDataChangeLastModifiedBy(operator); return changeSets; } public NamespaceDTO findBranchBaseInfo(String appId, Env env, String clusterName, String namespaceName) { return namespaceBranchAPI.findBranch(appId, env, clusterName, namespaceName); } public NamespaceBO findBranch(String appId, Env env, String clusterName, String namespaceName) { NamespaceDTO namespaceDTO = findBranchBaseInfo(appId, env, clusterName, namespaceName); if (namespaceDTO == null) { return null; } return namespaceService.loadNamespaceBO(appId, env, namespaceDTO.getClusterName(), namespaceName); } }
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.apollo.common.dto.ReleaseDTO; 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.framework.apollo.portal.component.ItemsComparator; import com.ctrip.framework.apollo.portal.constant.TracerEventType; import com.ctrip.framework.apollo.portal.entity.bo.NamespaceBO; import com.ctrip.framework.apollo.portal.spi.UserInfoHolder; import com.ctrip.framework.apollo.tracer.Tracer; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import java.util.Collections; import java.util.List; @Service public class NamespaceBranchService { private final ItemsComparator itemsComparator; private final UserInfoHolder userInfoHolder; private final NamespaceService namespaceService; private final ItemService itemService; private final AdminServiceAPI.NamespaceBranchAPI namespaceBranchAPI; private final ReleaseService releaseService; public NamespaceBranchService( final ItemsComparator itemsComparator, final UserInfoHolder userInfoHolder, final NamespaceService namespaceService, final ItemService itemService, final AdminServiceAPI.NamespaceBranchAPI namespaceBranchAPI, final ReleaseService releaseService) { this.itemsComparator = itemsComparator; this.userInfoHolder = userInfoHolder; this.namespaceService = namespaceService; this.itemService = itemService; this.namespaceBranchAPI = namespaceBranchAPI; this.releaseService = releaseService; } @Transactional public NamespaceDTO createBranch(String appId, Env env, String parentClusterName, String namespaceName) { String operator = userInfoHolder.getUser().getUserId(); return createBranch(appId, env, parentClusterName, namespaceName, operator); } @Transactional public NamespaceDTO createBranch(String appId, Env env, String parentClusterName, String namespaceName, String operator) { NamespaceDTO createdBranch = namespaceBranchAPI.createBranch(appId, env, parentClusterName, namespaceName, operator); Tracer.logEvent(TracerEventType.CREATE_GRAY_RELEASE, String.format("%s+%s+%s+%s", appId, env, parentClusterName, namespaceName)); return createdBranch; } public GrayReleaseRuleDTO findBranchGrayRules(String appId, Env env, String clusterName, String namespaceName, String branchName) { return namespaceBranchAPI.findBranchGrayRules(appId, env, clusterName, namespaceName, branchName); } public void updateBranchGrayRules(String appId, Env env, String clusterName, String namespaceName, String branchName, GrayReleaseRuleDTO rules) { String operator = userInfoHolder.getUser().getUserId(); updateBranchGrayRules(appId, env, clusterName, namespaceName, branchName, rules, operator); } public void updateBranchGrayRules(String appId, Env env, String clusterName, String namespaceName, String branchName, GrayReleaseRuleDTO rules, String operator) { rules.setDataChangeCreatedBy(operator); rules.setDataChangeLastModifiedBy(operator); namespaceBranchAPI.updateBranchGrayRules(appId, env, clusterName, namespaceName, branchName, rules); Tracer.logEvent(TracerEventType.UPDATE_GRAY_RELEASE_RULE, String.format("%s+%s+%s+%s", appId, env, clusterName, namespaceName)); } public void deleteBranch(String appId, Env env, String clusterName, String namespaceName, String branchName) { String operator = userInfoHolder.getUser().getUserId(); deleteBranch(appId, env, clusterName, namespaceName, branchName, operator); } public void deleteBranch(String appId, Env env, String clusterName, String namespaceName, String branchName, String operator) { namespaceBranchAPI.deleteBranch(appId, env, clusterName, namespaceName, branchName, operator); Tracer.logEvent(TracerEventType.DELETE_GRAY_RELEASE, String.format("%s+%s+%s+%s", appId, env, clusterName, namespaceName)); } public ReleaseDTO merge(String appId, Env env, String clusterName, String namespaceName, String branchName, String title, String comment, boolean isEmergencyPublish, boolean deleteBranch) { String operator = userInfoHolder.getUser().getUserId(); return merge(appId, env, clusterName, namespaceName, branchName, title, comment, isEmergencyPublish, deleteBranch, operator); } public ReleaseDTO merge(String appId, Env env, String clusterName, String namespaceName, String branchName, String title, String comment, boolean isEmergencyPublish, boolean deleteBranch, String operator) { ItemChangeSets changeSets = calculateBranchChangeSet(appId, env, clusterName, namespaceName, branchName, operator); ReleaseDTO mergedResult = releaseService.updateAndPublish(appId, env, clusterName, namespaceName, title, comment, branchName, isEmergencyPublish, deleteBranch, changeSets); Tracer.logEvent(TracerEventType.MERGE_GRAY_RELEASE, String.format("%s+%s+%s+%s", appId, env, clusterName, namespaceName)); return mergedResult; } private ItemChangeSets calculateBranchChangeSet(String appId, Env env, String clusterName, String namespaceName, String branchName, String operator) { NamespaceBO parentNamespace = namespaceService.loadNamespaceBO(appId, env, clusterName, namespaceName); if (parentNamespace == null) { throw new BadRequestException("base namespace not existed"); } if (parentNamespace.getItemModifiedCnt() > 0) { throw new BadRequestException("Merge operation failed. Because master has modified items"); } List<ItemDTO> masterItems = itemService.findItems(appId, env, clusterName, namespaceName); List<ItemDTO> branchItems = itemService.findItems(appId, env, branchName, namespaceName); ItemChangeSets changeSets = itemsComparator.compareIgnoreBlankAndCommentItem(parentNamespace.getBaseInfo().getId(), masterItems, branchItems); changeSets.setDeleteItems(Collections.emptyList()); changeSets.setDataChangeLastModifiedBy(operator); return changeSets; } public NamespaceDTO findBranchBaseInfo(String appId, Env env, String clusterName, String namespaceName) { return namespaceBranchAPI.findBranch(appId, env, clusterName, namespaceName); } public NamespaceBO findBranch(String appId, Env env, String clusterName, String namespaceName) { NamespaceDTO namespaceDTO = findBranchBaseInfo(appId, env, clusterName, namespaceName); if (namespaceDTO == null) { return null; } return namespaceService.loadNamespaceBO(appId, env, namespaceDTO.getClusterName(), namespaceName); } }
-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) { this.grayDelKeys = 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) { this.grayDelKeys = 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 com.ctrip.framework.apollo.tracer.spi.Transaction; import java.io.IOException; import java.net.ServerSocket; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.eclipse.jetty.server.Request; import org.eclipse.jetty.server.Server; import org.eclipse.jetty.server.handler.AbstractHandler; import org.eclipse.jetty.server.handler.ContextHandler; import org.eclipse.jetty.server.handler.ContextHandlerCollection; import org.junit.After; import org.junit.Before; public abstract class BaseIntegrationTest { protected static final int PORT = findFreePort(); private Server server; /** * init and start a jetty server, remember to call server.stop when the task is finished */ protected Server startServerWithHandlers(ContextHandler... handlers) throws Exception { server = new Server(PORT); ContextHandlerCollection contexts = new ContextHandlerCollection(); contexts.setHandlers(handlers); server.setHandler(contexts); server.start(); return server; } @Before public void setUp() throws Exception { MessageProducer someProducer = mock(MessageProducer.class); MockMessageProducerManager.setProducer(someProducer); Transaction someTransaction = mock(Transaction.class); when(someProducer.newTransaction(anyString(), anyString())).thenReturn(someTransaction); } @After public void tearDown() throws Exception { if (server != null && server.isStarted()) { server.stop(); } } protected ContextHandler mockServerHandler(final int statusCode, final String response) { ContextHandler context = new ContextHandler("/"); context.setHandler(new AbstractHandler() { @Override public void handle(String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException { response.setContentType("text/plain;charset=UTF-8"); response.setStatus(statusCode); response.getWriter().println(response); baseRequest.setHandled(true); } }); return context; } /** * Returns a free port number on localhost. * * Heavily inspired from org.eclipse.jdt.launching.SocketUtil (to avoid a dependency to JDT just because of this). * Slightly improved with close() missing in JDT. And throws exception instead of returning -1. * * @return a free port number on localhost * @throws IllegalStateException if unable to find a free port */ protected static int findFreePort() { ServerSocket socket = null; try { socket = new ServerSocket(0); socket.setReuseAddress(true); int port = socket.getLocalPort(); try { socket.close(); } catch (IOException e) { // Ignore IOException on close() } return port; } catch (IOException e) { } finally { if (socket != null) { try { socket.close(); } catch (IOException e) { } } } throw new IllegalStateException("Could not find a free TCP/IP port to start embedded Jetty HTTP Server on"); } }
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 com.ctrip.framework.apollo.tracer.spi.Transaction; import java.io.IOException; import java.net.ServerSocket; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.eclipse.jetty.server.Request; import org.eclipse.jetty.server.Server; import org.eclipse.jetty.server.handler.AbstractHandler; import org.eclipse.jetty.server.handler.ContextHandler; import org.eclipse.jetty.server.handler.ContextHandlerCollection; import org.junit.After; import org.junit.Before; public abstract class BaseIntegrationTest { protected static final int PORT = findFreePort(); private Server server; /** * init and start a jetty server, remember to call server.stop when the task is finished */ protected Server startServerWithHandlers(ContextHandler... handlers) throws Exception { server = new Server(PORT); ContextHandlerCollection contexts = new ContextHandlerCollection(); contexts.setHandlers(handlers); server.setHandler(contexts); server.start(); return server; } @Before public void setUp() throws Exception { MessageProducer someProducer = mock(MessageProducer.class); MockMessageProducerManager.setProducer(someProducer); Transaction someTransaction = mock(Transaction.class); when(someProducer.newTransaction(anyString(), anyString())).thenReturn(someTransaction); } @After public void tearDown() throws Exception { if (server != null && server.isStarted()) { server.stop(); } } protected ContextHandler mockServerHandler(final int statusCode, final String response) { ContextHandler context = new ContextHandler("/"); context.setHandler(new AbstractHandler() { @Override public void handle(String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException { response.setContentType("text/plain;charset=UTF-8"); response.setStatus(statusCode); response.getWriter().println(response); baseRequest.setHandled(true); } }); return context; } /** * Returns a free port number on localhost. * * Heavily inspired from org.eclipse.jdt.launching.SocketUtil (to avoid a dependency to JDT just because of this). * Slightly improved with close() missing in JDT. And throws exception instead of returning -1. * * @return a free port number on localhost * @throws IllegalStateException if unable to find a free port */ protected static int findFreePort() { ServerSocket socket = null; try { socket = new ServerSocket(0); socket.setReuseAddress(true); int port = socket.getLocalPort(); try { socket.close(); } catch (IOException e) { // Ignore IOException on close() } return port; } catch (IOException e) { } finally { if (socket != null) { try { socket.close(); } catch (IOException e) { } } } throw new IllegalStateException("Could not find a free TCP/IP port to start embedded Jetty HTTP Server on"); } }
-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.annotation.Autowired; import org.springframework.data.domain.Page; import org.springframework.data.domain.PageRequest; import org.springframework.test.annotation.Rollback; import static org.hamcrest.Matchers.hasSize; import static org.junit.Assert.assertThat; /** * Created by kezhenxu94 at 2019/1/18 15:33. * * @author kezhenxu94 (kezhenxu94 at 163 dot com) */ public class InstanceConfigRepositoryTest extends AbstractIntegrationTest { @Autowired private InstanceConfigRepository instanceConfigRepository; @Autowired private InstanceRepository instanceRepository; @Rollback @Test public void shouldPaginated() { for (int i = 0; i < 25; i++) { Instance instance = new Instance(); instance.setAppId("appId"); instanceRepository.save(instance); final InstanceConfig instanceConfig = new InstanceConfig(); instanceConfig.setConfigAppId("appId"); instanceConfig.setInstanceId(instance.getId()); instanceConfig.setConfigClusterName("cluster"); instanceConfig.setConfigNamespaceName("namespace"); instanceConfigRepository.save(instanceConfig); } Page<Object> ids = instanceConfigRepository.findInstanceIdsByNamespaceAndInstanceAppId( "appId", "appId", "cluster", "namespace", new Date(0), PageRequest.of(0, 10) ); assertThat(ids.getContent(), hasSize(10)); ids = instanceConfigRepository.findInstanceIdsByNamespaceAndInstanceAppId( "appId", "appId", "cluster", "namespace", new Date(0), PageRequest.of(1, 10) ); assertThat(ids.getContent(), hasSize(10)); ids = instanceConfigRepository.findInstanceIdsByNamespaceAndInstanceAppId( "appId", "appId", "cluster", "namespace", new Date(0), PageRequest.of(2, 10) ); assertThat(ids.getContent(), hasSize(5)); } }
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.annotation.Autowired; import org.springframework.data.domain.Page; import org.springframework.data.domain.PageRequest; import org.springframework.test.annotation.Rollback; import static org.hamcrest.Matchers.hasSize; import static org.junit.Assert.assertThat; /** * Created by kezhenxu94 at 2019/1/18 15:33. * * @author kezhenxu94 (kezhenxu94 at 163 dot com) */ public class InstanceConfigRepositoryTest extends AbstractIntegrationTest { @Autowired private InstanceConfigRepository instanceConfigRepository; @Autowired private InstanceRepository instanceRepository; @Rollback @Test public void shouldPaginated() { for (int i = 0; i < 25; i++) { Instance instance = new Instance(); instance.setAppId("appId"); instanceRepository.save(instance); final InstanceConfig instanceConfig = new InstanceConfig(); instanceConfig.setConfigAppId("appId"); instanceConfig.setInstanceId(instance.getId()); instanceConfig.setConfigClusterName("cluster"); instanceConfig.setConfigNamespaceName("namespace"); instanceConfigRepository.save(instanceConfig); } Page<Object> ids = instanceConfigRepository.findInstanceIdsByNamespaceAndInstanceAppId( "appId", "appId", "cluster", "namespace", new Date(0), PageRequest.of(0, 10) ); assertThat(ids.getContent(), hasSize(10)); ids = instanceConfigRepository.findInstanceIdsByNamespaceAndInstanceAppId( "appId", "appId", "cluster", "namespace", new Date(0), PageRequest.of(1, 10) ); assertThat(ids.getContent(), hasSize(10)); ids = instanceConfigRepository.findInstanceIdsByNamespaceAndInstanceAppId( "appId", "appId", "cluster", "namespace", new Date(0), PageRequest.of(2, 10) ); assertThat(ids.getContent(), hasSize(5)); } }
-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 APOLLO_BOOTSTRAP_EAGER_LOAD_ENABLED = "apollo.bootstrap.eagerLoad.enabled"; String APOLLO_BOOTSTRAP_NAMESPACES = "apollo.bootstrap.namespaces"; }
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 APOLLO_BOOTSTRAP_EAGER_LOAD_ENABLED = "apollo.bootstrap.eagerLoad.enabled"; String APOLLO_BOOTSTRAP_NAMESPACES = "apollo.bootstrap.namespaces"; }
-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; import org.mockito.Mock; import org.mockito.junit.MockitoJUnitRunner; import org.springframework.test.util.ReflectionTestUtils; import java.util.Objects; import java.util.concurrent.BlockingQueue; import static org.junit.Assert.assertTrue; import static org.mockito.Mockito.*; /** * @author Jason Song([email protected]) */ @RunWith(MockitoJUnitRunner.class) public class InstanceConfigAuditUtilTest { private InstanceConfigAuditUtil instanceConfigAuditUtil; @Mock private InstanceService instanceService; private BlockingQueue<InstanceConfigAuditUtil.InstanceConfigAuditModel> audits; private String someAppId; private String someConfigClusterName; private String someClusterName; private String someDataCenter; private String someIp; private String someConfigAppId; private String someConfigNamespace; private String someReleaseKey; private InstanceConfigAuditUtil.InstanceConfigAuditModel someAuditModel; @Before public void setUp() throws Exception { instanceConfigAuditUtil = new InstanceConfigAuditUtil(instanceService); audits = (BlockingQueue<InstanceConfigAuditUtil.InstanceConfigAuditModel>) ReflectionTestUtils.getField(instanceConfigAuditUtil, "audits"); someAppId = "someAppId"; someClusterName = "someClusterName"; someDataCenter = "someDataCenter"; someIp = "someIp"; someConfigAppId = "someConfigAppId"; someConfigClusterName = "someConfigClusterName"; someConfigNamespace = "someConfigNamespace"; someReleaseKey = "someReleaseKey"; someAuditModel = new InstanceConfigAuditUtil.InstanceConfigAuditModel(someAppId, someClusterName, someDataCenter, someIp, someConfigAppId, someConfigClusterName, someConfigNamespace, someReleaseKey); } @Test public void testAudit() throws Exception { boolean result = instanceConfigAuditUtil.audit(someAppId, someClusterName, someDataCenter, someIp, someConfigAppId, someConfigClusterName, someConfigNamespace, someReleaseKey); InstanceConfigAuditUtil.InstanceConfigAuditModel audit = audits.poll(); assertTrue(result); assertTrue(Objects.equals(someAuditModel, audit)); } @Test public void testDoAudit() throws Exception { long someInstanceId = 1; Instance someInstance = mock(Instance.class); when(someInstance.getId()).thenReturn(someInstanceId); when(instanceService.createInstance(any(Instance.class))).thenReturn(someInstance); instanceConfigAuditUtil.doAudit(someAuditModel); verify(instanceService, times(1)).findInstance(someAppId, someClusterName, someDataCenter, someIp); verify(instanceService, times(1)).createInstance(any(Instance.class)); verify(instanceService, times(1)).findInstanceConfig(someInstanceId, someConfigAppId, someConfigNamespace); verify(instanceService, times(1)).createInstanceConfig(any(InstanceConfig.class)); } }
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; import org.mockito.Mock; import org.mockito.junit.MockitoJUnitRunner; import org.springframework.test.util.ReflectionTestUtils; import java.util.Objects; import java.util.concurrent.BlockingQueue; import static org.junit.Assert.assertTrue; import static org.mockito.Mockito.*; /** * @author Jason Song([email protected]) */ @RunWith(MockitoJUnitRunner.class) public class InstanceConfigAuditUtilTest { private InstanceConfigAuditUtil instanceConfigAuditUtil; @Mock private InstanceService instanceService; private BlockingQueue<InstanceConfigAuditUtil.InstanceConfigAuditModel> audits; private String someAppId; private String someConfigClusterName; private String someClusterName; private String someDataCenter; private String someIp; private String someConfigAppId; private String someConfigNamespace; private String someReleaseKey; private InstanceConfigAuditUtil.InstanceConfigAuditModel someAuditModel; @Before public void setUp() throws Exception { instanceConfigAuditUtil = new InstanceConfigAuditUtil(instanceService); audits = (BlockingQueue<InstanceConfigAuditUtil.InstanceConfigAuditModel>) ReflectionTestUtils.getField(instanceConfigAuditUtil, "audits"); someAppId = "someAppId"; someClusterName = "someClusterName"; someDataCenter = "someDataCenter"; someIp = "someIp"; someConfigAppId = "someConfigAppId"; someConfigClusterName = "someConfigClusterName"; someConfigNamespace = "someConfigNamespace"; someReleaseKey = "someReleaseKey"; someAuditModel = new InstanceConfigAuditUtil.InstanceConfigAuditModel(someAppId, someClusterName, someDataCenter, someIp, someConfigAppId, someConfigClusterName, someConfigNamespace, someReleaseKey); } @Test public void testAudit() throws Exception { boolean result = instanceConfigAuditUtil.audit(someAppId, someClusterName, someDataCenter, someIp, someConfigAppId, someConfigClusterName, someConfigNamespace, someReleaseKey); InstanceConfigAuditUtil.InstanceConfigAuditModel audit = audits.poll(); assertTrue(result); assertTrue(Objects.equals(someAuditModel, audit)); } @Test public void testDoAudit() throws Exception { long someInstanceId = 1; Instance someInstance = mock(Instance.class); when(someInstance.getId()).thenReturn(someInstanceId); when(instanceService.createInstance(any(Instance.class))).thenReturn(someInstance); instanceConfigAuditUtil.doAudit(someAuditModel); verify(instanceService, times(1)).findInstance(someAppId, someClusterName, someDataCenter, someIp); verify(instanceService, times(1)).createInstance(any(Instance.class)); verify(instanceService, times(1)).findInstanceConfig(someInstanceId, someConfigAppId, someConfigNamespace); verify(instanceService, times(1)).createInstanceConfig(any(InstanceConfig.class)); } }
-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.apollo.biz.message.Topics; import com.ctrip.framework.apollo.biz.service.ReleaseMessageService; import com.ctrip.framework.apollo.biz.service.ReleaseService; import com.ctrip.framework.apollo.biz.utils.ReleaseMessageKeyGenerator; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.Mock; import org.mockito.junit.MockitoJUnitRunner; import org.springframework.test.util.ReflectionTestUtils; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNull; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; /** * @author Jason Song([email protected]) */ @RunWith(MockitoJUnitRunner.class) public class ConfigServiceWithCacheTest { private ConfigServiceWithCache configServiceWithCache; @Mock private ReleaseService releaseService; @Mock private ReleaseMessageService releaseMessageService; @Mock private Release someRelease; @Mock private ReleaseMessage someReleaseMessage; private String someAppId; private String someClusterName; private String someNamespaceName; private String someKey; private long someNotificationId; private ApolloNotificationMessages someNotificationMessages; @Before public void setUp() throws Exception { configServiceWithCache = new ConfigServiceWithCache(); ReflectionTestUtils.setField(configServiceWithCache, "releaseService", releaseService); ReflectionTestUtils.setField(configServiceWithCache, "releaseMessageService", releaseMessageService); configServiceWithCache.initialize(); someAppId = "someAppId"; someClusterName = "someClusterName"; someNamespaceName = "someNamespaceName"; someNotificationId = 1; someKey = ReleaseMessageKeyGenerator.generate(someAppId, someClusterName, someNamespaceName); someNotificationMessages = new ApolloNotificationMessages(); } @Test public void testFindActiveOne() throws Exception { long someId = 1; when(releaseService.findActiveOne(someId)).thenReturn(someRelease); assertEquals(someRelease, configServiceWithCache.findActiveOne(someId, someNotificationMessages)); verify(releaseService, times(1)).findActiveOne(someId); } @Test public void testFindActiveOneWithSameIdMultipleTimes() throws Exception { long someId = 1; when(releaseService.findActiveOne(someId)).thenReturn(someRelease); assertEquals(someRelease, configServiceWithCache.findActiveOne(someId, someNotificationMessages)); assertEquals(someRelease, configServiceWithCache.findActiveOne(someId, someNotificationMessages)); assertEquals(someRelease, configServiceWithCache.findActiveOne(someId, someNotificationMessages)); verify(releaseService, times(1)).findActiveOne(someId); } @Test public void testFindActiveOneWithMultipleIdMultipleTimes() throws Exception { long someId = 1; long anotherId = 2; Release anotherRelease = mock(Release.class); when(releaseService.findActiveOne(someId)).thenReturn(someRelease); when(releaseService.findActiveOne(anotherId)).thenReturn(anotherRelease); assertEquals(someRelease, configServiceWithCache.findActiveOne(someId, someNotificationMessages)); assertEquals(someRelease, configServiceWithCache.findActiveOne(someId, someNotificationMessages)); assertEquals(anotherRelease, configServiceWithCache.findActiveOne(anotherId, someNotificationMessages)); assertEquals(anotherRelease, configServiceWithCache.findActiveOne(anotherId, someNotificationMessages)); verify(releaseService, times(1)).findActiveOne(someId); verify(releaseService, times(1)).findActiveOne(anotherId); } @Test public void testFindActiveOneWithReleaseNotFoundMultipleTimes() throws Exception { long someId = 1; when(releaseService.findActiveOne(someId)).thenReturn(null); assertNull(configServiceWithCache.findActiveOne(someId, someNotificationMessages)); assertNull(configServiceWithCache.findActiveOne(someId, someNotificationMessages)); assertNull(configServiceWithCache.findActiveOne(someId, someNotificationMessages)); verify(releaseService, times(1)).findActiveOne(someId); } @Test public void testFindLatestActiveRelease() throws Exception { when(releaseMessageService.findLatestReleaseMessageForMessages(Lists.newArrayList(someKey))).thenReturn (someReleaseMessage); when(releaseService.findLatestActiveRelease(someAppId, someClusterName, someNamespaceName)).thenReturn (someRelease); when(someReleaseMessage.getId()).thenReturn(someNotificationId); Release release = configServiceWithCache.findLatestActiveRelease(someAppId, someClusterName, someNamespaceName, someNotificationMessages); Release anotherRelease = configServiceWithCache.findLatestActiveRelease(someAppId, someClusterName, someNamespaceName, someNotificationMessages); int retryTimes = 100; for (int i = 0; i < retryTimes; i++) { configServiceWithCache.findLatestActiveRelease(someAppId, someClusterName, someNamespaceName, someNotificationMessages); } assertEquals(someRelease, release); assertEquals(someRelease, anotherRelease); verify(releaseMessageService, times(1)).findLatestReleaseMessageForMessages(Lists.newArrayList(someKey)); verify(releaseService, times(1)).findLatestActiveRelease(someAppId, someClusterName, someNamespaceName); } @Test public void testFindLatestActiveReleaseWithReleaseNotFound() throws Exception { when(releaseMessageService.findLatestReleaseMessageForMessages(Lists.newArrayList(someKey))).thenReturn(null); when(releaseService.findLatestActiveRelease(someAppId, someClusterName, someNamespaceName)).thenReturn(null); Release release = configServiceWithCache.findLatestActiveRelease(someAppId, someClusterName, someNamespaceName, someNotificationMessages); Release anotherRelease = configServiceWithCache.findLatestActiveRelease(someAppId, someClusterName, someNamespaceName, someNotificationMessages); int retryTimes = 100; for (int i = 0; i < retryTimes; i++) { configServiceWithCache.findLatestActiveRelease(someAppId, someClusterName, someNamespaceName, someNotificationMessages); } assertNull(release); assertNull(anotherRelease); verify(releaseMessageService, times(1)).findLatestReleaseMessageForMessages(Lists.newArrayList(someKey)); verify(releaseService, times(1)).findLatestActiveRelease(someAppId, someClusterName, someNamespaceName); } @Test public void testFindLatestActiveReleaseWithDirtyRelease() throws Exception { long someNewNotificationId = someNotificationId + 1; ReleaseMessage anotherReleaseMessage = mock(ReleaseMessage.class); Release anotherRelease = mock(Release.class); when(releaseMessageService.findLatestReleaseMessageForMessages(Lists.newArrayList(someKey))).thenReturn (someReleaseMessage); when(releaseService.findLatestActiveRelease(someAppId, someClusterName, someNamespaceName)).thenReturn (someRelease); when(someReleaseMessage.getId()).thenReturn(someNotificationId); Release release = configServiceWithCache.findLatestActiveRelease(someAppId, someClusterName, someNamespaceName, someNotificationMessages); when(releaseMessageService.findLatestReleaseMessageForMessages(Lists.newArrayList(someKey))).thenReturn (anotherReleaseMessage); when(releaseService.findLatestActiveRelease(someAppId, someClusterName, someNamespaceName)).thenReturn (anotherRelease); when(anotherReleaseMessage.getId()).thenReturn(someNewNotificationId); Release stillOldRelease = configServiceWithCache.findLatestActiveRelease(someAppId, someClusterName, someNamespaceName, someNotificationMessages); someNotificationMessages.put(someKey, someNewNotificationId); Release shouldBeNewRelease = configServiceWithCache.findLatestActiveRelease(someAppId, someClusterName, someNamespaceName, someNotificationMessages); assertEquals(someRelease, release); assertEquals(someRelease, stillOldRelease); assertEquals(anotherRelease, shouldBeNewRelease); verify(releaseMessageService, times(2)).findLatestReleaseMessageForMessages(Lists.newArrayList(someKey)); verify(releaseService, times(2)).findLatestActiveRelease(someAppId, someClusterName, someNamespaceName); } @Test public void testFindLatestActiveReleaseWithReleaseMessageNotification() throws Exception { long someNewNotificationId = someNotificationId + 1; ReleaseMessage anotherReleaseMessage = mock(ReleaseMessage.class); Release anotherRelease = mock(Release.class); when(releaseMessageService.findLatestReleaseMessageForMessages(Lists.newArrayList(someKey))).thenReturn (someReleaseMessage); when(releaseService.findLatestActiveRelease(someAppId, someClusterName, someNamespaceName)).thenReturn (someRelease); when(someReleaseMessage.getId()).thenReturn(someNotificationId); Release release = configServiceWithCache.findLatestActiveRelease(someAppId, someClusterName, someNamespaceName, someNotificationMessages); when(releaseMessageService.findLatestReleaseMessageForMessages(Lists.newArrayList(someKey))).thenReturn (anotherReleaseMessage); when(releaseService.findLatestActiveRelease(someAppId, someClusterName, someNamespaceName)).thenReturn (anotherRelease); when(anotherReleaseMessage.getMessage()).thenReturn(someKey); when(anotherReleaseMessage.getId()).thenReturn(someNewNotificationId); Release stillOldRelease = configServiceWithCache.findLatestActiveRelease(someAppId, someClusterName, someNamespaceName, someNotificationMessages); configServiceWithCache.handleMessage(anotherReleaseMessage, Topics.APOLLO_RELEASE_TOPIC); Release shouldBeNewRelease = configServiceWithCache.findLatestActiveRelease(someAppId, someClusterName, someNamespaceName, someNotificationMessages); assertEquals(someRelease, release); assertEquals(someRelease, stillOldRelease); assertEquals(anotherRelease, shouldBeNewRelease); verify(releaseMessageService, times(2)).findLatestReleaseMessageForMessages(Lists.newArrayList(someKey)); verify(releaseService, times(2)).findLatestActiveRelease(someAppId, someClusterName, someNamespaceName); } @Test public void testFindLatestActiveReleaseWithIrrelevantMessages() throws Exception { long someNewNotificationId = someNotificationId + 1; String someIrrelevantKey = "someIrrelevantKey"; when(releaseMessageService.findLatestReleaseMessageForMessages(Lists.newArrayList(someKey))).thenReturn (someReleaseMessage); when(releaseService.findLatestActiveRelease(someAppId, someClusterName, someNamespaceName)).thenReturn (someRelease); when(someReleaseMessage.getId()).thenReturn(someNotificationId); Release release = configServiceWithCache.findLatestActiveRelease(someAppId, someClusterName, someNamespaceName, someNotificationMessages); Release stillOldRelease = configServiceWithCache.findLatestActiveRelease(someAppId, someClusterName, someNamespaceName, someNotificationMessages); someNotificationMessages.put(someIrrelevantKey, someNewNotificationId); Release shouldStillBeOldRelease = configServiceWithCache.findLatestActiveRelease(someAppId, someClusterName, someNamespaceName, someNotificationMessages); assertEquals(someRelease, release); assertEquals(someRelease, stillOldRelease); assertEquals(someRelease, shouldStillBeOldRelease); verify(releaseMessageService, times(1)).findLatestReleaseMessageForMessages(Lists.newArrayList(someKey)); verify(releaseService, times(1)).findLatestActiveRelease(someAppId, someClusterName, someNamespaceName); } }
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.apollo.biz.message.Topics; import com.ctrip.framework.apollo.biz.service.ReleaseMessageService; import com.ctrip.framework.apollo.biz.service.ReleaseService; import com.ctrip.framework.apollo.biz.utils.ReleaseMessageKeyGenerator; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.Mock; import org.mockito.junit.MockitoJUnitRunner; import org.springframework.test.util.ReflectionTestUtils; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNull; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; /** * @author Jason Song([email protected]) */ @RunWith(MockitoJUnitRunner.class) public class ConfigServiceWithCacheTest { private ConfigServiceWithCache configServiceWithCache; @Mock private ReleaseService releaseService; @Mock private ReleaseMessageService releaseMessageService; @Mock private Release someRelease; @Mock private ReleaseMessage someReleaseMessage; private String someAppId; private String someClusterName; private String someNamespaceName; private String someKey; private long someNotificationId; private ApolloNotificationMessages someNotificationMessages; @Before public void setUp() throws Exception { configServiceWithCache = new ConfigServiceWithCache(); ReflectionTestUtils.setField(configServiceWithCache, "releaseService", releaseService); ReflectionTestUtils.setField(configServiceWithCache, "releaseMessageService", releaseMessageService); configServiceWithCache.initialize(); someAppId = "someAppId"; someClusterName = "someClusterName"; someNamespaceName = "someNamespaceName"; someNotificationId = 1; someKey = ReleaseMessageKeyGenerator.generate(someAppId, someClusterName, someNamespaceName); someNotificationMessages = new ApolloNotificationMessages(); } @Test public void testFindActiveOne() throws Exception { long someId = 1; when(releaseService.findActiveOne(someId)).thenReturn(someRelease); assertEquals(someRelease, configServiceWithCache.findActiveOne(someId, someNotificationMessages)); verify(releaseService, times(1)).findActiveOne(someId); } @Test public void testFindActiveOneWithSameIdMultipleTimes() throws Exception { long someId = 1; when(releaseService.findActiveOne(someId)).thenReturn(someRelease); assertEquals(someRelease, configServiceWithCache.findActiveOne(someId, someNotificationMessages)); assertEquals(someRelease, configServiceWithCache.findActiveOne(someId, someNotificationMessages)); assertEquals(someRelease, configServiceWithCache.findActiveOne(someId, someNotificationMessages)); verify(releaseService, times(1)).findActiveOne(someId); } @Test public void testFindActiveOneWithMultipleIdMultipleTimes() throws Exception { long someId = 1; long anotherId = 2; Release anotherRelease = mock(Release.class); when(releaseService.findActiveOne(someId)).thenReturn(someRelease); when(releaseService.findActiveOne(anotherId)).thenReturn(anotherRelease); assertEquals(someRelease, configServiceWithCache.findActiveOne(someId, someNotificationMessages)); assertEquals(someRelease, configServiceWithCache.findActiveOne(someId, someNotificationMessages)); assertEquals(anotherRelease, configServiceWithCache.findActiveOne(anotherId, someNotificationMessages)); assertEquals(anotherRelease, configServiceWithCache.findActiveOne(anotherId, someNotificationMessages)); verify(releaseService, times(1)).findActiveOne(someId); verify(releaseService, times(1)).findActiveOne(anotherId); } @Test public void testFindActiveOneWithReleaseNotFoundMultipleTimes() throws Exception { long someId = 1; when(releaseService.findActiveOne(someId)).thenReturn(null); assertNull(configServiceWithCache.findActiveOne(someId, someNotificationMessages)); assertNull(configServiceWithCache.findActiveOne(someId, someNotificationMessages)); assertNull(configServiceWithCache.findActiveOne(someId, someNotificationMessages)); verify(releaseService, times(1)).findActiveOne(someId); } @Test public void testFindLatestActiveRelease() throws Exception { when(releaseMessageService.findLatestReleaseMessageForMessages(Lists.newArrayList(someKey))).thenReturn (someReleaseMessage); when(releaseService.findLatestActiveRelease(someAppId, someClusterName, someNamespaceName)).thenReturn (someRelease); when(someReleaseMessage.getId()).thenReturn(someNotificationId); Release release = configServiceWithCache.findLatestActiveRelease(someAppId, someClusterName, someNamespaceName, someNotificationMessages); Release anotherRelease = configServiceWithCache.findLatestActiveRelease(someAppId, someClusterName, someNamespaceName, someNotificationMessages); int retryTimes = 100; for (int i = 0; i < retryTimes; i++) { configServiceWithCache.findLatestActiveRelease(someAppId, someClusterName, someNamespaceName, someNotificationMessages); } assertEquals(someRelease, release); assertEquals(someRelease, anotherRelease); verify(releaseMessageService, times(1)).findLatestReleaseMessageForMessages(Lists.newArrayList(someKey)); verify(releaseService, times(1)).findLatestActiveRelease(someAppId, someClusterName, someNamespaceName); } @Test public void testFindLatestActiveReleaseWithReleaseNotFound() throws Exception { when(releaseMessageService.findLatestReleaseMessageForMessages(Lists.newArrayList(someKey))).thenReturn(null); when(releaseService.findLatestActiveRelease(someAppId, someClusterName, someNamespaceName)).thenReturn(null); Release release = configServiceWithCache.findLatestActiveRelease(someAppId, someClusterName, someNamespaceName, someNotificationMessages); Release anotherRelease = configServiceWithCache.findLatestActiveRelease(someAppId, someClusterName, someNamespaceName, someNotificationMessages); int retryTimes = 100; for (int i = 0; i < retryTimes; i++) { configServiceWithCache.findLatestActiveRelease(someAppId, someClusterName, someNamespaceName, someNotificationMessages); } assertNull(release); assertNull(anotherRelease); verify(releaseMessageService, times(1)).findLatestReleaseMessageForMessages(Lists.newArrayList(someKey)); verify(releaseService, times(1)).findLatestActiveRelease(someAppId, someClusterName, someNamespaceName); } @Test public void testFindLatestActiveReleaseWithDirtyRelease() throws Exception { long someNewNotificationId = someNotificationId + 1; ReleaseMessage anotherReleaseMessage = mock(ReleaseMessage.class); Release anotherRelease = mock(Release.class); when(releaseMessageService.findLatestReleaseMessageForMessages(Lists.newArrayList(someKey))).thenReturn (someReleaseMessage); when(releaseService.findLatestActiveRelease(someAppId, someClusterName, someNamespaceName)).thenReturn (someRelease); when(someReleaseMessage.getId()).thenReturn(someNotificationId); Release release = configServiceWithCache.findLatestActiveRelease(someAppId, someClusterName, someNamespaceName, someNotificationMessages); when(releaseMessageService.findLatestReleaseMessageForMessages(Lists.newArrayList(someKey))).thenReturn (anotherReleaseMessage); when(releaseService.findLatestActiveRelease(someAppId, someClusterName, someNamespaceName)).thenReturn (anotherRelease); when(anotherReleaseMessage.getId()).thenReturn(someNewNotificationId); Release stillOldRelease = configServiceWithCache.findLatestActiveRelease(someAppId, someClusterName, someNamespaceName, someNotificationMessages); someNotificationMessages.put(someKey, someNewNotificationId); Release shouldBeNewRelease = configServiceWithCache.findLatestActiveRelease(someAppId, someClusterName, someNamespaceName, someNotificationMessages); assertEquals(someRelease, release); assertEquals(someRelease, stillOldRelease); assertEquals(anotherRelease, shouldBeNewRelease); verify(releaseMessageService, times(2)).findLatestReleaseMessageForMessages(Lists.newArrayList(someKey)); verify(releaseService, times(2)).findLatestActiveRelease(someAppId, someClusterName, someNamespaceName); } @Test public void testFindLatestActiveReleaseWithReleaseMessageNotification() throws Exception { long someNewNotificationId = someNotificationId + 1; ReleaseMessage anotherReleaseMessage = mock(ReleaseMessage.class); Release anotherRelease = mock(Release.class); when(releaseMessageService.findLatestReleaseMessageForMessages(Lists.newArrayList(someKey))).thenReturn (someReleaseMessage); when(releaseService.findLatestActiveRelease(someAppId, someClusterName, someNamespaceName)).thenReturn (someRelease); when(someReleaseMessage.getId()).thenReturn(someNotificationId); Release release = configServiceWithCache.findLatestActiveRelease(someAppId, someClusterName, someNamespaceName, someNotificationMessages); when(releaseMessageService.findLatestReleaseMessageForMessages(Lists.newArrayList(someKey))).thenReturn (anotherReleaseMessage); when(releaseService.findLatestActiveRelease(someAppId, someClusterName, someNamespaceName)).thenReturn (anotherRelease); when(anotherReleaseMessage.getMessage()).thenReturn(someKey); when(anotherReleaseMessage.getId()).thenReturn(someNewNotificationId); Release stillOldRelease = configServiceWithCache.findLatestActiveRelease(someAppId, someClusterName, someNamespaceName, someNotificationMessages); configServiceWithCache.handleMessage(anotherReleaseMessage, Topics.APOLLO_RELEASE_TOPIC); Release shouldBeNewRelease = configServiceWithCache.findLatestActiveRelease(someAppId, someClusterName, someNamespaceName, someNotificationMessages); assertEquals(someRelease, release); assertEquals(someRelease, stillOldRelease); assertEquals(anotherRelease, shouldBeNewRelease); verify(releaseMessageService, times(2)).findLatestReleaseMessageForMessages(Lists.newArrayList(someKey)); verify(releaseService, times(2)).findLatestActiveRelease(someAppId, someClusterName, someNamespaceName); } @Test public void testFindLatestActiveReleaseWithIrrelevantMessages() throws Exception { long someNewNotificationId = someNotificationId + 1; String someIrrelevantKey = "someIrrelevantKey"; when(releaseMessageService.findLatestReleaseMessageForMessages(Lists.newArrayList(someKey))).thenReturn (someReleaseMessage); when(releaseService.findLatestActiveRelease(someAppId, someClusterName, someNamespaceName)).thenReturn (someRelease); when(someReleaseMessage.getId()).thenReturn(someNotificationId); Release release = configServiceWithCache.findLatestActiveRelease(someAppId, someClusterName, someNamespaceName, someNotificationMessages); Release stillOldRelease = configServiceWithCache.findLatestActiveRelease(someAppId, someClusterName, someNamespaceName, someNotificationMessages); someNotificationMessages.put(someIrrelevantKey, someNewNotificationId); Release shouldStillBeOldRelease = configServiceWithCache.findLatestActiveRelease(someAppId, someClusterName, someNamespaceName, someNotificationMessages); assertEquals(someRelease, release); assertEquals(someRelease, stillOldRelease); assertEquals(someRelease, shouldStillBeOldRelease); verify(releaseMessageService, times(1)).findLatestReleaseMessageForMessages(Lists.newArrayList(someKey)); verify(releaseService, times(1)).findLatestActiveRelease(someAppId, someClusterName, someNamespaceName); } }
-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.FavoriteRepository; import org.junit.Assert; import org.junit.Before; import org.junit.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.PageRequest; import org.springframework.test.context.jdbc.Sql; import java.util.List; public class FavoriteServiceTest extends AbstractIntegrationTest { @Autowired private FavoriteService favoriteService; @Autowired private FavoriteRepository favoriteRepository; private String testUser = "apollo"; @Before public void before() { } @Test @Sql(scripts = "/sql/cleanup.sql", executionPhase = Sql.ExecutionPhase.AFTER_TEST_METHOD) public void testAddNormalFavorite() { String testApp = "testApp"; Favorite favorite = instanceOfFavorite(testUser, testApp); favoriteService.addFavorite(favorite); List<Favorite> createdFavorites = favoriteService.search(testUser, testApp, PageRequest.of(0, 10)); Assert.assertEquals(1, createdFavorites.size()); Assert.assertEquals(FavoriteService.POSITION_DEFAULT, createdFavorites.get(0).getPosition()); Assert.assertEquals(testUser, createdFavorites.get(0).getUserId()); Assert.assertEquals(testApp, createdFavorites.get(0).getAppId()); } @Test(expected = BadRequestException.class) @Sql(scripts = "/sql/cleanup.sql", executionPhase = Sql.ExecutionPhase.AFTER_TEST_METHOD) public void testAddFavoriteErrorUser() { String testApp = "testApp"; Favorite favorite = instanceOfFavorite("errorUser", testApp); favoriteService.addFavorite(favorite); } @Test @Sql(scripts = "/sql/favorites/favorites.sql", executionPhase = Sql.ExecutionPhase.BEFORE_TEST_METHOD) @Sql(scripts = "/sql/cleanup.sql", executionPhase = Sql.ExecutionPhase.AFTER_TEST_METHOD) public void testSearchByUserId() { List<Favorite> favorites = favoriteService.search(testUser, null, PageRequest.of(0, 10)); Assert.assertEquals(4, favorites.size()); } @Test @Sql(scripts = "/sql/favorites/favorites.sql", executionPhase = Sql.ExecutionPhase.BEFORE_TEST_METHOD) @Sql(scripts = "/sql/cleanup.sql", executionPhase = Sql.ExecutionPhase.AFTER_TEST_METHOD) public void testSearchByAppId() { List<Favorite> favorites = favoriteService.search(null, "test0621-04", PageRequest.of(0, 10)); Assert.assertEquals(3, favorites.size()); } @Test @Sql(scripts = "/sql/favorites/favorites.sql", executionPhase = Sql.ExecutionPhase.BEFORE_TEST_METHOD) @Sql(scripts = "/sql/cleanup.sql", executionPhase = Sql.ExecutionPhase.AFTER_TEST_METHOD) public void testSearchByAppIdAndUserId() { List<Favorite> favorites = favoriteService.search(testUser, "test0621-04", PageRequest.of(0, 10)); Assert.assertEquals(1, favorites.size()); } @Test(expected = BadRequestException.class) @Sql(scripts = "/sql/favorites/favorites.sql", executionPhase = Sql.ExecutionPhase.BEFORE_TEST_METHOD) @Sql(scripts = "/sql/cleanup.sql", executionPhase = Sql.ExecutionPhase.AFTER_TEST_METHOD) public void testSearchWithErrorParams() { favoriteService.search(null, null, PageRequest.of(0, 10)); } @Test @Sql(scripts = "/sql/favorites/favorites.sql", executionPhase = Sql.ExecutionPhase.BEFORE_TEST_METHOD) @Sql(scripts = "/sql/cleanup.sql", executionPhase = Sql.ExecutionPhase.AFTER_TEST_METHOD) public void testDeleteFavorite() { long legalFavoriteId = 21L; favoriteService.deleteFavorite(legalFavoriteId); Assert.assertNull(favoriteRepository.findById(legalFavoriteId).orElse(null)); } @Test(expected = BadRequestException.class) @Sql(scripts = "/sql/favorites/favorites.sql", executionPhase = Sql.ExecutionPhase.BEFORE_TEST_METHOD) @Sql(scripts = "/sql/cleanup.sql", executionPhase = Sql.ExecutionPhase.AFTER_TEST_METHOD) public void testDeleteFavoriteFail() { long anotherPersonFavoriteId = 23L; favoriteService.deleteFavorite(anotherPersonFavoriteId); Assert.assertNull(favoriteRepository.findById(anotherPersonFavoriteId).orElse(null)); } @Test(expected = BadRequestException.class) @Sql(scripts = "/sql/favorites/favorites.sql", executionPhase = Sql.ExecutionPhase.BEFORE_TEST_METHOD) @Sql(scripts = "/sql/cleanup.sql", executionPhase = Sql.ExecutionPhase.AFTER_TEST_METHOD) public void testAdjustFavoriteError() { long anotherPersonFavoriteId = 23; favoriteService.adjustFavoriteToFirst(anotherPersonFavoriteId); } @Test @Sql(scripts = "/sql/favorites/favorites.sql", executionPhase = Sql.ExecutionPhase.BEFORE_TEST_METHOD) @Sql(scripts = "/sql/cleanup.sql", executionPhase = Sql.ExecutionPhase.AFTER_TEST_METHOD) public void testAdjustFavorite() { long toAdjustFavoriteId = 20; favoriteService.adjustFavoriteToFirst(toAdjustFavoriteId); List<Favorite> favorites = favoriteService.search(testUser, null, PageRequest.of(0, 10)); Favorite firstFavorite = favorites.get(0); Favorite secondFavorite = favorites.get(1); Assert.assertEquals(toAdjustFavoriteId, firstFavorite.getId()); Assert.assertEquals(firstFavorite.getPosition() + 1, secondFavorite.getPosition()); } private Favorite instanceOfFavorite(String userId, String appId) { Favorite favorite = new Favorite(); favorite.setAppId(appId); favorite.setUserId(userId); favorite.setDataChangeCreatedBy(userId); favorite.setDataChangeLastModifiedBy(userId); return favorite; } }
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.FavoriteRepository; import org.junit.Assert; import org.junit.Before; import org.junit.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.PageRequest; import org.springframework.test.context.jdbc.Sql; import java.util.List; public class FavoriteServiceTest extends AbstractIntegrationTest { @Autowired private FavoriteService favoriteService; @Autowired private FavoriteRepository favoriteRepository; private String testUser = "apollo"; @Before public void before() { } @Test @Sql(scripts = "/sql/cleanup.sql", executionPhase = Sql.ExecutionPhase.AFTER_TEST_METHOD) public void testAddNormalFavorite() { String testApp = "testApp"; Favorite favorite = instanceOfFavorite(testUser, testApp); favoriteService.addFavorite(favorite); List<Favorite> createdFavorites = favoriteService.search(testUser, testApp, PageRequest.of(0, 10)); Assert.assertEquals(1, createdFavorites.size()); Assert.assertEquals(FavoriteService.POSITION_DEFAULT, createdFavorites.get(0).getPosition()); Assert.assertEquals(testUser, createdFavorites.get(0).getUserId()); Assert.assertEquals(testApp, createdFavorites.get(0).getAppId()); } @Test(expected = BadRequestException.class) @Sql(scripts = "/sql/cleanup.sql", executionPhase = Sql.ExecutionPhase.AFTER_TEST_METHOD) public void testAddFavoriteErrorUser() { String testApp = "testApp"; Favorite favorite = instanceOfFavorite("errorUser", testApp); favoriteService.addFavorite(favorite); } @Test @Sql(scripts = "/sql/favorites/favorites.sql", executionPhase = Sql.ExecutionPhase.BEFORE_TEST_METHOD) @Sql(scripts = "/sql/cleanup.sql", executionPhase = Sql.ExecutionPhase.AFTER_TEST_METHOD) public void testSearchByUserId() { List<Favorite> favorites = favoriteService.search(testUser, null, PageRequest.of(0, 10)); Assert.assertEquals(4, favorites.size()); } @Test @Sql(scripts = "/sql/favorites/favorites.sql", executionPhase = Sql.ExecutionPhase.BEFORE_TEST_METHOD) @Sql(scripts = "/sql/cleanup.sql", executionPhase = Sql.ExecutionPhase.AFTER_TEST_METHOD) public void testSearchByAppId() { List<Favorite> favorites = favoriteService.search(null, "test0621-04", PageRequest.of(0, 10)); Assert.assertEquals(3, favorites.size()); } @Test @Sql(scripts = "/sql/favorites/favorites.sql", executionPhase = Sql.ExecutionPhase.BEFORE_TEST_METHOD) @Sql(scripts = "/sql/cleanup.sql", executionPhase = Sql.ExecutionPhase.AFTER_TEST_METHOD) public void testSearchByAppIdAndUserId() { List<Favorite> favorites = favoriteService.search(testUser, "test0621-04", PageRequest.of(0, 10)); Assert.assertEquals(1, favorites.size()); } @Test(expected = BadRequestException.class) @Sql(scripts = "/sql/favorites/favorites.sql", executionPhase = Sql.ExecutionPhase.BEFORE_TEST_METHOD) @Sql(scripts = "/sql/cleanup.sql", executionPhase = Sql.ExecutionPhase.AFTER_TEST_METHOD) public void testSearchWithErrorParams() { favoriteService.search(null, null, PageRequest.of(0, 10)); } @Test @Sql(scripts = "/sql/favorites/favorites.sql", executionPhase = Sql.ExecutionPhase.BEFORE_TEST_METHOD) @Sql(scripts = "/sql/cleanup.sql", executionPhase = Sql.ExecutionPhase.AFTER_TEST_METHOD) public void testDeleteFavorite() { long legalFavoriteId = 21L; favoriteService.deleteFavorite(legalFavoriteId); Assert.assertNull(favoriteRepository.findById(legalFavoriteId).orElse(null)); } @Test(expected = BadRequestException.class) @Sql(scripts = "/sql/favorites/favorites.sql", executionPhase = Sql.ExecutionPhase.BEFORE_TEST_METHOD) @Sql(scripts = "/sql/cleanup.sql", executionPhase = Sql.ExecutionPhase.AFTER_TEST_METHOD) public void testDeleteFavoriteFail() { long anotherPersonFavoriteId = 23L; favoriteService.deleteFavorite(anotherPersonFavoriteId); Assert.assertNull(favoriteRepository.findById(anotherPersonFavoriteId).orElse(null)); } @Test(expected = BadRequestException.class) @Sql(scripts = "/sql/favorites/favorites.sql", executionPhase = Sql.ExecutionPhase.BEFORE_TEST_METHOD) @Sql(scripts = "/sql/cleanup.sql", executionPhase = Sql.ExecutionPhase.AFTER_TEST_METHOD) public void testAdjustFavoriteError() { long anotherPersonFavoriteId = 23; favoriteService.adjustFavoriteToFirst(anotherPersonFavoriteId); } @Test @Sql(scripts = "/sql/favorites/favorites.sql", executionPhase = Sql.ExecutionPhase.BEFORE_TEST_METHOD) @Sql(scripts = "/sql/cleanup.sql", executionPhase = Sql.ExecutionPhase.AFTER_TEST_METHOD) public void testAdjustFavorite() { long toAdjustFavoriteId = 20; favoriteService.adjustFavoriteToFirst(toAdjustFavoriteId); List<Favorite> favorites = favoriteService.search(testUser, null, PageRequest.of(0, 10)); Favorite firstFavorite = favorites.get(0); Favorite secondFavorite = favorites.get(1); Assert.assertEquals(toAdjustFavoriteId, firstFavorite.getId()); Assert.assertEquals(firstFavorite.getPosition() + 1, secondFavorite.getPosition()); } private Favorite instanceOfFavorite(String userId, String appId) { Favorite favorite = new Favorite(); favorite.setAppId(appId); favorite.setUserId(userId); favorite.setDataChangeCreatedBy(userId); favorite.setDataChangeLastModifiedBy(userId); return favorite; } }
-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 String getAppId() { return appId; } public void setAppId(String appId) { this.appId = appId; } public String getClusterName() { return clusterName; } public void setClusterName(String clusterName) { this.clusterName = clusterName; } public String getNamespaceName() { return namespaceName; } public void setNamespaceName(String namespaceName) { this.namespaceName = namespaceName; } public String getBranchName() { return branchName; } public void setBranchName(String branchName) { this.branchName = branchName; } public Set<OpenGrayReleaseRuleItemDTO> getRuleItems() { return ruleItems; } public void setRuleItems(Set<OpenGrayReleaseRuleItemDTO> ruleItems) { this.ruleItems = ruleItems; } }
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 String getAppId() { return appId; } public void setAppId(String appId) { this.appId = appId; } public String getClusterName() { return clusterName; } public void setClusterName(String clusterName) { this.clusterName = clusterName; } public String getNamespaceName() { return namespaceName; } public void setNamespaceName(String namespaceName) { this.namespaceName = namespaceName; } public String getBranchName() { return branchName; } public void setBranchName(String branchName) { this.branchName = branchName; } public Set<OpenGrayReleaseRuleItemDTO> getRuleItems() { return ruleItems; } public void setRuleItems(Set<OpenGrayReleaseRuleItemDTO> ruleItems) { this.ruleItems = ruleItems; } }
-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([email protected]) */ public abstract class PlainTextConfigFile extends AbstractConfigFile { public PlainTextConfigFile(String namespace, ConfigRepository configRepository) { super(namespace, configRepository); } @Override public String getContent() { if (!this.hasContent()) { return null; } return m_configProperties.get().getProperty(ConfigConsts.CONFIG_FILE_CONTENT_KEY); } @Override public boolean hasContent() { if (m_configProperties.get() == null) { return false; } return m_configProperties.get().containsKey(ConfigConsts.CONFIG_FILE_CONTENT_KEY); } @Override protected void update(Properties newProperties) { m_configProperties.set(newProperties); } }
package com.ctrip.framework.apollo.internals; import com.ctrip.framework.apollo.core.ConfigConsts; import java.util.Properties; /** * @author Jason Song([email protected]) */ public abstract class PlainTextConfigFile extends AbstractConfigFile { public PlainTextConfigFile(String namespace, ConfigRepository configRepository) { super(namespace, configRepository); } @Override public String getContent() { if (!this.hasContent()) { return null; } return m_configProperties.get().getProperty(ConfigConsts.CONFIG_FILE_CONTENT_KEY); } @Override public boolean hasContent() { if (m_configProperties.get() == null) { return false; } return m_configProperties.get().containsKey(ConfigConsts.CONFIG_FILE_CONTENT_KEY); } @Override protected void update(Properties newProperties) { m_configProperties.set(newProperties); } }
-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; import static org.junit.Assert.assertEquals; import static org.mockito.Mockito.*; /** * @author Jason Song([email protected]) */ @RunWith(MockitoJUnitRunner.class) public class ConsumerAuthUtilTest { private ConsumerAuthUtil consumerAuthUtil; @Mock private ConsumerService consumerService; @Mock private HttpServletRequest request; @Before public void setUp() throws Exception { consumerAuthUtil = new ConsumerAuthUtil(consumerService); } @Test public void testGetConsumerId() throws Exception { String someToken = "someToken"; Long someConsumerId = 1L; when(consumerService.getConsumerIdByToken(someToken)).thenReturn(someConsumerId); assertEquals(someConsumerId, consumerAuthUtil.getConsumerId(someToken)); verify(consumerService, times(1)).getConsumerIdByToken(someToken); } @Test public void testStoreConsumerId() throws Exception { long someConsumerId = 1L; consumerAuthUtil.storeConsumerId(request, someConsumerId); verify(request, times(1)).setAttribute(ConsumerAuthUtil.CONSUMER_ID, someConsumerId); } @Test public void testRetrieveConsumerId() throws Exception { long someConsumerId = 1; when(request.getAttribute(ConsumerAuthUtil.CONSUMER_ID)).thenReturn(someConsumerId); assertEquals(someConsumerId, consumerAuthUtil.retrieveConsumerId(request)); verify(request, times(1)).getAttribute(ConsumerAuthUtil.CONSUMER_ID); } @Test(expected = IllegalStateException.class) public void testRetrieveConsumerIdWithConsumerIdNotSet() throws Exception { consumerAuthUtil.retrieveConsumerId(request); } @Test(expected = IllegalStateException.class) public void testRetrieveConsumerIdWithConsumerIdInvalid() throws Exception { String someInvalidConsumerId = "abc"; when(request.getAttribute(ConsumerAuthUtil.CONSUMER_ID)).thenReturn(someInvalidConsumerId); consumerAuthUtil.retrieveConsumerId(request); } }
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; import static org.junit.Assert.assertEquals; import static org.mockito.Mockito.*; /** * @author Jason Song([email protected]) */ @RunWith(MockitoJUnitRunner.class) public class ConsumerAuthUtilTest { private ConsumerAuthUtil consumerAuthUtil; @Mock private ConsumerService consumerService; @Mock private HttpServletRequest request; @Before public void setUp() throws Exception { consumerAuthUtil = new ConsumerAuthUtil(consumerService); } @Test public void testGetConsumerId() throws Exception { String someToken = "someToken"; Long someConsumerId = 1L; when(consumerService.getConsumerIdByToken(someToken)).thenReturn(someConsumerId); assertEquals(someConsumerId, consumerAuthUtil.getConsumerId(someToken)); verify(consumerService, times(1)).getConsumerIdByToken(someToken); } @Test public void testStoreConsumerId() throws Exception { long someConsumerId = 1L; consumerAuthUtil.storeConsumerId(request, someConsumerId); verify(request, times(1)).setAttribute(ConsumerAuthUtil.CONSUMER_ID, someConsumerId); } @Test public void testRetrieveConsumerId() throws Exception { long someConsumerId = 1; when(request.getAttribute(ConsumerAuthUtil.CONSUMER_ID)).thenReturn(someConsumerId); assertEquals(someConsumerId, consumerAuthUtil.retrieveConsumerId(request)); verify(request, times(1)).getAttribute(ConsumerAuthUtil.CONSUMER_ID); } @Test(expected = IllegalStateException.class) public void testRetrieveConsumerIdWithConsumerIdNotSet() throws Exception { consumerAuthUtil.retrieveConsumerId(request); } @Test(expected = IllegalStateException.class) public void testRetrieveConsumerIdWithConsumerIdInvalid() throws Exception { String someInvalidConsumerId = "abc"; when(request.getAttribute(ConsumerAuthUtil.CONSUMER_ID)).thenReturn(someInvalidConsumerId); consumerAuthUtil.retrieveConsumerId(request); } }
-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, IsPublic) VALUES ('100003172', 'fx.apollo.admin', true); INSERT INTO AppNamespace (AppId, Name, IsPublic) VALUES ('100003173', 'application', false); INSERT INTO AppNamespace (AppId, Name, IsPublic) VALUES ('100003173', 'fx.apollo.portal', true); INSERT INTO AppNamespace (AppID, Name, IsPublic) VALUES ('fxhermesproducer', 'fx.hermes.producer', true);
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, IsPublic) VALUES ('100003172', 'fx.apollo.admin', true); INSERT INTO AppNamespace (AppId, Name, IsPublic) VALUES ('100003173', 'application', false); INSERT INTO AppNamespace (AppId, Name, IsPublic) VALUES ('100003173', 'fx.apollo.portal', true); INSERT INTO AppNamespace (AppID, Name, IsPublic) VALUES ('fxhermesproducer', 'fx.hermes.producer', true);
-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.OpenAppNamespaceDTO; import org.junit.Assert; import org.junit.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.test.context.ActiveProfiles; import org.springframework.web.client.HttpClientErrorException; import static org.hamcrest.Matchers.containsString; /** * Created by kezhenxu at 2019/1/8 18:17. * * @author kezhenxu ([email protected]) */ @ActiveProfiles("skipAuthorization") public class NamespaceControllerTest extends AbstractControllerTest { @Autowired private ConsumerPermissionValidator consumerPermissionValidator; @Test public void shouldFailWhenAppNamespaceNameIsInvalid() { Assert.assertTrue(consumerPermissionValidator.hasCreateNamespacePermission(null, null)); OpenAppNamespaceDTO dto = new OpenAppNamespaceDTO(); dto.setAppId("appId"); dto.setName("invalid name"); dto.setFormat(ConfigFileFormat.Properties.getValue()); dto.setDataChangeCreatedBy("apollo"); try { restTemplate.postForEntity( url("/openapi/v1/apps/{appId}/appnamespaces"), dto, OpenAppNamespaceDTO.class, dto.getAppId() ); Assert.fail("should throw"); } catch (HttpClientErrorException e) { String result = e.getResponseBodyAsString(); Assert.assertThat(result, containsString(InputValidator.INVALID_CLUSTER_NAMESPACE_MESSAGE)); Assert.assertThat(result, containsString(InputValidator.INVALID_NAMESPACE_NAMESPACE_MESSAGE)); } } }
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.OpenAppNamespaceDTO; import org.junit.Assert; import org.junit.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.test.context.ActiveProfiles; import org.springframework.web.client.HttpClientErrorException; import static org.hamcrest.Matchers.containsString; /** * Created by kezhenxu at 2019/1/8 18:17. * * @author kezhenxu ([email protected]) */ @ActiveProfiles("skipAuthorization") public class NamespaceControllerTest extends AbstractControllerTest { @Autowired private ConsumerPermissionValidator consumerPermissionValidator; @Test public void shouldFailWhenAppNamespaceNameIsInvalid() { Assert.assertTrue(consumerPermissionValidator.hasCreateNamespacePermission(null, null)); OpenAppNamespaceDTO dto = new OpenAppNamespaceDTO(); dto.setAppId("appId"); dto.setName("invalid name"); dto.setFormat(ConfigFileFormat.Properties.getValue()); dto.setDataChangeCreatedBy("apollo"); try { restTemplate.postForEntity( url("/openapi/v1/apps/{appId}/appnamespaces"), dto, OpenAppNamespaceDTO.class, dto.getAppId() ); Assert.fail("should throw"); } catch (HttpClientErrorException e) { String result = e.getResponseBodyAsString(); Assert.assertThat(result, containsString(InputValidator.INVALID_CLUSTER_NAMESPACE_MESSAGE)); Assert.assertThat(result, containsString(InputValidator.INVALID_NAMESPACE_NAMESPACE_MESSAGE)); } } }
-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.config.ConfigService; import com.ctrip.framework.apollo.configservice.util.InstanceConfigAuditUtil; import com.ctrip.framework.apollo.configservice.util.NamespaceUtil; import com.ctrip.framework.apollo.core.ConfigConsts; import com.ctrip.framework.apollo.core.dto.ApolloConfig; import com.ctrip.framework.apollo.core.dto.ApolloNotificationMessages; import com.ctrip.framework.apollo.tracer.Tracer; import com.google.common.base.Splitter; import com.google.common.base.Strings; import com.google.common.collect.Lists; import com.google.common.collect.Maps; import com.google.gson.Gson; import com.google.gson.reflect.TypeToken; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RestController; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException; import java.lang.reflect.Type; import java.util.List; import java.util.Map; import java.util.Objects; import java.util.stream.Collectors; /** * @author Jason Song([email protected]) */ @RestController @RequestMapping("/configs") public class ConfigController { private static final Splitter X_FORWARDED_FOR_SPLITTER = Splitter.on(",").omitEmptyStrings() .trimResults(); private final ConfigService configService; private final AppNamespaceServiceWithCache appNamespaceService; private final NamespaceUtil namespaceUtil; private final InstanceConfigAuditUtil instanceConfigAuditUtil; private final Gson gson; private static final Type configurationTypeReference = new TypeToken<Map<String, String>>() { }.getType(); public ConfigController( final ConfigService configService, final AppNamespaceServiceWithCache appNamespaceService, final NamespaceUtil namespaceUtil, final InstanceConfigAuditUtil instanceConfigAuditUtil, final Gson gson) { this.configService = configService; this.appNamespaceService = appNamespaceService; this.namespaceUtil = namespaceUtil; this.instanceConfigAuditUtil = instanceConfigAuditUtil; this.gson = gson; } @GetMapping(value = "/{appId}/{clusterName}/{namespace:.+}") public ApolloConfig queryConfig(@PathVariable String appId, @PathVariable String clusterName, @PathVariable String namespace, @RequestParam(value = "dataCenter", required = false) String dataCenter, @RequestParam(value = "releaseKey", defaultValue = "-1") String clientSideReleaseKey, @RequestParam(value = "ip", required = false) String clientIp, @RequestParam(value = "messages", required = false) String messagesAsString, HttpServletRequest request, HttpServletResponse response) throws IOException { String originalNamespace = namespace; //strip out .properties suffix namespace = namespaceUtil.filterNamespaceName(namespace); //fix the character case issue, such as FX.apollo <-> fx.apollo namespace = namespaceUtil.normalizeNamespace(appId, namespace); if (Strings.isNullOrEmpty(clientIp)) { clientIp = tryToGetClientIp(request); } ApolloNotificationMessages clientMessages = transformMessages(messagesAsString); List<Release> releases = Lists.newLinkedList(); String appClusterNameLoaded = clusterName; if (!ConfigConsts.NO_APPID_PLACEHOLDER.equalsIgnoreCase(appId)) { Release currentAppRelease = configService.loadConfig(appId, clientIp, appId, clusterName, namespace, dataCenter, clientMessages); if (currentAppRelease != null) { releases.add(currentAppRelease); //we have cluster search process, so the cluster name might be overridden appClusterNameLoaded = currentAppRelease.getClusterName(); } } //if namespace does not belong to this appId, should check if there is a public configuration if (!namespaceBelongsToAppId(appId, namespace)) { Release publicRelease = this.findPublicConfig(appId, clientIp, clusterName, namespace, dataCenter, clientMessages); if (!Objects.isNull(publicRelease)) { releases.add(publicRelease); } } if (releases.isEmpty()) { response.sendError(HttpServletResponse.SC_NOT_FOUND, String.format( "Could not load configurations with appId: %s, clusterName: %s, namespace: %s", appId, clusterName, originalNamespace)); Tracer.logEvent("Apollo.Config.NotFound", assembleKey(appId, clusterName, originalNamespace, dataCenter)); return null; } auditReleases(appId, clusterName, dataCenter, clientIp, releases); String mergedReleaseKey = releases.stream().map(Release::getReleaseKey) .collect(Collectors.joining(ConfigConsts.CLUSTER_NAMESPACE_SEPARATOR)); if (mergedReleaseKey.equals(clientSideReleaseKey)) { // Client side configuration is the same with server side, return 304 response.setStatus(HttpServletResponse.SC_NOT_MODIFIED); Tracer.logEvent("Apollo.Config.NotModified", assembleKey(appId, appClusterNameLoaded, originalNamespace, dataCenter)); return null; } ApolloConfig apolloConfig = new ApolloConfig(appId, appClusterNameLoaded, originalNamespace, mergedReleaseKey); apolloConfig.setConfigurations(mergeReleaseConfigurations(releases)); Tracer.logEvent("Apollo.Config.Found", assembleKey(appId, appClusterNameLoaded, originalNamespace, dataCenter)); return apolloConfig; } private boolean namespaceBelongsToAppId(String appId, String namespaceName) { //Every app has an 'application' namespace if (Objects.equals(ConfigConsts.NAMESPACE_APPLICATION, namespaceName)) { return true; } //if no appId is present, then no other namespace belongs to it if (ConfigConsts.NO_APPID_PLACEHOLDER.equalsIgnoreCase(appId)) { return false; } AppNamespace appNamespace = appNamespaceService.findByAppIdAndNamespace(appId, namespaceName); return appNamespace != null; } /** * @param clientAppId the application which uses public config * @param namespace the namespace * @param dataCenter the datacenter */ private Release findPublicConfig(String clientAppId, String clientIp, String clusterName, String namespace, String dataCenter, ApolloNotificationMessages clientMessages) { AppNamespace appNamespace = appNamespaceService.findPublicNamespaceByName(namespace); //check whether the namespace's appId equals to current one if (Objects.isNull(appNamespace) || Objects.equals(clientAppId, appNamespace.getAppId())) { return null; } String publicConfigAppId = appNamespace.getAppId(); return configService.loadConfig(clientAppId, clientIp, publicConfigAppId, clusterName, namespace, dataCenter, clientMessages); } /** * Merge configurations of releases. * Release in lower index override those in higher index */ Map<String, String> mergeReleaseConfigurations(List<Release> releases) { Map<String, String> result = Maps.newLinkedHashMap(); for (Release release : Lists.reverse(releases)) { result.putAll(gson.fromJson(release.getConfigurations(), configurationTypeReference)); } return result; } private String assembleKey(String appId, String cluster, String namespace, String dataCenter) { List<String> keyParts = Lists.newArrayList(appId, cluster, namespace); if (!Strings.isNullOrEmpty(dataCenter)) { keyParts.add(dataCenter); } return String.join(ConfigConsts.CLUSTER_NAMESPACE_SEPARATOR, keyParts); } private void auditReleases(String appId, String cluster, String dataCenter, String clientIp, List<Release> releases) { if (Strings.isNullOrEmpty(clientIp)) { //no need to audit instance config when there is no ip return; } for (Release release : releases) { instanceConfigAuditUtil.audit(appId, cluster, dataCenter, clientIp, release.getAppId(), release.getClusterName(), release.getNamespaceName(), release.getReleaseKey()); } } private String tryToGetClientIp(HttpServletRequest request) { String forwardedFor = request.getHeader("X-FORWARDED-FOR"); if (!Strings.isNullOrEmpty(forwardedFor)) { return X_FORWARDED_FOR_SPLITTER.splitToList(forwardedFor).get(0); } return request.getRemoteAddr(); } ApolloNotificationMessages transformMessages(String messagesAsString) { ApolloNotificationMessages notificationMessages = null; if (!Strings.isNullOrEmpty(messagesAsString)) { try { notificationMessages = gson.fromJson(messagesAsString, ApolloNotificationMessages.class); } catch (Throwable ex) { Tracer.logError(ex); } } return notificationMessages; } }
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.config.ConfigService; import com.ctrip.framework.apollo.configservice.util.InstanceConfigAuditUtil; import com.ctrip.framework.apollo.configservice.util.NamespaceUtil; import com.ctrip.framework.apollo.core.ConfigConsts; import com.ctrip.framework.apollo.core.dto.ApolloConfig; import com.ctrip.framework.apollo.core.dto.ApolloNotificationMessages; import com.ctrip.framework.apollo.tracer.Tracer; import com.google.common.base.Splitter; import com.google.common.base.Strings; import com.google.common.collect.Lists; import com.google.common.collect.Maps; import com.google.gson.Gson; import com.google.gson.reflect.TypeToken; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RestController; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException; import java.lang.reflect.Type; import java.util.List; import java.util.Map; import java.util.Objects; import java.util.stream.Collectors; /** * @author Jason Song([email protected]) */ @RestController @RequestMapping("/configs") public class ConfigController { private static final Splitter X_FORWARDED_FOR_SPLITTER = Splitter.on(",").omitEmptyStrings() .trimResults(); private final ConfigService configService; private final AppNamespaceServiceWithCache appNamespaceService; private final NamespaceUtil namespaceUtil; private final InstanceConfigAuditUtil instanceConfigAuditUtil; private final Gson gson; private static final Type configurationTypeReference = new TypeToken<Map<String, String>>() { }.getType(); public ConfigController( final ConfigService configService, final AppNamespaceServiceWithCache appNamespaceService, final NamespaceUtil namespaceUtil, final InstanceConfigAuditUtil instanceConfigAuditUtil, final Gson gson) { this.configService = configService; this.appNamespaceService = appNamespaceService; this.namespaceUtil = namespaceUtil; this.instanceConfigAuditUtil = instanceConfigAuditUtil; this.gson = gson; } @GetMapping(value = "/{appId}/{clusterName}/{namespace:.+}") public ApolloConfig queryConfig(@PathVariable String appId, @PathVariable String clusterName, @PathVariable String namespace, @RequestParam(value = "dataCenter", required = false) String dataCenter, @RequestParam(value = "releaseKey", defaultValue = "-1") String clientSideReleaseKey, @RequestParam(value = "ip", required = false) String clientIp, @RequestParam(value = "messages", required = false) String messagesAsString, HttpServletRequest request, HttpServletResponse response) throws IOException { String originalNamespace = namespace; //strip out .properties suffix namespace = namespaceUtil.filterNamespaceName(namespace); //fix the character case issue, such as FX.apollo <-> fx.apollo namespace = namespaceUtil.normalizeNamespace(appId, namespace); if (Strings.isNullOrEmpty(clientIp)) { clientIp = tryToGetClientIp(request); } ApolloNotificationMessages clientMessages = transformMessages(messagesAsString); List<Release> releases = Lists.newLinkedList(); String appClusterNameLoaded = clusterName; if (!ConfigConsts.NO_APPID_PLACEHOLDER.equalsIgnoreCase(appId)) { Release currentAppRelease = configService.loadConfig(appId, clientIp, appId, clusterName, namespace, dataCenter, clientMessages); if (currentAppRelease != null) { releases.add(currentAppRelease); //we have cluster search process, so the cluster name might be overridden appClusterNameLoaded = currentAppRelease.getClusterName(); } } //if namespace does not belong to this appId, should check if there is a public configuration if (!namespaceBelongsToAppId(appId, namespace)) { Release publicRelease = this.findPublicConfig(appId, clientIp, clusterName, namespace, dataCenter, clientMessages); if (!Objects.isNull(publicRelease)) { releases.add(publicRelease); } } if (releases.isEmpty()) { response.sendError(HttpServletResponse.SC_NOT_FOUND, String.format( "Could not load configurations with appId: %s, clusterName: %s, namespace: %s", appId, clusterName, originalNamespace)); Tracer.logEvent("Apollo.Config.NotFound", assembleKey(appId, clusterName, originalNamespace, dataCenter)); return null; } auditReleases(appId, clusterName, dataCenter, clientIp, releases); String mergedReleaseKey = releases.stream().map(Release::getReleaseKey) .collect(Collectors.joining(ConfigConsts.CLUSTER_NAMESPACE_SEPARATOR)); if (mergedReleaseKey.equals(clientSideReleaseKey)) { // Client side configuration is the same with server side, return 304 response.setStatus(HttpServletResponse.SC_NOT_MODIFIED); Tracer.logEvent("Apollo.Config.NotModified", assembleKey(appId, appClusterNameLoaded, originalNamespace, dataCenter)); return null; } ApolloConfig apolloConfig = new ApolloConfig(appId, appClusterNameLoaded, originalNamespace, mergedReleaseKey); apolloConfig.setConfigurations(mergeReleaseConfigurations(releases)); Tracer.logEvent("Apollo.Config.Found", assembleKey(appId, appClusterNameLoaded, originalNamespace, dataCenter)); return apolloConfig; } private boolean namespaceBelongsToAppId(String appId, String namespaceName) { //Every app has an 'application' namespace if (Objects.equals(ConfigConsts.NAMESPACE_APPLICATION, namespaceName)) { return true; } //if no appId is present, then no other namespace belongs to it if (ConfigConsts.NO_APPID_PLACEHOLDER.equalsIgnoreCase(appId)) { return false; } AppNamespace appNamespace = appNamespaceService.findByAppIdAndNamespace(appId, namespaceName); return appNamespace != null; } /** * @param clientAppId the application which uses public config * @param namespace the namespace * @param dataCenter the datacenter */ private Release findPublicConfig(String clientAppId, String clientIp, String clusterName, String namespace, String dataCenter, ApolloNotificationMessages clientMessages) { AppNamespace appNamespace = appNamespaceService.findPublicNamespaceByName(namespace); //check whether the namespace's appId equals to current one if (Objects.isNull(appNamespace) || Objects.equals(clientAppId, appNamespace.getAppId())) { return null; } String publicConfigAppId = appNamespace.getAppId(); return configService.loadConfig(clientAppId, clientIp, publicConfigAppId, clusterName, namespace, dataCenter, clientMessages); } /** * Merge configurations of releases. * Release in lower index override those in higher index */ Map<String, String> mergeReleaseConfigurations(List<Release> releases) { Map<String, String> result = Maps.newLinkedHashMap(); for (Release release : Lists.reverse(releases)) { result.putAll(gson.fromJson(release.getConfigurations(), configurationTypeReference)); } return result; } private String assembleKey(String appId, String cluster, String namespace, String dataCenter) { List<String> keyParts = Lists.newArrayList(appId, cluster, namespace); if (!Strings.isNullOrEmpty(dataCenter)) { keyParts.add(dataCenter); } return String.join(ConfigConsts.CLUSTER_NAMESPACE_SEPARATOR, keyParts); } private void auditReleases(String appId, String cluster, String dataCenter, String clientIp, List<Release> releases) { if (Strings.isNullOrEmpty(clientIp)) { //no need to audit instance config when there is no ip return; } for (Release release : releases) { instanceConfigAuditUtil.audit(appId, cluster, dataCenter, clientIp, release.getAppId(), release.getClusterName(), release.getNamespaceName(), release.getReleaseKey()); } } private String tryToGetClientIp(HttpServletRequest request) { String forwardedFor = request.getHeader("X-FORWARDED-FOR"); if (!Strings.isNullOrEmpty(forwardedFor)) { return X_FORWARDED_FOR_SPLITTER.splitToList(forwardedFor).get(0); } return request.getRemoteAddr(); } ApolloNotificationMessages transformMessages(String messagesAsString) { ApolloNotificationMessages notificationMessages = null; if (!Strings.isNullOrEmpty(messagesAsString)) { try { notificationMessages = gson.fromJson(messagesAsString, ApolloNotificationMessages.class); } catch (Throwable ex) { Tracer.logError(ex); } } return notificationMessages; } }
-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 commit message file. # # To enable this hook, rename this file to "commit-msg". # Uncomment the below to add a Signed-off-by line to the message. # Doing this in a hook is a bad idea in general, but the prepare-commit-msg # hook is more suited to it. # # SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') # grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1" # This example catches duplicate Signed-off-by lines. test "" = "$(grep '^Signed-off-by: ' "$1" | sort | uniq -c | sed -e '/^[ ]*1[ ]/d')" || { echo >&2 Duplicate Signed-off-by lines. exit 1 }
#!/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 commit message file. # # To enable this hook, rename this file to "commit-msg". # Uncomment the below to add a Signed-off-by line to the message. # Doing this in a hook is a bad idea in general, but the prepare-commit-msg # hook is more suited to it. # # SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') # grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1" # This example catches duplicate Signed-off-by lines. test "" = "$(grep '^Signed-off-by: ' "$1" | sort | uniq -c | sed -e '/^[ ]*1[ ]/d')" || { echo >&2 Duplicate Signed-off-by lines. exit 1 }
-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 ProfileHT̤ZBޑN5A: %A (""X**EւX- , Xxyߜo|on=G(LeHd\QLS4n%017=>EqxZ!ˋMK禠|3\(M:C8(Eh(YY=3'$ QG=ZgfrQ eS/@eGnr>F))|eщfDÉ.Ld#%Y< 4) " tdkV+aA̒9fp;tnQsα8)e9g9IK$l Ǧ{qߓ=9 !s[2Is$u8HsS)q9H!B/CRJ 3\%$`ɳDONd};~X3@Flnl?>!邞X&[51b>{3g bkBTݷH|-F vt_(kZuHGЖ2gkгM@h=`vf 3ڱ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=O5 hz;? ZìZXWׯ+>1N f3su5d,ثgux)ٝzY]>t}tWeB=ڰqb&+<^ǽcc2z_h뵨nKl m5c/@@@}54چe*>lh PE]oN~nVRƾo@{lb銷wܣ(*千 n'j+,k{EXg2Uۯ68"951||Zr.QzZ h'F]%KN iwkݣRgSg>ɫIQ]Iƞnc:ic~G~)vHWj9|VVV*vطԯ_+   eÛHQ71r bڽy̯ƍIXa%| |R%| YE٣7k,,jY?iڥmH֘3J6-8iucq6йU߾gך;݊,CB..bU_[#o뼋    pyz\庈֏j]wCҙaE4sOop&f$]isk͗m3bi B~\@@@ ]V^ C=)r   g8,2g;    =Ip'=M@@@H¡p@@@@' ɽ    )@8t`   $¡nx/Z3Q   =NWG unQC@@$*"i@@@@ Car    @$ EӠ/    @ @@@@H A_@@@@0 !   $@8IO    a  38C@@@"Ip(}A@@@,@8fp.   DP$=    YP>}tԩ0w!9߿    =U_MMM=޹/+    SD/PCCD=/Rrݿdb#   @stWqi}:U@'NsR6zp_# {D@@zlACgb{O۷  '}!  g ܝ-d\$^@@@z9!?@@@zY'] -    ;zs@@@@Op?@@@@ ϭ#   C    Xp?|n@@@ o@@@Cs        @/ [G@@@@@@@zP/~:    @8    Ћz@@@@!@@@@^,@8ԋ>   7   bqNI' ;>}h5~EEE#@@@@+sCn0tZEШ+D<SNI_|qDC' y;B@@ 3r+`h!Ы B^u,   @8g);,::hptpX@@@ 9JS=u!?sm]   \ ֛    &@8taN   H¡X)@@@@.̉@@@@)@8#+7   \Ѕ9q    #zc@@@@  0'B@@@zP|    paCQ    @ ꑏB@@@.LCM_T1} )G!   t;Zt,9pNphO>JI~r/OnПJ?Yʞ|q,    pXq=RswC_=޾/7za֗_鷫_߶錆؀    <蓪/9utk'Zs)5oВ^{{O۱߽D6?GҼ;S[)9 ~{Cگ:Mw ->ctB|J=\]yՇ[:3zx@lz|~ :#؊   S gs;4-}-vԆU so_+k4{tv]XmK$Z@2qy(!q-HO^*5I#-9HWy{6Ti bRԠX5oPɾ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r-o{p(Xnٹ^ovbë/Sn׋lW U"`ظOcP ے ~\5&1^a}-i{C!`=O5 hz;? ZìZXWׯ+>1N f3su5d,ثgux)ٝzY]>t}tWeB=ڰqb&+<^ǽcc2z_h뵨nKl m5c/@@@}54چe*>lh PE]oN~nVRƾo@{lb銷wܣ(*千 n'j+,k{EXg2Uۯ68"951||Zr.QzZ h'F]%KN iwkݣRgSg>ɫIQ]Iƞnc:ic~G~)vHWj9|VVV*vطԯ_+   eÛHQ71r bڽy̯ƍIXa%| |R%| YE٣7k,,jY?iڥmH֘3J6-8iucq6йU߾gך;݊,CB..bU_[#o뼋    pyz\庈֏j]wCҙaE4sOop&f$]isk͗m3bi B~\@@@ ]V^ C=)r   g8,2g;    =Ip'=M@@@H¡p@@@@' ɽ    )@8t`   $¡nx/Z3Q   =NWG unQC@@$*"i@@@@ Car    @$ EӠ/    @ @@@@H A_@@@@0 !   $@8IO    a  38C@@@"Ip(}A@@@,@8fp.   DP$=    YP>}tԩ0w!9߿    =U_MMM=޹/+    SD/PCCD=/Rrݿdb#   @stWqi}:U@'NsR6zp_# {D@@zlACgb{O۷  '}!  g ܝ-d\$^@@@z9!?@@@zY'] -    ;zs@@@@Op?@@@@ ϭ#   C    Xp?|n@@@ o@@@Cs        @/ [G@@@@@@@zP/~:    @8    Ћz@@@@!@@@@^,@8ԋ>   7   bqNI' ;>}h5~EEE#@@@@+sCn0tZEШ+D<SNI_|qDC' y;B@@ 3r+`h!Ы B^u,   @8g);,::hptpX@@@ 9JS=u!?sm]   \ ֛    &@8taN   H¡X)@@@@.̉@@@@)@8#+7   \Ѕ9q    #zc@@@@  0'B@@@zP|    paCQ    @ ꑏB@@@.LCM_T1} )G!   t;Zt,9pNphO>JI~r/OnПJ?Yʞ|q,    pXq=RswC_=޾/7za֗_鷫_߶錆؀    <蓪/9utk'Zs)5oВ^{{O۱߽D6?GҼ;S[)9 ~{Cگ:Mw ->ctB|J=\]yՇ[:3zx@lz|~ :#؊   S gs;4-}-vԆU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yv~\rˊ2=Ҁ*MЏ^)6dL/Yn    \1nsO>rCA]t| ~lˆM8il|Le'؛":Uu*}/YUn}{}NV }_'HQ}p.фl2*x;qLYHtވʪܪ!QBo/ky?mZH;B~ګ҆Ui㧇Tw  _]AGmپrvGEG{{Hk)T~FMp߇SumZkw';:XY w[@/UYuJ{1T=7rTjVQՇbUBr5B@@@!{inozcG'!Bؔ7wg{^lb/d6@\ c>6GoZ,{cEN)2J9ZZz<6sp sU[2fOUu"=uT P6QV;ppڛ-`YN 뜢th־x߭i}_Zek?LCFe*W-heLʋ,+ߴ~{&ޛ&)svFfڏ{Gʂji:77<S3jP^eVrꎹs9B@@@@+ XCsc3Gh̘1߸[9s{o'kixbr{8>>\Wiʰr6~a=g,2r~_k~BSZm|lZwMEa_!B"iR8TqPQ (~qPtPppJ5`{c1U?9Ц${81݈{wQ+q\3foݍ/SS1~<x<WSP28_^:3c1Y<OTtgE+?̽ť1֚枕t@/) SiQ}cWH}8|z\:{sMLGڝtjhH{[uFխgk]jx^';n۠ @ @@U<ͽikϞ^ 2fN \hı#)oޥp5?B:ֲֵ^4[˷-~GџhjQ8ŧ @\OqȐvrьgϬd _ih<m (3Qk @~mܐ%[tEi՛[ԁK @ljZvN=̡ͪf붸 @ @,)3ܝBC `l @ @`6Іuoa @ @,Pb @ @@¡O @ @,Pb @ @@¡O @ @,Pb @ @@¡O @ @,Pb @ @@¡O @ @,Pb @ @@¡O @ @,Pb @ @@¡O @ @,Pb @ @@n @ @*/ ] @ @n+TN @(Y@8T @ ) TN @(Y@8T @ ) TN @(Y@8T @ ) TN @(Y@8T @ ) TN @(Y;̦IENDB`
-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 licenses this file @REM to you under the Apache License, Version 2.0 (the @REM "License"); you may not use this file except in compliance @REM with the License. You may obtain a copy of the License at @REM @REM http://www.apache.org/licenses/LICENSE-2.0 @REM @REM Unless required by applicable law or agreed to in writing, @REM software distributed under the License is distributed on an @REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY @REM KIND, either express or implied. See the License for the @REM specific language governing permissions and limitations @REM under the License. @REM ---------------------------------------------------------------------------- @REM ---------------------------------------------------------------------------- @REM Maven2 Start Up Batch script @REM @REM Required ENV vars: @REM JAVA_HOME - location of a JDK home dir @REM @REM Optional ENV vars @REM M2_HOME - location of maven2's installed home dir @REM MAVEN_BATCH_ECHO - set to 'on' to enable the echoing of the batch commands @REM MAVEN_BATCH_PAUSE - set to 'on' to wait for a key stroke before ending @REM MAVEN_OPTS - parameters passed to the Java VM when running Maven @REM e.g. to debug Maven itself, use @REM set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 @REM MAVEN_SKIP_RC - flag to disable loading of mavenrc files @REM ---------------------------------------------------------------------------- @REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on' @echo off @REM set title of command window title %0 @REM enable echoing my setting MAVEN_BATCH_ECHO to 'on' @if "%MAVEN_BATCH_ECHO%" == "on" echo %MAVEN_BATCH_ECHO% @REM set %HOME% to equivalent of $HOME if "%HOME%" == "" (set "HOME=%HOMEDRIVE%%HOMEPATH%") @REM Execute a user defined script before this one if not "%MAVEN_SKIP_RC%" == "" goto skipRcPre @REM check for pre script, once with legacy .bat ending and once with .cmd ending if exist "%HOME%\mavenrc_pre.bat" call "%HOME%\mavenrc_pre.bat" if exist "%HOME%\mavenrc_pre.cmd" call "%HOME%\mavenrc_pre.cmd" :skipRcPre @setlocal set ERROR_CODE=0 @REM To isolate internal variables from possible post scripts, we use another setlocal @setlocal @REM ==== START VALIDATION ==== if not "%JAVA_HOME%" == "" goto OkJHome echo. echo Error: JAVA_HOME not found in your environment. >&2 echo Please set the JAVA_HOME variable in your environment to match the >&2 echo location of your Java installation. >&2 echo. goto error :OkJHome if exist "%JAVA_HOME%\bin\java.exe" goto init echo. echo Error: JAVA_HOME is set to an invalid directory. >&2 echo JAVA_HOME = "%JAVA_HOME%" >&2 echo Please set the JAVA_HOME variable in your environment to match the >&2 echo location of your Java installation. >&2 echo. goto error @REM ==== END VALIDATION ==== :init @REM Find the project base dir, i.e. the directory that contains the folder ".mvn". @REM Fallback to current working directory if not found. set MAVEN_PROJECTBASEDIR=%MAVEN_BASEDIR% IF NOT "%MAVEN_PROJECTBASEDIR%"=="" goto endDetectBaseDir set EXEC_DIR=%CD% set WDIR=%EXEC_DIR% :findBaseDir IF EXIST "%WDIR%"\.mvn goto baseDirFound cd .. IF "%WDIR%"=="%CD%" goto baseDirNotFound set WDIR=%CD% goto findBaseDir :baseDirFound set MAVEN_PROJECTBASEDIR=%WDIR% cd "%EXEC_DIR%" goto endDetectBaseDir :baseDirNotFound set MAVEN_PROJECTBASEDIR=%EXEC_DIR% cd "%EXEC_DIR%" :endDetectBaseDir IF NOT EXIST "%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config" goto endReadAdditionalConfig @setlocal EnableExtensions EnableDelayedExpansion for /F "usebackq delims=" %%a in ("%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config") do set JVM_CONFIG_MAVEN_PROPS=!JVM_CONFIG_MAVEN_PROPS! %%a @endlocal & set JVM_CONFIG_MAVEN_PROPS=%JVM_CONFIG_MAVEN_PROPS% :endReadAdditionalConfig SET MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe" set WRAPPER_JAR="%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.jar" set WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain set DOWNLOAD_URL="https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.4.2/maven-wrapper-0.4.2.jar" FOR /F "tokens=1,2 delims==" %%A IN (%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.properties) DO ( IF "%%A"=="wrapperUrl" SET DOWNLOAD_URL=%%B ) @REM Extension to allow automatically downloading the maven-wrapper.jar from Maven-central @REM This allows using the maven wrapper in projects that prohibit checking in binary data. if exist %WRAPPER_JAR% ( echo Found %WRAPPER_JAR% ) else ( echo Couldn't find %WRAPPER_JAR%, downloading it ... echo Downloading from: %DOWNLOAD_URL% powershell -Command "(New-Object Net.WebClient).DownloadFile('%DOWNLOAD_URL%', '%WRAPPER_JAR%')" echo Finished downloading %WRAPPER_JAR% ) @REM End of extension %MAVEN_JAVA_EXE% %JVM_CONFIG_MAVEN_PROPS% %MAVEN_OPTS% %MAVEN_DEBUG_OPTS% -classpath %WRAPPER_JAR% "-Dmaven.multiModuleProjectDirectory=%MAVEN_PROJECTBASEDIR%" %WRAPPER_LAUNCHER% %MAVEN_CONFIG% %* if ERRORLEVEL 1 goto error goto end :error set ERROR_CODE=1 :end @endlocal & set ERROR_CODE=%ERROR_CODE% if not "%MAVEN_SKIP_RC%" == "" goto skipRcPost @REM check for post script, once with legacy .bat ending and once with .cmd ending if exist "%HOME%\mavenrc_post.bat" call "%HOME%\mavenrc_post.bat" if exist "%HOME%\mavenrc_post.cmd" call "%HOME%\mavenrc_post.cmd" :skipRcPost @REM pause the script if MAVEN_BATCH_PAUSE is set to 'on' if "%MAVEN_BATCH_PAUSE%" == "on" pause if "%MAVEN_TERMINATE_CMD%" == "on" exit %ERROR_CODE% exit /B %ERROR_CODE%
@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 licenses this file @REM to you under the Apache License, Version 2.0 (the @REM "License"); you may not use this file except in compliance @REM with the License. You may obtain a copy of the License at @REM @REM http://www.apache.org/licenses/LICENSE-2.0 @REM @REM Unless required by applicable law or agreed to in writing, @REM software distributed under the License is distributed on an @REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY @REM KIND, either express or implied. See the License for the @REM specific language governing permissions and limitations @REM under the License. @REM ---------------------------------------------------------------------------- @REM ---------------------------------------------------------------------------- @REM Maven2 Start Up Batch script @REM @REM Required ENV vars: @REM JAVA_HOME - location of a JDK home dir @REM @REM Optional ENV vars @REM M2_HOME - location of maven2's installed home dir @REM MAVEN_BATCH_ECHO - set to 'on' to enable the echoing of the batch commands @REM MAVEN_BATCH_PAUSE - set to 'on' to wait for a key stroke before ending @REM MAVEN_OPTS - parameters passed to the Java VM when running Maven @REM e.g. to debug Maven itself, use @REM set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 @REM MAVEN_SKIP_RC - flag to disable loading of mavenrc files @REM ---------------------------------------------------------------------------- @REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on' @echo off @REM set title of command window title %0 @REM enable echoing my setting MAVEN_BATCH_ECHO to 'on' @if "%MAVEN_BATCH_ECHO%" == "on" echo %MAVEN_BATCH_ECHO% @REM set %HOME% to equivalent of $HOME if "%HOME%" == "" (set "HOME=%HOMEDRIVE%%HOMEPATH%") @REM Execute a user defined script before this one if not "%MAVEN_SKIP_RC%" == "" goto skipRcPre @REM check for pre script, once with legacy .bat ending and once with .cmd ending if exist "%HOME%\mavenrc_pre.bat" call "%HOME%\mavenrc_pre.bat" if exist "%HOME%\mavenrc_pre.cmd" call "%HOME%\mavenrc_pre.cmd" :skipRcPre @setlocal set ERROR_CODE=0 @REM To isolate internal variables from possible post scripts, we use another setlocal @setlocal @REM ==== START VALIDATION ==== if not "%JAVA_HOME%" == "" goto OkJHome echo. echo Error: JAVA_HOME not found in your environment. >&2 echo Please set the JAVA_HOME variable in your environment to match the >&2 echo location of your Java installation. >&2 echo. goto error :OkJHome if exist "%JAVA_HOME%\bin\java.exe" goto init echo. echo Error: JAVA_HOME is set to an invalid directory. >&2 echo JAVA_HOME = "%JAVA_HOME%" >&2 echo Please set the JAVA_HOME variable in your environment to match the >&2 echo location of your Java installation. >&2 echo. goto error @REM ==== END VALIDATION ==== :init @REM Find the project base dir, i.e. the directory that contains the folder ".mvn". @REM Fallback to current working directory if not found. set MAVEN_PROJECTBASEDIR=%MAVEN_BASEDIR% IF NOT "%MAVEN_PROJECTBASEDIR%"=="" goto endDetectBaseDir set EXEC_DIR=%CD% set WDIR=%EXEC_DIR% :findBaseDir IF EXIST "%WDIR%"\.mvn goto baseDirFound cd .. IF "%WDIR%"=="%CD%" goto baseDirNotFound set WDIR=%CD% goto findBaseDir :baseDirFound set MAVEN_PROJECTBASEDIR=%WDIR% cd "%EXEC_DIR%" goto endDetectBaseDir :baseDirNotFound set MAVEN_PROJECTBASEDIR=%EXEC_DIR% cd "%EXEC_DIR%" :endDetectBaseDir IF NOT EXIST "%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config" goto endReadAdditionalConfig @setlocal EnableExtensions EnableDelayedExpansion for /F "usebackq delims=" %%a in ("%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config") do set JVM_CONFIG_MAVEN_PROPS=!JVM_CONFIG_MAVEN_PROPS! %%a @endlocal & set JVM_CONFIG_MAVEN_PROPS=%JVM_CONFIG_MAVEN_PROPS% :endReadAdditionalConfig SET MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe" set WRAPPER_JAR="%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.jar" set WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain set DOWNLOAD_URL="https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.4.2/maven-wrapper-0.4.2.jar" FOR /F "tokens=1,2 delims==" %%A IN (%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.properties) DO ( IF "%%A"=="wrapperUrl" SET DOWNLOAD_URL=%%B ) @REM Extension to allow automatically downloading the maven-wrapper.jar from Maven-central @REM This allows using the maven wrapper in projects that prohibit checking in binary data. if exist %WRAPPER_JAR% ( echo Found %WRAPPER_JAR% ) else ( echo Couldn't find %WRAPPER_JAR%, downloading it ... echo Downloading from: %DOWNLOAD_URL% powershell -Command "(New-Object Net.WebClient).DownloadFile('%DOWNLOAD_URL%', '%WRAPPER_JAR%')" echo Finished downloading %WRAPPER_JAR% ) @REM End of extension %MAVEN_JAVA_EXE% %JVM_CONFIG_MAVEN_PROPS% %MAVEN_OPTS% %MAVEN_DEBUG_OPTS% -classpath %WRAPPER_JAR% "-Dmaven.multiModuleProjectDirectory=%MAVEN_PROJECTBASEDIR%" %WRAPPER_LAUNCHER% %MAVEN_CONFIG% %* if ERRORLEVEL 1 goto error goto end :error set ERROR_CODE=1 :end @endlocal & set ERROR_CODE=%ERROR_CODE% if not "%MAVEN_SKIP_RC%" == "" goto skipRcPost @REM check for post script, once with legacy .bat ending and once with .cmd ending if exist "%HOME%\mavenrc_post.bat" call "%HOME%\mavenrc_post.bat" if exist "%HOME%\mavenrc_post.cmd" call "%HOME%\mavenrc_post.cmd" :skipRcPost @REM pause the script if MAVEN_BATCH_PAUSE is set to 'on' if "%MAVEN_BATCH_PAUSE%" == "on" pause if "%MAVEN_TERMINATE_CMD%" == "on" exit %ERROR_CODE% exit /B %ERROR_CODE%
-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; import com.google.gson.Gson; import com.ctrip.framework.apollo.biz.entity.Namespace; import com.ctrip.framework.apollo.core.ConfigConsts; import com.netflix.servo.util.Strings; import org.junit.Before; import org.junit.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.test.context.jdbc.Sql; import java.lang.reflect.Type; import java.util.List; import java.util.Map; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicBoolean; import org.springframework.test.util.ReflectionTestUtils; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; /** * @author Jason Song([email protected]) */ public class ConfigFileControllerIntegrationTest extends AbstractBaseIntegrationTest { private String someAppId; private String somePublicAppId; private String someCluster; private String someNamespace; private String somePublicNamespace; private String someDC; private String someDefaultCluster; private String grayClientIp; private String nonGrayClientIp; private static final Gson GSON = new Gson(); private ExecutorService executorService; private Type mapResponseType = new TypeToken<Map<String, String>>(){}.getType(); @Autowired private AppNamespaceServiceWithCache appNamespaceServiceWithCache; @Before public void setUp() throws Exception { ReflectionTestUtils.invokeMethod(appNamespaceServiceWithCache, "reset"); someDefaultCluster = ConfigConsts.CLUSTER_NAME_DEFAULT; someAppId = "someAppId"; somePublicAppId = "somePublicAppId"; someCluster = "someCluster"; someNamespace = "someNamespace"; somePublicNamespace = "somePublicNamespace"; someDC = "someDC"; grayClientIp = "1.1.1.1"; nonGrayClientIp = "2.2.2.2"; executorService = Executors.newSingleThreadExecutor(); } @Test @Sql(scripts = "/integration-test/test-release.sql", executionPhase = Sql.ExecutionPhase.BEFORE_TEST_METHOD) @Sql(scripts = "/integration-test/cleanup.sql", executionPhase = Sql.ExecutionPhase.AFTER_TEST_METHOD) public void testQueryConfigAsProperties() throws Exception { ResponseEntity<String> response = restTemplate .getForEntity("http://{baseurl}/configfiles/{appId}/{clusterName}/{namespace}", String.class, getHostUrl(), someAppId, someCluster, someNamespace); String result = response.getBody(); assertEquals(HttpStatus.OK, response.getStatusCode()); assertTrue(result.contains("k2=v2")); } @Test @Sql(scripts = "/integration-test/test-release.sql", executionPhase = Sql.ExecutionPhase.BEFORE_TEST_METHOD) @Sql(scripts = "/integration-test/test-gray-release.sql", executionPhase = Sql.ExecutionPhase.BEFORE_TEST_METHOD) @Sql(scripts = "/integration-test/cleanup.sql", executionPhase = Sql.ExecutionPhase.AFTER_TEST_METHOD) public void testQueryConfigAsPropertiesWithGrayRelease() throws Exception { AtomicBoolean stop = new AtomicBoolean(); periodicSendMessage(executorService, assembleKey(someAppId, ConfigConsts.CLUSTER_NAME_DEFAULT, ConfigConsts.NAMESPACE_APPLICATION), stop); TimeUnit.MILLISECONDS.sleep(500); stop.set(true); ResponseEntity<String> response = restTemplate .getForEntity("http://{baseurl}/configfiles/{appId}/{clusterName}/{namespace}?ip={clientIp}", String.class, getHostUrl(), someAppId, someDefaultCluster, ConfigConsts.NAMESPACE_APPLICATION, grayClientIp); ResponseEntity<String> anotherResponse = restTemplate .getForEntity("http://{baseurl}/configfiles/{appId}/{clusterName}/{namespace}?ip={clientIp}", String.class, getHostUrl(), someAppId, someDefaultCluster, ConfigConsts.NAMESPACE_APPLICATION, nonGrayClientIp); String result = response.getBody(); String anotherResult = anotherResponse.getBody(); assertEquals(HttpStatus.OK, response.getStatusCode()); assertTrue(result.contains("k1=v1-gray")); assertEquals(HttpStatus.OK, anotherResponse.getStatusCode()); assertFalse(anotherResult.contains("k1=v1-gray")); assertTrue(anotherResult.contains("k1=v1")); } @Test @Sql(scripts = "/integration-test/test-release.sql", executionPhase = Sql.ExecutionPhase.BEFORE_TEST_METHOD) @Sql(scripts = "/integration-test/test-release-public-dc-override.sql", executionPhase = Sql.ExecutionPhase.BEFORE_TEST_METHOD) @Sql(scripts = "/integration-test/cleanup.sql", executionPhase = Sql.ExecutionPhase.AFTER_TEST_METHOD) public void testQueryPublicConfigAsProperties() throws Exception { ResponseEntity<String> response = restTemplate .getForEntity( "http://{baseurl}/configfiles/{appId}/{clusterName}/{namespace}?dataCenter={dateCenter}", String.class, getHostUrl(), someAppId, someDefaultCluster, somePublicNamespace, someDC); String result = response.getBody(); assertEquals(HttpStatus.OK, response.getStatusCode()); assertTrue(result.contains("k1=override-someDC-v1")); assertTrue(result.contains("k2=someDC-v2")); } @Test @Sql(scripts = "/integration-test/test-release.sql", executionPhase = Sql.ExecutionPhase.BEFORE_TEST_METHOD) @Sql(scripts = "/integration-test/cleanup.sql", executionPhase = Sql.ExecutionPhase.AFTER_TEST_METHOD) public void testQueryConfigAsJson() throws Exception { ResponseEntity<String> response = restTemplate .getForEntity("http://{baseurl}/configfiles/json/{appId}/{clusterName}/{namespace}", String.class, getHostUrl(), someAppId, someCluster, someNamespace); Map<String, String> configs = GSON.fromJson(response.getBody(), mapResponseType); assertEquals(HttpStatus.OK, response.getStatusCode()); assertEquals("v2", configs.get("k2")); } @Test @Sql(scripts = "/integration-test/test-release.sql", executionPhase = Sql.ExecutionPhase.BEFORE_TEST_METHOD) @Sql(scripts = "/integration-test/cleanup.sql", executionPhase = Sql.ExecutionPhase.AFTER_TEST_METHOD) public void testQueryConfigAsJsonWithIncorrectCase() throws Exception { ResponseEntity<String> response = restTemplate .getForEntity("http://{baseurl}/configfiles/json/{appId}/{clusterName}/{namespace}", String.class, getHostUrl(), someAppId, someCluster, someNamespace.toUpperCase()); Map<String, String> configs = GSON.fromJson(response.getBody(), mapResponseType); assertEquals(HttpStatus.OK, response.getStatusCode()); assertEquals("v2", configs.get("k2")); } @Test @Sql(scripts = "/integration-test/test-release.sql", executionPhase = Sql.ExecutionPhase.BEFORE_TEST_METHOD) @Sql(scripts = "/integration-test/test-release-public-dc-override.sql", executionPhase = Sql.ExecutionPhase.BEFORE_TEST_METHOD) @Sql(scripts = "/integration-test/cleanup.sql", executionPhase = Sql.ExecutionPhase.AFTER_TEST_METHOD) public void testQueryPublicConfigAsJson() throws Exception { ResponseEntity<String> response = restTemplate .getForEntity( "http://{baseurl}/configfiles/json/{appId}/{clusterName}/{namespace}?dataCenter={dateCenter}", String.class, getHostUrl(), someAppId, someDefaultCluster, somePublicNamespace, someDC); Map<String, String> configs = GSON.fromJson(response.getBody(), mapResponseType); assertEquals(HttpStatus.OK, response.getStatusCode()); assertEquals("override-someDC-v1", configs.get("k1")); assertEquals("someDC-v2", configs.get("k2")); } @Test @Sql(scripts = "/integration-test/test-release.sql", executionPhase = Sql.ExecutionPhase.BEFORE_TEST_METHOD) @Sql(scripts = "/integration-test/test-release-public-dc-override.sql", executionPhase = Sql.ExecutionPhase.BEFORE_TEST_METHOD) @Sql(scripts = "/integration-test/cleanup.sql", executionPhase = Sql.ExecutionPhase.AFTER_TEST_METHOD) public void testQueryPublicConfigAsJsonWithIncorrectCase() throws Exception { ResponseEntity<String> response = restTemplate .getForEntity( "http://{baseurl}/configfiles/json/{appId}/{clusterName}/{namespace}?dataCenter={dateCenter}", String.class, getHostUrl(), someAppId, someDefaultCluster, somePublicNamespace.toUpperCase(), someDC); Map<String, String> configs = GSON.fromJson(response.getBody(), mapResponseType); assertEquals(HttpStatus.OK, response.getStatusCode()); assertEquals("override-someDC-v1", configs.get("k1")); assertEquals("someDC-v2", configs.get("k2")); } @Test @Sql(scripts = "/integration-test/test-release.sql", executionPhase = Sql.ExecutionPhase.BEFORE_TEST_METHOD) @Sql(scripts = "/integration-test/test-release-public-default-override.sql", executionPhase = Sql.ExecutionPhase.BEFORE_TEST_METHOD) @Sql(scripts = "/integration-test/test-gray-release.sql", executionPhase = Sql.ExecutionPhase.BEFORE_TEST_METHOD) @Sql(scripts = "/integration-test/cleanup.sql", executionPhase = Sql.ExecutionPhase.AFTER_TEST_METHOD) public void testQueryPublicConfigAsJsonWithGrayRelease() throws Exception { AtomicBoolean stop = new AtomicBoolean(); periodicSendMessage(executorService, assembleKey(somePublicAppId, ConfigConsts.CLUSTER_NAME_DEFAULT, somePublicNamespace), stop); TimeUnit.MILLISECONDS.sleep(500); stop.set(true); ResponseEntity<String> response = restTemplate .getForEntity( "http://{baseurl}/configfiles/json/{appId}/{clusterName}/{namespace}?ip={clientIp}", String.class, getHostUrl(), someAppId, someDefaultCluster, somePublicNamespace, grayClientIp); ResponseEntity<String> anotherResponse = restTemplate .getForEntity( "http://{baseurl}/configfiles/json/{appId}/{clusterName}/{namespace}?ip={clientIp}", String.class, getHostUrl(), someAppId, someDefaultCluster, somePublicNamespace, nonGrayClientIp); Map<String, String> configs = GSON.fromJson(response.getBody(), mapResponseType); Map<String, String> anotherConfigs = GSON.fromJson(anotherResponse.getBody(), mapResponseType); assertEquals(HttpStatus.OK, response.getStatusCode()); assertEquals(HttpStatus.OK, anotherResponse.getStatusCode()); assertEquals("override-v1", configs.get("k1")); assertEquals("gray-v2", configs.get("k2")); assertEquals("override-v1", anotherConfigs.get("k1")); assertEquals("default-v2", anotherConfigs.get("k2")); } @Test @Sql(scripts = "/integration-test/test-release.sql", executionPhase = Sql.ExecutionPhase.BEFORE_TEST_METHOD) @Sql(scripts = "/integration-test/test-release-public-default-override.sql", executionPhase = Sql.ExecutionPhase.BEFORE_TEST_METHOD) @Sql(scripts = "/integration-test/test-gray-release.sql", executionPhase = Sql.ExecutionPhase.BEFORE_TEST_METHOD) @Sql(scripts = "/integration-test/cleanup.sql", executionPhase = Sql.ExecutionPhase.AFTER_TEST_METHOD) public void testQueryPublicConfigAsJsonWithGrayReleaseAndIncorrectCase() throws Exception { AtomicBoolean stop = new AtomicBoolean(); periodicSendMessage(executorService, assembleKey(somePublicAppId, ConfigConsts.CLUSTER_NAME_DEFAULT, somePublicNamespace), stop); TimeUnit.MILLISECONDS.sleep(500); stop.set(true); ResponseEntity<String> response = restTemplate .getForEntity( "http://{baseurl}/configfiles/json/{appId}/{clusterName}/{namespace}?ip={clientIp}", String.class, getHostUrl(), someAppId, someDefaultCluster, somePublicNamespace.toUpperCase(), grayClientIp); ResponseEntity<String> anotherResponse = restTemplate .getForEntity( "http://{baseurl}/configfiles/json/{appId}/{clusterName}/{namespace}?ip={clientIp}", String.class, getHostUrl(), someAppId, someDefaultCluster, somePublicNamespace.toUpperCase(), nonGrayClientIp); Map<String, String> configs = GSON.fromJson(response.getBody(), mapResponseType); Map<String, String> anotherConfigs = GSON.fromJson(anotherResponse.getBody(), mapResponseType); assertEquals(HttpStatus.OK, response.getStatusCode()); assertEquals(HttpStatus.OK, anotherResponse.getStatusCode()); assertEquals("override-v1", configs.get("k1")); assertEquals("gray-v2", configs.get("k2")); assertEquals("override-v1", anotherConfigs.get("k1")); assertEquals("default-v2", anotherConfigs.get("k2")); } @Test @Sql(scripts = "/integration-test/test-release.sql", executionPhase = Sql.ExecutionPhase.BEFORE_TEST_METHOD) @Sql(scripts = "/integration-test/cleanup.sql", executionPhase = Sql.ExecutionPhase.AFTER_TEST_METHOD) public void testConfigChanged() throws Exception { ResponseEntity<String> response = restTemplate .getForEntity("http://{baseurl}/configfiles/{appId}/{clusterName}/{namespace}", String.class, getHostUrl(), someAppId, someCluster, someNamespace); String result = response.getBody(); assertEquals(HttpStatus.OK, response.getStatusCode()); assertTrue(result.contains("k2=v2")); String someReleaseName = "someReleaseName"; String someReleaseComment = "someReleaseComment"; Namespace namespace = new Namespace(); namespace.setAppId(someAppId); namespace.setClusterName(someCluster); namespace.setNamespaceName(someNamespace); String someOwner = "someOwner"; Map<String, String> newConfigurations = ImmutableMap.of("k1", "v1-changed", "k2", "v2-changed"); buildRelease(someReleaseName, someReleaseComment, namespace, newConfigurations, someOwner); ResponseEntity<String> anotherResponse = restTemplate .getForEntity("http://{baseurl}/configfiles/{appId}/{clusterName}/{namespace}", String.class, getHostUrl(), someAppId, someCluster, someNamespace); assertEquals(response.getBody(), anotherResponse.getBody()); List<String> keys = Lists.newArrayList(someAppId, someCluster, someNamespace); String message = Strings.join(ConfigConsts.CLUSTER_NAMESPACE_SEPARATOR, keys.iterator()); sendReleaseMessage(message); TimeUnit.MILLISECONDS.sleep(500); ResponseEntity<String> newResponse = restTemplate .getForEntity("http://{baseurl}/configfiles/{appId}/{clusterName}/{namespace}", String.class, getHostUrl(), someAppId, someCluster, someNamespace); result = newResponse.getBody(); assertEquals(HttpStatus.OK, response.getStatusCode()); assertTrue(result.contains("k1=v1-changed")); assertTrue(result.contains("k2=v2-changed")); } private String assembleKey(String appId, String cluster, String namespace) { return Joiner.on(ConfigConsts.CLUSTER_NAMESPACE_SEPARATOR).join(appId, cluster, namespace); } }
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; import com.google.gson.Gson; import com.ctrip.framework.apollo.biz.entity.Namespace; import com.ctrip.framework.apollo.core.ConfigConsts; import com.netflix.servo.util.Strings; import org.junit.Before; import org.junit.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.test.context.jdbc.Sql; import java.lang.reflect.Type; import java.util.List; import java.util.Map; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicBoolean; import org.springframework.test.util.ReflectionTestUtils; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; /** * @author Jason Song([email protected]) */ public class ConfigFileControllerIntegrationTest extends AbstractBaseIntegrationTest { private String someAppId; private String somePublicAppId; private String someCluster; private String someNamespace; private String somePublicNamespace; private String someDC; private String someDefaultCluster; private String grayClientIp; private String nonGrayClientIp; private static final Gson GSON = new Gson(); private ExecutorService executorService; private Type mapResponseType = new TypeToken<Map<String, String>>(){}.getType(); @Autowired private AppNamespaceServiceWithCache appNamespaceServiceWithCache; @Before public void setUp() throws Exception { ReflectionTestUtils.invokeMethod(appNamespaceServiceWithCache, "reset"); someDefaultCluster = ConfigConsts.CLUSTER_NAME_DEFAULT; someAppId = "someAppId"; somePublicAppId = "somePublicAppId"; someCluster = "someCluster"; someNamespace = "someNamespace"; somePublicNamespace = "somePublicNamespace"; someDC = "someDC"; grayClientIp = "1.1.1.1"; nonGrayClientIp = "2.2.2.2"; executorService = Executors.newSingleThreadExecutor(); } @Test @Sql(scripts = "/integration-test/test-release.sql", executionPhase = Sql.ExecutionPhase.BEFORE_TEST_METHOD) @Sql(scripts = "/integration-test/cleanup.sql", executionPhase = Sql.ExecutionPhase.AFTER_TEST_METHOD) public void testQueryConfigAsProperties() throws Exception { ResponseEntity<String> response = restTemplate .getForEntity("http://{baseurl}/configfiles/{appId}/{clusterName}/{namespace}", String.class, getHostUrl(), someAppId, someCluster, someNamespace); String result = response.getBody(); assertEquals(HttpStatus.OK, response.getStatusCode()); assertTrue(result.contains("k2=v2")); } @Test @Sql(scripts = "/integration-test/test-release.sql", executionPhase = Sql.ExecutionPhase.BEFORE_TEST_METHOD) @Sql(scripts = "/integration-test/test-gray-release.sql", executionPhase = Sql.ExecutionPhase.BEFORE_TEST_METHOD) @Sql(scripts = "/integration-test/cleanup.sql", executionPhase = Sql.ExecutionPhase.AFTER_TEST_METHOD) public void testQueryConfigAsPropertiesWithGrayRelease() throws Exception { AtomicBoolean stop = new AtomicBoolean(); periodicSendMessage(executorService, assembleKey(someAppId, ConfigConsts.CLUSTER_NAME_DEFAULT, ConfigConsts.NAMESPACE_APPLICATION), stop); TimeUnit.MILLISECONDS.sleep(500); stop.set(true); ResponseEntity<String> response = restTemplate .getForEntity("http://{baseurl}/configfiles/{appId}/{clusterName}/{namespace}?ip={clientIp}", String.class, getHostUrl(), someAppId, someDefaultCluster, ConfigConsts.NAMESPACE_APPLICATION, grayClientIp); ResponseEntity<String> anotherResponse = restTemplate .getForEntity("http://{baseurl}/configfiles/{appId}/{clusterName}/{namespace}?ip={clientIp}", String.class, getHostUrl(), someAppId, someDefaultCluster, ConfigConsts.NAMESPACE_APPLICATION, nonGrayClientIp); String result = response.getBody(); String anotherResult = anotherResponse.getBody(); assertEquals(HttpStatus.OK, response.getStatusCode()); assertTrue(result.contains("k1=v1-gray")); assertEquals(HttpStatus.OK, anotherResponse.getStatusCode()); assertFalse(anotherResult.contains("k1=v1-gray")); assertTrue(anotherResult.contains("k1=v1")); } @Test @Sql(scripts = "/integration-test/test-release.sql", executionPhase = Sql.ExecutionPhase.BEFORE_TEST_METHOD) @Sql(scripts = "/integration-test/test-release-public-dc-override.sql", executionPhase = Sql.ExecutionPhase.BEFORE_TEST_METHOD) @Sql(scripts = "/integration-test/cleanup.sql", executionPhase = Sql.ExecutionPhase.AFTER_TEST_METHOD) public void testQueryPublicConfigAsProperties() throws Exception { ResponseEntity<String> response = restTemplate .getForEntity( "http://{baseurl}/configfiles/{appId}/{clusterName}/{namespace}?dataCenter={dateCenter}", String.class, getHostUrl(), someAppId, someDefaultCluster, somePublicNamespace, someDC); String result = response.getBody(); assertEquals(HttpStatus.OK, response.getStatusCode()); assertTrue(result.contains("k1=override-someDC-v1")); assertTrue(result.contains("k2=someDC-v2")); } @Test @Sql(scripts = "/integration-test/test-release.sql", executionPhase = Sql.ExecutionPhase.BEFORE_TEST_METHOD) @Sql(scripts = "/integration-test/cleanup.sql", executionPhase = Sql.ExecutionPhase.AFTER_TEST_METHOD) public void testQueryConfigAsJson() throws Exception { ResponseEntity<String> response = restTemplate .getForEntity("http://{baseurl}/configfiles/json/{appId}/{clusterName}/{namespace}", String.class, getHostUrl(), someAppId, someCluster, someNamespace); Map<String, String> configs = GSON.fromJson(response.getBody(), mapResponseType); assertEquals(HttpStatus.OK, response.getStatusCode()); assertEquals("v2", configs.get("k2")); } @Test @Sql(scripts = "/integration-test/test-release.sql", executionPhase = Sql.ExecutionPhase.BEFORE_TEST_METHOD) @Sql(scripts = "/integration-test/cleanup.sql", executionPhase = Sql.ExecutionPhase.AFTER_TEST_METHOD) public void testQueryConfigAsJsonWithIncorrectCase() throws Exception { ResponseEntity<String> response = restTemplate .getForEntity("http://{baseurl}/configfiles/json/{appId}/{clusterName}/{namespace}", String.class, getHostUrl(), someAppId, someCluster, someNamespace.toUpperCase()); Map<String, String> configs = GSON.fromJson(response.getBody(), mapResponseType); assertEquals(HttpStatus.OK, response.getStatusCode()); assertEquals("v2", configs.get("k2")); } @Test @Sql(scripts = "/integration-test/test-release.sql", executionPhase = Sql.ExecutionPhase.BEFORE_TEST_METHOD) @Sql(scripts = "/integration-test/test-release-public-dc-override.sql", executionPhase = Sql.ExecutionPhase.BEFORE_TEST_METHOD) @Sql(scripts = "/integration-test/cleanup.sql", executionPhase = Sql.ExecutionPhase.AFTER_TEST_METHOD) public void testQueryPublicConfigAsJson() throws Exception { ResponseEntity<String> response = restTemplate .getForEntity( "http://{baseurl}/configfiles/json/{appId}/{clusterName}/{namespace}?dataCenter={dateCenter}", String.class, getHostUrl(), someAppId, someDefaultCluster, somePublicNamespace, someDC); Map<String, String> configs = GSON.fromJson(response.getBody(), mapResponseType); assertEquals(HttpStatus.OK, response.getStatusCode()); assertEquals("override-someDC-v1", configs.get("k1")); assertEquals("someDC-v2", configs.get("k2")); } @Test @Sql(scripts = "/integration-test/test-release.sql", executionPhase = Sql.ExecutionPhase.BEFORE_TEST_METHOD) @Sql(scripts = "/integration-test/test-release-public-dc-override.sql", executionPhase = Sql.ExecutionPhase.BEFORE_TEST_METHOD) @Sql(scripts = "/integration-test/cleanup.sql", executionPhase = Sql.ExecutionPhase.AFTER_TEST_METHOD) public void testQueryPublicConfigAsJsonWithIncorrectCase() throws Exception { ResponseEntity<String> response = restTemplate .getForEntity( "http://{baseurl}/configfiles/json/{appId}/{clusterName}/{namespace}?dataCenter={dateCenter}", String.class, getHostUrl(), someAppId, someDefaultCluster, somePublicNamespace.toUpperCase(), someDC); Map<String, String> configs = GSON.fromJson(response.getBody(), mapResponseType); assertEquals(HttpStatus.OK, response.getStatusCode()); assertEquals("override-someDC-v1", configs.get("k1")); assertEquals("someDC-v2", configs.get("k2")); } @Test @Sql(scripts = "/integration-test/test-release.sql", executionPhase = Sql.ExecutionPhase.BEFORE_TEST_METHOD) @Sql(scripts = "/integration-test/test-release-public-default-override.sql", executionPhase = Sql.ExecutionPhase.BEFORE_TEST_METHOD) @Sql(scripts = "/integration-test/test-gray-release.sql", executionPhase = Sql.ExecutionPhase.BEFORE_TEST_METHOD) @Sql(scripts = "/integration-test/cleanup.sql", executionPhase = Sql.ExecutionPhase.AFTER_TEST_METHOD) public void testQueryPublicConfigAsJsonWithGrayRelease() throws Exception { AtomicBoolean stop = new AtomicBoolean(); periodicSendMessage(executorService, assembleKey(somePublicAppId, ConfigConsts.CLUSTER_NAME_DEFAULT, somePublicNamespace), stop); TimeUnit.MILLISECONDS.sleep(500); stop.set(true); ResponseEntity<String> response = restTemplate .getForEntity( "http://{baseurl}/configfiles/json/{appId}/{clusterName}/{namespace}?ip={clientIp}", String.class, getHostUrl(), someAppId, someDefaultCluster, somePublicNamespace, grayClientIp); ResponseEntity<String> anotherResponse = restTemplate .getForEntity( "http://{baseurl}/configfiles/json/{appId}/{clusterName}/{namespace}?ip={clientIp}", String.class, getHostUrl(), someAppId, someDefaultCluster, somePublicNamespace, nonGrayClientIp); Map<String, String> configs = GSON.fromJson(response.getBody(), mapResponseType); Map<String, String> anotherConfigs = GSON.fromJson(anotherResponse.getBody(), mapResponseType); assertEquals(HttpStatus.OK, response.getStatusCode()); assertEquals(HttpStatus.OK, anotherResponse.getStatusCode()); assertEquals("override-v1", configs.get("k1")); assertEquals("gray-v2", configs.get("k2")); assertEquals("override-v1", anotherConfigs.get("k1")); assertEquals("default-v2", anotherConfigs.get("k2")); } @Test @Sql(scripts = "/integration-test/test-release.sql", executionPhase = Sql.ExecutionPhase.BEFORE_TEST_METHOD) @Sql(scripts = "/integration-test/test-release-public-default-override.sql", executionPhase = Sql.ExecutionPhase.BEFORE_TEST_METHOD) @Sql(scripts = "/integration-test/test-gray-release.sql", executionPhase = Sql.ExecutionPhase.BEFORE_TEST_METHOD) @Sql(scripts = "/integration-test/cleanup.sql", executionPhase = Sql.ExecutionPhase.AFTER_TEST_METHOD) public void testQueryPublicConfigAsJsonWithGrayReleaseAndIncorrectCase() throws Exception { AtomicBoolean stop = new AtomicBoolean(); periodicSendMessage(executorService, assembleKey(somePublicAppId, ConfigConsts.CLUSTER_NAME_DEFAULT, somePublicNamespace), stop); TimeUnit.MILLISECONDS.sleep(500); stop.set(true); ResponseEntity<String> response = restTemplate .getForEntity( "http://{baseurl}/configfiles/json/{appId}/{clusterName}/{namespace}?ip={clientIp}", String.class, getHostUrl(), someAppId, someDefaultCluster, somePublicNamespace.toUpperCase(), grayClientIp); ResponseEntity<String> anotherResponse = restTemplate .getForEntity( "http://{baseurl}/configfiles/json/{appId}/{clusterName}/{namespace}?ip={clientIp}", String.class, getHostUrl(), someAppId, someDefaultCluster, somePublicNamespace.toUpperCase(), nonGrayClientIp); Map<String, String> configs = GSON.fromJson(response.getBody(), mapResponseType); Map<String, String> anotherConfigs = GSON.fromJson(anotherResponse.getBody(), mapResponseType); assertEquals(HttpStatus.OK, response.getStatusCode()); assertEquals(HttpStatus.OK, anotherResponse.getStatusCode()); assertEquals("override-v1", configs.get("k1")); assertEquals("gray-v2", configs.get("k2")); assertEquals("override-v1", anotherConfigs.get("k1")); assertEquals("default-v2", anotherConfigs.get("k2")); } @Test @Sql(scripts = "/integration-test/test-release.sql", executionPhase = Sql.ExecutionPhase.BEFORE_TEST_METHOD) @Sql(scripts = "/integration-test/cleanup.sql", executionPhase = Sql.ExecutionPhase.AFTER_TEST_METHOD) public void testConfigChanged() throws Exception { ResponseEntity<String> response = restTemplate .getForEntity("http://{baseurl}/configfiles/{appId}/{clusterName}/{namespace}", String.class, getHostUrl(), someAppId, someCluster, someNamespace); String result = response.getBody(); assertEquals(HttpStatus.OK, response.getStatusCode()); assertTrue(result.contains("k2=v2")); String someReleaseName = "someReleaseName"; String someReleaseComment = "someReleaseComment"; Namespace namespace = new Namespace(); namespace.setAppId(someAppId); namespace.setClusterName(someCluster); namespace.setNamespaceName(someNamespace); String someOwner = "someOwner"; Map<String, String> newConfigurations = ImmutableMap.of("k1", "v1-changed", "k2", "v2-changed"); buildRelease(someReleaseName, someReleaseComment, namespace, newConfigurations, someOwner); ResponseEntity<String> anotherResponse = restTemplate .getForEntity("http://{baseurl}/configfiles/{appId}/{clusterName}/{namespace}", String.class, getHostUrl(), someAppId, someCluster, someNamespace); assertEquals(response.getBody(), anotherResponse.getBody()); List<String> keys = Lists.newArrayList(someAppId, someCluster, someNamespace); String message = Strings.join(ConfigConsts.CLUSTER_NAMESPACE_SEPARATOR, keys.iterator()); sendReleaseMessage(message); TimeUnit.MILLISECONDS.sleep(500); ResponseEntity<String> newResponse = restTemplate .getForEntity("http://{baseurl}/configfiles/{appId}/{clusterName}/{namespace}", String.class, getHostUrl(), someAppId, someCluster, someNamespace); result = newResponse.getBody(); assertEquals(HttpStatus.OK, response.getStatusCode()); assertTrue(result.contains("k1=v1-changed")); assertTrue(result.contains("k2=v2-changed")); } private String assembleKey(String appId, String cluster, String namespace) { return Joiner.on(ConfigConsts.CLUSTER_NAMESPACE_SEPARATOR).join(appId, cluster, namespace); } }
-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  IHDRX IDATx^KVt{  h4hl@PZAK+i*Z4^(̭s' d^UTfčqDdwOi 4ِ ,O t <@h=@v pƬJH%fv .7fU@*)4۴K v1RI٦]ˍY$J 6]n̪$TRhi@rcV% D1JmjΕR'3I%5~?潠ڼξ'X!E2z1~63)FK7nԧ7*f8Ruן+ݼ\ocԅ27g_>NbHQ~4\ɨٛ﷎{21M~;(ы1a? Wmp\m|>=:^ dckw޳HbKm=Lg뢁:& V/NS|&K( VוQ>Z_R? $"1^D2x%k1 HĢ(Xf`^Hw뒧<4>L 0}%C]N=j'ב2Gj*KE)Fo_& Y# i͏-_ VcKHwado4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$2H<쁀 8ϯ Cչ$}{8U+:8}ƇSZ}O8?佮qPq',A֟ o( 8(Mprs)H/aGn8RIw 8dpT t$Q-RCG@JCy) 8u9 8r+/7'$ 2 8ȒSFp8H)"GXYwJH@zdp(!U>kv1õzn3Hѳ8d@!c@a<pC xp}"i~y,i @,(uzjyKUwIJZ@vNHq1I$ptDpT !vdpr"J,|l$f6{uDpK/…^ r |Mu ?\' 8ԏ$@' 8$\Ȓ' 8֍$`ޮ' 8$|.' 8ԋ$B''+/oԥRz|z<r,x\~Z꧅ٟ6prUFJ&4-=ԚzfʘڹjۓɅLJ BAL ̺+"$˔@ʬ+J BAL ̺+"$˔@ʬ+J BAL ̺+"$˔@ʬ+J BAL ̺+"$˔@ʬ+J=n?0 .IENDB`
-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
./scripts/helm/README.md
# Apollo Helm Chart [Apollo](https://github.com/ctripcorp/apollo) is a reliable configuration management system. ## 1. Introduction The apollo-service and apollo-portal charts create deployments for apollo-configservice, apollo-adminservice and apollo-portal, which utilize the kubernetes native service discovery. ## 2. Prerequisites - Kubernetes 1.10+ - Helm 3 ## 3. Add Apollo Helm Chart Repository ```bash $ helm repo add apollo https://ctripcorp.github.io/apollo/charts $ helm search repo apollo ``` ## 4. Deployments of apollo-configservice and apollo-adminservice ### 4.1 Install apollo-configservice and apollo-adminservice should be installed per environment, so it is suggested to indicate environment in the release name, e.g. `apollo-service-dev` ```bash $ helm install apollo-service-dev \ --set configdb.host=1.2.3.4 \ --set configdb.userName=apollo \ --set configdb.password=apollo \ --set configdb.service.enabled=true \ --set configService.replicaCount=1 \ --set adminService.replicaCount=1 \ -n your-namespace \ apollo/apollo-service ``` Or customize it with values.yaml ```bash $ helm install apollo-service-dev -f values.yaml -n your-namespace apollo/apollo-service ``` ### 4.2 Uninstall To uninstall/delete the `apollo-service-dev` deployment: ```bash $ helm uninstall -n your-namespace apollo-service-dev ``` ### 4.3 Configuration The following table lists the configurable parameters of the apollo-service chart and their default values. | Parameter | Description | Default | |----------------------|---------------------------------------------|---------------------| | `configdb.host` | The host for apollo config db | `nil` | | `configdb.port` | The port for apollo config db | `3306` | | `configdb.dbName` | The database name for apollo config db | `ApolloConfigDB` | | `configdb.userName` | The user name for apollo config db | `nil` | | `configdb.password` | The password for apollo config db | `nil` | | `configdb.connectionStringProperties` | The connection string properties for apollo config db | `characterEncoding=utf8` | | `configdb.service.enabled` | Whether to create a Kubernetes Service for `configdb.host` or not. Set it to `true` if `configdb.host` is an endpoint outside of the kubernetes cluster | `false` | | `configdb.service.fullNameOverride` | Override the service name for apollo config db | `nil` | | `configdb.service.port` | The port for the service of apollo config db | `3306` | | `configdb.service.type` | The service type of apollo config db: `ClusterIP` or `ExternalName`. If the host is a DNS name, please specify `ExternalName` as the service type, e.g. xxx.mysql.rds.aliyuncs.com | `ClusterIP` | | `configService.fullNameOverride` | Override the deployment name for apollo-configservice | `nil` | | `configService.replicaCount` | Replica count of apollo-configservice | `2` | | `configService.containerPort` | Container port of apollo-configservice | `8080` | | `configService.image.repository` | Image repository of apollo-configservice | `apolloconfig/apollo-configservice` | | `configService.image.tag` | Image tag of apollo-configservice, e.g. `1.8.0`, leave it to `nil` to use the default version | `nil` | | `configService.image.pullPolicy` | Image pull policy of apollo-configservice | `IfNotPresent` | | `configService.imagePullSecrets` | Image pull secrets of apollo-configservice | `[]` | | `configService.service.fullNameOverride` | Override the service name for apollo-configservice | `nil` | | `configService.service.port` | The port for the service of apollo-configservice | `8080` | | `configService.service.targetPort` | The target port for the service of apollo-configservice | `8080` | | `configService.service.type` | The service type of apollo-configservice | `ClusterIP` | | `configService.ingress.enabled` | Whether to enable the ingress for config-service or not | `false` | | `configService.ingress.annotations` | The annotations of the ingress for config-service | `{}` | | `configService.ingress.hosts.host` | The host of the ingress for config-service | `nil` | | `configService.ingress.hosts.paths` | The paths of the ingress for config-service | `[]` | | `configService.ingress.tls` | The tls definition of the ingress for config-service | `[]` | | `configService.liveness.initialDelaySeconds` | The initial delay seconds of liveness probe | `100` | | `configService.liveness.periodSeconds` | The period seconds of liveness probe | `10` | | `configService.readiness.initialDelaySeconds` | The initial delay seconds of readiness probe | `30` | | `configService.readiness.periodSeconds` | The period seconds of readiness probe | `5` | | `configService.config.profiles` | specify the spring profiles to activate | `github,kubernetes` | | `configService.config.configServiceUrlOverride` | Override `apollo.config-service.url`: config service url to be accessed by apollo-client | `nil` | | `configService.config.adminServiceUrlOverride` | Override `apollo.admin-service.url`: admin service url to be accessed by apollo-portal | `nil` | | `configService.config.contextPath` | specify the context path, e.g. `/apollo`, then users could access config service via `http://{config_service_address}/apollo` | `nil` | | `configService.env` | Environment variables passed to the container, e.g. <br />`JAVA_OPTS: -Xss256k` | `{}` | | `configService.strategy` | The deployment strategy of apollo-configservice | `{}` | | `configService.resources` | The resources definition of apollo-configservice | `{}` | | `configService.nodeSelector` | The node selector definition of apollo-configservice | `{}` | | `configService.tolerations` | The tolerations definition of apollo-configservice | `[]` | | `configService.affinity` | The affinity definition of apollo-configservice | `{}` | | `adminService.fullNameOverride` | Override the deployment name for apollo-adminservice | `nil` | | `adminService.replicaCount` | Replica count of apollo-adminservice | `2` | | `adminService.containerPort` | Container port of apollo-adminservice | `8090` | | `adminService.image.repository` | Image repository of apollo-adminservice | `apolloconfig/apollo-adminservice` | | `adminService.image.tag` | Image tag of apollo-adminservice, e.g. `1.8.0`, leave it to `nil` to use the default version | `nil` | | `adminService.image.pullPolicy` | Image pull policy of apollo-adminservice | `IfNotPresent` | | `adminService.imagePullSecrets` | Image pull secrets of apollo-adminservice | `[]` | | `adminService.service.fullNameOverride` | Override the service name for apollo-adminservice | `nil` | | `adminService.service.port` | The port for the service of apollo-adminservice | `8090` | | `adminService.service.targetPort` | The target port for the service of apollo-adminservice | `8090` | | `adminService.service.type` | The service type of apollo-adminservice | `ClusterIP` | | `adminService.ingress.enabled` | Whether to enable the ingress for admin-service or not | `false` | | `adminService.ingress.annotations` | The annotations of the ingress for admin-service | `{}` | | `adminService.ingress.hosts.host` | The host of the ingress for admin-service | `nil` | | `adminService.ingress.hosts.paths` | The paths of the ingress for admin-service | `[]` | | `adminService.ingress.tls` | The tls definition of the ingress for admin-service | `[]` | | `adminService.liveness.initialDelaySeconds` | The initial delay seconds of liveness probe | `100` | | `adminService.liveness.periodSeconds` | The period seconds of liveness probe | `10` | | `adminService.readiness.initialDelaySeconds` | The initial delay seconds of readiness probe | `30` | | `adminService.readiness.periodSeconds` | The period seconds of readiness probe | `5` | | `adminService.config.profiles` | specify the spring profiles to activate | `github,kubernetes` | | `adminService.config.contextPath` | specify the context path, e.g. `/apollo`, then users could access admin service via `http://{admin_service_address}/apollo` | `nil` | | `adminService.env` | Environment variables passed to the container, e.g. <br />`JAVA_OPTS: -Xss256k` | `{}` | | `adminService.strategy` | The deployment strategy of apollo-adminservice | `{}` | | `adminService.resources` | The resources definition of apollo-adminservice | `{}` | | `adminService.nodeSelector` | The node selector definition of apollo-adminservice | `{}` | | `adminService.tolerations` | The tolerations definition of apollo-adminservice | `[]` | | `adminService.affinity` | The affinity definition of apollo-adminservice | `{}` | ### 4.4 Sample 1. ConfigDB host is an IP outside of kubernetes cluster ```yaml configdb: host: 1.2.3.4 dbName: ApolloConfigDBName userName: someUserName password: somePassword connectionStringProperties: characterEncoding=utf8&useSSL=false service: enabled: true ``` 2. ConfigDB host is a dns name outside of kubernetes cluster ```yaml configdb: host: xxx.mysql.rds.aliyuncs.com dbName: ApolloConfigDBName userName: someUserName password: somePassword connectionStringProperties: characterEncoding=utf8&useSSL=false service: enabled: true type: ExternalName ``` 3. ConfigDB host is a kubernetes service ```yaml configdb: host: apollodb-mysql.mysql dbName: ApolloConfigDBName userName: someUserName password: somePassword connectionStringProperties: characterEncoding=utf8&useSSL=false ``` 4. Expose config service as Ingress with custom path `/config` ```yaml # use /config as root, should specify configService.config.contextPath as /config configService: config: contextPath: /config ingress: enabled: true hosts: - paths: - /config ``` 5. Expose admin service as Ingress with custom path `/admin` ```yaml # use /admin as root, should specify adminService.config.contextPath as /admin adminService: config: contextPath: /admin ingress: enabled: true hosts: - paths: - /admin ``` ## 5. Deployments of apollo-portal ### 5.1 Install To install the apollo-portal chart with the release name `apollo-portal`: ```bash $ helm install apollo-portal \ --set portaldb.host=1.2.3.4 \ --set portaldb.userName=apollo \ --set portaldb.password=apollo \ --set portaldb.service.enabled=true \ --set config.envs="dev\,pro" \ --set config.metaServers.dev=http://apollo-service-dev-apollo-configservice:8080 \ --set config.metaServers.pro=http://apollo-service-pro-apollo-configservice:8080 \ --set replicaCount=1 \ -n your-namespace \ apollo/apollo-portal ``` Or customize it with values.yaml ```bash $ helm install apollo-portal -f values.yaml -n your-namespace apollo/apollo-portal ``` ### 5.2 Uninstallation To uninstall/delete the `apollo-portal` deployment: ```bash $ helm uninstall -n your-namespace apollo-portal ``` ### 5.3 Configuration The following table lists the configurable parameters of the apollo-portal chart and their default values. | Parameter | Description | Default | |----------------------|---------------------------------------------|-----------------------| | `fullNameOverride` | Override the deployment name for apollo-portal | `nil` | | `replicaCount` | Replica count of apollo-portal | `2` | | `containerPort` | Container port of apollo-portal | `8070` | | `image.repository` | Image repository of apollo-portal | `apolloconfig/apollo-portal` | | `image.tag` | Image tag of apollo-portal, e.g. `1.8.0`, leave it to `nil` to use the default version | `nil` | | `image.pullPolicy` | Image pull policy of apollo-portal | `IfNotPresent` | | `imagePullSecrets` | Image pull secrets of apollo-portal | `[]` | | `service.fullNameOverride` | Override the service name for apollo-portal | `nil` | | `service.port` | The port for the service of apollo-portal | `8070` | | `service.targetPort` | The target port for the service of apollo-portal | `8070` | | `service.type` | The service type of apollo-portal | `ClusterIP` | | `service.sessionAffinity` | The session affinity for the service of apollo-portal | `ClientIP` | | `ingress.enabled` | Whether to enable the ingress or not | `false` | | `ingress.annotations` | The annotations of the ingress | `{}` | | `ingress.hosts.host` | The host of the ingress | `nil` | | `ingress.hosts.paths` | The paths of the ingress | `[]` | | `ingress.tls` | The tls definition of the ingress | `[]` | | `liveness.initialDelaySeconds` | The initial delay seconds of liveness probe | `100` | | `liveness.periodSeconds` | The period seconds of liveness probe | `10` | | `readiness.initialDelaySeconds` | The initial delay seconds of readiness probe | `30` | | `readiness.periodSeconds` | The period seconds of readiness probe | `5` | | `env` | Environment variables passed to the container, e.g. <br />`JAVA_OPTS: -Xss256k` | `{}` | | `strategy` | The deployment strategy of apollo-portal | `{}` | | `resources` | The resources definition of apollo-portal | `{}` | | `nodeSelector` | The node selector definition of apollo-portal | `{}` | | `tolerations` | The tolerations definition of apollo-portal | `[]` | | `affinity` | The affinity definition of apollo-portal | `{}` | | `config.profiles` | specify the spring profiles to activate | `github,auth` | | `config.envs` | specify the env names, e.g. dev,pro | `nil` | | `config.contextPath` | specify the context path, e.g. `/apollo`, then users could access portal via `http://{portal_address}/apollo` | `nil` | | `config.metaServers` | specify the meta servers, e.g.<br />`dev: http://apollo-configservice-dev:8080`<br />`pro: http://apollo-configservice-pro:8080` | `{}` | | `config.files` | specify the extra config files for apollo-portal, e.g. application-ldap.yml | `{}` | | `portaldb.host` | The host for apollo portal db | `nil` | | `portaldb.port` | The port for apollo portal db | `3306` | | `portaldb.dbName` | The database name for apollo portal db | `ApolloPortalDB` | | `portaldb.userName` | The user name for apollo portal db | `nil` | | `portaldb.password` | The password for apollo portal db | `nil` | | `portaldb.connectionStringProperties` | The connection string properties for apollo portal db | `characterEncoding=utf8` | | `portaldb.service.enabled` | Whether to create a Kubernetes Service for `portaldb.host` or not. Set it to `true` if `portaldb.host` is an endpoint outside of the kubernetes cluster | `false` | | `portaldb.service.fullNameOverride` | Override the service name for apollo portal db | `nil` | | `portaldb.service.port` | The port for the service of apollo portal db | `3306` | | `portaldb.service.type` | The service type of apollo portal db: `ClusterIP` or `ExternalName`. If the host is a DNS name, please specify `ExternalName` as the service type, e.g. xxx.mysql.rds.aliyuncs.com | `ClusterIP` | ### 5.4 Sample 1. PortalDB host is an IP outside of kubernetes cluster ```yaml portaldb: host: 1.2.3.4 dbName: ApolloPortalDBName userName: someUserName password: somePassword connectionStringProperties: characterEncoding=utf8&useSSL=false service: enabled: true ``` 2. PortalDB host is a dns name outside of kubernetes cluster ```yaml portaldb: host: xxx.mysql.rds.aliyuncs.com dbName: ApolloPortalDBName userName: someUserName password: somePassword connectionStringProperties: characterEncoding=utf8&useSSL=false service: enabled: true type: ExternalName ``` 3. PortalDB host is a kubernetes service ```yaml portaldb: host: apollodb-mysql.mysql dbName: ApolloPortalDBName userName: someUserName password: somePassword connectionStringProperties: characterEncoding=utf8&useSSL=false ``` 4. Specify environments ```yaml config: envs: dev,pro metaServers: dev: http://apollo-service-dev-apollo-configservice:8080 pro: http://apollo-service-pro-apollo-configservice:8080 ``` 5. Expose service as Load Balancer ```yaml service: type: LoadBalancer ``` 6. Expose service as Ingress ```yaml ingress: enabled: true hosts: - paths: - / ``` 7. Expose service as Ingress with custom path `/apollo` ```yaml # use /apollo as root, should specify config.contextPath as /apollo ingress: enabled: true hosts: - paths: - /apollo config: ... contextPath: /apollo ... ``` 8. Expose service as Ingress with session affinity ```yaml ingress: enabled: true annotations: kubernetes.io/ingress.class: nginx nginx.ingress.kubernetes.io/affinity: "cookie" nginx.ingress.kubernetes.io/affinity-mode: "persistent" nginx.ingress.kubernetes.io/session-cookie-conditional-samesite-none: "true" nginx.ingress.kubernetes.io/session-cookie-expires: "172800" nginx.ingress.kubernetes.io/session-cookie-max-age: "172800" hosts: - host: xxx.somedomain.com # host is required to make session affinity work paths: - / ``` 9. Enable LDAP support ```yaml config: ... profiles: github,ldap ... files: application-ldap.yml: | spring: ldap: base: "dc=example,dc=org" username: "cn=admin,dc=example,dc=org" password: "password" searchFilter: "(uid={0})" urls: - "ldap://xxx.somedomain.com:389" ldap: mapping: objectClass: "inetOrgPerson" loginId: "uid" userDisplayName: "cn" email: "mail" ```
# Apollo Helm Chart [Apollo](https://github.com/ctripcorp/apollo) is a reliable configuration management system. ## 1. Introduction The apollo-service and apollo-portal charts create deployments for apollo-configservice, apollo-adminservice and apollo-portal, which utilize the kubernetes native service discovery. ## 2. Prerequisites - Kubernetes 1.10+ - Helm 3 ## 3. Add Apollo Helm Chart Repository ```bash $ helm repo add apollo https://ctripcorp.github.io/apollo/charts $ helm search repo apollo ``` ## 4. Deployments of apollo-configservice and apollo-adminservice ### 4.1 Install apollo-configservice and apollo-adminservice should be installed per environment, so it is suggested to indicate environment in the release name, e.g. `apollo-service-dev` ```bash $ helm install apollo-service-dev \ --set configdb.host=1.2.3.4 \ --set configdb.userName=apollo \ --set configdb.password=apollo \ --set configdb.service.enabled=true \ --set configService.replicaCount=1 \ --set adminService.replicaCount=1 \ -n your-namespace \ apollo/apollo-service ``` Or customize it with values.yaml ```bash $ helm install apollo-service-dev -f values.yaml -n your-namespace apollo/apollo-service ``` ### 4.2 Uninstall To uninstall/delete the `apollo-service-dev` deployment: ```bash $ helm uninstall -n your-namespace apollo-service-dev ``` ### 4.3 Configuration The following table lists the configurable parameters of the apollo-service chart and their default values. | Parameter | Description | Default | |----------------------|---------------------------------------------|---------------------| | `configdb.host` | The host for apollo config db | `nil` | | `configdb.port` | The port for apollo config db | `3306` | | `configdb.dbName` | The database name for apollo config db | `ApolloConfigDB` | | `configdb.userName` | The user name for apollo config db | `nil` | | `configdb.password` | The password for apollo config db | `nil` | | `configdb.connectionStringProperties` | The connection string properties for apollo config db | `characterEncoding=utf8` | | `configdb.service.enabled` | Whether to create a Kubernetes Service for `configdb.host` or not. Set it to `true` if `configdb.host` is an endpoint outside of the kubernetes cluster | `false` | | `configdb.service.fullNameOverride` | Override the service name for apollo config db | `nil` | | `configdb.service.port` | The port for the service of apollo config db | `3306` | | `configdb.service.type` | The service type of apollo config db: `ClusterIP` or `ExternalName`. If the host is a DNS name, please specify `ExternalName` as the service type, e.g. xxx.mysql.rds.aliyuncs.com | `ClusterIP` | | `configService.fullNameOverride` | Override the deployment name for apollo-configservice | `nil` | | `configService.replicaCount` | Replica count of apollo-configservice | `2` | | `configService.containerPort` | Container port of apollo-configservice | `8080` | | `configService.image.repository` | Image repository of apollo-configservice | `apolloconfig/apollo-configservice` | | `configService.image.tag` | Image tag of apollo-configservice, e.g. `1.8.0`, leave it to `nil` to use the default version | `nil` | | `configService.image.pullPolicy` | Image pull policy of apollo-configservice | `IfNotPresent` | | `configService.imagePullSecrets` | Image pull secrets of apollo-configservice | `[]` | | `configService.service.fullNameOverride` | Override the service name for apollo-configservice | `nil` | | `configService.service.port` | The port for the service of apollo-configservice | `8080` | | `configService.service.targetPort` | The target port for the service of apollo-configservice | `8080` | | `configService.service.type` | The service type of apollo-configservice | `ClusterIP` | | `configService.ingress.enabled` | Whether to enable the ingress for config-service or not | `false` | | `configService.ingress.annotations` | The annotations of the ingress for config-service | `{}` | | `configService.ingress.hosts.host` | The host of the ingress for config-service | `nil` | | `configService.ingress.hosts.paths` | The paths of the ingress for config-service | `[]` | | `configService.ingress.tls` | The tls definition of the ingress for config-service | `[]` | | `configService.liveness.initialDelaySeconds` | The initial delay seconds of liveness probe | `100` | | `configService.liveness.periodSeconds` | The period seconds of liveness probe | `10` | | `configService.readiness.initialDelaySeconds` | The initial delay seconds of readiness probe | `30` | | `configService.readiness.periodSeconds` | The period seconds of readiness probe | `5` | | `configService.config.profiles` | specify the spring profiles to activate | `github,kubernetes` | | `configService.config.configServiceUrlOverride` | Override `apollo.config-service.url`: config service url to be accessed by apollo-client | `nil` | | `configService.config.adminServiceUrlOverride` | Override `apollo.admin-service.url`: admin service url to be accessed by apollo-portal | `nil` | | `configService.config.contextPath` | specify the context path, e.g. `/apollo`, then users could access config service via `http://{config_service_address}/apollo` | `nil` | | `configService.env` | Environment variables passed to the container, e.g. <br />`JAVA_OPTS: -Xss256k` | `{}` | | `configService.strategy` | The deployment strategy of apollo-configservice | `{}` | | `configService.resources` | The resources definition of apollo-configservice | `{}` | | `configService.nodeSelector` | The node selector definition of apollo-configservice | `{}` | | `configService.tolerations` | The tolerations definition of apollo-configservice | `[]` | | `configService.affinity` | The affinity definition of apollo-configservice | `{}` | | `adminService.fullNameOverride` | Override the deployment name for apollo-adminservice | `nil` | | `adminService.replicaCount` | Replica count of apollo-adminservice | `2` | | `adminService.containerPort` | Container port of apollo-adminservice | `8090` | | `adminService.image.repository` | Image repository of apollo-adminservice | `apolloconfig/apollo-adminservice` | | `adminService.image.tag` | Image tag of apollo-adminservice, e.g. `1.8.0`, leave it to `nil` to use the default version | `nil` | | `adminService.image.pullPolicy` | Image pull policy of apollo-adminservice | `IfNotPresent` | | `adminService.imagePullSecrets` | Image pull secrets of apollo-adminservice | `[]` | | `adminService.service.fullNameOverride` | Override the service name for apollo-adminservice | `nil` | | `adminService.service.port` | The port for the service of apollo-adminservice | `8090` | | `adminService.service.targetPort` | The target port for the service of apollo-adminservice | `8090` | | `adminService.service.type` | The service type of apollo-adminservice | `ClusterIP` | | `adminService.ingress.enabled` | Whether to enable the ingress for admin-service or not | `false` | | `adminService.ingress.annotations` | The annotations of the ingress for admin-service | `{}` | | `adminService.ingress.hosts.host` | The host of the ingress for admin-service | `nil` | | `adminService.ingress.hosts.paths` | The paths of the ingress for admin-service | `[]` | | `adminService.ingress.tls` | The tls definition of the ingress for admin-service | `[]` | | `adminService.liveness.initialDelaySeconds` | The initial delay seconds of liveness probe | `100` | | `adminService.liveness.periodSeconds` | The period seconds of liveness probe | `10` | | `adminService.readiness.initialDelaySeconds` | The initial delay seconds of readiness probe | `30` | | `adminService.readiness.periodSeconds` | The period seconds of readiness probe | `5` | | `adminService.config.profiles` | specify the spring profiles to activate | `github,kubernetes` | | `adminService.config.contextPath` | specify the context path, e.g. `/apollo`, then users could access admin service via `http://{admin_service_address}/apollo` | `nil` | | `adminService.env` | Environment variables passed to the container, e.g. <br />`JAVA_OPTS: -Xss256k` | `{}` | | `adminService.strategy` | The deployment strategy of apollo-adminservice | `{}` | | `adminService.resources` | The resources definition of apollo-adminservice | `{}` | | `adminService.nodeSelector` | The node selector definition of apollo-adminservice | `{}` | | `adminService.tolerations` | The tolerations definition of apollo-adminservice | `[]` | | `adminService.affinity` | The affinity definition of apollo-adminservice | `{}` | ### 4.4 Sample 1. ConfigDB host is an IP outside of kubernetes cluster ```yaml configdb: host: 1.2.3.4 dbName: ApolloConfigDBName userName: someUserName password: somePassword connectionStringProperties: characterEncoding=utf8&useSSL=false service: enabled: true ``` 2. ConfigDB host is a dns name outside of kubernetes cluster ```yaml configdb: host: xxx.mysql.rds.aliyuncs.com dbName: ApolloConfigDBName userName: someUserName password: somePassword connectionStringProperties: characterEncoding=utf8&useSSL=false service: enabled: true type: ExternalName ``` 3. ConfigDB host is a kubernetes service ```yaml configdb: host: apollodb-mysql.mysql dbName: ApolloConfigDBName userName: someUserName password: somePassword connectionStringProperties: characterEncoding=utf8&useSSL=false ``` 4. Expose config service as Ingress with custom path `/config` ```yaml # use /config as root, should specify configService.config.contextPath as /config configService: config: contextPath: /config ingress: enabled: true hosts: - paths: - /config ``` 5. Expose admin service as Ingress with custom path `/admin` ```yaml # use /admin as root, should specify adminService.config.contextPath as /admin adminService: config: contextPath: /admin ingress: enabled: true hosts: - paths: - /admin ``` ## 5. Deployments of apollo-portal ### 5.1 Install To install the apollo-portal chart with the release name `apollo-portal`: ```bash $ helm install apollo-portal \ --set portaldb.host=1.2.3.4 \ --set portaldb.userName=apollo \ --set portaldb.password=apollo \ --set portaldb.service.enabled=true \ --set config.envs="dev\,pro" \ --set config.metaServers.dev=http://apollo-service-dev-apollo-configservice:8080 \ --set config.metaServers.pro=http://apollo-service-pro-apollo-configservice:8080 \ --set replicaCount=1 \ -n your-namespace \ apollo/apollo-portal ``` Or customize it with values.yaml ```bash $ helm install apollo-portal -f values.yaml -n your-namespace apollo/apollo-portal ``` ### 5.2 Uninstallation To uninstall/delete the `apollo-portal` deployment: ```bash $ helm uninstall -n your-namespace apollo-portal ``` ### 5.3 Configuration The following table lists the configurable parameters of the apollo-portal chart and their default values. | Parameter | Description | Default | |----------------------|---------------------------------------------|-----------------------| | `fullNameOverride` | Override the deployment name for apollo-portal | `nil` | | `replicaCount` | Replica count of apollo-portal | `2` | | `containerPort` | Container port of apollo-portal | `8070` | | `image.repository` | Image repository of apollo-portal | `apolloconfig/apollo-portal` | | `image.tag` | Image tag of apollo-portal, e.g. `1.8.0`, leave it to `nil` to use the default version | `nil` | | `image.pullPolicy` | Image pull policy of apollo-portal | `IfNotPresent` | | `imagePullSecrets` | Image pull secrets of apollo-portal | `[]` | | `service.fullNameOverride` | Override the service name for apollo-portal | `nil` | | `service.port` | The port for the service of apollo-portal | `8070` | | `service.targetPort` | The target port for the service of apollo-portal | `8070` | | `service.type` | The service type of apollo-portal | `ClusterIP` | | `service.sessionAffinity` | The session affinity for the service of apollo-portal | `ClientIP` | | `ingress.enabled` | Whether to enable the ingress or not | `false` | | `ingress.annotations` | The annotations of the ingress | `{}` | | `ingress.hosts.host` | The host of the ingress | `nil` | | `ingress.hosts.paths` | The paths of the ingress | `[]` | | `ingress.tls` | The tls definition of the ingress | `[]` | | `liveness.initialDelaySeconds` | The initial delay seconds of liveness probe | `100` | | `liveness.periodSeconds` | The period seconds of liveness probe | `10` | | `readiness.initialDelaySeconds` | The initial delay seconds of readiness probe | `30` | | `readiness.periodSeconds` | The period seconds of readiness probe | `5` | | `env` | Environment variables passed to the container, e.g. <br />`JAVA_OPTS: -Xss256k` | `{}` | | `strategy` | The deployment strategy of apollo-portal | `{}` | | `resources` | The resources definition of apollo-portal | `{}` | | `nodeSelector` | The node selector definition of apollo-portal | `{}` | | `tolerations` | The tolerations definition of apollo-portal | `[]` | | `affinity` | The affinity definition of apollo-portal | `{}` | | `config.profiles` | specify the spring profiles to activate | `github,auth` | | `config.envs` | specify the env names, e.g. dev,pro | `nil` | | `config.contextPath` | specify the context path, e.g. `/apollo`, then users could access portal via `http://{portal_address}/apollo` | `nil` | | `config.metaServers` | specify the meta servers, e.g.<br />`dev: http://apollo-configservice-dev:8080`<br />`pro: http://apollo-configservice-pro:8080` | `{}` | | `config.files` | specify the extra config files for apollo-portal, e.g. application-ldap.yml | `{}` | | `portaldb.host` | The host for apollo portal db | `nil` | | `portaldb.port` | The port for apollo portal db | `3306` | | `portaldb.dbName` | The database name for apollo portal db | `ApolloPortalDB` | | `portaldb.userName` | The user name for apollo portal db | `nil` | | `portaldb.password` | The password for apollo portal db | `nil` | | `portaldb.connectionStringProperties` | The connection string properties for apollo portal db | `characterEncoding=utf8` | | `portaldb.service.enabled` | Whether to create a Kubernetes Service for `portaldb.host` or not. Set it to `true` if `portaldb.host` is an endpoint outside of the kubernetes cluster | `false` | | `portaldb.service.fullNameOverride` | Override the service name for apollo portal db | `nil` | | `portaldb.service.port` | The port for the service of apollo portal db | `3306` | | `portaldb.service.type` | The service type of apollo portal db: `ClusterIP` or `ExternalName`. If the host is a DNS name, please specify `ExternalName` as the service type, e.g. xxx.mysql.rds.aliyuncs.com | `ClusterIP` | ### 5.4 Sample 1. PortalDB host is an IP outside of kubernetes cluster ```yaml portaldb: host: 1.2.3.4 dbName: ApolloPortalDBName userName: someUserName password: somePassword connectionStringProperties: characterEncoding=utf8&useSSL=false service: enabled: true ``` 2. PortalDB host is a dns name outside of kubernetes cluster ```yaml portaldb: host: xxx.mysql.rds.aliyuncs.com dbName: ApolloPortalDBName userName: someUserName password: somePassword connectionStringProperties: characterEncoding=utf8&useSSL=false service: enabled: true type: ExternalName ``` 3. PortalDB host is a kubernetes service ```yaml portaldb: host: apollodb-mysql.mysql dbName: ApolloPortalDBName userName: someUserName password: somePassword connectionStringProperties: characterEncoding=utf8&useSSL=false ``` 4. Specify environments ```yaml config: envs: dev,pro metaServers: dev: http://apollo-service-dev-apollo-configservice:8080 pro: http://apollo-service-pro-apollo-configservice:8080 ``` 5. Expose service as Load Balancer ```yaml service: type: LoadBalancer ``` 6. Expose service as Ingress ```yaml ingress: enabled: true hosts: - paths: - / ``` 7. Expose service as Ingress with custom path `/apollo` ```yaml # use /apollo as root, should specify config.contextPath as /apollo ingress: enabled: true hosts: - paths: - /apollo config: ... contextPath: /apollo ... ``` 8. Expose service as Ingress with session affinity ```yaml ingress: enabled: true annotations: kubernetes.io/ingress.class: nginx nginx.ingress.kubernetes.io/affinity: "cookie" nginx.ingress.kubernetes.io/affinity-mode: "persistent" nginx.ingress.kubernetes.io/session-cookie-conditional-samesite-none: "true" nginx.ingress.kubernetes.io/session-cookie-expires: "172800" nginx.ingress.kubernetes.io/session-cookie-max-age: "172800" hosts: - host: xxx.somedomain.com # host is required to make session affinity work paths: - / ``` 9. Enable LDAP support ```yaml config: ... profiles: github,ldap ... files: application-ldap.yml: | spring: ldap: base: "dc=example,dc=org" username: "cn=admin,dc=example,dc=org" password: "password" searchFilter: "(uid={0})" urls: - "ldap://xxx.somedomain.com:389" ldap: mapping: objectClass: "inetOrgPerson" loginId: "uid" userDisplayName: "cn" email: "mail" ```
-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/po/RolePermission.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 Song([email protected]) */ @Entity @Table(name = "RolePermission") @SQLDelete(sql = "Update RolePermission set isDeleted = 1 where id = ?") @Where(clause = "isDeleted = 0") public class RolePermission extends BaseEntity { @Column(name = "RoleId", nullable = false) private long roleId; @Column(name = "PermissionId", nullable = false) private long permissionId; public long getRoleId() { return roleId; } public void setRoleId(long roleId) { this.roleId = roleId; } public long getPermissionId() { return permissionId; } public void setPermissionId(long permissionId) { this.permissionId = permissionId; } }
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 Song([email protected]) */ @Entity @Table(name = "RolePermission") @SQLDelete(sql = "Update RolePermission set isDeleted = 1 where id = ?") @Where(clause = "isDeleted = 0") public class RolePermission extends BaseEntity { @Column(name = "RoleId", nullable = false) private long roleId; @Column(name = "PermissionId", nullable = false) private long permissionId; public long getRoleId() { return roleId; } public void setRoleId(long roleId) { this.roleId = roleId; } public long getPermissionId() { return permissionId; } public void setPermissionId(long permissionId) { this.permissionId = permissionId; } }
-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/util/ConfigToFileUtils.java
package com.ctrip.framework.apollo.portal.util; import java.io.BufferedReader; import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStream; import java.io.PrintWriter; import java.util.List; import java.util.stream.Collectors; /** * jian.tan */ public class ConfigToFileUtils { @Deprecated public static void itemsToFile(OutputStream os, List<String> items) { try { PrintWriter printWriter = new PrintWriter(os); items.forEach(printWriter::println); printWriter.close(); } catch (Exception e) { throw e; } } public static String fileToString(InputStream inputStream) { BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(inputStream)); return bufferedReader.lines().collect(Collectors.joining(System.lineSeparator())); } }
package com.ctrip.framework.apollo.portal.util; import java.io.BufferedReader; import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStream; import java.io.PrintWriter; import java.util.List; import java.util.stream.Collectors; /** * jian.tan */ public class ConfigToFileUtils { @Deprecated public static void itemsToFile(OutputStream os, List<String> items) { try { PrintWriter printWriter = new PrintWriter(os); items.forEach(printWriter::println); printWriter.close(); } catch (Exception e) { throw e; } } public static String fileToString(InputStream inputStream) { BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(inputStream)); return bufferedReader.lines().collect(Collectors.joining(System.lineSeparator())); } }
-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/defaultimpl/DefaultRoleInitializationService.java
package com.ctrip.framework.apollo.portal.spi.defaultimpl; import com.ctrip.framework.apollo.common.entity.App; import com.ctrip.framework.apollo.common.entity.BaseEntity; import com.ctrip.framework.apollo.core.ConfigConsts; import com.ctrip.framework.apollo.portal.environment.Env; import com.ctrip.framework.apollo.portal.component.config.PortalConfig; import com.ctrip.framework.apollo.portal.constant.PermissionType; import com.ctrip.framework.apollo.portal.constant.RoleType; import com.ctrip.framework.apollo.portal.entity.po.Permission; import com.ctrip.framework.apollo.portal.entity.po.Role; import com.ctrip.framework.apollo.portal.repository.PermissionRepository; import com.ctrip.framework.apollo.portal.service.RoleInitializationService; import com.ctrip.framework.apollo.portal.service.RolePermissionService; import com.ctrip.framework.apollo.portal.service.SystemRoleManagerService; import com.ctrip.framework.apollo.portal.util.RoleUtils; import com.google.common.collect.Sets; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.transaction.annotation.Transactional; import java.util.HashSet; import java.util.List; import java.util.Set; import java.util.stream.Collectors; import java.util.stream.Stream; /** * Created by timothy on 2017/4/26. */ public class DefaultRoleInitializationService implements RoleInitializationService { @Autowired private RolePermissionService rolePermissionService; @Autowired private PortalConfig portalConfig; @Autowired private PermissionRepository permissionRepository; @Transactional public void initAppRoles(App app) { String appId = app.getAppId(); String appMasterRoleName = RoleUtils.buildAppMasterRoleName(appId); //has created before if (rolePermissionService.findRoleByRoleName(appMasterRoleName) != null) { return; } String operator = app.getDataChangeCreatedBy(); //create app permissions createAppMasterRole(appId, operator); //create manageAppMaster permission createManageAppMasterRole(appId, operator); //assign master role to user rolePermissionService .assignRoleToUsers(RoleUtils.buildAppMasterRoleName(appId), Sets.newHashSet(app.getOwnerName()), operator); initNamespaceRoles(appId, ConfigConsts.NAMESPACE_APPLICATION, operator); initNamespaceEnvRoles(appId, ConfigConsts.NAMESPACE_APPLICATION, operator); //assign modify、release namespace role to user rolePermissionService.assignRoleToUsers( RoleUtils.buildNamespaceRoleName(appId, ConfigConsts.NAMESPACE_APPLICATION, RoleType.MODIFY_NAMESPACE), Sets.newHashSet(operator), operator); rolePermissionService.assignRoleToUsers( RoleUtils.buildNamespaceRoleName(appId, ConfigConsts.NAMESPACE_APPLICATION, RoleType.RELEASE_NAMESPACE), Sets.newHashSet(operator), operator); } @Transactional public void initNamespaceRoles(String appId, String namespaceName, String operator) { String modifyNamespaceRoleName = RoleUtils.buildModifyNamespaceRoleName(appId, namespaceName); if (rolePermissionService.findRoleByRoleName(modifyNamespaceRoleName) == null) { createNamespaceRole(appId, namespaceName, PermissionType.MODIFY_NAMESPACE, modifyNamespaceRoleName, operator); } String releaseNamespaceRoleName = RoleUtils.buildReleaseNamespaceRoleName(appId, namespaceName); if (rolePermissionService.findRoleByRoleName(releaseNamespaceRoleName) == null) { createNamespaceRole(appId, namespaceName, PermissionType.RELEASE_NAMESPACE, releaseNamespaceRoleName, operator); } } @Transactional public void initNamespaceEnvRoles(String appId, String namespaceName, String operator) { List<Env> portalEnvs = portalConfig.portalSupportedEnvs(); for (Env env : portalEnvs) { initNamespaceSpecificEnvRoles(appId, namespaceName, env.toString(), operator); } } @Transactional public void initNamespaceSpecificEnvRoles(String appId, String namespaceName, String env, String operator) { String modifyNamespaceEnvRoleName = RoleUtils.buildModifyNamespaceRoleName(appId, namespaceName, env); if (rolePermissionService.findRoleByRoleName(modifyNamespaceEnvRoleName) == null) { createNamespaceEnvRole(appId, namespaceName, PermissionType.MODIFY_NAMESPACE, env, modifyNamespaceEnvRoleName, operator); } String releaseNamespaceEnvRoleName = RoleUtils.buildReleaseNamespaceRoleName(appId, namespaceName, env); if (rolePermissionService.findRoleByRoleName(releaseNamespaceEnvRoleName) == null) { createNamespaceEnvRole(appId, namespaceName, PermissionType.RELEASE_NAMESPACE, env, releaseNamespaceEnvRoleName, operator); } } @Transactional public void initCreateAppRole() { if (rolePermissionService.findRoleByRoleName(SystemRoleManagerService.CREATE_APPLICATION_ROLE_NAME) != null) { return; } Permission createAppPermission = permissionRepository.findTopByPermissionTypeAndTargetId(PermissionType.CREATE_APPLICATION, SystemRoleManagerService.SYSTEM_PERMISSION_TARGET_ID); if (createAppPermission == null) { // create application permission init createAppPermission = createPermission(SystemRoleManagerService.SYSTEM_PERMISSION_TARGET_ID, PermissionType.CREATE_APPLICATION, "apollo"); rolePermissionService.createPermission(createAppPermission); } // create application role init Role createAppRole = createRole(SystemRoleManagerService.CREATE_APPLICATION_ROLE_NAME, "apollo"); rolePermissionService.createRoleWithPermissions(createAppRole, Sets.newHashSet(createAppPermission.getId())); } @Transactional private void createManageAppMasterRole(String appId, String operator) { Permission permission = createPermission(appId, PermissionType.MANAGE_APP_MASTER, operator); rolePermissionService.createPermission(permission); Role role = createRole(RoleUtils.buildAppRoleName(appId, PermissionType.MANAGE_APP_MASTER), operator); Set<Long> permissionIds = new HashSet<>(); permissionIds.add(permission.getId()); rolePermissionService.createRoleWithPermissions(role, permissionIds); } // fix historical data @Transactional public void initManageAppMasterRole(String appId, String operator) { String manageAppMasterRoleName = RoleUtils.buildAppRoleName(appId, PermissionType.MANAGE_APP_MASTER); if (rolePermissionService.findRoleByRoleName(manageAppMasterRoleName) != null) { return; } synchronized (DefaultRoleInitializationService.class) { createManageAppMasterRole(appId, operator); } } private void createAppMasterRole(String appId, String operator) { Set<Permission> appPermissions = Stream.of(PermissionType.CREATE_CLUSTER, PermissionType.CREATE_NAMESPACE, PermissionType.ASSIGN_ROLE) .map(permissionType -> createPermission(appId, permissionType, operator)).collect(Collectors.toSet()); Set<Permission> createdAppPermissions = rolePermissionService.createPermissions(appPermissions); Set<Long> appPermissionIds = createdAppPermissions.stream().map(BaseEntity::getId).collect(Collectors.toSet()); //create app master role Role appMasterRole = createRole(RoleUtils.buildAppMasterRoleName(appId), operator); rolePermissionService.createRoleWithPermissions(appMasterRole, appPermissionIds); } private Permission createPermission(String targetId, String permissionType, String operator) { Permission permission = new Permission(); permission.setPermissionType(permissionType); permission.setTargetId(targetId); permission.setDataChangeCreatedBy(operator); permission.setDataChangeLastModifiedBy(operator); return permission; } private Role createRole(String roleName, String operator) { Role role = new Role(); role.setRoleName(roleName); role.setDataChangeCreatedBy(operator); role.setDataChangeLastModifiedBy(operator); return role; } private void createNamespaceRole(String appId, String namespaceName, String permissionType, String roleName, String operator) { Permission permission = createPermission(RoleUtils.buildNamespaceTargetId(appId, namespaceName), permissionType, operator); Permission createdPermission = rolePermissionService.createPermission(permission); Role role = createRole(roleName, operator); rolePermissionService .createRoleWithPermissions(role, Sets.newHashSet(createdPermission.getId())); } private void createNamespaceEnvRole(String appId, String namespaceName, String permissionType, String env, String roleName, String operator) { Permission permission = createPermission(RoleUtils.buildNamespaceTargetId(appId, namespaceName, env), permissionType, operator); Permission createdPermission = rolePermissionService.createPermission(permission); Role role = createRole(roleName, operator); rolePermissionService .createRoleWithPermissions(role, Sets.newHashSet(createdPermission.getId())); } }
package com.ctrip.framework.apollo.portal.spi.defaultimpl; import com.ctrip.framework.apollo.common.entity.App; import com.ctrip.framework.apollo.common.entity.BaseEntity; import com.ctrip.framework.apollo.core.ConfigConsts; import com.ctrip.framework.apollo.portal.environment.Env; import com.ctrip.framework.apollo.portal.component.config.PortalConfig; import com.ctrip.framework.apollo.portal.constant.PermissionType; import com.ctrip.framework.apollo.portal.constant.RoleType; import com.ctrip.framework.apollo.portal.entity.po.Permission; import com.ctrip.framework.apollo.portal.entity.po.Role; import com.ctrip.framework.apollo.portal.repository.PermissionRepository; import com.ctrip.framework.apollo.portal.service.RoleInitializationService; import com.ctrip.framework.apollo.portal.service.RolePermissionService; import com.ctrip.framework.apollo.portal.service.SystemRoleManagerService; import com.ctrip.framework.apollo.portal.util.RoleUtils; import com.google.common.collect.Sets; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.transaction.annotation.Transactional; import java.util.HashSet; import java.util.List; import java.util.Set; import java.util.stream.Collectors; import java.util.stream.Stream; /** * Created by timothy on 2017/4/26. */ public class DefaultRoleInitializationService implements RoleInitializationService { @Autowired private RolePermissionService rolePermissionService; @Autowired private PortalConfig portalConfig; @Autowired private PermissionRepository permissionRepository; @Transactional public void initAppRoles(App app) { String appId = app.getAppId(); String appMasterRoleName = RoleUtils.buildAppMasterRoleName(appId); //has created before if (rolePermissionService.findRoleByRoleName(appMasterRoleName) != null) { return; } String operator = app.getDataChangeCreatedBy(); //create app permissions createAppMasterRole(appId, operator); //create manageAppMaster permission createManageAppMasterRole(appId, operator); //assign master role to user rolePermissionService .assignRoleToUsers(RoleUtils.buildAppMasterRoleName(appId), Sets.newHashSet(app.getOwnerName()), operator); initNamespaceRoles(appId, ConfigConsts.NAMESPACE_APPLICATION, operator); initNamespaceEnvRoles(appId, ConfigConsts.NAMESPACE_APPLICATION, operator); //assign modify、release namespace role to user rolePermissionService.assignRoleToUsers( RoleUtils.buildNamespaceRoleName(appId, ConfigConsts.NAMESPACE_APPLICATION, RoleType.MODIFY_NAMESPACE), Sets.newHashSet(operator), operator); rolePermissionService.assignRoleToUsers( RoleUtils.buildNamespaceRoleName(appId, ConfigConsts.NAMESPACE_APPLICATION, RoleType.RELEASE_NAMESPACE), Sets.newHashSet(operator), operator); } @Transactional public void initNamespaceRoles(String appId, String namespaceName, String operator) { String modifyNamespaceRoleName = RoleUtils.buildModifyNamespaceRoleName(appId, namespaceName); if (rolePermissionService.findRoleByRoleName(modifyNamespaceRoleName) == null) { createNamespaceRole(appId, namespaceName, PermissionType.MODIFY_NAMESPACE, modifyNamespaceRoleName, operator); } String releaseNamespaceRoleName = RoleUtils.buildReleaseNamespaceRoleName(appId, namespaceName); if (rolePermissionService.findRoleByRoleName(releaseNamespaceRoleName) == null) { createNamespaceRole(appId, namespaceName, PermissionType.RELEASE_NAMESPACE, releaseNamespaceRoleName, operator); } } @Transactional public void initNamespaceEnvRoles(String appId, String namespaceName, String operator) { List<Env> portalEnvs = portalConfig.portalSupportedEnvs(); for (Env env : portalEnvs) { initNamespaceSpecificEnvRoles(appId, namespaceName, env.toString(), operator); } } @Transactional public void initNamespaceSpecificEnvRoles(String appId, String namespaceName, String env, String operator) { String modifyNamespaceEnvRoleName = RoleUtils.buildModifyNamespaceRoleName(appId, namespaceName, env); if (rolePermissionService.findRoleByRoleName(modifyNamespaceEnvRoleName) == null) { createNamespaceEnvRole(appId, namespaceName, PermissionType.MODIFY_NAMESPACE, env, modifyNamespaceEnvRoleName, operator); } String releaseNamespaceEnvRoleName = RoleUtils.buildReleaseNamespaceRoleName(appId, namespaceName, env); if (rolePermissionService.findRoleByRoleName(releaseNamespaceEnvRoleName) == null) { createNamespaceEnvRole(appId, namespaceName, PermissionType.RELEASE_NAMESPACE, env, releaseNamespaceEnvRoleName, operator); } } @Transactional public void initCreateAppRole() { if (rolePermissionService.findRoleByRoleName(SystemRoleManagerService.CREATE_APPLICATION_ROLE_NAME) != null) { return; } Permission createAppPermission = permissionRepository.findTopByPermissionTypeAndTargetId(PermissionType.CREATE_APPLICATION, SystemRoleManagerService.SYSTEM_PERMISSION_TARGET_ID); if (createAppPermission == null) { // create application permission init createAppPermission = createPermission(SystemRoleManagerService.SYSTEM_PERMISSION_TARGET_ID, PermissionType.CREATE_APPLICATION, "apollo"); rolePermissionService.createPermission(createAppPermission); } // create application role init Role createAppRole = createRole(SystemRoleManagerService.CREATE_APPLICATION_ROLE_NAME, "apollo"); rolePermissionService.createRoleWithPermissions(createAppRole, Sets.newHashSet(createAppPermission.getId())); } @Transactional private void createManageAppMasterRole(String appId, String operator) { Permission permission = createPermission(appId, PermissionType.MANAGE_APP_MASTER, operator); rolePermissionService.createPermission(permission); Role role = createRole(RoleUtils.buildAppRoleName(appId, PermissionType.MANAGE_APP_MASTER), operator); Set<Long> permissionIds = new HashSet<>(); permissionIds.add(permission.getId()); rolePermissionService.createRoleWithPermissions(role, permissionIds); } // fix historical data @Transactional public void initManageAppMasterRole(String appId, String operator) { String manageAppMasterRoleName = RoleUtils.buildAppRoleName(appId, PermissionType.MANAGE_APP_MASTER); if (rolePermissionService.findRoleByRoleName(manageAppMasterRoleName) != null) { return; } synchronized (DefaultRoleInitializationService.class) { createManageAppMasterRole(appId, operator); } } private void createAppMasterRole(String appId, String operator) { Set<Permission> appPermissions = Stream.of(PermissionType.CREATE_CLUSTER, PermissionType.CREATE_NAMESPACE, PermissionType.ASSIGN_ROLE) .map(permissionType -> createPermission(appId, permissionType, operator)).collect(Collectors.toSet()); Set<Permission> createdAppPermissions = rolePermissionService.createPermissions(appPermissions); Set<Long> appPermissionIds = createdAppPermissions.stream().map(BaseEntity::getId).collect(Collectors.toSet()); //create app master role Role appMasterRole = createRole(RoleUtils.buildAppMasterRoleName(appId), operator); rolePermissionService.createRoleWithPermissions(appMasterRole, appPermissionIds); } private Permission createPermission(String targetId, String permissionType, String operator) { Permission permission = new Permission(); permission.setPermissionType(permissionType); permission.setTargetId(targetId); permission.setDataChangeCreatedBy(operator); permission.setDataChangeLastModifiedBy(operator); return permission; } private Role createRole(String roleName, String operator) { Role role = new Role(); role.setRoleName(roleName); role.setDataChangeCreatedBy(operator); role.setDataChangeLastModifiedBy(operator); return role; } private void createNamespaceRole(String appId, String namespaceName, String permissionType, String roleName, String operator) { Permission permission = createPermission(RoleUtils.buildNamespaceTargetId(appId, namespaceName), permissionType, operator); Permission createdPermission = rolePermissionService.createPermission(permission); Role role = createRole(roleName, operator); rolePermissionService .createRoleWithPermissions(role, Sets.newHashSet(createdPermission.getId())); } private void createNamespaceEnvRole(String appId, String namespaceName, String permissionType, String env, String roleName, String operator) { Permission permission = createPermission(RoleUtils.buildNamespaceTargetId(appId, namespaceName, env), permissionType, operator); Permission createdPermission = rolePermissionService.createPermission(permission); Role role = createRole(roleName, operator); rolePermissionService .createRoleWithPermissions(role, Sets.newHashSet(createdPermission.getId())); } }
-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/application-ctrip.yml
ctrip: appid: 100003173 email: send: code: 37030033 template: id: 37030033 survival: duration: 5
ctrip: appid: 100003173 email: send: code: 37030033 template: id: 37030033 survival: duration: 5
-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/ApolloCommonConfig.java
package com.ctrip.framework.apollo.common; import org.springframework.boot.autoconfigure.EnableAutoConfiguration; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Configuration; @EnableAutoConfiguration @Configuration @ComponentScan(basePackageClasses = ApolloCommonConfig.class) public class ApolloCommonConfig { }
package com.ctrip.framework.apollo.common; import org.springframework.boot.autoconfigure.EnableAutoConfiguration; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Configuration; @EnableAutoConfiguration @Configuration @ComponentScan(basePackageClasses = ApolloCommonConfig.class) public class ApolloCommonConfig { }
-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/index.html
<!doctype html> <html ng-app="index"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="icon" href="./img/config.png"> <!-- styles --> <link rel="stylesheet" type="text/css" href="vendor/bootstrap/css/bootstrap.min.css"> <link rel="stylesheet" type="text/css" href="vendor/angular/angular-toastr-1.4.1.min.css"> <link rel="stylesheet" type="text/css" href="vendor/select2/select2.min.css"> <link rel="stylesheet" type="text/css" media='all' href="vendor/angular/loading-bar.min.css"> <link rel="stylesheet" type="text/css" media='all' href="vendor/font-awesome.min.css"> <link rel="stylesheet" type="text/css" href="styles/common-style.css"> <title>{{'Common.Title' | translate }}</title> </head> <body> <apollonav></apollonav> <div id="app-list" class="hidden" ng-controller="IndexController"> <section class="media create-app-list"> <aside class="media-left text-center"> <h5>{{'Index.MyProject' | translate }}</h5> </aside> <aside class="media-body"> <div class="app-panel col-md-2 text-center" ng-click="goToCreateAppPage()" ng-if="hasCreateApplicationPermission"> <div href="#" class="thumbnail create-btn hover cursor-pointer"> <img src="img/plus-white.png" /> <h5>{{'Index.CreateProject' | translate }}</h5> </div> </div> <div class="app-panel col-md-2 text-center" ng-repeat="app in createdApps" ng-click="goToAppHomePage(app.appId)"> <div href="#" class="thumbnail hover cursor-pointer"> <h4 ng-bind="app.appId"></h4> <h5 ng-bind="app.name"></h5> </div> </div> <div class="app-panel col-md-2 text-center" ng-show="hasMoreCreatedApps" ng-click="getUserCreatedApps()"> <div href="#" class="thumbnail hover cursor-pointer"> <img class="more-img" src="img/more.png" /> <h5>{{'Index.LoadMore' | translate }}</h5> </div> </div> </aside> </section> <section class="media favorites-app-list"> <aside class="media-left text-center"> <h5>{{'Index.FavoriteItems' | translate }}</h5> </aside> <aside class="media-body"> <div class="app-panel col-md-2 text-center" ng-repeat="app in favorites" ng-click="goToAppHomePage(app.appId)" ng-mouseover="toggleOperationBtn(app)" ng-mouseout="toggleOperationBtn(app)"> <div class="thumbnail hover"> <h4 ng-bind="app.appId"></h4> <h5 ng-bind="app.name"></h5> <p class="operate-panel" ng-show="app.showOperationBtn"> <button class="btn btn-default btn-xs" title="{{'Index.Topping' | translate }}" ng-click="toTop(app.favoriteId);$event.stopPropagation();"> <img src="img/top.png" class="i-15"> </button> <button class="btn btn-default btn-xs" title="{{'Index.FavoriteCancel' | translate }}" ng-click="deleteFavorite(app.favoriteId);$event.stopPropagation();"> <img src="img/like.png" class="i-15"> </button> </p> </div> </div> <div class="col-md-2 text-center" ng-show="hasMoreFavorites" ng-click="getUserFavorites()"> <div href="#" class="thumbnail hover cursor-pointer"> <img class="more-img" src="img/more.png" /> <h5>{{'Index.LoadMore' | translate }}</h5> </div> </div> <div class="no-favorites text-center" ng-show="!favorites || favorites.length == 0"> <h4>{{'Index.FavoriteTip' | translate }}</h4> </div> </aside> </section> <section class="media visit-app-list" ng-show="visitedApps && visitedApps.length"> <aside class="media-left text-center"> <h5>{{'Index.RecentlyViewedItems' | translate }}</h5> </aside> <aside class="media-body"> <div class="app-panel col-md-2 text-center" ng-repeat="app in visitedApps" ng-click="goToAppHomePage(app.appId)"> <div class="thumbnail hover"> <h4 ng-bind="app.appId"></h4> <h5 ng-bind="app.name"></h5> </div> </div> </aside> </section> </div> <div ng-include="'views/common/footer.html'"></div> <!--angular--> <script src="vendor/angular/angular.min.js"></script> <script src="vendor/angular/angular-resource.min.js"></script> <script src="vendor/angular/angular-toastr-1.4.1.tpls.min.js"></script> <script src="vendor/angular/loading-bar.min.js"></script> <script src="vendor/angular/angular-cookies.min.js"></script> <script src="vendor/angular/angular-translate.2.18.1/angular-translate.min.js"></script> <script src="vendor/angular/angular-translate.2.18.1/angular-translate-loader-static-files.min.js"></script> <script src="vendor/angular/angular-translate.2.18.1/angular-translate-storage-cookie.min.js"></script> <!-- jquery.js --> <script src="vendor/jquery.min.js" type="text/javascript"></script> <script src="vendor/select2/select2.min.js" type="text/javascript"></script> <!-- bootstrap.js --> <script src="vendor/bootstrap/js/bootstrap.min.js" type="text/javascript"></script> <script type="application/javascript" src="scripts/app.js"></script> <script type="application/javascript" src="scripts/services/AppService.js"></script> <script type="application/javascript" src="scripts/services/EnvService.js"></script> <script type="application/javascript" src="scripts/services/UserService.js"></script> <script type="application/javascript" src="scripts/services/CommonService.js"></script> <script type="application/javascript" src="scripts/services/FavoriteService.js"></script> <script type="application/javascript" src="scripts/services/PermissionService.js"></script> <script type="application/javascript" src="scripts/AppUtils.js"></script> <script type="application/javascript" src="scripts/directive/directive.js"></script> <script type="application/javascript" src="scripts/controller/IndexController.js"></script> </body> </html>
<!doctype html> <html ng-app="index"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="icon" href="./img/config.png"> <!-- styles --> <link rel="stylesheet" type="text/css" href="vendor/bootstrap/css/bootstrap.min.css"> <link rel="stylesheet" type="text/css" href="vendor/angular/angular-toastr-1.4.1.min.css"> <link rel="stylesheet" type="text/css" href="vendor/select2/select2.min.css"> <link rel="stylesheet" type="text/css" media='all' href="vendor/angular/loading-bar.min.css"> <link rel="stylesheet" type="text/css" media='all' href="vendor/font-awesome.min.css"> <link rel="stylesheet" type="text/css" href="styles/common-style.css"> <title>{{'Common.Title' | translate }}</title> </head> <body> <apollonav></apollonav> <div id="app-list" class="hidden" ng-controller="IndexController"> <section class="media create-app-list"> <aside class="media-left text-center"> <h5>{{'Index.MyProject' | translate }}</h5> </aside> <aside class="media-body"> <div class="app-panel col-md-2 text-center" ng-click="goToCreateAppPage()" ng-if="hasCreateApplicationPermission"> <div href="#" class="thumbnail create-btn hover cursor-pointer"> <img src="img/plus-white.png" /> <h5>{{'Index.CreateProject' | translate }}</h5> </div> </div> <div class="app-panel col-md-2 text-center" ng-repeat="app in createdApps" ng-click="goToAppHomePage(app.appId)"> <div href="#" class="thumbnail hover cursor-pointer"> <h4 ng-bind="app.appId"></h4> <h5 ng-bind="app.name"></h5> </div> </div> <div class="app-panel col-md-2 text-center" ng-show="hasMoreCreatedApps" ng-click="getUserCreatedApps()"> <div href="#" class="thumbnail hover cursor-pointer"> <img class="more-img" src="img/more.png" /> <h5>{{'Index.LoadMore' | translate }}</h5> </div> </div> </aside> </section> <section class="media favorites-app-list"> <aside class="media-left text-center"> <h5>{{'Index.FavoriteItems' | translate }}</h5> </aside> <aside class="media-body"> <div class="app-panel col-md-2 text-center" ng-repeat="app in favorites" ng-click="goToAppHomePage(app.appId)" ng-mouseover="toggleOperationBtn(app)" ng-mouseout="toggleOperationBtn(app)"> <div class="thumbnail hover"> <h4 ng-bind="app.appId"></h4> <h5 ng-bind="app.name"></h5> <p class="operate-panel" ng-show="app.showOperationBtn"> <button class="btn btn-default btn-xs" title="{{'Index.Topping' | translate }}" ng-click="toTop(app.favoriteId);$event.stopPropagation();"> <img src="img/top.png" class="i-15"> </button> <button class="btn btn-default btn-xs" title="{{'Index.FavoriteCancel' | translate }}" ng-click="deleteFavorite(app.favoriteId);$event.stopPropagation();"> <img src="img/like.png" class="i-15"> </button> </p> </div> </div> <div class="col-md-2 text-center" ng-show="hasMoreFavorites" ng-click="getUserFavorites()"> <div href="#" class="thumbnail hover cursor-pointer"> <img class="more-img" src="img/more.png" /> <h5>{{'Index.LoadMore' | translate }}</h5> </div> </div> <div class="no-favorites text-center" ng-show="!favorites || favorites.length == 0"> <h4>{{'Index.FavoriteTip' | translate }}</h4> </div> </aside> </section> <section class="media visit-app-list" ng-show="visitedApps && visitedApps.length"> <aside class="media-left text-center"> <h5>{{'Index.RecentlyViewedItems' | translate }}</h5> </aside> <aside class="media-body"> <div class="app-panel col-md-2 text-center" ng-repeat="app in visitedApps" ng-click="goToAppHomePage(app.appId)"> <div class="thumbnail hover"> <h4 ng-bind="app.appId"></h4> <h5 ng-bind="app.name"></h5> </div> </div> </aside> </section> </div> <div ng-include="'views/common/footer.html'"></div> <!--angular--> <script src="vendor/angular/angular.min.js"></script> <script src="vendor/angular/angular-resource.min.js"></script> <script src="vendor/angular/angular-toastr-1.4.1.tpls.min.js"></script> <script src="vendor/angular/loading-bar.min.js"></script> <script src="vendor/angular/angular-cookies.min.js"></script> <script src="vendor/angular/angular-translate.2.18.1/angular-translate.min.js"></script> <script src="vendor/angular/angular-translate.2.18.1/angular-translate-loader-static-files.min.js"></script> <script src="vendor/angular/angular-translate.2.18.1/angular-translate-storage-cookie.min.js"></script> <!-- jquery.js --> <script src="vendor/jquery.min.js" type="text/javascript"></script> <script src="vendor/select2/select2.min.js" type="text/javascript"></script> <!-- bootstrap.js --> <script src="vendor/bootstrap/js/bootstrap.min.js" type="text/javascript"></script> <script type="application/javascript" src="scripts/app.js"></script> <script type="application/javascript" src="scripts/services/AppService.js"></script> <script type="application/javascript" src="scripts/services/EnvService.js"></script> <script type="application/javascript" src="scripts/services/UserService.js"></script> <script type="application/javascript" src="scripts/services/CommonService.js"></script> <script type="application/javascript" src="scripts/services/FavoriteService.js"></script> <script type="application/javascript" src="scripts/services/PermissionService.js"></script> <script type="application/javascript" src="scripts/AppUtils.js"></script> <script type="application/javascript" src="scripts/directive/directive.js"></script> <script type="application/javascript" src="scripts/controller/IndexController.js"></script> </body> </html>
-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/unlike.png
PNG  IHDRXkIDATx^]]vܷܰLx ଀ &@X@gdV@xrQIHےRrNSJ_KU(b((Atv(KPP :?tMk%HKC@ ⇛j J(Z釀7 -Q%nZ%(AZhJ?ܴVKPD:L? ~i iu~(ApZ-A@ Eo<n L]O b(AjTvnv'=D{U8CEl}J!D x&1[߭)6+IlP SF ץn GNupe !tk`ZDp_IܵG@ ⏝Wͭ> v|*SW!ͫqw^ ^U=ntED/ǣၟZ%+bot<pmΜ]iy? ~9|Yƹ-(ϟ?sm,G@ il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\Bw!OmJ-)2AA- Sb}E*4`HjR?֗v$ C,;n?e[Ҝ?p.75& ~:X(Ab!D@ "Rm*t, ~D"6:JXHk?"PT  %H,(ADM$ڏH "զBB@  iG$JjSc!#%HбPBZDTX(Ab!Dl+_<IENDB`
-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/add.png
PNG  IHDRX "IDATx^MnWEGdeQ ArdiQ"fyVY cK ,D3+gE'j?Ph\_;%U)K fqZ[wcez3R͜ZGKGżIʿ>yW;iYu0cur/EXw9N"botCA[n}ItN^ˇX>R"sTD9ClB{)[8yLKTR]dƳHprL7G?BFtD|4:oV:f۝ӈԬ`T#N^|ƳXd~vv+9>>.fOE/6Wsz*YX<G0:[|0:w6R4cG -hADq ByAĂDhG D,ADq ByAĂDhG D,ADq ByAĂDhG D,ADq ByAĂDhG D,ADq ByAĂDhG D,ADq ByAĂDhG D,ADq ByAĂDhG D,ADq ByAĂDhG D,ADq ByAĂDhG D,ADq ByAĂDhG D,ADq ByAĂDhG D,ADq ByAĂDhG D,ADq ByAĂDhG D,ADq ByAĂDhG D,ADq ByAĂDhG D,ADq ByAĂDhG D,ADq ByAĂDhG K ںnL>7?4%sqZ-;~|ن+Hskw+7k؉Hrb?w mE{u4 9 = N؝ p pAZtwR#ݻ;! ȑF WϤɄ!$r;H}"m,49??LKI O Nx(/ __A:Z  #yu#W.=Jn@&4*֑Աu\F:@:ΞK@ҨXXGRsiR HA:{.MAJba H[gϥ HiT,#c4)u$ ul=& Q4*֑Աu\6lw)BrEȏg|mƐr({nv$R R5@>kz7oç Hdi F;o6vg/֋\.+_\aK!4 9&)o<y HI2H)[] s6i䝿x $;iw ˒M #o};ț;}\ge).wwz_ :i>;ƛGTҌm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s6i䝿x $;iw ˒M #o};ț;}\ge).wwz_ :i>;ƛGTҌmulh<rs=?B!D,ADq ByAĂDhG D,ADq ByAĂDhG D,ADq ByAĂDhG D,ADq ByAĂDhG D,ADq ByAĂDhG D,ADq ByAĂDhG D,ADq ByAĂDhG D,ADq ByAĂDhG D,ADq ByAĂDhG D,ADq ByAĂDhG D,ADq ByAĂDhG D,ADq ByAĂDhG D,ADq ByAĂDhG D,ADq ByAĂDhG D,ADq ByAĂDhG D,ADq ByAĂDhG D,ADq ByAĂDhG ڝ^`BFi5OB`(TPr{{)}^G'd TPt{;nW09~|_vh!H} FU=AC4A*j.s6:oVڎA om)kTcsBǫ7) ^ir\ ץRDW_"b7E|zSHNAt=wOV?ډ_w<N9y2 <Yvj;cu}*"IENDB`
-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-mockserver/src/test/resources/mockdata-otherNamespace.properties
key1=otherValue1 key2=otherValue2
key1=otherValue1 key2=otherValue2
-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/customize/package-info.java
/** * 携程内部的日志系统,第三方公司可删除 */ package com.ctrip.framework.apollo.biz.customize;
/** * 携程内部的日志系统,第三方公司可删除 */ package com.ctrip.framework.apollo.biz.customize;
-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/gray-release/prepare-to-do-gray-release.png
PNG  IHDR  IDATxř W%!@B(rl>6|>ߝ?caal3!s+m3Zjf6H+`4UOuW﷪BD"a " " " " " " " " " @×@p$B,!͒r" " " " "1bmٲʌ " " mG ''ǺufݻwP(v +%!ٗ%5bdz[lqҥLLd ٝ;wZqq <X_Ԭ VV$ڵk]Ǔh$Q'TW1^ٷj*ۺuիϠDcױO  -//Z^^ eED + 1gϞ}v}YQ*D[ז4V0~g̘޽{ԩS-mpӦMڤI۞f3" " " "FAëOAD@D hkm'P" aGwa?UVV6;ă7 {ia3إHuuu#7Dhs=B]EE}gn~C:cmQ{YiimܸѮjƧE+=( JFD@ڬbp7 䘈I>3Yf&*'7U4VQ.4]vM+EjkkmҥN| p"paxLBJag烸'^>}ʕN#iᛴ| 5œOi4Isssm޼y6sL;sRJSD@D@D@D@D@D@D@DhnkLo(]wun^8HUTTd_[{oQ9]pAFB)^% _ɠXƱlǣ;ۉ~i駟}N$pܸq6~x~yK?xT8?;zh'=裎LY8T6*m"-YV^䷍1"ᕆ@酦^Cû.oo_KNۄ }Y'tMNB #_!*DT )'} /EXDc;B$"P6Hydn={2t775k"&$AO>" " " " " " " "Б ؇H;qD!g؇D^Kko1D6<!vXnذb 9F/947uEZvZ{\b80G]8/UxPa/>ɪI!.nV#/ˈ aˢ \sM." " " " " " C>.SgMC qLNzp :N> ܨAPػXÛ9yX's! 1V!=+1@ch/ M0O<<̔ uJăQѬ9䐔b39Р!Dr= ,&d!1y?_O;U<|3l9zarst!SL[D@D@D@2/|y) soN# 1Z;@犩iUKC*-xlS/twSyMeM:o<3ZgѢE:`nkCvzl_”,9lذ]NNF͚5N>dׇ%}phmAϞ=5÷i<pɤ@~髣ovSO>.r;蠃2)Y=.\heeeN޼y-_<1,2+|ԨQN(vԿƇi3f[6{sQà³vM C=֦ÇƇS|`Ώܘ0cBy9 r8/K/iN8FCǡq|wYş/ol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6Cx~ң*`a!L3w_]OxbPf6 6y/>=~>i&t*ͥG}  KQFS^XJ3| )b`}o PMl ]G `xQ{ >s# :IlKҥ=Q?y@ t@jJd?B *8lmv yƅꪫ't,} =a ` +>_XeK08'eFt9hsOMy̧6\^ F! 40Uχo $·(^7_v/綾^ soxsƱ[ޢ0,p΀e9D@D@D@D+-8*`md/4t6z^Ә|^#I(Op@4` ot҅d/Z1/]Z~;8/w'!rCs&P=Dtu2L_ AaQAD@Z l *RƦ*o|XxT!;*H>^aBox3C5xI~ǘi㱅[N,Vjr OS>O$"Wx)_+1ܟ77t!rwLb1 G& qLJz!XpI!^ddnIEEN6) sRbR'~le ߗ׷'MƨF(d/xsbf@tugO>꘠@ND@MybܖL , ߇PCO[N<xEd3q3F`Fh 1ڿ5s#V\F<xO?~۞~#Ғ&",yKf7D@D@D@D@ڇn>9Y!D@D J˾gFdÄT`@Cc.tyc&ZV?C&dTjo4JK:Kyn˝㵘N|DLnK2Ox7mڴ]v3"D䡯-9noADD(D$s չ$I#" " " " " " " ؇C@}wG<}q|()vXws!ؽ(h_LQܾE@D ֶPMJlMc8'K +@`/3ײȖZU9D@2;(S|@hXN@Ä,7nRyeOժ$" D v/bAYSVD #cLd۷ۆ @*d<(Ͼ e'3HˌzP.D@D@D@D@' " " mG 4__1UJE@b_vէJ#" " " " " " " "Љ hξN\*@vؗ]҈tb:q" " " " " " " " E@b_vէJ#" " " " " " " "Љ HĕdD,=QID@D@D@D@D@D@D@D@D@bVShEem#@H$'\iX<Kb@&9:w" " " " " " " " YD@b_U"" " " " " " " "й Hҋd}YT*@& s׿J/" " " " " " " "E$eQe(" " " " " " " " ľ]*@ؗEtn:w" " " " " " " " YD@b_U"" " " " " " " "й Hҋd}YT*@& s׿J/" " " " " " " "E$eQe(" " " " " " " " ľ]*@ؗEtn:w" " " " " " " " YD ;e BHpgw1"_X<YSD@D@D@D@D@D@D@WUUa5UOHH?;ĵhNY$Dzs_slr3.=f@ Z+YjY]-'''" UTT[KF[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Ʀ*o|XxT!;*H>^aBox3C5xI~ǘi㱅[N,Vjr OS>O$"Wx)_+1ܟ77t!rwLb1 G& qLJz!XpI!^ddnIEEN6) sRbR'~le ߗ׷'MƨF(d/xsbf@tugO>꘠@ND@MybܖL , ߇PCO[N<xEd3q3F`Fh 1ڿ5s#V\F<xO?~۞~#Ғ&",yKf7D@D@D@D@ڇn>9Y!D@D J˾gFdÄT`@Cc.tyc&ZV?C&dTjo4JK:Kyn˝㵘N|DLnK2Ox7mڴ]v3"D䡯-9noADD(D$s չ$I#" " " " " " " ؇C@}wG<}q|()vXws!ؽ(h_LQܾE@D ֶPMJlMc8'K +@`/3ײȖZU9D@2;(S|@hXN@Ä,7nRyeOժ$" D v/bAYSVD #cLd۷ۆ @*d<(Ͼ e'3HˌzP.D@D@D@D@' " " mG 4__1UJE@b_vէJ#" " " " " " " "Љ hξN\*@vؗ]҈tb:q" " " " " " " " E@b_vէJ#" " " " " " " "Љ HĕdD,=QID@D@D@D@D@D@D@D@D@bVShEem#@H$'\iX<Kb@&9:w" " " " " " " " YD@b_U"" " " " " " " "й Hҋd}YT*@& s׿J/" " " " " " " "E$eQe(" " " " " " " " ľ]*@ؗEtn:w" " " " " " " " YD@b_U"" " " " " " " "й Hҋd}YT*@& s׿J/" " " " " " " "E$eQe(" " " " " " " " ľ]*@ؗEtn:w" " " " " " " " YD ;e BHpgw1"_X<YSD@D@D@D@D@D@D@WUUa5UOHH?;ĵhNY$Dzs_slr3.=f@ Z+YjY]-'''" UTT[KF[}+q1cud[ԢľY,0O$, ^/>fH"ށxEPSPki_D@D@D@D@D@D@D X@\,fp:a 2$D`_(((R++a%%=/ D"i>^%ֻku-,+ֳKq5wTj^CD DeS'd㓶y߽ $ӷd>} ֭DB_׫rB%%%VVVn驊G/=N8d:Qp{y`;t9m b6 #n>q#[.מ4 s1ìQD諩ں-ħh" " " " " " " FUbcc1Svx%2t U|6;pp?;zm:q//aEk77מ<ގ5jc1+qCwTV.=9HX^]k꯶zKE#E""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