Class ACRWebHook
- java.lang.Object
-
- org.jenkinsci.plugins.registry.notification.webhook.JSONWebHook
-
- org.jenkinsci.plugins.registry.notification.webhook.acr.ACRWebHook
-
- All Implemented Interfaces:
ExtensionPoint
,Action
,ModelObject
,RootAction
,UnprotectedRootAction
@Extension public class ACRWebHook extends JSONWebHook
The ACRWebHook handles incoming updates from the Azure Container Registry. The provided payload differs minimally from what is transmitted by a standard Docker Registry v2 server, which made this separate implementation necessary.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jenkinsci.plugins.registry.notification.webhook.JSONWebHook
JSONWebHook.ValidApiToken
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description ACRWebHook()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected WebHookPayload
createPushNotification(net.sf.json.JSONObject payload)
String
getUrlName()
-
Methods inherited from class org.jenkinsci.plugins.registry.notification.webhook.JSONWebHook
doIndex, doNotify, getDetails, getDisplayName, getDynamic, getIconFileName, trigger
-
-
-
-
Field Detail
-
URL_NAME
public static final String URL_NAME
The namespace under Jenkins context path that this Action is bound to.- See Also:
- Constant Field Values
-
-
Method Detail
-
createPushNotification
protected WebHookPayload createPushNotification(net.sf.json.JSONObject payload)
- Specified by:
createPushNotification
in classJSONWebHook
-
getUrlName
public String getUrlName()
-
-