[
https://issues.jboss.org/browse/SRAMP-539?page=com.atlassian.jira.plugin....
]
Stefan Bunciak commented on SRAMP-539:
--------------------------------------
Hi [~brmeyer], via SrampAtomApiClient:
{code}
BaseArtifactType deployedXml = client.uploadArtifact(ArtifactType.XmlDocument(), new
FileInputStream(new File("src/test/resources/sampleDocument.xml")),
"audit-sampleDocument.xml");
client.updateArtifactContent(deployedXml, new FileInputStream(new
File("src/test/resources/sampleDocument2.xml")));
{code}
Content update of artifact is not part of audit history
-------------------------------------------------------
Key: SRAMP-539
URL:
https://issues.jboss.org/browse/SRAMP-539
Project: S-RAMP
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Core
Affects Versions: 0.5.0.Beta3
Reporter: Stefan Bunciak
Assignee: Brett Meyer
After updating the content of an artifact audit trail still shows only its creation:
{code}
Artifact Audit Trail (1 entries)
Idx Audit Entry
--- -----------
1 artifact:add by 'admin' on Aug 6, 2014 at 2:09:54 PM.
{code}
I suppose that content update is quite important to be part of the audit log, since
meta-data update *is* part of the audit log:
{code}
Artifact Audit Trail (2 entries)
Idx Audit Entry
--- -----------
1 artifact:update by 'admin' on Aug 6, 2014 at 2:26:16 PM.
2 artifact:add by 'admin' on Aug 6, 2014 at 2:26:10 PM.
{code}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)