Constructor and Description |
---|
ActionsImpl() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
actOnAction(String actionInvariantUuId,
String requestJson,
javax.servlet.http.HttpServletRequest servletRequest)
Performs Checkout/Undo_Checkout/Checkin/Submit Operation on Action.
|
javax.ws.rs.core.Response |
createAction(String requestJson,
javax.servlet.http.HttpServletRequest servletRequest)
Create a new Action based on request JSON.
|
javax.ws.rs.core.Response |
deleteAction(String actionInvariantUuId,
javax.servlet.http.HttpServletRequest servletRequest)
Delete an action.
|
javax.ws.rs.core.Response |
deleteArtifact(String actionInvariantUuId,
String artifactUuId,
javax.servlet.http.HttpServletRequest servletRequest) |
javax.ws.rs.core.Response |
deleteArtifactInternal(String actionInvariantUuId,
String artifactUuId,
javax.servlet.http.HttpServletRequest servletRequest) |
javax.ws.rs.core.Response |
downloadArtifact(String actionUuId,
String artifactUuId,
javax.servlet.http.HttpServletRequest servletRequest) |
javax.ws.rs.core.Response |
downloadArtifactInternal(String actionUuId,
String artifactUuId,
javax.servlet.http.HttpServletRequest servletRequest) |
javax.ws.rs.core.Response |
getActionsByActionInvariantUuId(String invariantId,
String actionUuId,
javax.servlet.http.HttpServletRequest servletRequest)
List All Major, Last Minor and Candidate version if any for Given Action Invariant UUID
|
javax.ws.rs.core.Response |
getEcompComponents(javax.servlet.http.HttpServletRequest servletRequest)
List ECOMP Components supported by Action Library.
|
javax.ws.rs.core.Response |
getFilteredActions(String vendor,
String category,
String name,
String modelId,
String componentId,
javax.servlet.http.HttpServletRequest servletRequest)
Get list of actions based on a filter criteria.
|
static String |
getUTCDateStringFromTimestamp(Date timeStamp)
Convert timestamp to UTC format date string.
|
javax.ws.rs.core.Response |
updateAction(String actionInvariantUuId,
String requestJson,
javax.servlet.http.HttpServletRequest servletRequest)
Update an existing action with parameters provided in requestJson.
|
javax.ws.rs.core.Response |
updateArtifact(String actionInvariantUuId,
String artifactUuId,
String artifactName,
String artifactLabel,
String artifactCategory,
String artifactDescription,
String artifactProtection,
String checksum,
org.apache.cxf.jaxrs.ext.multipart.Attachment artifactToUpdate,
javax.servlet.http.HttpServletRequest servletRequest) |
javax.ws.rs.core.Response |
updateArtifactInternal(String actionInvariantUuId,
String artifactUuId,
String artifactName,
String artifactLabel,
String artifactCategory,
String artifactDescription,
String artifactProtection,
String checksum,
org.apache.cxf.jaxrs.ext.multipart.Attachment artifactToUpdate,
javax.servlet.http.HttpServletRequest servletRequest) |
javax.ws.rs.core.Response |
uploadArtifact(String actionInvariantUuId,
String artifactName,
String artifactLabel,
String artifactCategory,
String artifactDescription,
String artifactProtection,
String checksum,
org.apache.cxf.jaxrs.ext.multipart.Attachment artifactToUpload,
javax.servlet.http.HttpServletRequest servletRequest)
Upload an artifact to an action.
|
public static String getUTCDateStringFromTimestamp(Date timeStamp)
timeStamp
- UTC timestamp to be converted to the UTC Date format.public javax.ws.rs.core.Response getActionsByActionInvariantUuId(String invariantId, String actionUuId, javax.servlet.http.HttpServletRequest servletRequest)
Actions
getActionsByActionInvariantUuId
in interface Actions
public javax.ws.rs.core.Response getEcompComponents(javax.servlet.http.HttpServletRequest servletRequest)
Actions
getEcompComponents
in interface Actions
public javax.ws.rs.core.Response getFilteredActions(String vendor, String category, String name, String modelId, String componentId, javax.servlet.http.HttpServletRequest servletRequest)
Actions
getFilteredActions
in interface Actions
public javax.ws.rs.core.Response createAction(String requestJson, javax.servlet.http.HttpServletRequest servletRequest)
Actions
createAction
in interface Actions
ActionResponseDto
object for created Action.public javax.ws.rs.core.Response updateAction(String actionInvariantUuId, String requestJson, javax.servlet.http.HttpServletRequest servletRequest)
Actions
updateAction
in interface Actions
ActionResponseDto
object for created Action.public javax.ws.rs.core.Response deleteAction(String actionInvariantUuId, javax.servlet.http.HttpServletRequest servletRequest)
Actions
deleteAction
in interface Actions
actionInvariantUuId
- Invariant UUID of the action to be deleted.servletRequest
- Servlet request object.public javax.ws.rs.core.Response actOnAction(String actionInvariantUuId, String requestJson, javax.servlet.http.HttpServletRequest servletRequest)
Actions
actOnAction
in interface Actions
ActionResponseDto
object for created Action.public javax.ws.rs.core.Response uploadArtifact(String actionInvariantUuId, String artifactName, String artifactLabel, String artifactCategory, String artifactDescription, String artifactProtection, String checksum, org.apache.cxf.jaxrs.ext.multipart.Attachment artifactToUpload, javax.servlet.http.HttpServletRequest servletRequest)
Actions
uploadArtifact
in interface Actions
actionInvariantUuId
- Invariant UUID of the action to which the artifact is uploaded.artifactName
- Name of the artifact.artifactLabel
- Label of the artifact.artifactCategory
- Category of the artifact.artifactDescription
- Description of the artifact.artifactProtection
- Artifact protection mode.checksum
- Checksum of the artifact.artifactToUpload
- Artifact content object.servletRequest
- Servlet request object.public javax.ws.rs.core.Response downloadArtifact(String actionUuId, String artifactUuId, javax.servlet.http.HttpServletRequest servletRequest)
downloadArtifact
in interface Actions
public javax.ws.rs.core.Response downloadArtifactInternal(String actionUuId, String artifactUuId, javax.servlet.http.HttpServletRequest servletRequest)
public javax.ws.rs.core.Response deleteArtifact(String actionInvariantUuId, String artifactUuId, javax.servlet.http.HttpServletRequest servletRequest)
deleteArtifact
in interface Actions
public javax.ws.rs.core.Response deleteArtifactInternal(String actionInvariantUuId, String artifactUuId, javax.servlet.http.HttpServletRequest servletRequest)
public javax.ws.rs.core.Response updateArtifact(String actionInvariantUuId, String artifactUuId, String artifactName, String artifactLabel, String artifactCategory, String artifactDescription, String artifactProtection, String checksum, org.apache.cxf.jaxrs.ext.multipart.Attachment artifactToUpdate, javax.servlet.http.HttpServletRequest servletRequest)
updateArtifact
in interface Actions
public javax.ws.rs.core.Response updateArtifactInternal(String actionInvariantUuId, String artifactUuId, String artifactName, String artifactLabel, String artifactCategory, String artifactDescription, String artifactProtection, String checksum, org.apache.cxf.jaxrs.ext.multipart.Attachment artifactToUpdate, javax.servlet.http.HttpServletRequest servletRequest)
Copyright © 2017. All rights reserved.