Skip to content

Commit

Permalink
Marked http connection as always active
Browse files Browse the repository at this point in the history
  • Loading branch information
santanusinha committed Feb 29, 2020
1 parent 745846f commit 1c56a3d
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 1 deletion.
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<module>ranger-core</module>
<module>ranger-zookeeper</module>
<module>ranger-http</module>
<module>ranger-server</module>
</modules>

<distributionManagement>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ protected int defaultPort() {

@Override
public boolean isActive() {
// return httpClient.connectionPool().connectionCount() > 0;
return true;
}
}
22 changes: 22 additions & 0 deletions ranger-server/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?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>
<artifactId>ranger</artifactId>
<groupId>com.flipkart.ranger</groupId>
<version>1.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>ranger-server</artifactId>

<dependencies>
<dependency>
<groupId>com.flipkart.ranger</groupId>
<artifactId>ranger-zookeeper</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>

</project>

0 comments on commit 1c56a3d

Please sign in to comment.