mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-09 23:15:43 +01:00
bind new hook api
This commit is contained in:
@@ -149,6 +149,8 @@ import java.util.HashSet;
|
|||||||
import java.util.Iterator;
|
import java.util.Iterator;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
import sonia.scm.repository.api.HookContextFactory;
|
||||||
|
import sonia.scm.repository.spi.HookEventFacade;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
@@ -327,6 +329,10 @@ public class ScmServletModule extends ServletModule
|
|||||||
// bind repository service factory
|
// bind repository service factory
|
||||||
bind(RepositoryServiceFactory.class);
|
bind(RepositoryServiceFactory.class);
|
||||||
|
|
||||||
|
// bind new hook api
|
||||||
|
bind(HookContextFactory.class);
|
||||||
|
bind(HookEventFacade.class);
|
||||||
|
|
||||||
// bind debug logging filter
|
// bind debug logging filter
|
||||||
if ("true".equalsIgnoreCase(System.getProperty(SYSTEM_PROPERTY_DEBUG_HTTP)))
|
if ("true".equalsIgnoreCase(System.getProperty(SYSTEM_PROPERTY_DEBUG_HTTP)))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user