From jw12 at sanger.ac.uk Tue Aug 2 10:35:15 2011 From: jw12 at sanger.ac.uk (Jonathan Warren) Date: Tue, 2 Aug 2011 15:35:15 +0100 Subject: [DAS] DAS Workshop-Date for Your Diary Message-ID: <3FA34350-F0A9-49A9-9818-58D16C86E428@sanger.ac.uk> Please note that currently the next DAS workshop is scheduled to be held on the 27-29th Feb 2012. Please keep these dates open if you wish to attend. Hope to see you there. Thanks The Sanger/EBI DAS team. -- The Wellcome Trust Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a company registered in England with number 2742969, whose registered office is 215 Euston Road, London, NW1 2BE. From jw12 at sanger.ac.uk Tue Aug 23 11:41:15 2011 From: jw12 at sanger.ac.uk (Jonathan Warren) Date: Tue, 23 Aug 2011 16:41:15 +0100 Subject: [DAS] Registry supports JSON Message-ID: There has been a registry update highlights below: * json responses for web service if accept header = application/json. The exact format of the json response is currently subject to change. * multiple parameters for the same type are now accepted for e.g. capabilities=features;capabilities=types; returning sources with either features or types * select active or inactive or both sources using the active=true, active=false or active=any, default is active only * lists and links to rng files at http://www.dasregistry.org/validation1.6/ http://www.dasregistry.org/validation/ Code: The registry web service code is now self contained and is it's own project hosted here: http://code.google.com/p/das-registry-web-service/source/browse/ it uses the Spring REST mvc framework, JAXB2 and the Jackson JSON library. Also maven. The new registry rest service uses the JDAS project which is here: http://code.google.com/p/jdas/ . This project has object models generated from the relaxng schema files and thus has an easy to use model that follows the structure of the documents. These objects also have JAXB2 annotations that enables the immediate use of more standard Java libraries like spring REST and the Jackson library. To make a json request you can for example make a request to http://www.dasregistry.org/das/sources after setting the "accept" header in the request to "application/ json". A simple REST client can be downloaded for free from here: http://rest-client.googlecode.com/ Any problems please don't hesitate to contact me. Many thanks Jonathan Warren Senior Developer and DAS coordinator blog: http://biodasman.wordpress.com/ jw12 at sanger.ac.uk -- The Wellcome Trust Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a company registered in England with number 2742969, whose registered office is 215 Euston Road, London, NW1 2BE. From jw12 at sanger.ac.uk Tue Aug 2 14:35:15 2011 From: jw12 at sanger.ac.uk (Jonathan Warren) Date: Tue, 2 Aug 2011 15:35:15 +0100 Subject: [DAS] DAS Workshop-Date for Your Diary Message-ID: <3FA34350-F0A9-49A9-9818-58D16C86E428@sanger.ac.uk> Please note that currently the next DAS workshop is scheduled to be held on the 27-29th Feb 2012. Please keep these dates open if you wish to attend. Hope to see you there. Thanks The Sanger/EBI DAS team. -- The Wellcome Trust Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a company registered in England with number 2742969, whose registered office is 215 Euston Road, London, NW1 2BE. From jw12 at sanger.ac.uk Tue Aug 23 15:41:15 2011 From: jw12 at sanger.ac.uk (Jonathan Warren) Date: Tue, 23 Aug 2011 16:41:15 +0100 Subject: [DAS] Registry supports JSON Message-ID: There has been a registry update highlights below: * json responses for web service if accept header = application/json. The exact format of the json response is currently subject to change. * multiple parameters for the same type are now accepted for e.g. capabilities=features;capabilities=types; returning sources with either features or types * select active or inactive or both sources using the active=true, active=false or active=any, default is active only * lists and links to rng files at http://www.dasregistry.org/validation1.6/ http://www.dasregistry.org/validation/ Code: The registry web service code is now self contained and is it's own project hosted here: http://code.google.com/p/das-registry-web-service/source/browse/ it uses the Spring REST mvc framework, JAXB2 and the Jackson JSON library. Also maven. The new registry rest service uses the JDAS project which is here: http://code.google.com/p/jdas/ . This project has object models generated from the relaxng schema files and thus has an easy to use model that follows the structure of the documents. These objects also have JAXB2 annotations that enables the immediate use of more standard Java libraries like spring REST and the Jackson library. To make a json request you can for example make a request to http://www.dasregistry.org/das/sources after setting the "accept" header in the request to "application/ json". A simple REST client can be downloaded for free from here: http://rest-client.googlecode.com/ Any problems please don't hesitate to contact me. Many thanks Jonathan Warren Senior Developer and DAS coordinator blog: http://biodasman.wordpress.com/ jw12 at sanger.ac.uk -- The Wellcome Trust Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a company registered in England with number 2742969, whose registered office is 215 Euston Road, London, NW1 2BE.