On Wed, Dec 4, 2013 at 4:37 PM, Sameera Perera <[email protected]> wrote:
> > On Wed, Dec 4, 2013 at 4:01 PM, Madhuka Udantha <[email protected]> wrote: > >> ID was not validate as we integrate with automation test framework. We >> drop above pattern and come with >> >> - >> >> http://localhost:9763/automobile/test[/{folderName}]*[/{fileName}][/{fullName >> }] >> >> FullName contains 'SpecName' and 'TestSuite Name'. >> JSON API will upgrade API where can be passed test Suite rather fullName, >> with 'it_' >> >> - >> >> http://localhost:9763/automobile/test[/{folderName}]*[/{fileName}][/it_{testSpecName >> }] >> >> > Hi Madhuka, > This isn't what I meant during our offline meeting. Rather, both of the > following should be supported: > > > http://localhost:9763/automobile/test[/{folderName}]*[/{fileName}][/{testSpecName}] > > http://localhost:9763/automobile/test[/{folderName}]*[/{fileName}][/{testSpecName}] > [/{testName}] > > 2nd pattern can wait for v1.1 > > IIUC, you are proposing {fullName} = {testSpecName}+{testName}. I don't > understand what value we gain from this. > Both 'testSpecName' and 'testName' are simple identifies in different level (but not quine). testSpec can have 0 to many test. But compose both we can specified exact test to be run. Simple like this [/{testSpecName}]<http://localhost:9763/automobile/test%5B/%7BfolderName%7D%5D*%5B/%7BfileName%7D%5D%5B/%7BtestSpecName%7D%5D>[/{testName}] but the there will no ' / ' in URL If you introduce '/' URL element front element will have need improve again to handle this, But if it come as composite no change need to FE Second point is when we composite both names we can get much meaningful name for URL with less changes. Third point is maintaining same URL pattern http://localhost:9763/automobile/test[/{folderName}]*[/{fileName}][/{xxx}]<http://localhost:9763/automobile/test%5B/%7BfolderName%7D%5D*%5B/%7BfileName%7D%5D%5B/%7BtestSpecName%7D%5D> and having same feature (Point to particular test) as http://localhost:9763/automobile/test[/{folderName}]*[/{fileName}][/{testSpecName}] [/{testName}] can be achieve with composite both names > -- > > ------------------------------ > > *Sameera Perera* > Senior Manager, Engineering (Platform TG) > gtalk: [email protected] > Tel : 94 11 214 5345 > Fax :94 11 2145300 > *WSO2, Inc.* <http://wso2.com/> > lean.enterprise.middleware > > > -- *Madhuka* Udantha Senior Software Engineer Development Technologies WSO2 Inc. : http://wso2.com *Mobile*: +94774066336 *Blog*: http://madhukaudantha.blogspot.com/
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
