public class KeyAgent extends AbstractRestAgent<org.openbaton.catalogue.security.Key>
baseUrl, mapper| Constructor and Description |
|---|
KeyAgent(java.lang.String username,
java.lang.String password,
java.lang.String projectId,
boolean sslEnabled,
java.lang.String nfvoIp,
java.lang.String nfvoPort,
java.lang.String path,
java.lang.String version) |
| Modifier and Type | Method and Description |
|---|---|
org.openbaton.catalogue.security.Key |
create(org.openbaton.catalogue.security.Key key)
Deprecated.
|
java.lang.String |
generateKey(java.lang.String name)
Generate a new Key in the NFVO.
|
org.openbaton.catalogue.security.Key |
importKey(java.lang.String name,
java.lang.String publicKey)
Import a Key into the NFVO by providing name and public key.
|
org.openbaton.catalogue.security.Key |
update(org.openbaton.catalogue.security.Key key,
java.lang.String id)
Deprecated.
|
delete, findAll, findById, getClazzgetProjectId, requestDelete, requestGet, requestGetAll, requestGetWithStatusAccepted, requestPost, requestPost, requestPost, requestPost, requestPostPackage, requestPut, setProjectIdpublic KeyAgent(java.lang.String username,
java.lang.String password,
java.lang.String projectId,
boolean sslEnabled,
java.lang.String nfvoIp,
java.lang.String nfvoPort,
java.lang.String path,
java.lang.String version)
@Deprecated public org.openbaton.catalogue.security.Key create(org.openbaton.catalogue.security.Key key)
create in class AbstractRestAgent<org.openbaton.catalogue.security.Key>key - public java.lang.String generateKey(java.lang.String name)
throws SDKException
name - the name of the new KeySDKExceptionpublic org.openbaton.catalogue.security.Key importKey(java.lang.String name,
java.lang.String publicKey)
throws SDKException
name - publicKey - SDKException@Deprecated
public org.openbaton.catalogue.security.Key update(org.openbaton.catalogue.security.Key key,
java.lang.String id)
AbstractRestAgentupdate in class AbstractRestAgent<org.openbaton.catalogue.security.Key>key - : Image to addid - : the id of VNF software object