mirror of https://github.com/apache/jclouds.git
add missing acceptable link rels & media types
This commit is contained in:
parent
639b4202fb
commit
5f8b031c95
|
@ -68,11 +68,15 @@ public class VCloudDirectorMediaType {
|
||||||
public static final String MEDIA = "application/vnd.vmware.vcloud.media+xml";
|
public static final String MEDIA = "application/vnd.vmware.vcloud.media+xml";
|
||||||
|
|
||||||
public static final String OWNER = "application/vnd.vmware.vcloud.owner+xml";
|
public static final String OWNER = "application/vnd.vmware.vcloud.owner+xml";
|
||||||
|
|
||||||
|
public static final String VDC = "application/vnd.vmware.vcloud.vdc+xml";
|
||||||
|
|
||||||
|
public static final String ADMIN_USER = "application/vnd.vmware.admin.user+xml";
|
||||||
|
|
||||||
public static final List<String> ALL = Arrays.asList(
|
public static final List<String> ALL = Arrays.asList(
|
||||||
SESSION, ERROR, ORG_LIST, METADATA, METADATA_ENTRY,
|
SESSION, ERROR, ORG_LIST, METADATA, METADATA_ENTRY,
|
||||||
METADATA_VALUE, ORG, TASKS_LIST, TASK, ORG_NETWORK,
|
METADATA_VALUE, ORG, TASKS_LIST, TASK, ORG_NETWORK,
|
||||||
CATALOG, CATALOG_ITEM, CATALOG_ITEMS, CATALOGS_LIST, PROPERTY,
|
CATALOG, CATALOG_ITEM, CATALOG_ITEMS, CATALOGS_LIST, PROPERTY,
|
||||||
MEDIA, OWNER
|
MEDIA, OWNER, VDC, ADMIN_USER
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -47,10 +47,13 @@ public class Link extends ReferenceType<Link> {
|
||||||
public static final String DOWN = "down";
|
public static final String DOWN = "down";
|
||||||
public static final String EDIT = "edit";
|
public static final String EDIT = "edit";
|
||||||
public static final String DELETE = "delete";
|
public static final String DELETE = "delete";
|
||||||
|
public static final String ADD = "add";
|
||||||
|
public static final String REMOVE = "remove";
|
||||||
|
public static final String CATALOG_ITEM = "catalogItem";
|
||||||
public static final String TASK_CANCEL = "task:cancel";
|
public static final String TASK_CANCEL = "task:cancel";
|
||||||
|
|
||||||
public static final List<String> ALL = Arrays.asList(
|
public static final List<String> ALL = Arrays.asList(
|
||||||
UP, DOWN, EDIT, DELETE, TASK_CANCEL
|
UP, DOWN, EDIT, DELETE, ADD, REMOVE, CATALOG_ITEM, TASK_CANCEL
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue