diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 3403d45797..221f814478 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -26,6 +26,7 @@ on: - development - master - lineageondemand + - atlassearch jobs: build: @@ -51,6 +52,16 @@ jobs: run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})" id: get_branch + - name: Create Maven Settings + uses: s4u/maven-settings-action@v2.8.0 + with: + servers: | + [{ + "id": "github", + "username": "atlan-ci", + "password": "${{ secrets.my_pat }}" + }] + - name: Build with Maven run: | branch_name=${{ steps.get_branch.outputs.branch }} diff --git a/.github/workflows/trivy-docker-scan.yml b/.github/workflows/trivy-docker-scan.yml index 6be78e7552..38574fbb64 100644 --- a/.github/workflows/trivy-docker-scan.yml +++ b/.github/workflows/trivy-docker-scan.yml @@ -7,6 +7,7 @@ on: - development - master - lineageondemand + - atlassearch jobs: diff --git a/build.sh b/build.sh index d3f77f5647..d60c540769 100755 --- a/build.sh +++ b/build.sh @@ -24,9 +24,9 @@ unzip -o keycloak-15.0.2.1.zip -d ~/.m2/repository/org echo "Maven Building" if [ "$1" == "build_without_dashboard" ]; then - mvn -pl '!addons/hdfs-model,!addons/hive-bridge,!addons/hive-bridge-shim,!addons/falcon-bridge-shim,!addons/falcon-bridge,!addons/sqoop-bridge,!addons/sqoop-bridge-shim,!addons/hbase-bridge,!addons/hbase-bridge-shim,!addons/hbase-testing-util,!addons/kafka-bridge,!addons/impala-hook-api,!addons/impala-bridge-shim,!addons/impala-bridge,!dashboardv2,!dashboardv3' -Dmaven.test.skip -DskipTests -Drat.skip=true -DskipOverlay -DskipEnunciate=true package -Pdist + mvn -pl '!test-tools,!addons/hdfs-model,!addons/hive-bridge,!addons/hive-bridge-shim,!addons/falcon-bridge-shim,!addons/falcon-bridge,!addons/sqoop-bridge,!addons/sqoop-bridge-shim,!addons/hbase-bridge,!addons/hbase-bridge-shim,!addons/hbase-testing-util,!addons/kafka-bridge,!addons/impala-hook-api,!addons/impala-bridge-shim,!addons/impala-bridge,!dashboardv2,!dashboardv3' -Dmaven.test.skip -DskipTests -Drat.skip=true -DskipOverlay -DskipEnunciate=true package -Pdist else - mvn -pl '!addons/hdfs-model,!addons/hive-bridge,!addons/hive-bridge-shim,!addons/falcon-bridge-shim,!addons/falcon-bridge,!addons/sqoop-bridge,!addons/sqoop-bridge-shim,!addons/hbase-bridge,!addons/hbase-bridge-shim,!addons/hbase-testing-util,!addons/kafka-bridge,!addons/impala-hook-api,!addons/impala-bridge-shim,!addons/impala-bridge' -Dmaven.test.skip -DskipTests -Drat.skip=true -DskipEnunciate=true package -Pdist + mvn -pl '!test-tools,!addons/hdfs-model,!addons/hive-bridge,!addons/hive-bridge-shim,!addons/falcon-bridge-shim,!addons/falcon-bridge,!addons/sqoop-bridge,!addons/sqoop-bridge-shim,!addons/hbase-bridge,!addons/hbase-bridge-shim,!addons/hbase-testing-util,!addons/kafka-bridge,!addons/impala-hook-api,!addons/impala-bridge-shim,!addons/impala-bridge' -Dmaven.test.skip -DskipTests -Drat.skip=true -DskipEnunciate=true package -Pdist fi echo "[DEBUG listing distro/target" diff --git a/common/pom.xml b/common/pom.xml index 47c274ca4d..ff4d502f12 100644 --- a/common/pom.xml +++ b/common/pom.xml @@ -145,7 +145,51 @@ - + + io.netty + netty-all + ${netty4.version} + + + io.netty + netty-handler + ${netty4.version} + + + io.netty + netty-common + ${netty4.version} + + + io.netty + netty-resolver + ${netty4.version} + + + io.netty + netty-codec + ${netty4.version} + + + io.netty + netty-transport + ${netty4.version} + + + io.netty + netty-buffer + ${netty4.version} + + + io.netty + netty-transport-native-epoll + ${netty4.version} + + + io.netty + netty-transport-native-unix-common + ${netty4.version} + diff --git a/common/src/main/java/org/apache/atlas/service/redis/AbstractRedisService.java b/common/src/main/java/org/apache/atlas/service/redis/AbstractRedisService.java index ed3ab37579..2c8ecc3570 100644 --- a/common/src/main/java/org/apache/atlas/service/redis/AbstractRedisService.java +++ b/common/src/main/java/org/apache/atlas/service/redis/AbstractRedisService.java @@ -29,6 +29,7 @@ public abstract class AbstractRedisService implements RedisService { private static final String ATLAS_REDIS_LOCK_WATCHDOG_TIMEOUT_MS = "atlas.redis.lock.watchdog_timeout.ms"; private static final int DEFAULT_REDIS_WAIT_TIME_MS = 15_000; private static final int DEFAULT_REDIS_LOCK_WATCHDOG_TIMEOUT_MS = 600_000; + private static final String ATLAS_METASTORE_SERVICE = "atlas-metastore-service"; RedissonClient redisClient; Map keyLockMap; @@ -99,6 +100,7 @@ Config getLocalConfig() throws AtlasException { Config getProdConfig() throws AtlasException { Config config = initAtlasConfig(); config.useSentinelServers() + .setClientName(ATLAS_METASTORE_SERVICE) .setReadMode(ReadMode.MASTER_SLAVE) .setCheckSentinelsList(false) .setMasterName(atlasConfig.getString(ATLAS_REDIS_MASTER_NAME)) diff --git a/graphdb/janus/pom.xml b/graphdb/janus/pom.xml index 69160977f2..c7ef5106e0 100644 --- a/graphdb/janus/pom.xml +++ b/graphdb/janus/pom.xml @@ -209,6 +209,10 @@ org.codehaus.woodstox woodstox-core-asl + + io.netty + * + diff --git a/pom.xml b/pom.xml index 08b325efcc..128c52fbd2 100644 --- a/pom.xml +++ b/pom.xml @@ -717,7 +717,7 @@ 4.4.13 2.11.3 2.11.3 - 0.6.0 + 0.6.01 0.5.3 1 3.1.0 @@ -778,6 +778,7 @@ 3.4.6 3.20.1 1.11.1 + 4.1.61.Final @@ -835,6 +836,16 @@ false + + github + https://maven.pkg.github.com/atlanhq/atlan-janusgraph + + true + + + true + + hortonworks.repo https://repo.hortonworks.com/content/repositories/releases diff --git a/repository/pom.xml b/repository/pom.xml index afe4708f62..7429fd6eae 100755 --- a/repository/pom.xml +++ b/repository/pom.xml @@ -393,6 +393,7 @@ org.apache.atlas atlas-testtools ${project.version} + test com.fasterxml.jackson.core diff --git a/webapp/pom.xml b/webapp/pom.xml index 35a0e8a010..8783276f6d 100755 --- a/webapp/pom.xml +++ b/webapp/pom.xml @@ -552,6 +552,7 @@ org.apache.atlas atlas-testtools ${project.version} + test