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,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/vendor/angular/angular-toastr-1.4.1.min.css
.toast-title { font-weight: 700 } .toast-message { word-wrap: break-word } .toast-message a, .toast-message label { color: #fff } .toast-message a:hover { color: #ccc; text-decoration: none } .toast-close-button { position: relative; right: -.3em; top: -.3em; float: right; fo...
.toast-title { font-weight: 700 } .toast-message { word-wrap: break-word } .toast-message a, .toast-message label { color: #fff } .toast-message a:hover { color: #ccc; text-decoration: none } .toast-close-button { position: relative; right: -.3em; top: -.3em; float: right; fo...
-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/ConfigsExportController.java
package com.ctrip.framework.apollo.portal.controller; import com.ctrip.framework.apollo.common.exception.ServiceException; import com.ctrip.framework.apollo.core.enums.ConfigFileFormat; import com.ctrip.framework.apollo.portal.entity.bo.NamespaceBO; import com.ctrip.framework.apollo.portal.environment.Env; import com....
package com.ctrip.framework.apollo.portal.controller; import com.ctrip.framework.apollo.common.exception.ServiceException; import com.ctrip.framework.apollo.core.enums.ConfigFileFormat; import com.ctrip.framework.apollo.portal.entity.bo.NamespaceBO; import com.ctrip.framework.apollo.portal.environment.Env; import com....
-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/config/sync.html
<!doctype html> <html ng-app="sync_item"> <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/...
<!doctype html> <html ng-app="sync_item"> <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/...
-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/environment/DatabasePortalMetaServerProvider.java
package com.ctrip.framework.apollo.portal.environment; import com.ctrip.framework.apollo.portal.component.config.PortalConfig; import java.util.Map; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * load meta server addressed from database. * PortalDB.ServerConfig */ class DatabasePortalMetaServerProv...
package com.ctrip.framework.apollo.portal.environment; import com.ctrip.framework.apollo.portal.component.config.PortalConfig; import java.util.Map; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * load meta server addressed from database. * PortalDB.ServerConfig */ class DatabasePortalMetaServerProv...
-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/tracer/internals/NullMessageProducerManagerTest.java
package com.ctrip.framework.apollo.tracer.internals; import com.ctrip.framework.apollo.tracer.spi.MessageProducerManager; import org.junit.Before; import org.junit.Test; import static org.junit.Assert.*; /** * @author Jason Song(song_s@ctrip.com) */ public class NullMessageProducerManagerTest { private MessageP...
package com.ctrip.framework.apollo.tracer.internals; import com.ctrip.framework.apollo.tracer.spi.MessageProducerManager; import org.junit.Before; import org.junit.Test; import static org.junit.Assert.*; /** * @author Jason Song(song_s@ctrip.com) */ public class NullMessageProducerManagerTest { private MessageP...
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-adminservice/src/main/resources/application.yml
spring: application: name: apollo-adminservice profiles: active: ${apollo_profile} ctrip: appid: 100003172 server: port: 8090 logging: file: name: /opt/logs/100003172/apollo-adminservice.log eureka: instance: hostname: ${hostname:localhost} preferIpAddress: true status-page-url...
spring: application: name: apollo-adminservice profiles: active: ${apollo_profile} cloud: consul: enabled: false ctrip: appid: 100003172 server: port: 8090 logging: file: name: /opt/logs/100003172/apollo-adminservice.log eureka: instance: hostname: ${hostname:localhost} ...
1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-adminservice/src/test/resources/application.properties
spring.datasource.url = jdbc:h2:mem:~/apolloconfigdb;mode=mysql;DB_CLOSE_ON_EXIT=FALSE;DB_CLOSE_DELAY=-1 spring.jpa.hibernate.naming.physical-strategy=org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl spring.jpa.properties.hibernate.show_sql=false spring.h2.console.enabled = true spring.h2.console.sett...
spring.datasource.url = jdbc:h2:mem:~/apolloconfigdb;mode=mysql;DB_CLOSE_ON_EXIT=FALSE;DB_CLOSE_DELAY=-1 spring.jpa.hibernate.naming.physical-strategy=org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl spring.jpa.properties.hibernate.show_sql=false spring.h2.console.enabled = true spring.h2.console.sett...
1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-biz/pom.xml
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <parent> <groupId>com.ctrip.framework.apollo</groupId> <artifactId>apo...
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <parent> <groupId>com.ctrip.framework.apollo</groupId> <artifactId>apo...
1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-biz/src/test/resources/application.properties
spring.datasource.url = jdbc:h2:mem:~/apolloconfigdb;mode=mysql;DB_CLOSE_ON_EXIT=FALSE spring.jpa.hibernate.naming.physical-strategy=org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl spring.jpa.properties.hibernate.show_sql=false spring.h2.console.enabled = true spring.h2.console.settings.web-allow-oth...
spring.datasource.url = jdbc:h2:mem:~/apolloconfigdb;mode=mysql;DB_CLOSE_ON_EXIT=FALSE spring.jpa.hibernate.naming.physical-strategy=org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl spring.jpa.properties.hibernate.show_sql=false spring.h2.console.enabled = true spring.h2.console.settings.web-allow-oth...
1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-configservice/src/main/java/com/ctrip/framework/apollo/metaservice/controller/HomePageController.java
package com.ctrip.framework.apollo.metaservice.controller; import com.ctrip.framework.apollo.core.ServiceNameConsts; import com.ctrip.framework.apollo.core.dto.ServiceDTO; import com.ctrip.framework.apollo.metaservice.service.DiscoveryService; import com.google.common.collect.Lists; import java.util.List; import org.s...
package com.ctrip.framework.apollo.metaservice.controller; import com.ctrip.framework.apollo.core.ServiceNameConsts; import com.ctrip.framework.apollo.core.dto.ServiceDTO; import com.ctrip.framework.apollo.metaservice.service.DiscoveryService; import com.google.common.collect.Lists; import java.util.List; import org.s...
1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-configservice/src/main/java/com/ctrip/framework/apollo/metaservice/service/DefaultDiscoveryService.java
package com.ctrip.framework.apollo.metaservice.service; import com.ctrip.framework.apollo.common.condition.ConditionalOnMissingProfile; import com.ctrip.framework.apollo.core.dto.ServiceDTO; import com.ctrip.framework.apollo.tracer.Tracer; import com.netflix.appinfo.InstanceInfo; import com.netflix.discovery.EurekaCli...
package com.ctrip.framework.apollo.metaservice.service; import com.ctrip.framework.apollo.common.condition.ConditionalOnMissingProfile; import com.ctrip.framework.apollo.core.dto.ServiceDTO; import com.ctrip.framework.apollo.tracer.Tracer; import com.netflix.appinfo.InstanceInfo; import com.netflix.discovery.EurekaCli...
1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-configservice/src/main/resources/application.yml
spring: application: name: apollo-configservice profiles: active: ${apollo_profile} ctrip: appid: 100003171 server: port: 8080 logging: file: name: /opt/logs/100003171/apollo-configservice.log eureka: instance: hostname: ${hostname:localhost} preferIpAddress: true status-page-url...
spring: application: name: apollo-configservice profiles: active: ${apollo_profile} cloud: consul: enabled: false ctrip: appid: 100003171 server: port: 8080 logging: file: name: /opt/logs/100003171/apollo-configservice.log eureka: instance: hostname: ${hostname:localhost} ...
1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-configservice/src/test/resources/application.properties
spring.datasource.url = jdbc:h2:mem:~/apolloconfigdb;mode=mysql;DB_CLOSE_ON_EXIT=FALSE;DB_CLOSE_DELAY=-1 spring.jpa.hibernate.naming.physical-strategy=org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl spring.h2.console.enabled = true spring.h2.console.settings.web-allow-others=true spring.jpa.propertie...
spring.datasource.url = jdbc:h2:mem:~/apolloconfigdb;mode=mysql;DB_CLOSE_ON_EXIT=FALSE;DB_CLOSE_DELAY=-1 spring.jpa.hibernate.naming.physical-strategy=org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl spring.h2.console.enabled = true spring.h2.console.settings.web-allow-others=true spring.jpa.propertie...
1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./docs/zh/deployment/distributed-deployment-guide.md
本文档介绍了如何按照分布式部署的方式编译、打包、部署Apollo配置中心,从而可以在开发、测试、生产等环境分别部署运行。 > 如果只是需要在本地快速部署试用Apollo的话,可以参考[Quick Start](zh/deployment/quick-start) # &nbsp; # 一、准备工作 ## 1.1 运行时环境 ### 1.1.1 OS 服务端基于Spring Boot,启动脚本理论上支持所有Linux发行版,建议[CentOS 7](https://www.centos.org/)。 ### 1.1.2 Java * Apollo服务端:1.8+ * Apollo客户端:1.7+ 由于需要同时运行服务端...
本文档介绍了如何按照分布式部署的方式编译、打包、部署Apollo配置中心,从而可以在开发、测试、生产等环境分别部署运行。 > 如果只是需要在本地快速部署试用Apollo的话,可以参考[Quick Start](zh/deployment/quick-start) # &nbsp; # 一、准备工作 ## 1.1 运行时环境 ### 1.1.1 OS 服务端基于Spring Boot,启动脚本理论上支持所有Linux发行版,建议[CentOS 7](https://www.centos.org/)。 ### 1.1.2 Java * Apollo服务端:1.8+ * Apollo客户端:1.7+ 由于需要同时运行服务端...
1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-configservice/src/main/java/com/ctrip/framework/apollo/configservice/controller/ConfigController.java
package com.ctrip.framework.apollo.configservice.controller; import com.ctrip.framework.apollo.biz.entity.Release; import com.ctrip.framework.apollo.common.entity.AppNamespace; import com.ctrip.framework.apollo.configservice.service.AppNamespaceServiceWithCache; import com.ctrip.framework.apollo.configservice.service....
package com.ctrip.framework.apollo.configservice.controller; import com.ctrip.framework.apollo.biz.entity.Release; import com.ctrip.framework.apollo.common.entity.AppNamespace; import com.ctrip.framework.apollo.configservice.service.AppNamespaceServiceWithCache; import com.ctrip.framework.apollo.configservice.service....
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-client/src/main/java/com/ctrip/framework/apollo/internals/JsonConfigFile.java
package com.ctrip.framework.apollo.internals; import com.ctrip.framework.apollo.core.enums.ConfigFileFormat; /** * @author Jason Song(song_s@ctrip.com) */ public class JsonConfigFile extends PlainTextConfigFile { public JsonConfigFile(String namespace, ConfigRepository configRepository) { ...
package com.ctrip.framework.apollo.internals; import com.ctrip.framework.apollo.core.enums.ConfigFileFormat; /** * @author Jason Song(song_s@ctrip.com) */ public class JsonConfigFile extends PlainTextConfigFile { public JsonConfigFile(String namespace, ConfigRepository configRepository) { ...
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-client/src/test/resources/spring/XmlConfigPlaceholderTest6.xml
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:apollo="http://www.ctrip.com/schema/apollo" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/sc...
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:apollo="http://www.ctrip.com/schema/apollo" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/sc...
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-common/src/main/java/com/ctrip/framework/apollo/common/entity/App.java
package com.ctrip.framework.apollo.common.entity; import com.ctrip.framework.apollo.common.utils.InputValidator; import javax.validation.constraints.NotBlank; import javax.validation.constraints.Pattern; import org.hibernate.annotations.SQLDelete; import org.hibernate.annotations.Where; import javax.persistence.Colum...
package com.ctrip.framework.apollo.common.entity; import com.ctrip.framework.apollo.common.utils.InputValidator; import javax.validation.constraints.NotBlank; import javax.validation.constraints.Pattern; import org.hibernate.annotations.SQLDelete; import org.hibernate.annotations.Where; import javax.persistence.Colum...
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-client/src/main/java/com/ctrip/framework/apollo/internals/DefaultConfigManager.java
package com.ctrip.framework.apollo.internals; import java.util.Map; import com.ctrip.framework.apollo.Config; import com.ctrip.framework.apollo.ConfigFile; import com.ctrip.framework.apollo.build.ApolloInjector; import com.ctrip.framework.apollo.core.enums.ConfigFileFormat; import com.ctrip.framework.apollo.spi.Confi...
package com.ctrip.framework.apollo.internals; import java.util.Map; import com.ctrip.framework.apollo.Config; import com.ctrip.framework.apollo.ConfigFile; import com.ctrip.framework.apollo.build.ApolloInjector; import com.ctrip.framework.apollo.core.enums.ConfigFileFormat; import com.ctrip.framework.apollo.spi.Confi...
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./.github/ISSUE_TEMPLATE/bug_report_zh.md
--- name: 报告Bug/使用疑问 about: 提交Apollo Bug/使用疑问,使用这个模板 title: '' labels: '' assignees: '' --- <!-- 这段文字不会显示在你的内容中。为了避免重复的信息,方便后续的检索,在提issue之前,请检查如下事项。如果是比较新手级别的问题,推荐到讨论区https://github.com/ctripcorp/apollo/discussions 提问 --> - [ ] 我已经检查过[discussions](https://github.com/ctripcorp/apollo/discussions) - [ ] 我已经搜索过[issues](...
--- name: 报告Bug/使用疑问 about: 提交Apollo Bug/使用疑问,使用这个模板 title: '' labels: '' assignees: '' --- <!-- 这段文字不会显示在你的内容中。为了避免重复的信息,方便后续的检索,在提issue之前,请检查如下事项。如果是比较新手级别的问题,推荐到讨论区https://github.com/ctripcorp/apollo/discussions 提问 --> - [ ] 我已经检查过[discussions](https://github.com/ctripcorp/apollo/discussions) - [ ] 我已经搜索过[issues](...
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-core/src/main/java/com/ctrip/framework/apollo/tracer/Tracer.java
package com.ctrip.framework.apollo.tracer; import com.ctrip.framework.apollo.tracer.internals.NullMessageProducerManager; import com.ctrip.framework.apollo.tracer.spi.MessageProducer; import com.ctrip.framework.apollo.tracer.spi.MessageProducerManager; import com.ctrip.framework.apollo.tracer.spi.Transaction; import ...
package com.ctrip.framework.apollo.tracer; import com.ctrip.framework.apollo.tracer.internals.NullMessageProducerManager; import com.ctrip.framework.apollo.tracer.spi.MessageProducer; import com.ctrip.framework.apollo.tracer.spi.MessageProducerManager; import com.ctrip.framework.apollo.tracer.spi.Transaction; import ...
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-biz/src/test/java/com/ctrip/framework/apollo/biz/service/NamespaceServiceIntegrationTest.java
package com.ctrip.framework.apollo.biz.service; import com.ctrip.framework.apollo.biz.AbstractIntegrationTest; import com.ctrip.framework.apollo.biz.entity.Cluster; import com.ctrip.framework.apollo.biz.entity.Commit; import com.ctrip.framework.apollo.biz.entity.InstanceConfig; import com.ctrip.framework.apollo.biz.en...
package com.ctrip.framework.apollo.biz.service; import com.ctrip.framework.apollo.biz.AbstractIntegrationTest; import com.ctrip.framework.apollo.biz.entity.Cluster; import com.ctrip.framework.apollo.biz.entity.Commit; import com.ctrip.framework.apollo.biz.entity.InstanceConfig; import com.ctrip.framework.apollo.biz.en...
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/entity/bo/ReleaseHistoryBO.java
package com.ctrip.framework.apollo.portal.entity.bo; import com.ctrip.framework.apollo.common.entity.EntityPair; import java.util.Date; import java.util.List; import java.util.Map; public class ReleaseHistoryBO { private long id; private String appId; private String clusterName; private String namespaceN...
package com.ctrip.framework.apollo.portal.entity.bo; import com.ctrip.framework.apollo.common.entity.EntityPair; import java.util.Date; import java.util.List; import java.util.Map; public class ReleaseHistoryBO { private long id; private String appId; private String clusterName; private String namespaceN...
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/utils/ConfigChangeContentBuilder.java
package com.ctrip.framework.apollo.biz.utils; import com.ctrip.framework.apollo.biz.entity.Item; import com.ctrip.framework.apollo.core.utils.StringUtils; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import java.util.Date; import java.util.LinkedList; import java.util.List; import org.springframewo...
package com.ctrip.framework.apollo.biz.utils; import com.ctrip.framework.apollo.biz.entity.Item; import com.ctrip.framework.apollo.core.utils.StringUtils; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import java.util.Date; import java.util.LinkedList; import java.util.List; import org.springframewo...
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/auth/ConsumerPermissionValidator.java
package com.ctrip.framework.apollo.openapi.auth; import com.ctrip.framework.apollo.openapi.service.ConsumerRolePermissionService; import com.ctrip.framework.apollo.openapi.util.ConsumerAuthUtil; import com.ctrip.framework.apollo.portal.constant.PermissionType; import com.ctrip.framework.apollo.portal.util.RoleUtils; i...
package com.ctrip.framework.apollo.openapi.auth; import com.ctrip.framework.apollo.openapi.service.ConsumerRolePermissionService; import com.ctrip.framework.apollo.openapi.util.ConsumerAuthUtil; import com.ctrip.framework.apollo.portal.constant.PermissionType; import com.ctrip.framework.apollo.portal.util.RoleUtils; i...
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/spi/ldap/LdapUserService.java
package com.ctrip.framework.apollo.portal.spi.ldap; import static java.util.stream.Collectors.collectingAndThen; import static java.util.stream.Collectors.toCollection; import static org.springframework.ldap.query.LdapQueryBuilder.query; import com.ctrip.framework.apollo.portal.entity.bo.UserInfo; import com.ctrip.fr...
package com.ctrip.framework.apollo.portal.spi.ldap; import static java.util.stream.Collectors.collectingAndThen; import static java.util.stream.Collectors.toCollection; import static org.springframework.ldap.query.LdapQueryBuilder.query; import com.ctrip.framework.apollo.portal.entity.bo.UserInfo; import com.ctrip.fr...
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-common/src/main/java/com/ctrip/framework/apollo/common/entity/AppNamespace.java
package com.ctrip.framework.apollo.common.entity; import com.ctrip.framework.apollo.common.utils.InputValidator; import com.ctrip.framework.apollo.core.enums.ConfigFileFormat; import javax.validation.constraints.NotBlank; import javax.validation.constraints.Pattern; import org.hibernate.annotations.SQLDelete; import...
package com.ctrip.framework.apollo.common.entity; import com.ctrip.framework.apollo.common.utils.InputValidator; import com.ctrip.framework.apollo.core.enums.ConfigFileFormat; import javax.validation.constraints.NotBlank; import javax.validation.constraints.Pattern; import org.hibernate.annotations.SQLDelete; import...
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-configservice/src/main/java/com/ctrip/framework/apollo/configservice/service/config/DefaultConfigService.java
package com.ctrip.framework.apollo.configservice.service.config; import com.ctrip.framework.apollo.biz.entity.Release; import com.ctrip.framework.apollo.biz.entity.ReleaseMessage; import com.ctrip.framework.apollo.biz.service.ReleaseService; import com.ctrip.framework.apollo.core.dto.ApolloNotificationMessages; impor...
package com.ctrip.framework.apollo.configservice.service.config; import com.ctrip.framework.apollo.biz.entity.Release; import com.ctrip.framework.apollo.biz.entity.ReleaseMessage; import com.ctrip.framework.apollo.biz.service.ReleaseService; import com.ctrip.framework.apollo.core.dto.ApolloNotificationMessages; impor...
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/constant/RoleType.java
package com.ctrip.framework.apollo.portal.constant; public class RoleType { public static final String MASTER = "Master"; public static final String MODIFY_NAMESPACE = "ModifyNamespace"; public static final String RELEASE_NAMESPACE = "ReleaseNamespace"; public static boolean isValidRoleType(String roleType...
package com.ctrip.framework.apollo.portal.constant; public class RoleType { public static final String MASTER = "Master"; public static final String MODIFY_NAMESPACE = "ModifyNamespace"; public static final String RELEASE_NAMESPACE = "ReleaseNamespace"; public static boolean isValidRoleType(String roleType...
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/eureka/ApolloEurekaClientConfig.java
package com.ctrip.framework.apollo.biz.eureka; import com.ctrip.framework.apollo.biz.config.BizConfig; import org.springframework.cloud.netflix.eureka.EurekaClientConfigBean; import org.springframework.context.annotation.Primary; import org.springframework.stereotype.Component; import org.springframework.util.Collect...
package com.ctrip.framework.apollo.biz.eureka; import com.ctrip.framework.apollo.biz.config.BizConfig; import org.springframework.cloud.netflix.eureka.EurekaClientConfigBean; import org.springframework.context.annotation.Primary; import org.springframework.stereotype.Component; import org.springframework.util.Collect...
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-core/src/test/java/com/ctrip/framework/apollo/core/utils/NetUtilTest.java
package com.ctrip.framework.apollo.core.utils; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import com.ctrip.framework.apollo.BaseIntegrationTest; import javax.servlet.http.HttpServletResponse; import org.eclipse.jetty.server.handler.ContextHandler; import org.junit.Test; /*...
package com.ctrip.framework.apollo.core.utils; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import com.ctrip.framework.apollo.BaseIntegrationTest; import javax.servlet.http.HttpServletResponse; import org.eclipse.jetty.server.handler.ContextHandler; import org.junit.Test; /*...
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-configservice/src/main/config/application-github.properties
# DataSource spring.datasource.url = ${spring_datasource_url} spring.datasource.username = ${spring_datasource_username} spring.datasource.password = ${spring_datasource_password}
# DataSource spring.datasource.url = ${spring_datasource_url} spring.datasource.username = ${spring_datasource_username} spring.datasource.password = ${spring_datasource_password}
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-common/src/main/java/com/ctrip/framework/apollo/common/dto/CommitDTO.java
package com.ctrip.framework.apollo.common.dto; public class CommitDTO extends BaseDTO{ private String changeSets; private String appId; private String clusterName; private String namespaceName; private String comment; public String getChangeSets() { return changeSets; } public void setChange...
package com.ctrip.framework.apollo.common.dto; public class CommitDTO extends BaseDTO{ private String changeSets; private String appId; private String clusterName; private String namespaceName; private String comment; public String getChangeSets() { return changeSets; } public void setChange...
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-client/src/main/java/com/ctrip/framework/apollo/internals/RemoteConfigRepository.java
package com.ctrip.framework.apollo.internals; import com.ctrip.framework.apollo.Apollo; import com.ctrip.framework.apollo.build.ApolloInjector; import com.ctrip.framework.apollo.core.ConfigConsts; import com.ctrip.framework.apollo.core.dto.ApolloConfig; import com.ctrip.framework.apollo.core.dto.ApolloNotificationMess...
package com.ctrip.framework.apollo.internals; import com.ctrip.framework.apollo.Apollo; import com.ctrip.framework.apollo.build.ApolloInjector; import com.ctrip.framework.apollo.core.ConfigConsts; import com.ctrip.framework.apollo.core.dto.ApolloConfig; import com.ctrip.framework.apollo.core.dto.ApolloNotificationMess...
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/spi/configuration/AuthFilterConfiguration.java
package com.ctrip.framework.apollo.portal.spi.configuration; import com.ctrip.framework.apollo.openapi.filter.ConsumerAuthenticationFilter; import com.ctrip.framework.apollo.openapi.util.ConsumerAuditUtil; import com.ctrip.framework.apollo.openapi.util.ConsumerAuthUtil; import org.springframework.boot.web.servlet.Fil...
package com.ctrip.framework.apollo.portal.spi.configuration; import com.ctrip.framework.apollo.openapi.filter.ConsumerAuthenticationFilter; import com.ctrip.framework.apollo.openapi.util.ConsumerAuditUtil; import com.ctrip.framework.apollo.openapi.util.ConsumerAuthUtil; import org.springframework.boot.web.servlet.Fil...
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-client/src/main/java/com/ctrip/framework/apollo/spring/annotation/ApolloConfig.java
package com.ctrip.framework.apollo.spring.annotation; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; import com.ctrip.framework.apollo.core.ConfigConsts; /** * Us...
package com.ctrip.framework.apollo.spring.annotation; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; import com.ctrip.framework.apollo.core.ConfigConsts; /** * Us...
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-biz/src/test/java/com/ctrip/framework/apollo/biz/service/AdminServiceTransactionTest.java
package com.ctrip.framework.apollo.biz.service; import com.ctrip.framework.apollo.biz.AbstractIntegrationTest; import com.ctrip.framework.apollo.biz.repository.AppNamespaceRepository; import com.ctrip.framework.apollo.biz.repository.AppRepository; import com.ctrip.framework.apollo.biz.repository.ClusterRepository; imp...
package com.ctrip.framework.apollo.biz.service; import com.ctrip.framework.apollo.biz.AbstractIntegrationTest; import com.ctrip.framework.apollo.biz.repository.AppNamespaceRepository; import com.ctrip.framework.apollo.biz.repository.AppRepository; import com.ctrip.framework.apollo.biz.repository.ClusterRepository; imp...
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-adminservice/src/main/config/app.properties
appId=100003172 jdkVersion=1.8
appId=100003172 jdkVersion=1.8
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-common/src/main/java/com/ctrip/framework/apollo/common/constants/GsonType.java
package com.ctrip.framework.apollo.common.constants; import com.google.gson.reflect.TypeToken; import com.ctrip.framework.apollo.common.dto.GrayReleaseRuleItemDTO; import java.lang.reflect.Type; import java.util.List; import java.util.Map; public interface GsonType { Type CONFIG = new TypeToken<Map<String, Strin...
package com.ctrip.framework.apollo.common.constants; import com.google.gson.reflect.TypeToken; import com.ctrip.framework.apollo.common.dto.GrayReleaseRuleItemDTO; import java.lang.reflect.Type; import java.util.List; import java.util.Map; public interface GsonType { Type CONFIG = new TypeToken<Map<String, Strin...
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-client/src/main/java/com/ctrip/framework/apollo/spring/annotation/EnableApolloConfig.java
package com.ctrip.framework.apollo.spring.annotation; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; import org.springframework.context.annotation.Import; import or...
package com.ctrip.framework.apollo.spring.annotation; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; import org.springframework.context.annotation.Import; import or...
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/controller/ReleaseHistoryController.java
package com.ctrip.framework.apollo.portal.controller; import com.ctrip.framework.apollo.portal.environment.Env; import com.ctrip.framework.apollo.portal.component.PermissionValidator; import com.ctrip.framework.apollo.portal.entity.bo.ReleaseHistoryBO; import com.ctrip.framework.apollo.portal.service.ReleaseHistorySe...
package com.ctrip.framework.apollo.portal.controller; import com.ctrip.framework.apollo.portal.environment.Env; import com.ctrip.framework.apollo.portal.component.PermissionValidator; import com.ctrip.framework.apollo.portal.entity.bo.ReleaseHistoryBO; import com.ctrip.framework.apollo.portal.service.ReleaseHistorySe...
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-client/src/test/resources/spring/yaml/case2-new.yml
batch: 2001
batch: 2001
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/util/ConfigFileUtils.java
package com.ctrip.framework.apollo.portal.util; import com.ctrip.framework.apollo.common.exception.BadRequestException; import com.ctrip.framework.apollo.core.enums.ConfigFileFormat; import com.ctrip.framework.apollo.core.utils.StringUtils; import com.ctrip.framework.apollo.portal.controller.ConfigsImportController; i...
package com.ctrip.framework.apollo.portal.util; import com.ctrip.framework.apollo.common.exception.BadRequestException; import com.ctrip.framework.apollo.core.enums.ConfigFileFormat; import com.ctrip.framework.apollo.core.utils.StringUtils; import com.ctrip.framework.apollo.portal.controller.ConfigsImportController; i...
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/entity/bo/ReleaseBO.java
package com.ctrip.framework.apollo.portal.entity.bo; import com.ctrip.framework.apollo.common.dto.ReleaseDTO; import com.ctrip.framework.apollo.portal.entity.bo.KVEntity; import java.util.Set; public class ReleaseBO { private ReleaseDTO baseInfo; private Set<KVEntity> items; public ReleaseDTO getBaseInfo() ...
package com.ctrip.framework.apollo.portal.entity.bo; import com.ctrip.framework.apollo.common.dto.ReleaseDTO; import com.ctrip.framework.apollo.portal.entity.bo.KVEntity; import java.util.Set; public class ReleaseBO { private ReleaseDTO baseInfo; private Set<KVEntity> items; public ReleaseDTO getBaseInfo() ...
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/grayReleaseRule/GrayReleaseRuleCache.java
package com.ctrip.framework.apollo.biz.grayReleaseRule; import com.ctrip.framework.apollo.common.dto.GrayReleaseRuleItemDTO; import java.util.Set; /** * @author Jason Song(song_s@ctrip.com) */ public class GrayReleaseRuleCache implements Comparable<GrayReleaseRuleCache> { private long ruleId; private String br...
package com.ctrip.framework.apollo.biz.grayReleaseRule; import com.ctrip.framework.apollo.common.dto.GrayReleaseRuleItemDTO; import java.util.Set; /** * @author Jason Song(song_s@ctrip.com) */ public class GrayReleaseRuleCache implements Comparable<GrayReleaseRuleCache> { private long ruleId; private String br...
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-core/src/main/java/com/ctrip/framework/apollo/Apollo.java
package com.ctrip.framework.apollo; /** * @author Jason Song(song_s@ctrip.com) */ public class Apollo { public final static String VERSION = "java-" + Apollo.class.getPackage().getImplementationVersion(); }
package com.ctrip.framework.apollo; /** * @author Jason Song(song_s@ctrip.com) */ public class Apollo { public final static String VERSION = "java-" + Apollo.class.getPackage().getImplementationVersion(); }
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/entity/vo/ItemDiffs.java
package com.ctrip.framework.apollo.portal.entity.vo; import com.ctrip.framework.apollo.common.dto.ItemChangeSets; public class ItemDiffs { private NamespaceIdentifier namespace; private ItemChangeSets diffs; private String extInfo; public ItemDiffs(NamespaceIdentifier namespace) { this.namespace = namesp...
package com.ctrip.framework.apollo.portal.entity.vo; import com.ctrip.framework.apollo.common.dto.ItemChangeSets; public class ItemDiffs { private NamespaceIdentifier namespace; private ItemChangeSets diffs; private String extInfo; public ItemDiffs(NamespaceIdentifier namespace) { this.namespace = namesp...
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-core/src/main/java/com/ctrip/framework/foundation/internals/NullProviderManager.java
package com.ctrip.framework.foundation.internals; import com.ctrip.framework.foundation.internals.provider.NullProvider; import com.ctrip.framework.foundation.spi.ProviderManager; public class NullProviderManager implements ProviderManager { public static final NullProvider provider = new NullProvider(); @Overri...
package com.ctrip.framework.foundation.internals; import com.ctrip.framework.foundation.internals.provider.NullProvider; import com.ctrip.framework.foundation.spi.ProviderManager; public class NullProviderManager implements ProviderManager { public static final NullProvider provider = new NullProvider(); @Overri...
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-core/src/test/java/com/ctrip/framework/apollo/core/MetaDomainTest.java
package com.ctrip.framework.apollo.core; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import com.ctrip.framework.apollo.BaseIntegrationTest; import com.ctrip.framework.apollo.core.enums.Env; import com.ctrip.framework.apollo.core.internals.LegacyMetaServerProvider; import co...
package com.ctrip.framework.apollo.core; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import com.ctrip.framework.apollo.BaseIntegrationTest; import com.ctrip.framework.apollo.core.enums.Env; import com.ctrip.framework.apollo.core.internals.LegacyMetaServerProvider; import co...
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-openapi/src/test/java/com/ctrip/framework/apollo/openapi/client/service/AppOpenApiServiceTest.java
package com.ctrip.framework.apollo.openapi.client.service; import static org.junit.Assert.assertEquals; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; import org.apache.http.client.methods.HttpGet; import org.apache.http.entity.StringEntity; ...
package com.ctrip.framework.apollo.openapi.client.service; import static org.junit.Assert.assertEquals; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; import org.apache.http.client.methods.HttpGet; import org.apache.http.entity.StringEntity; ...
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-client/src/main/java/com/ctrip/framework/apollo/util/factory/PropertiesFactory.java
package com.ctrip.framework.apollo.util.factory; import java.util.Properties; /** * Factory interface to construct Properties instances. * * @author songdragon@zts.io */ public interface PropertiesFactory { /** * Configuration to keep properties order as same as line order in .yml/.yaml/.properties file. ...
package com.ctrip.framework.apollo.util.factory; import java.util.Properties; /** * Factory interface to construct Properties instances. * * @author songdragon@zts.io */ public interface PropertiesFactory { /** * Configuration to keep properties order as same as line order in .yml/.yaml/.properties file. ...
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/entity/InstanceConfig.java
package com.ctrip.framework.apollo.biz.entity; import com.google.common.base.MoreObjects; import java.util.Date; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Pr...
package com.ctrip.framework.apollo.biz.entity; import com.google.common.base.MoreObjects; import java.util.Date; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Pr...
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/service/AppNamespaceService.java
package com.ctrip.framework.apollo.biz.service; import com.ctrip.framework.apollo.biz.entity.Audit; import com.ctrip.framework.apollo.biz.entity.Cluster; import com.ctrip.framework.apollo.biz.entity.Namespace; import com.ctrip.framework.apollo.biz.repository.AppNamespaceRepository; import com.ctrip.framework.apollo.co...
package com.ctrip.framework.apollo.biz.service; import com.ctrip.framework.apollo.biz.entity.Audit; import com.ctrip.framework.apollo.biz.entity.Cluster; import com.ctrip.framework.apollo.biz.entity.Namespace; import com.ctrip.framework.apollo.biz.repository.AppNamespaceRepository; import com.ctrip.framework.apollo.co...
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/component/txtresolver/FileTextResolver.java
package com.ctrip.framework.apollo.portal.component.txtresolver; import com.ctrip.framework.apollo.common.dto.ItemChangeSets; import com.ctrip.framework.apollo.common.dto.ItemDTO; import com.ctrip.framework.apollo.core.ConfigConsts; import com.ctrip.framework.apollo.core.utils.StringUtils; import org.springframework....
package com.ctrip.framework.apollo.portal.component.txtresolver; import com.ctrip.framework.apollo.common.dto.ItemChangeSets; import com.ctrip.framework.apollo.common.dto.ItemDTO; import com.ctrip.framework.apollo.core.ConfigConsts; import com.ctrip.framework.apollo.core.utils.StringUtils; import org.springframework....
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-configservice/src/main/java/com/ctrip/framework/apollo/configservice/controller/NotificationControllerV2.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.ReleaseMessageListener; import com.ctrip.framework.apollo.biz.message.Topics; import com.ctrip....
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.ReleaseMessageListener; import com.ctrip.framework.apollo.biz.message.Topics; import com.ctrip....
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-client/src/main/java/com/ctrip/framework/apollo/spring/spi/ConfigPropertySourcesProcessorHelper.java
package com.ctrip.framework.apollo.spring.spi; import com.ctrip.framework.apollo.core.spi.Ordered; import org.springframework.beans.BeansException; import org.springframework.beans.factory.support.BeanDefinitionRegistry; public interface ConfigPropertySourcesProcessorHelper extends Ordered { void postProcessBeanDe...
package com.ctrip.framework.apollo.spring.spi; import com.ctrip.framework.apollo.core.spi.Ordered; import org.springframework.beans.BeansException; import org.springframework.beans.factory.support.BeanDefinitionRegistry; public interface ConfigPropertySourcesProcessorHelper extends Ordered { void postProcessBeanDe...
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-openapi/src/main/java/com/ctrip/framework/apollo/openapi/dto/OpenAppDTO.java
package com.ctrip.framework.apollo.openapi.dto; public class OpenAppDTO extends BaseDTO { private String name; private String appId; private String orgId; private String orgName; private String ownerName; private String ownerEmail; public String getAppId() { return appId; } public String ...
package com.ctrip.framework.apollo.openapi.dto; public class OpenAppDTO extends BaseDTO { private String name; private String appId; private String orgId; private String orgName; private String ownerName; private String ownerEmail; public String getAppId() { return appId; } public String ...
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-configservice/src/test/java/com/ctrip/framework/apollo/LocalConfigServiceApplication.java
package com.ctrip.framework.apollo; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.builder.SpringApplicationBuilder; import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer; @SpringBootApplication @EnableEurekaServer public class LocalConfigServi...
package com.ctrip.framework.apollo; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.builder.SpringApplicationBuilder; import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer; @SpringBootApplication @EnableEurekaServer public class LocalConfigServi...
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/service/NamespaceLockService.java
package com.ctrip.framework.apollo.biz.service; import com.ctrip.framework.apollo.biz.entity.NamespaceLock; import com.ctrip.framework.apollo.biz.repository.NamespaceLockRepository; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; @Service public class Na...
package com.ctrip.framework.apollo.biz.service; import com.ctrip.framework.apollo.biz.entity.NamespaceLock; import com.ctrip.framework.apollo.biz.repository.NamespaceLockRepository; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; @Service public class Na...
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/service/FavoriteService.java
package com.ctrip.framework.apollo.portal.service; import com.ctrip.framework.apollo.common.exception.BadRequestException; import com.ctrip.framework.apollo.portal.entity.bo.UserInfo; import com.ctrip.framework.apollo.portal.entity.po.Favorite; import com.ctrip.framework.apollo.portal.repository.FavoriteRepository; im...
package com.ctrip.framework.apollo.portal.service; import com.ctrip.framework.apollo.common.exception.BadRequestException; import com.ctrip.framework.apollo.portal.entity.bo.UserInfo; import com.ctrip.framework.apollo.portal.entity.po.Favorite; import com.ctrip.framework.apollo.portal.repository.FavoriteRepository; im...
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-client/src/test/java/com/ctrip/framework/apollo/spi/DefaultConfigFactoryManagerTest.java
package com.ctrip.framework.apollo.spi; import static org.hamcrest.core.IsEqual.equalTo; import static org.hamcrest.core.IsInstanceOf.instanceOf; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertThat; import org.junit.After; import org.junit.Before; import org.junit.Test; import com....
package com.ctrip.framework.apollo.spi; import static org.hamcrest.core.IsEqual.equalTo; import static org.hamcrest.core.IsInstanceOf.instanceOf; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertThat; import org.junit.After; import org.junit.Before; import org.junit.Test; import com....
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-common/src/main/java/com/ctrip/framework/apollo/common/exception/AbstractApolloHttpException.java
package com.ctrip.framework.apollo.common.exception; import org.springframework.http.HttpStatus; public abstract class AbstractApolloHttpException extends RuntimeException{ private static final long serialVersionUID = -1713129594004951820L; protected HttpStatus httpStatus; public AbstractApolloHttpExceptio...
package com.ctrip.framework.apollo.common.exception; import org.springframework.http.HttpStatus; public abstract class AbstractApolloHttpException extends RuntimeException{ private static final long serialVersionUID = -1713129594004951820L; protected HttpStatus httpStatus; public AbstractApolloHttpExceptio...
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/ApolloBizConfig.java
package com.ctrip.framework.apollo.biz; import org.springframework.boot.autoconfigure.EnableAutoConfiguration; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Configuration; @EnableAutoConfiguration @Configuration @ComponentScan(basePackageClasses = ApolloBiz...
package com.ctrip.framework.apollo.biz; import org.springframework.boot.autoconfigure.EnableAutoConfiguration; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Configuration; @EnableAutoConfiguration @Configuration @ComponentScan(basePackageClasses = ApolloBiz...
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/controller/ReleaseController.java
package com.ctrip.framework.apollo.portal.controller; import com.ctrip.framework.apollo.common.dto.ReleaseDTO; import com.ctrip.framework.apollo.common.exception.BadRequestException; import com.ctrip.framework.apollo.common.exception.NotFoundException; import com.ctrip.framework.apollo.portal.environment.Env; import c...
package com.ctrip.framework.apollo.portal.controller; import com.ctrip.framework.apollo.common.dto.ReleaseDTO; import com.ctrip.framework.apollo.common.exception.BadRequestException; import com.ctrip.framework.apollo.common.exception.NotFoundException; import com.ctrip.framework.apollo.portal.environment.Env; import c...
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/spi/defaultimpl/DefaultLogoutHandler.java
package com.ctrip.framework.apollo.portal.spi.defaultimpl; import com.ctrip.framework.apollo.portal.spi.LogoutHandler; import java.io.IOException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; public class DefaultLogoutHandler implements LogoutHandler { @Override ...
package com.ctrip.framework.apollo.portal.spi.defaultimpl; import com.ctrip.framework.apollo.portal.spi.LogoutHandler; import java.io.IOException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; public class DefaultLogoutHandler implements LogoutHandler { @Override ...
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-biz/src/test/java/com/ctrip/framework/apollo/biz/repository/AppRepositoryTest.java
package com.ctrip.framework.apollo.biz.repository; import com.ctrip.framework.apollo.biz.AbstractIntegrationTest; import com.ctrip.framework.apollo.common.entity.App; import org.junit.Assert; import org.junit.Test; import org.springframework.beans.factory.annotation.Autowired; public class AppRepositoryTest extends ...
package com.ctrip.framework.apollo.biz.repository; import com.ctrip.framework.apollo.biz.AbstractIntegrationTest; import com.ctrip.framework.apollo.common.entity.App; import org.junit.Assert; import org.junit.Test; import org.springframework.beans.factory.annotation.Autowired; public class AppRepositoryTest extends ...
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-configservice/src/main/java/com/ctrip/framework/apollo/configservice/controller/NotificationController.java
package com.ctrip.framework.apollo.configservice.controller; import com.ctrip.framework.apollo.biz.entity.ReleaseMessage; import com.ctrip.framework.apollo.biz.message.ReleaseMessageListener; import com.ctrip.framework.apollo.biz.message.Topics; import com.ctrip.framework.apollo.biz.utils.EntityManagerUtil; import com...
package com.ctrip.framework.apollo.configservice.controller; import com.ctrip.framework.apollo.biz.entity.ReleaseMessage; import com.ctrip.framework.apollo.biz.message.ReleaseMessageListener; import com.ctrip.framework.apollo.biz.message.Topics; import com.ctrip.framework.apollo.biz.utils.EntityManagerUtil; import com...
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/RetryableRestTemplateTest.java
package com.ctrip.framework.apollo.portal; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNull; import static org.junit.Assert.assertSame; import static org.junit.Assert.assertTrue; import static org.mockito.ArgumentMatchers.any; import static org.mockito.ArgumentMatchers.eq; import ...
package com.ctrip.framework.apollo.portal; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNull; import static org.junit.Assert.assertSame; import static org.junit.Assert.assertTrue; import static org.mockito.ArgumentMatchers.any; import static org.mockito.ArgumentMatchers.eq; import ...
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./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Ă...
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Ă...
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-client/src/test/resources/spring/XmlConfigPlaceholderTest1.xml
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:apollo="http://www.ctrip.com/schema/apollo" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/sc...
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:apollo="http://www.ctrip.com/schema/apollo" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/sc...
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./doc/images/local-development/apollo-demo-app-properties.png
PNG  IHDR6wV iCCPICC ProfileHT[̤ZB{5A:JHc Pೠ"6!ERDEĂ PPׇ*;=o|͝g ,Q'3&62z,@؜LGhh@53Uhrm:Y߯Ws29@('r39(B#es\2]6ININ;Ss"¼P@aE)?yf6'Cl!({ᱹ(ltlOuRR3QZNL񿕑.y? դ- q~ S'aNW sށ3,Nah^~+bEKäXRN d/kx3͏?Ùiၳsy8LsWqسE#퇛# "YҚpY6é:+`,@JʝRr?@wM%0,,܃ӟ1C9^7g:3...
PNG  IHDR6wV iCCPICC ProfileHT[̤ZB{5A:JHc Pೠ"6!ERDEĂ PPׇ*;=o|͝g ,Q'3&62z,@؜LGhh@53Uhrm:Y߯Ws29@('r39(B#es\2]6ININ;Ss"¼P@aE)?yf6'Cl!({ᱹ(ltlOuRR3QZNL񿕑.y? դ- q~ S'aNW sށ3,Nah^~+bEKäXRN d/kx3͏?Ùiၳsy8LsWqسE#퇛# "YҚpY6é:+`,@JʝRr?@wM%0,,܃ӟ1C9^7g:3...
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-portal/src/test/java/com/ctrip/framework/apollo/openapi/service/ConsumerRolePermissionServiceTest.java
package com.ctrip.framework.apollo.openapi.service; import com.ctrip.framework.apollo.portal.AbstractIntegrationTest; import org.junit.Before; import org.junit.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.test.context.jdbc.Sql; import static org.junit.Assert.assertF...
package com.ctrip.framework.apollo.openapi.service; import com.ctrip.framework.apollo.portal.AbstractIntegrationTest; import org.junit.Before; import org.junit.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.test.context.jdbc.Sql; import static org.junit.Assert.assertF...
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./doc/images/edit-item-entry.png
PNG  IHDR+j^sRGB pHYsgR@IDATxifUs$ $s"Ȥ8 L8ZvYmշvo:#"VttUuuFUUKK-PDdtbDfHHrNJw><9<yNV]kZk۵k٥9B B B B B B B B B B B B B Fq=9h>?B B B B B B B B B B B B B F@~]}@@@@@@@@@@@@B B B B B B B B B B B ...
PNG  IHDR+j^sRGB pHYsgR@IDATxifUs$ $s"Ȥ8 L8ZvYmշvo:#"VttUuuFUUKK-PDdtbDfHHrNJw><9<yNV]kZk۵k٥9B B B B B B B B B B B B B Fq=9h>?B B B B B B B B B B B B B F@~]}@@@@@@@@@@@@B B B B B B B B B B B ...
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-client/src/main/java/com/ctrip/framework/apollo/spring/config/PropertySourcesConstants.java
package com.ctrip.framework.apollo.spring.config; public interface PropertySourcesConstants { String APOLLO_PROPERTY_SOURCE_NAME = "ApolloPropertySources"; String APOLLO_BOOTSTRAP_PROPERTY_SOURCE_NAME = "ApolloBootstrapPropertySources"; String APOLLO_BOOTSTRAP_ENABLED = "apollo.bootstrap.enabled"; String APOLL...
package com.ctrip.framework.apollo.spring.config; public interface PropertySourcesConstants { String APOLLO_PROPERTY_SOURCE_NAME = "ApolloPropertySources"; String APOLLO_BOOTSTRAP_PROPERTY_SOURCE_NAME = "ApolloBootstrapPropertySources"; String APOLLO_BOOTSTRAP_ENABLED = "apollo.bootstrap.enabled"; String APOLL...
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./scripts/flyway/portaldb/V1.1.1__extend_appId.sql
# delta schema to upgrade apollo portal db from v1.7.0 to v1.8.0 Use ApolloPortalDB; alter table `AppNamespace` change AppId AppId varchar(64) NOT NULL DEFAULT 'default' COMMENT 'app id';
# delta schema to upgrade apollo portal db from v1.7.0 to v1.8.0 Use ApolloPortalDB; alter table `AppNamespace` change AppId AppId varchar(64) NOT NULL DEFAULT 'default' COMMENT 'app id';
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-portal/src/main/resources/static/vendor/select2/select2.min.js
/*! Select2 4.0.7 | https://github.com/select2/select2/blob/master/LICENSE.md */!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof module&&module.exports?module.exports=function(b,c){return void 0===c&&(c="undefined"!=typeof window?require("jquery"):require("jquery")(b)),a(c),c}:a(...
/*! Select2 4.0.7 | https://github.com/select2/select2/blob/master/LICENSE.md */!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof module&&module.exports?module.exports=function(b,c){return void 0===c&&(c="undefined"!=typeof window?require("jquery"):require("jquery")(b)),a(c),c}:a(...
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./scripts/apollo-on-kubernetes/apollo-admin-server/apollo-adminservice.conf
MODE=service PID_FOLDER=. LOG_FOLDER=/opt/logs/apollo-admin-server
MODE=service PID_FOLDER=. LOG_FOLDER=/opt/logs/apollo-admin-server
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./docs/charts/apollo-service-0.2.1.tgz
)+aHR0cHM6Ly95b3V0dS5iZS96OVV6MWljandyTQo=Helm<r8ͧU3aΰwu<s$8D$)@r|ٯI"eNfOa$@whD< y[XP;S"{Gfn= n[=9? ;z zg# e.ϺUdORHD?3}DQs_='@ )ZJ` tV r(K>8S>CJEt&TM#糎|.H_RS[֞K>g *mؙPO EŽ~gF(|.|~&Ox[Yk*B 9mxpG?&09J9sc5Qwy'E2]/H8GgPiGǧ F^*˱D$LTZ3'@0zk Y`m뿗lj(l;qnD"qU3֙...
)+aHR0cHM6Ly95b3V0dS5iZS96OVV6MWljandyTQo=Helm<r8ͧU3aΰwu<s$8D$)@r|ٯI"eNfOa$@whD< y[XP;S"{Gfn= n[=9? ;z zg# e.ϺUdORHD?3}DQs_='@ )ZJ` tV r(K>8S>CJEt&TM#糎|.H_RS[֞K>g *mؙPO EŽ~gF(|.|~&Ox[Yk*B 9mxpG?&09J9sc5Qwy'E2]/H8GgPiGǧ F^*˱D$LTZ3'@0zk Y`m뿗lj(l;qnD"qU3֙...
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./.git/HEAD
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/controller/PrefixPathController.java
package com.ctrip.framework.apollo.portal.controller; import com.google.common.base.Strings; import javax.servlet.ServletContext; import org.springframework.beans.factory.annotation.Value; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RestController; @RestCo...
package com.ctrip.framework.apollo.portal.controller; import com.google.common.base.Strings; import javax.servlet.ServletContext; import org.springframework.beans.factory.annotation.Value; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RestController; @RestCo...
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./scripts/apollo-on-kubernetes/kubernetes/kubectl-apply.sh
# create namespace kubectl create namespace sre # dev-env kubectl apply -f apollo-env-dev/service-mysql-for-apollo-dev-env.yaml --record && \ kubectl apply -f apollo-env-dev/service-apollo-config-server-dev.yaml --record && \ kubectl apply -f apollo-env-dev/service-apollo-admin-server-dev.yaml --record # fat-env(test...
# create namespace kubectl create namespace sre # dev-env kubectl apply -f apollo-env-dev/service-mysql-for-apollo-dev-env.yaml --record && \ kubectl apply -f apollo-env-dev/service-apollo-config-server-dev.yaml --record && \ kubectl apply -f apollo-env-dev/service-apollo-admin-server-dev.yaml --record # fat-env(test...
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-adminservice/src/main/java/com/ctrip/framework/apollo/adminservice/AdminServiceApplication.java
package com.ctrip.framework.apollo.adminservice; import com.ctrip.framework.apollo.biz.ApolloBizConfig; import com.ctrip.framework.apollo.common.ApolloCommonConfig; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.EnableAutoConfiguration; import org.springframework.cont...
package com.ctrip.framework.apollo.adminservice; import com.ctrip.framework.apollo.biz.ApolloBizConfig; import com.ctrip.framework.apollo.common.ApolloCommonConfig; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.EnableAutoConfiguration; import org.springframework.cont...
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/component/txtresolver/PropertyResolver.java
package com.ctrip.framework.apollo.portal.component.txtresolver; import com.ctrip.framework.apollo.common.dto.ItemChangeSets; import com.ctrip.framework.apollo.common.dto.ItemDTO; import com.ctrip.framework.apollo.common.exception.BadRequestException; import com.ctrip.framework.apollo.common.utils.BeanUtils; import c...
package com.ctrip.framework.apollo.portal.component.txtresolver; import com.ctrip.framework.apollo.common.dto.ItemChangeSets; import com.ctrip.framework.apollo.common.dto.ItemDTO; import com.ctrip.framework.apollo.common.exception.BadRequestException; import com.ctrip.framework.apollo.common.utils.BeanUtils; import c...
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-portal/src/main/resources/static/vendor/angular/angular-resource.min.js
/* AngularJS v1.4.3 (c) 2010-2015 Google, Inc. http://angularjs.org License: MIT */ (function (I, d, B) { 'use strict'; function D(f, q) { q = q || {}; d.forEach(q, function (d, h) { delete q[h] }); for (var h in f)!f.hasOwnProperty(h) || "$" === h.charAt(0) && "$...
/* AngularJS v1.4.3 (c) 2010-2015 Google, Inc. http://angularjs.org License: MIT */ (function (I, d, B) { 'use strict'; function D(f, q) { q = q || {}; d.forEach(q, function (d, h) { delete q[h] }); for (var h in f)!f.hasOwnProperty(h) || "$" === h.charAt(0) && "$...
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-client/src/test/resources/spring/XmlConfigAnnotationTest6.xml
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:apollo="http://www.ctrip.com/schema/apollo" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/sc...
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:apollo="http://www.ctrip.com/schema/apollo" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/sc...
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-client/src/main/java/com/ctrip/framework/apollo/util/http/HttpUtil.java
package com.ctrip.framework.apollo.util.http; import com.ctrip.framework.apollo.build.ApolloInjector; import com.ctrip.framework.apollo.exceptions.ApolloConfigException; import com.ctrip.framework.apollo.exceptions.ApolloConfigStatusCodeException; import com.ctrip.framework.apollo.util.ConfigUtil; import com.google.co...
package com.ctrip.framework.apollo.util.http; import com.ctrip.framework.apollo.build.ApolloInjector; import com.ctrip.framework.apollo.exceptions.ApolloConfigException; import com.ctrip.framework.apollo.exceptions.ApolloConfigStatusCodeException; import com.ctrip.framework.apollo.util.ConfigUtil; import com.google.co...
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-configservice/src/test/java/com/ctrip/framework/apollo/configservice/util/InstanceConfigAuditUtilTest.java
package com.ctrip.framework.apollo.configservice.util; import com.ctrip.framework.apollo.biz.entity.Instance; import com.ctrip.framework.apollo.biz.entity.InstanceConfig; import com.ctrip.framework.apollo.biz.service.InstanceService; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; impo...
package com.ctrip.framework.apollo.configservice.util; import com.ctrip.framework.apollo.biz.entity.Instance; import com.ctrip.framework.apollo.biz.entity.InstanceConfig; import com.ctrip.framework.apollo.biz.service.InstanceService; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; impo...
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/entity/po/Favorite.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; @Entity @Table(name =...
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; @Entity @Table(name =...
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-openapi/src/main/java/com/ctrip/framework/apollo/openapi/dto/BaseDTO.java
package com.ctrip.framework.apollo.openapi.dto; import java.util.Date; public class BaseDTO { protected String dataChangeCreatedBy; protected String dataChangeLastModifiedBy; protected Date dataChangeCreatedTime; protected Date dataChangeLastModifiedTime; public String getDataChangeCreatedBy() { re...
package com.ctrip.framework.apollo.openapi.dto; import java.util.Date; public class BaseDTO { protected String dataChangeCreatedBy; protected String dataChangeLastModifiedBy; protected Date dataChangeCreatedTime; protected Date dataChangeLastModifiedTime; public String getDataChangeCreatedBy() { re...
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-client/src/test/resources/spring/yaml/case9.yml
someKey: someValue
someKey: someValue
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-client/src/test/resources/spring/XmlConfigPlaceholderTest7.xml
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:apollo="http://www.ctrip.com/schema/apollo" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/sc...
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:apollo="http://www.ctrip.com/schema/apollo" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/sc...
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-configservice/src/main/java/com/ctrip/framework/apollo/configservice/service/config/ConfigService.java
package com.ctrip.framework.apollo.configservice.service.config; import com.ctrip.framework.apollo.biz.entity.Release; import com.ctrip.framework.apollo.biz.message.ReleaseMessageListener; import com.ctrip.framework.apollo.core.dto.ApolloNotificationMessages; /** * @author Jason Song(song_s@ctrip.com) */ public int...
package com.ctrip.framework.apollo.configservice.service.config; import com.ctrip.framework.apollo.biz.entity.Release; import com.ctrip.framework.apollo.biz.message.ReleaseMessageListener; import com.ctrip.framework.apollo.core.dto.ApolloNotificationMessages; /** * @author Jason Song(song_s@ctrip.com) */ public int...
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/controller/ConsumerController.java
package com.ctrip.framework.apollo.portal.controller; import com.ctrip.framework.apollo.common.dto.NamespaceDTO; import com.ctrip.framework.apollo.common.exception.BadRequestException; import com.ctrip.framework.apollo.core.utils.StringUtils; import com.ctrip.framework.apollo.openapi.entity.Consumer; import com.ctrip....
package com.ctrip.framework.apollo.portal.controller; import com.ctrip.framework.apollo.common.dto.NamespaceDTO; import com.ctrip.framework.apollo.common.exception.BadRequestException; import com.ctrip.framework.apollo.core.utils.StringUtils; import com.ctrip.framework.apollo.openapi.entity.Consumer; import com.ctrip....
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-mockserver/src/test/java/com/ctrip/framework/apollo/mockserver/ApolloMockServerSpringIntegrationTest.java
package com.ctrip.framework.apollo.mockserver; import com.ctrip.framework.apollo.enums.PropertyChangeType; import com.ctrip.framework.apollo.mockserver.ApolloMockServerSpringIntegrationTest.TestConfiguration; import com.ctrip.framework.apollo.model.ConfigChangeEvent; import com.ctrip.framework.apollo.spring.annotation...
package com.ctrip.framework.apollo.mockserver; import com.ctrip.framework.apollo.enums.PropertyChangeType; import com.ctrip.framework.apollo.mockserver.ApolloMockServerSpringIntegrationTest.TestConfiguration; import com.ctrip.framework.apollo.model.ConfigChangeEvent; import com.ctrip.framework.apollo.spring.annotation...
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-portal/src/main/resources/static/scripts/services/NamespaceBranchService.js
appService.service('NamespaceBranchService', ['$resource', '$q', 'AppUtil', function ($resource, $q, AppUtil) { var resource = $resource('', {}, { find_namespace_branch: { method: 'GET', isArray: false, url: AppUtil.prefixPath() + '/apps/:appId/envs/:env/clusters/:cluster...
appService.service('NamespaceBranchService', ['$resource', '$q', 'AppUtil', function ($resource, $q, AppUtil) { var resource = $resource('', {}, { find_namespace_branch: { method: 'GET', isArray: false, url: AppUtil.prefixPath() + '/apps/:appId/envs/:env/clusters/:cluster...
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-core/src/main/java/com/ctrip/framework/apollo/tracer/spi/Transaction.java
package com.ctrip.framework.apollo.tracer.spi; /** * @author Jason Song(song_s@ctrip.com) */ public interface Transaction { String SUCCESS = "0"; /** * Set the message status. * * @param status message status. "0" means success, otherwise error code. */ void setStatus(String status); /** * S...
package com.ctrip.framework.apollo.tracer.spi; /** * @author Jason Song(song_s@ctrip.com) */ public interface Transaction { String SUCCESS = "0"; /** * Set the message status. * * @param status message status. "0" means success, otherwise error code. */ void setStatus(String status); /** * S...
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./doc/images/environment-remote-source.png
PNG  IHDRj8U۴ iCCPICC ProfileHWXS[R -)7Az`#$B!TȢk kdQQ,,o,(bʛ$N9gsfPg Y\ad3>!IԀp`s:rRU96HɜvG5a.n7+ !Ad Na- NakMt/~,0I|f;Q@l؃@,xBVl&'o1bXcXT~A&kY-Y9a "%9úUg`i'C9Gj/DA1#_X3_İ(C=mYB/Gx#8Y8;r$> "<ssFmRxÕODxa+@ܝ2{??7lF(p6m0 RfgYYҹ!Mb...
PNG  IHDRj8U۴ iCCPICC ProfileHWXS[R -)7Az`#$B!TȢk kdQQ,,o,(bʛ$N9gsfPg Y\ad3>!IԀp`s:rRU96HɜvG5a.n7+ !Ad Na- NakMt/~,0I|f;Q@l؃@,xBVl&'o1bXcXT~A&kY-Y9a "%9úUg`i'C9Gj/DA1#_X3_İ(C=mYB/Gx#8Y8;r$> "<ssFmRxÕODxa+@ܝ2{??7lF(p6m0 RfgYYҹ!Mb...
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/repository/GrayReleaseRuleRepository.java
package com.ctrip.framework.apollo.biz.repository; import com.ctrip.framework.apollo.biz.entity.GrayReleaseRule; import org.springframework.data.repository.PagingAndSortingRepository; import java.util.List; public interface GrayReleaseRuleRepository extends PagingAndSortingRepository<GrayReleaseRule, Long> { Gr...
package com.ctrip.framework.apollo.biz.repository; import com.ctrip.framework.apollo.biz.entity.GrayReleaseRule; import org.springframework.data.repository.PagingAndSortingRepository; import java.util.List; public interface GrayReleaseRuleRepository extends PagingAndSortingRepository<GrayReleaseRule, Long> { Gr...
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./docs/zh/README.md
<img src="https://raw.githubusercontent.com/ctripcorp/apollo/master/doc/images/logo/logo-simple.png" alt="apollo-logo" width="40%"> # Introduction Apollo(阿波罗)是携程框架部门研发的分布式配置中心,能够集中化管理应用不同环境、不同集群的配置,配置修改后能够实时推送到应用端,并且具备规范的权限、流程治理等特性,适用于微服务配置管理场景。 服务端基于Spring Boot和Spring Cloud开发,打包后可以直接运行,不需要额外安装Tomcat等应用容器。 Java客户端不...
<img src="https://raw.githubusercontent.com/ctripcorp/apollo/master/doc/images/logo/logo-simple.png" alt="apollo-logo" width="40%"> # Introduction Apollo(阿波罗)是携程框架部门研发的分布式配置中心,能够集中化管理应用不同环境、不同集群的配置,配置修改后能够实时推送到应用端,并且具备规范的权限、流程治理等特性,适用于微服务配置管理场景。 服务端基于Spring Boot和Spring Cloud开发,打包后可以直接运行,不需要额外安装Tomcat等应用容器。 Java客户端不...
-1
apolloconfig/apollo
3,575
Added support for consul service discovery
新增 Consul 服务发现支持
klboke
2021-03-01T12:24:03Z
2021-03-03T00:19:54Z
d2059e6c6757d735f95c39b30fb4fbaebe73eb11
3ff84d195c660df1173ec04b2d6ea7152a557fae
Added support for consul service discovery. 新增 Consul 服务发现支持
./apollo-client/src/test/java/com/ctrip/framework/apollo/internals/SimpleConfigTest.java
package com.ctrip.framework.apollo.internals; import static org.junit.Assert.assertEquals; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; import com.ctrip.framework.apollo.build.MockInjector; import com.ctrip.framework.apollo.enums.ConfigSourceType; import com.ctrip.framework.apollo.u...
package com.ctrip.framework.apollo.internals; import static org.junit.Assert.assertEquals; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; import com.ctrip.framework.apollo.build.MockInjector; import com.ctrip.framework.apollo.enums.ConfigSourceType; import com.ctrip.framework.apollo.u...
-1