Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
JIRA down, Feature Request regarding "data population strategy"
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Marcus K.  
View profile  
 More options Aug 22 2011, 10:52 am
From: "Marcus K." <marcus.krassm...@googlemail.com>
Date: Mon, 22 Aug 2011 07:52:39 -0700 (PDT)
Local: Mon, Aug 22 2011 10:52 am
Subject: JIRA down, Feature Request regarding "data population strategy"
Hi Marco,

as the JIRA site is currently not reachable ("Service Temporarily
Unavailable"), I just ask here:

Actually it would be useful if I could create a provider strategy
where I could prefix the data with the attribute name of the filled
property. If I have a class with a String property "phone", then it
would be nice if I was able to generate a value like
"phone_0912837871237", just to know that I am displaying the right
field in the presentation layer.

Currently this does not seem to be possible. It would require a
rewrite of PodamFactoryImpl (which in fact is quite big and a "god
class") and of the interface DataProviderStrategy. Do you think that
this is something you might include in a later release? I might try it
by myself, but I am afraid that I would do more harm than benefit.

Kind Regards,
Marcus


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Marco Tedone  
View profile  
 More options Aug 22 2011, 5:30 pm
From: Marco Tedone <marco.ted...@gmail.com>
Date: Mon, 22 Aug 2011 22:30:24 +0100
Local: Mon, Aug 22 2011 5:30 pm
Subject: RE: [PODAM - Google] JIRA down, Feature Request regarding "data population strategy"
Marcus,

One feature that will be part of PODAM next release is the possibility to
provide Strategies with metadata about the field being filled with data.
Then, in your case, you would be able to implement a custom strategy that
prepended the field name to the value. So, at a high-level, you would
compose your custom strategy with the default strategy and then you could
have:

return metadata.getField().getName() + "_" +
defaultStrategy.getRandomString();

Something like that.

What I can't tell you is when I will be releasing the next version. I'm very
busy at the moment but if anyone feels they could implement this
functionality fork the code, try it out and when ready issue a pull request.

Best,

Marco


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Marcus K.  
View profile  
 More options Aug 31 2011, 9:33 am
From: "Marcus K." <marcus.krassm...@googlemail.com>
Date: Wed, 31 Aug 2011 06:33:25 -0700 (PDT)
Local: Wed, Aug 31 2011 9:33 am
Subject: Re: JIRA down, Feature Request regarding "data population strategy"
Hi Marco,

I will happily try out the new feature next week. Thanks a lot for
adding this feature.

One other quuestion regarding JIRA: I wonder why the project are only
visible to registered users instead of all anonymous ones. This might
encourage others to use the issue tracker, especially if they can see
that there is activity.

Regards,
Marcus

On 22 Aug., 23:30, Marco Tedone <marco.ted...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »