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,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/entity/ReleaseMessage.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,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./apollo-adminservice/src/test/java/com/ctrip/framework/apollo/adminservice/controller/ControllerExceptionTest.java
package com.ctrip.framework.apollo.adminservice.controller; import com.ctrip.framework.apollo.biz.service.AdminService; import com.ctrip.framework.apollo.biz.service.AppService; import com.ctrip.framework.apollo.common.dto.AppDTO; import com.ctrip.framework.apollo.common.entity.App; import com.ctrip.framework.apollo.c...
package com.ctrip.framework.apollo.adminservice.controller; import com.ctrip.framework.apollo.biz.service.AdminService; import com.ctrip.framework.apollo.biz.service.AppService; import com.ctrip.framework.apollo.common.dto.AppDTO; import com.ctrip.framework.apollo.common.entity.App; import com.ctrip.framework.apollo.c...
-1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./apollo-portal/src/main/resources/static/vendor/font-awesome.min.css
/*! * Font Awesome 4.5.0 by @davegandy - http://fontawesome.io - @fontawesome * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) */@font-face{font-family:'FontAwesome';src:url('../fonts/fontawesome-webfont.eot?v=4.5.0');src:url('../fonts/fontawesome-webfont.eot?#iefix&v=4.5.0') format(...
/*! * Font Awesome 4.5.0 by @davegandy - http://fontawesome.io - @fontawesome * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) */@font-face{font-family:'FontAwesome';src:url('../fonts/fontawesome-webfont.eot?v=4.5.0');src:url('../fonts/fontawesome-webfont.eot?#iefix&v=4.5.0') format(...
-1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./scripts/build.bat
@echo off rem apollo config db info set apollo_config_db_url="jdbc:mysql://localhost:3306/ApolloConfigDB?characterEncoding=utf8" set apollo_config_db_username="root" set apollo_config_db_password="" rem apollo portal db info set apollo_portal_db_url="jdbc:mysql://localhost:3306/ApolloPortalDB?characterEncoding=utf8" ...
@echo off rem apollo config db info set apollo_config_db_url="jdbc:mysql://localhost:3306/ApolloConfigDB?characterEncoding=utf8" set apollo_config_db_username="root" set apollo_config_db_password="" rem apollo portal db info set apollo_portal_db_url="jdbc:mysql://localhost:3306/ApolloPortalDB?characterEncoding=utf8" ...
-1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/spi/defaultimpl/DefaultSsoHeartbeatHandler.java
package com.ctrip.framework.apollo.portal.spi.defaultimpl; import com.ctrip.framework.apollo.portal.spi.SsoHeartbeatHandler; import java.io.IOException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; /** * @author Jason Song(song_s@ctrip.com) */ public class DefaultSs...
package com.ctrip.framework.apollo.portal.spi.defaultimpl; import com.ctrip.framework.apollo.portal.spi.SsoHeartbeatHandler; import java.io.IOException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; /** * @author Jason Song(song_s@ctrip.com) */ public class DefaultSs...
-1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./apollo-openapi/src/test/java/com/ctrip/framework/apollo/openapi/client/service/ClusterOpenApiServiceTest.java
package com.ctrip.framework.apollo.openapi.client.service; import static org.junit.Assert.*; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; import com.ctrip.framework.apollo.openapi.dto.OpenClusterDTO; import org.apache.http.client.methods.Ht...
package com.ctrip.framework.apollo.openapi.client.service; import static org.junit.Assert.*; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; import com.ctrip.framework.apollo.openapi.dto.OpenClusterDTO; import org.apache.http.client.methods.Ht...
-1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./apollo-portal/src/main/resources/static/delete_app_cluster_namespace.html
<!doctype html> <html ng-app="delete_app_cluster_namespace"> <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...
<!doctype html> <html ng-app="delete_app_cluster_namespace"> <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...
-1
apolloconfig/apollo
3,488
switch off console appenders when running as backend services
## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders switchable 2. set `LOG_APPENDERS=FILE` when running as backend ser...
nobodyiam
2021-01-10T05:01:31Z
2021-01-10T06:11:12Z
41519f41fa390404c10d48a85e42de135f140aa2
137d70e7ba47ad74aa6766a1e8fb7f087038e00e
switch off console appenders when running as backend services. ## What's the purpose of this PR switch off console appenders when running as backend services ## Which issue(s) this PR fixes: Fixes #3272 #2459 ## Brief changelog 1. add `LOG_APPENDERS` environment variables to make logback appenders swit...
./apollo-adminservice/src/main/java/com/ctrip/framework/apollo/adminservice/controller/ReleaseHistoryController.java
package com.ctrip.framework.apollo.adminservice.controller; import com.ctrip.framework.apollo.biz.entity.ReleaseHistory; import com.ctrip.framework.apollo.biz.service.ReleaseHistoryService; import com.ctrip.framework.apollo.common.dto.PageDTO; import com.ctrip.framework.apollo.common.dto.ReleaseHistoryDTO; import com....
package com.ctrip.framework.apollo.adminservice.controller; import com.ctrip.framework.apollo.biz.entity.ReleaseHistory; import com.ctrip.framework.apollo.biz.service.ReleaseHistoryService; import com.ctrip.framework.apollo.common.dto.PageDTO; import com.ctrip.framework.apollo.common.dto.ReleaseHistoryDTO; import com....
-1