-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
None
===========================================================
@Produces(
public interface UpdatableResource<R extends BaseResource> {
@GET
@Formatted
public R get();
@PUT
@Formatted
@Consumes({MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON, MediaType.APPLICATION_X_YAML}
)
public R update(R resource);
}
===========================================================
@Produces(
)
public interface DataCenterResource extends UpdatableResource<DataCenter> {
@Path("storagedomains")
public AttachedStorageDomainsResource getAttachedStorageDomainsResource();
@Path("permissions")
public AssignedPermissionsResource getPermissionsResource();
}
===========================================================
public class BackendDataCenterResource extends AbstractBackendSubResource<DataCenter, storage_pool>
implements DataCenterResource {
...
}
===========================================================
update() and get() not found causing MethodNotAllowedException
===========================================================
(AS 7.1.0 CR1 & 2.3 GA)
===========================================================