[JBoss JIRA] (SRAMP-160) Change artifact's 'delete' action to be a logical delete
by Eric Wittmann (JIRA)
[ https://issues.jboss.org/browse/SRAMP-160?page=com.atlassian.jira.plugin.... ]
Eric Wittmann updated SRAMP-160:
--------------------------------
Priority: Major (was: Minor)
> Change artifact's 'delete' action to be a logical delete
> --------------------------------------------------------
>
> Key: SRAMP-160
> URL: https://issues.jboss.org/browse/SRAMP-160
> Project: S-RAMP
> Issue Type: Sub-task
> Security Level: Public(Everyone can see)
> Components: Core
> Reporter: Eric Wittmann
> Assignee: Eric Wittmann
> Fix For: 0.3.0 JBPM6 Integration
>
>
> The reason for doing this is that we should not allow duplicate UUIDs, even for deleted artifacts. Currently a delete will remove the artifact from the repository. Instead, we should either move the artifact to some alternate collection or simply tag it as deleted (and then augment all incoming queries with a predicate that will exclude deleted artifacts).
> Do we need a way to actually for-real delete an artifact?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 7 months
[JBoss JIRA] (SRAMP-182) Make artifact type detection less generic (atom layer)
by Eric Wittmann (JIRA)
[ https://issues.jboss.org/browse/SRAMP-182?page=com.atlassian.jira.plugin.... ]
Eric Wittmann updated SRAMP-182:
--------------------------------
Priority: Minor (was: Major)
> Make artifact type detection less generic (atom layer)
> ------------------------------------------------------
>
> Key: SRAMP-182
> URL: https://issues.jboss.org/browse/SRAMP-182
> Project: S-RAMP
> Issue Type: Enhancement
> Security Level: Public(Everyone can see)
> Components: Atom Binding, Core
> Reporter: Eric Wittmann
> Assignee: Eric Wittmann
> Priority: Minor
> Fix For: 0.3.0 JBPM6 Integration
>
>
> Currently the artifact type detection methods are very generic and do not consider the context. There are two basic scenarios where an artifact type must be detected from an Atom Entry:
> 1) atom summary entries
> 2) full atom entries
> In the former case we need to figure out the type based on meta-data in the Entry, such as the URL, or from the 'x-s-ramp:2010:type' Category (for example)
> In the latter case, we should look at the wrapped artifact itself (there will be an <artifact> custom element in the Atom Entry with a single child - that single child is the full artifact meta-data, and the element name will indicate the type).
> Currently we just try both under all circumstances. I want to change from "getArtifactTypeFromEntry" to two methods:
> getArtifactTypeFromSummaryEntry
> getArtifactTypeFromFullEntry
> Callers must know what they have (summary or full). This should be known in all cases.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 7 months
[JBoss JIRA] (SRAMP-182) Make artifact type detection less generic (atom layer)
by Eric Wittmann (JIRA)
[ https://issues.jboss.org/browse/SRAMP-182?page=com.atlassian.jira.plugin.... ]
Eric Wittmann updated SRAMP-182:
--------------------------------
Fix Version/s: 0.3.0 JBPM6 Integration
(was: 0.2.0 Security)
> Make artifact type detection less generic (atom layer)
> ------------------------------------------------------
>
> Key: SRAMP-182
> URL: https://issues.jboss.org/browse/SRAMP-182
> Project: S-RAMP
> Issue Type: Enhancement
> Security Level: Public(Everyone can see)
> Components: Atom Binding, Core
> Reporter: Eric Wittmann
> Assignee: Eric Wittmann
> Fix For: 0.3.0 JBPM6 Integration
>
>
> Currently the artifact type detection methods are very generic and do not consider the context. There are two basic scenarios where an artifact type must be detected from an Atom Entry:
> 1) atom summary entries
> 2) full atom entries
> In the former case we need to figure out the type based on meta-data in the Entry, such as the URL, or from the 'x-s-ramp:2010:type' Category (for example)
> In the latter case, we should look at the wrapped artifact itself (there will be an <artifact> custom element in the Atom Entry with a single child - that single child is the full artifact meta-data, and the element name will indicate the type).
> Currently we just try both under all circumstances. I want to change from "getArtifactTypeFromEntry" to two methods:
> getArtifactTypeFromSummaryEntry
> getArtifactTypeFromFullEntry
> Callers must know what they have (summary or full). This should be known in all cases.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 7 months
[JBoss JIRA] (SRAMP-161) S-RAMP Client: obey endpoints found in /servicedocument
by Eric Wittmann (JIRA)
[ https://issues.jboss.org/browse/SRAMP-161?page=com.atlassian.jira.plugin.... ]
Eric Wittmann updated SRAMP-161:
--------------------------------
Fix Version/s: 0.3.0 JBPM6 Integration
(was: 0.2.0 Security)
> S-RAMP Client: obey endpoints found in /servicedocument
> -------------------------------------------------------
>
> Key: SRAMP-161
> URL: https://issues.jboss.org/browse/SRAMP-161
> Project: S-RAMP
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: S-RAMP API
> Reporter: Eric Wittmann
> Assignee: Eric Wittmann
> Fix For: 0.3.0 JBPM6 Integration
>
>
> Currently we use the non-normative URL formats suggested in the S-RAMP Atom Binding document as presumptive endpoints for the various artifact types. Instead, the Atom API Java client should obey the endpoints it finds in the /servicedocument. This means it will *always* query that service document.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 7 months