com.atlassian.crowd.horde.rest.service.resource
Class DummyLicenseResource

java.lang.Object
  extended by com.atlassian.crowd.horde.rest.service.resource.DummyLicenseResource

public class DummyLicenseResource
extends Object

Provides a dummy equivalent of com.atlassian.ondemand.license.rest.LicenseResource that simply returns OK.

In Horde, the license is reloaded from the file system periodically, so pings to this URI are not required. The resource exists only to prevent clients that expect this resource to exist (namely com.atlassian.ondemand.license.LicenseLoadMulticaster) from erroring out.

This resource can be removed when ODC-95 is implemented.


Constructor Summary
DummyLicenseResource()
           
 
Method Summary
 javax.ws.rs.core.Response get()
          Only returns HTTP OK.
 javax.ws.rs.core.Response post()
          Only returns HTTP OK.
 javax.ws.rs.core.Response put()
          Only returns HTTP OK.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DummyLicenseResource

public DummyLicenseResource()
Method Detail

get

public javax.ws.rs.core.Response get()
Only returns HTTP OK.


put

public javax.ws.rs.core.Response put()
Only returns HTTP OK.


post

public javax.ws.rs.core.Response post()
Only returns HTTP OK.



Copyright © 2013 Atlassian. All Rights Reserved.