Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

Commit

Permalink
Merge pull request #2115 from Netflix/background_annotation
Browse files Browse the repository at this point in the history
Disable background processes when instance is disabled
  • Loading branch information
apanicker-nflx authored Mar 15, 2021
2 parents a42ef55 + 8b46925 commit 1285af7
Show file tree
Hide file tree
Showing 38 changed files with 325 additions and 279 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,6 @@ bin/
target/
.DS_Store
.vscode/

# publishing secrets
secrets/signing-key
20 changes: 11 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
language: java
jdk:
- openjdk8

after_success:
- bash <(curl -s https://codecov.io/bash)
install: true
install: "./installViaTravis.sh"
script: "./buildViaTravis.sh"
git:
depth: 150
Expand All @@ -14,12 +13,15 @@ addons:
- redis-server
cache:
directories:
- "$HOME/.gradle/caches"
- "$HOME/.gradle/caches"
env:
global:
- secure: Klmmz8ctX995+JBE2BEnR0CQxe9IVMblIHrQMAim/j3Jdw9rgPX4H4UdDgNbt3yEbFOk54R/2g9eJst2hJVXzpsMiArFLo77HwEwl2cHUPgpCzhQLpp5nyw2e/giKBqaYqN99tzA4P/VsDL9EZR6JBdprG5pega2IdNj9pc9Q/QnG7OEwk/PU4CAhcL6iVvQVqmXf9wwgI8SH+6IKa1BVCzs5GQF3Hxtzk9tNIJAh0f/FMTyax6nLHY0cNJdu9ky75BS4X1BYIYRisSxcHKRLGaYBY6JGzWtba3p1o4hmKw6PKtd8f/aOeOLyZTOePGUVrBIn9WXG/R3UvvZgtkcv/0tq7sMjKRF5sDHetlgXTsPmXvM4RzxJYUx7JQKVdAmFKyRiUFtDFjUQKwbF2gdGSQQd9daZLm4X7KGb8tjiTCB9xSQg7wwbCUJrfGZbicA0sZ8y9Lu+fEbrmzkWqSpy+/I2P2gurKMLdM2y9FwWhcV4mN4u/U9r9B/jJHedm7pVoZBxVs32C6uhkEGeCBxy01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ydre44K5YK9cjpfB2r3UJ2CNvq9JufJI+FW7na9flxLxZsRg02uwYBDjYDRuzra4pROj3yvO00febv9Vm556BT8gDsNHk=
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ Modified properties in the `core` module:
| APP_ID | conductor.app.appId | conductor |
| workflow.executor.service.max.threads | conductor.app.executorServiceMaxThreadCount | 50 |
| decider.sweep.frequency.seconds | conductor.app.sweepFrequency | 30s |
| decider.sweep.disable | conductor.app.sweepDisabled | false |
| workflow.sweeper.thread.count | conductor.app.sweeperThreadCount | 5 |
| workflow.event.processor.thread.count | conductor.app.eventProcessorThreadCount | 2 |
| workflow.event.message.indexing.enabled | conductor.app.eventMessageIndexingEnabled | true |
Expand All @@ -132,13 +131,12 @@ Modified properties in the `core` module:
| task.queue.message.postponeSeconds | conductor.app.taskExecutionPostponeDuration | 60s |
| workflow.taskExecLog.indexing.enabled | conductor.app.taskExecLogIndexingEnabled | true |
| async.indexing.enabled | conductor.app.asyncIndexingEnabled | false |
| workflow.system.task.worker.thread.count | conductor.app.systemTaskWorkerThreadCount | 10 |
| workflow.system.task.worker.thread.count | conductor.app.systemTaskWorkerThreadCount | # available processors * 2 |
| workflow.system.task.worker.callback.seconds | conductor.app.systemTaskWorkerCallbackDuration | 30s |
| workflow.system.task.worker.poll.interval | conductor.app.systemTaskWorkerPollInterval | 50s |
| workflow.system.task.worker.executionNameSpace | conductor.app.systemTaskWorkerExecutionNamespace | "" |
| workflow.isolated.system.task.worker.thread.count | conductor.app.isolatedSystemTaskWorkerThreadCount | 1 |
| workflow.system.task.queue.pollCount | conductor.app.systemTaskMaxPollCount | 1 |
| conductor.disable.async.workers | conductor.app.systemTaskWorkersDisabled | false |
| async.update.short.workflow.duration.seconds | conductor.app.asyncUpdateShortRunningWorkflowDuration | 30s |
| async.update.delay.seconds | conductor.app.asyncUpdateDelay | 60s |
| workflow.owner.email.mandatory | conductor.app.ownerEmailMandatory | true |
Expand Down Expand Up @@ -273,6 +271,8 @@ Modified properties that are used for configuring components:
| --- | --- | --- |
| db | conductor.db.type | "" |
| workflow.indexing.enabled | conductor.indexing.enabled | true |
| conductor.disable.async.workers | conductor.system-task-workers.enabled | true |
| decider.sweep.disable | conductor.workflow-sweeper.enabled | true |
| conductor.grpc.server.enabled | conductor.grpc-server.enabled | false |
| workflow.external.payload.storage | conductor.external-payload-storage.type | dummy |
| workflow.default.event.processor.enabled | conductor.default-event-processor.enabled | true |
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.netflix.nebula:gradle-extra-configurations-plugin:5.0.2'
classpath 'com.netflix.nebula:gradle-extra-configurations-plugin:5.0.3'
classpath 'org.springframework.boot:spring-boot-gradle-plugin:2.3.1.RELEASE'
}
}
Expand All @@ -14,7 +14,7 @@ plugins {
id 'io.spring.dependency-management' version '1.0.9.RELEASE'
id 'java'
id 'application'
id 'nebula.netflixoss' version '8.8.1'
id 'nebula.netflixoss' version '9.2.2'
id 'com.github.kt3k.coveralls' version '2.8.2'
}

Expand Down
6 changes: 3 additions & 3 deletions buildViaTravis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
./gradlew build coveralls
elif [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_TAG" == "" ]; then
echo -e 'Build Branch with Snapshot => Branch ['$TRAVIS_BRANCH']'
./gradlew -Prelease.travisci=true -PbintrayUser="${bintrayUser}" -PbintrayKey="${bintrayKey}" -PsonatypeUsername="${sonatypeUsername}" -PsonatypePassword="${sonatypePassword}" build snapshot coveralls --info --stacktrace
./gradlew -Prelease.travisci=true -PnetflixOss.username=$NETFLIX_OSS_REPO_USERNAME -PnetflixOss.password=$NETFLIX_OSS_REPO_PASSWORD -Psonatype.signingPassword=$NETFLIX_OSS_SIGNING_PASSWORD -Prelease.scope=patch build snapshot coveralls
elif [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_TAG" != "" ]; then
echo -e 'Build Branch for Release => Branch ['$TRAVIS_BRANCH'] Tag ['$TRAVIS_TAG']'
case "$TRAVIS_TAG" in
*-rc\.*)
./gradlew -Prelease.travisci=true -Prelease.useLastTag=true -PbintrayUser="${bintrayUser}" -PbintrayKey="${bintrayKey}" -PsonatypeUsername="${sonatypeUsername}" -PsonatypePassword="${sonatypePassword}" candidate coveralls --info --stacktrace
./gradlew -Prelease.travisci=true -Prelease.useLastTag=true -PnetflixOss.username=$NETFLIX_OSS_REPO_USERNAME -PnetflixOss.password=$NETFLIX_OSS_REPO_PASSWORD -Psonatype.signingPassword=$NETFLIX_OSS_SIGNING_PASSWORD candidate coveralls
;;
*)
./gradlew -Prelease.travisci=true -Prelease.useLastTag=true -PbintrayUser="${bintrayUser}" -PbintrayKey="${bintrayKey}" -PsonatypeUsername="${sonatypeUsername}" -PsonatypePassword="${sonatypePassword}" final coveralls --info --stacktrace
./gradlew -Prelease.travisci=true -Prelease.useLastTag=true -PnetflixOss.username=$NETFLIX_OSS_REPO_USERNAME -PnetflixOss.password=$NETFLIX_OSS_REPO_PASSWORD -Psonatype.username=$NETFLIX_OSS_SONATYPE_USERNAME -Psonatype.password=$NETFLIX_OSS_SONATYPE_PASSWORD -Psonatype.signingPassword=$NETFLIX_OSS_SIGNING_PASSWORD final coveralls
;;
esac
else
Expand Down
29 changes: 29 additions & 0 deletions client/build.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "gradle.plugin.com.github.spotbugs.snom:spotbugs-gradle-plugin:4.6.2"
}
}

apply plugin: 'com.github.spotbugs'
apply plugin: 'pmd'

configurations.all {
exclude group: 'amazon', module: 'aws-java-sdk'
}
Expand Down Expand Up @@ -25,3 +39,18 @@ dependencies {
testImplementation "org.powermock:powermock-module-junit4:${revPowerMock}"
testImplementation "org.powermock:powermock-api-mockito2:${revPowerMock}"
}

spotbugsMain {
reports {
xml {
enabled = false
}
html {
enabled = true
}
}
}

pmd {
ignoreFailures = true
}
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,4 @@ public List<Message> getMessages(String queue) {
public List<String> searchArchivableWorkflows(String indexName, long archiveTtlDays) {
return Collections.emptyList();
}

@Override
public List<String> searchRecentRunningWorkflows(int lastModifiedHoursAgoFrom, int lastModifiedHoursAgoTo) {
return Collections.emptyList();
}
}
Loading

0 comments on commit 1285af7

Please sign in to comment.