-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CLOUD-1579: thread for controller check and api call
- Loading branch information
Showing
5 changed files
with
69 additions
and
7 deletions.
There are no files selected for viewing
24 changes: 24 additions & 0 deletions
24
server/src/main/java/com/veertu/AgentParametersProvider.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
package com.veertu; | ||
|
||
import org.jetbrains.annotations.NotNull; | ||
|
||
import com.intellij.openapi.diagnostic.Logger; | ||
|
||
import jetbrains.buildServer.log.Loggers; | ||
import jetbrains.buildServer.serverSide.ServerExtension; | ||
import jetbrains.buildServer.serverSide.agentTypes.AgentTypeKey; | ||
|
||
public class AgentParametersProvider implements ServerExtension { | ||
|
||
private static final Logger LOG = Logger.getInstance(Loggers.CLOUD_CATEGORY_ROOT); | ||
|
||
public AgentParametersProvider() { | ||
LOG.info("AgentParametersProvider initialized"); | ||
} | ||
|
||
public boolean disableUpdateFromAgent(@NotNull AgentTypeKey agentTypeKey) { | ||
LOG.info("disableUpdateFromAgent called with agentTypeKey: " + agentTypeKey); | ||
return false; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters