Hi,
On Fri, Aug 2, 2013 at 7:30 PM, Felix Mayerhuber
<
felix.ma...@gmail.com> wrote:
> Hi,
>
> ok so there was a misunderstanding here. I thought I asked you that before.
> So what you want is that the getRevisionsOfMatchingCommits returns a list of
> "EKBCommitMetaData" which contains interesting meta data to the commit
> besides the revision.
yes, such a list would be perfect.
>
> Committer, timestamp, context, domainId, connectorId and instanceId is very
> easy to add to this object. I'm not 100% sure about the number of inserted,
> updated and deleted models, since I suppose that this will have a noticeable
> performance impact.
would it be possible to add a comment field or something like that to
a ekb/edb-commit (and EKBCommitMetaData)? then we could just add the
number of signals (and other information the user might request in the
future) manually in the comment and it wouldn't really have a
performance impact. Just like the comment in a git-commit for example.
An EKBCommit.setComment(String comment) method or something similar
would be great.
>
> Context saves the contextId which was active when the commit has been done
> (The value is retrieved by ContextHolder.get().getCurrentContextId()).
> Deletions holds all EDBObject identifiers of the objects which has been
> deleted in that commit.
ok the contextId is also interesting info for the MetaData. the list
of deletions is not required. (this can be obtained with the
loadCommit method anyway)
>
> How do you like the CommitQueryRequest object for initiating EDB/EKB
> requests? As I mentioned before, I think about using some similar construct
> for the querying of models, so it would be interesting to know how you think
> about it.
I like the CommitQueryRequest. Looks simple to use and doesn't require
complex parsing or regex checks. Has basically everything we need atm.
For a Modelquery I think it would not work that well on the first
look, if you want to implement disjunction-support someday since such
a request is just a conjunction of the class' fields.
br