Commit bd8dd246cfa6af3b8a1f2c6f8f51b0631f061b97

Authored by Nathanael Jourdane
1 parent 3bb7f0aa
Exists in master

Add VO-ressources query

src/main/java/eu/omp/irap/vespa/epntapclient/epnTapLib/Queries.java
... ... @@ -42,7 +42,7 @@ public final class Queries {
42 42 + "detail_xpath='/capability/dataModel/@ivo-id' AND "
43 43 + "1=ivo_nocasematch(detail_value, 'ivo://vopdc.obspm/std/EpnCore%') "
44 44 + "ORDER BY short_name, table_name";
45   -
  45 +
46 46 /** Query to get all EPN-TAP services. */
47 47 public static final String GET_TAP_OBSCOR_SERVICES = "SELECT short_name, "
48 48 + "res_title AS schema_title, table_name, schema_name, ivoid, access_url "
... ... @@ -64,6 +64,11 @@ public final class Queries {
64 64 + "detail_xpath='/capability/dataModel/@ivo-id' "
65 65 + "ORDER BY short_name, table_name";
66 66  
  67 + /** Query to get all VO-resources which implements epn-tap core. */
  68 + public static final String GET_VO_RESOURCES = "http://voparis-registry.obspm.fr/vo/ivoa/1/voresources/search?"
  69 + + "keywords=standardid:%22ivo://ivoa.net/std/TAP%22%20datamodel:%22EpnCore%22&max=100";
  70 +
  71 +
67 72 /** Constructor to hide the implicit public one. */
68 73 private Queries() {
69 74 }
... ...