Commit f88b5538 authored by Tifenn Guillas's avatar Tifenn Guillas
Browse files

Fix svom datasets issues

parent 9cd4c6de
Pipeline #1916 passed with stages
in 4 minutes and 26 seconds
......@@ -10,9 +10,10 @@ curl -d '{"label":"Test","dbname":"anis_test","dbtype":"pdo_pgsql","dbhost":"db"
# Add default instance
curl -d '{"name":"default","label":"Default instance","client_url":"http://localhost:4200"}' -H "Content-Type: application/json" -X POST http://localhost/instance
# Add ANIS and SVOM project
# Add ANIS, SVOM and COLIBRI projects
curl -d '{"name":"anis_project","label":"Anis Project Test","description":"Project used for testing","link":"http://project.com","manager":"M. Durand","id_database":1}' -H "Content-Type: application/json" -X POST http://localhost/project
curl -d '{"name":"svom","label":"Svom Project Test","description":"Project used for testing","link":"http://svom.com","manager":"S. Basa","id_database":1}' -H "Content-Type: application/json" -X POST http://localhost/project
curl -d '{"name":"colibri","label":"Colibri Project Test","description":"Project used for testing","link":"http://colibri.com","manager":"S. Basa","id_database":1}' -H "Content-Type: application/json" -X POST http://localhost/project
# Add default dataset family and ANIS datasets
curl -d '{"label":"Default dataset family","display":10}' -H "Content-Type: application/json" -X POST http://localhost/instance/default/dataset-family
......@@ -70,9 +71,9 @@ curl -d '{"label":"Default","display":10}' -H "Content-Type: application/json" -
# Edit SVOM products attributes
curl -d '{"id":1,"name":"product_id","table_name":"public.v_products","label":"product_id","form_label":"Product ID","description":null,"output_display":10,"criteria_display":10,"search_flag":"ID","search_type":"field","type":"integer","operator":"eq","min":null,"max":null,"placeholder_min":null,"placeholder_max":null,"uri_action":null,"renderer":null,"display_detail":10,"selected":true,"order_by":false,"order_display":10,"detail":false,"renderer_detail":null,"options":null,"vo_utype":null,"vo_ucd":null,"vo_unit":null,"vo_description":null,"vo_datatype":null,"vo_size":null,"id_criteria_family":4,"id_output_category":3}' -H "Content-Type: application/json" -X PUT http://localhost/dataset/products/attribute/1
curl -d '{"id":2,"name":"obs_id","table_name":"public.v_products","label":"obs_id","form_label":"Observation ID","description":null,"output_display":20,"criteria_display":20,"search_flag":null,"search_type":"field","type":"bigint","operator":"eq","min":null,"max":null,"placeholder_min":null,"placeholder_max":null,"uri_action":null,"renderer":null,"display_detail":20,"selected":true,"order_by":false,"order_display":20,"detail":false,"renderer_detail":null,"options":null,"vo_utype":null,"vo_ucd":null,"vo_unit":null,"vo_description":null,"vo_datatype":null,"vo_size":null,"id_criteria_family":4,"id_output_category":3}' -H "Content-Type: application/json" -X PUT http://localhost/dataset/products/attribute/2
curl -d '{"id":3,"name":"sp_acronym","table_name":"public.v_products","label":"sp_acronym","form_label":"Product Acronym","description":null,"output_display":30,"criteria_display":30,"search_flag":null,"search_type":"select","type":"string","operator":"eq","min":null,"max":null,"placeholder_min":null,"placeholder_max":null,"uri_action":null,"renderer":null,"display_detail":30,"selected":true,"order_by":false,"order_display":30,"detail":false,"renderer_detail":null,"options":[{"label":"AV_AG_HOST","value":"AV_AG_HOST","display":10},{"label":"AV_AG_LOC","value":"AV_AG_LOC","display":20},{"label":"CLASS_EARLY","value":"CLASS_EARLY","display":30},{"label":"CRCLASS","value":"CRCLASS","display":40},{"label":"DT_GFT_i","value":"DT_GFT_i","display":50},{"label":"DT_GWAC","value":"DT_GWAC","display":60},{"label":"DT_MXT","value":"DT_MXT","display":70},{"label":"DT_VT","value":"DT_VT","display":80},{"label":"FDCHART_GWAC","value":"FDCHART_GWAC","display":90},{"label":"FDCHART_VT_B","value":"FDCHART_VT_B","display":100},{"label":"FDCHART_VT_R","value":"FDCHART_VT_R","display":110},{"label":"FLUENCE_ECL","value":"FLUENCE_ECL","display":120},{"label":"FLUENCE_ECLGRM","value":"FLUENCE_ECLGRM","display":130},{"label":"FLUENCE_GRM","value":"FLUENCE_GRM","display":140},{"label":"HR_ECL","value":"HR_ECL","display":150},{"label":"HR_ECLGRM","value":"HR_ECLGRM","display":160},{"label":"HR_GRM","value":"HR_GRM","display":170},{"label":"LAG_ECL","value":"LAG_ECL","display":180},{"label":"LAG_ECLGRM","value":"LAG_ECLGRM","display":190},{"label":"LAG_GRM","value":"LAG_GRM","display":200},{"label":"LC_ECL","value":"LC_ECL","display":210},{"label":"LC_GFT_i","value":"LC_GFT_i","display":220},{"label":"LC_GRM","value":"LC_GRM","display":230},{"label":"LC_GWAC","value":"LC_GWAC","display":240},{"label":"LC_MXT_i","value":"LC_MXT_i","display":250},{"label":"LC_PARAM_GFT","value":"LC_PARAM_GFT","display":260},{"label":"LC_PARAM_MXT","value":"LC_PARAM_MXT","display":270},{"label":"LC_PARAM_VT_B","value":"LC_PARAM_VT_B","display":280},{"label":"LC_PARAM_VT_R","value":"LC_PARAM_VT_R","display":290},{"label":"LC_VT_B","value":"LC_VT_B","display":300},{"label":"LC_VT_R","value":"LC_VT_R","display":310},{"label":"NH_HOST","value":"NH_HOST","display":320},{"label":"NH_LOC","value":"NH_LOC","display":330},{"label":"OBLC_ECL","value":"OBLC_ECL","display":340},{"label":"OBLC_GRM","value":"OBLC_GRM","display":350},{"label":"PF_ECL","value":"PF_ECL","display":360},{"label":"PF_GRM","value":"PF_GRM","display":370},{"label":"PF_GWAC","value":"PF_GWAC","display":380},{"label":"PHZ","value":"PHZ","display":390},{"label":"PO_ECL","value":"PO_ECL","display":400},{"label":"PO_GFT","value":"PO_GFT","display":410},{"label":"PO_GRM","value":"PO_GRM","display":420},{"label":"PO_GWAC","value":"PO_GWAC","display":430},{"label":"PO_MXT","value":"PO_MXT","display":440},{"label":"PO_VT","value":"PO_VT","display":450},{"label":"QCL_ECL","value":"QCL_ECL","display":460},{"label":"QCL_GRM","value":"QCL_GRM","display":470},{"label":"QF_GFT_i","value":"QF_GFT_i","display":480},{"label":"QF_GWAC","value":"QF_GWAC","display":490},{"label":"QF_MXT","value":"QF_MXT","display":500},{"label":"QF_VT_B","value":"QF_VT_B","display":510},{"label":"QF_VT_R","value":"QF_VT_R","display":520},{"label":"QHR_ECL","value":"QHR_ECL","display":530},{"label":"QHR_ECLGRM","value":"QHR_ECLGRM","display":540},{"label":"QHR_GRM","value":"QHR_GRM","display":550},{"label":"QLC_ECL","value":"QLC_ECL","display":560},{"label":"QLC_GFT_i","value":"QLC_GFT_i","display":570},{"label":"QLC_GRM","value":"QLC_GRM","display":580},{"label":"QLC_GWAC","value":"QLC_GWAC","display":590},{"label":"QLC_MXT","value":"QLC_MXT","display":600},{"label":"QLC_VT_B","value":"QLC_VT_B","display":610},{"label":"QLC_VT_R","value":"QLC_VT_R","display":620},{"label":"QPF_ECL","value":"QPF_ECL","display":630},{"label":"QPF_GRM","value":"QPF_GRM","display":640},{"label":"QPO_ECL","value":"QPO_ECL","display":650},{"label":"QPO_GRM","value":"QPO_GRM","display":660},{"label":"QPO_GWAC","value":"QPO_GWAC","display":670},{"label":"QPO_MXT","value":"QPO_MXT","display":680},{"label":"QPO_VT","value":"QPO_VT","display":690},{"label":"QSP_GRM","value":"QSP_GRM","display":700},{"label":"QSRCLIST_VT","value":"QSRCLIST_VT","display":710},{"label":"QT90_ECL","value":"QT90_ECL","display":720},{"label":"QT90_GRM","value":"QT90_GRM","display":730},{"label":"QTI_GFT_i","value":"QTI_GFT_i","display":740},{"label":"QTI_MXT","value":"QTI_MXT","display":750},{"label":"QTI_VT_B","value":"QTI_VT_B","display":760},{"label":"QTI_VT_R","value":"QTI_VT_R","display":770},{"label":"QUPLIM_GWAC","value":"QUPLIM_GWAC","display":780},{"label":"SP_ECL","value":"SP_ECL","display":790},{"label":"SP_ECLGRM","value":"SP_ECLGRM","display":800},{"label":"SP_GRM","value":"SP_GRM","display":810},{"label":"SP_MXT","value":"SP_MXT","display":820},{"label":"SP_PARAM_MXT","value":"SP_PARAM_MXT","display":830},{"label":"SP_PARAM_T_MXT","value":"SP_PARAM_T_MXT","display":840},{"label":"T90_ECL","value":"T90_ECL","display":850},{"label":"T90_GRM","value":"T90_GRM","display":860},{"label":"TT_ECL","value":"TT_ECL","display":870},{"label":"TT_GRM","value":"TT_GRM","display":880},{"label":"UPLIM_GFT_i","value":"UPLIM_GFT_i","display":890},{"label":"UPLIM_GWAC","value":"UPLIM_GWAC","display":900},{"label":"UPLIM_VT_B","value":"UPLIM_VT_B","display":910},{"label":"UPLIM_VT_R","value":"UPLIM_VT_R","display":920},{"label":"ECL-SKY-IMA","value":"ECL-SKY-IMA","display":82},{"label":"ECL-SOP-IMA","value":"ECL-SOP-IMA","display":84},{"label":"OBATT_VT","value":"OBATT_VT","display":332},{"label":"OBFIND_VT","value":"OBFIND_VT","display":334},{"label":"OBIM1B_VT","value":"OBIM1B_VT","display":336},{"label":"OBIM1R_VT","value":"OBIM1R_VT","display":338},{"label":"QIM1B_VT","value":"QIM1B_VT","display":554},{"label":"QIM1R_VT","value":"QIM1R_VT","display":556},{"label":"MXT-EVT-CAL","value":"MXT-EVT-CAL","display":315},{"label":"LAMTEST_DC1","value":"LAMTEST_DC1","display":5},{"label":"LAMTEST","value":"LAMTEST","display":4}],"vo_utype":null,"vo_ucd":null,"vo_unit":null,"vo_description":null,"vo_datatype":null,"vo_size":null,"id_criteria_family":5,"id_output_category":3}' -H "Content-Type: application/json" -X PUT http://localhost/dataset/products/attribute/3
curl -d '{"id":3,"name":"sp_acronym","table_name":"public.v_products","label":"sp_acronym","form_label":"Product Acronym","description":null,"output_display":30,"criteria_display":30,"search_flag":null,"search_type":"svom-json-card","type":"string","operator":"eq","min":null,"max":null,"placeholder_min":null,"placeholder_max":null,"uri_action":null,"renderer":null,"display_detail":30,"selected":true,"order_by":false,"order_display":30,"detail":false,"renderer_detail":null,"options":[{"label":"AV_AG_HOST","value":"AV_AG_HOST","display":10},{"label":"AV_AG_LOC","value":"AV_AG_LOC","display":20},{"label":"CLASS_EARLY","value":"CLASS_EARLY","display":30},{"label":"CRCLASS","value":"CRCLASS","display":40},{"label":"DT_GFT_i","value":"DT_GFT_i","display":50},{"label":"DT_GWAC","value":"DT_GWAC","display":60},{"label":"DT_MXT","value":"DT_MXT","display":70},{"label":"DT_VT","value":"DT_VT","display":80},{"label":"FDCHART_GWAC","value":"FDCHART_GWAC","display":90},{"label":"FDCHART_VT_B","value":"FDCHART_VT_B","display":100},{"label":"FDCHART_VT_R","value":"FDCHART_VT_R","display":110},{"label":"FLUENCE_ECL","value":"FLUENCE_ECL","display":120},{"label":"FLUENCE_ECLGRM","value":"FLUENCE_ECLGRM","display":130},{"label":"FLUENCE_GRM","value":"FLUENCE_GRM","display":140},{"label":"HR_ECL","value":"HR_ECL","display":150},{"label":"HR_ECLGRM","value":"HR_ECLGRM","display":160},{"label":"HR_GRM","value":"HR_GRM","display":170},{"label":"LAG_ECL","value":"LAG_ECL","display":180},{"label":"LAG_ECLGRM","value":"LAG_ECLGRM","display":190},{"label":"LAG_GRM","value":"LAG_GRM","display":200},{"label":"LC_ECL","value":"LC_ECL","display":210},{"label":"LC_GFT_i","value":"LC_GFT_i","display":220},{"label":"LC_GRM","value":"LC_GRM","display":230},{"label":"LC_GWAC","value":"LC_GWAC","display":240},{"label":"LC_MXT_i","value":"LC_MXT_i","display":250},{"label":"LC_PARAM_GFT","value":"LC_PARAM_GFT","display":260},{"label":"LC_PARAM_MXT","value":"LC_PARAM_MXT","display":270},{"label":"LC_PARAM_VT_B","value":"LC_PARAM_VT_B","display":280},{"label":"LC_PARAM_VT_R","value":"LC_PARAM_VT_R","display":290},{"label":"LC_VT_B","value":"LC_VT_B","display":300},{"label":"LC_VT_R","value":"LC_VT_R","display":310},{"label":"NH_HOST","value":"NH_HOST","display":320},{"label":"NH_LOC","value":"NH_LOC","display":330},{"label":"OBLC_ECL","value":"OBLC_ECL","display":340},{"label":"OBLC_GRM","value":"OBLC_GRM","display":350},{"label":"PF_ECL","value":"PF_ECL","display":360},{"label":"PF_GRM","value":"PF_GRM","display":370},{"label":"PF_GWAC","value":"PF_GWAC","display":380},{"label":"PHZ","value":"PHZ","display":390},{"label":"PO_ECL","value":"PO_ECL","display":400},{"label":"PO_GFT","value":"PO_GFT","display":410},{"label":"PO_GRM","value":"PO_GRM","display":420},{"label":"PO_GWAC","value":"PO_GWAC","display":430},{"label":"PO_MXT","value":"PO_MXT","display":440},{"label":"PO_VT","value":"PO_VT","display":450},{"label":"QCL_ECL","value":"QCL_ECL","display":460},{"label":"QCL_GRM","value":"QCL_GRM","display":470},{"label":"QF_GFT_i","value":"QF_GFT_i","display":480},{"label":"QF_GWAC","value":"QF_GWAC","display":490},{"label":"QF_MXT","value":"QF_MXT","display":500},{"label":"QF_VT_B","value":"QF_VT_B","display":510},{"label":"QF_VT_R","value":"QF_VT_R","display":520},{"label":"QHR_ECL","value":"QHR_ECL","display":530},{"label":"QHR_ECLGRM","value":"QHR_ECLGRM","display":540},{"label":"QHR_GRM","value":"QHR_GRM","display":550},{"label":"QLC_ECL","value":"QLC_ECL","display":560},{"label":"QLC_GFT_i","value":"QLC_GFT_i","display":570},{"label":"QLC_GRM","value":"QLC_GRM","display":580},{"label":"QLC_GWAC","value":"QLC_GWAC","display":590},{"label":"QLC_MXT","value":"QLC_MXT","display":600},{"label":"QLC_VT_B","value":"QLC_VT_B","display":610},{"label":"QLC_VT_R","value":"QLC_VT_R","display":620},{"label":"QPF_ECL","value":"QPF_ECL","display":630},{"label":"QPF_GRM","value":"QPF_GRM","display":640},{"label":"QPO_ECL","value":"QPO_ECL","display":650},{"label":"QPO_GRM","value":"QPO_GRM","display":660},{"label":"QPO_GWAC","value":"QPO_GWAC","display":670},{"label":"QPO_MXT","value":"QPO_MXT","display":680},{"label":"QPO_VT","value":"QPO_VT","display":690},{"label":"QSP_GRM","value":"QSP_GRM","display":700},{"label":"QSRCLIST_VT","value":"QSRCLIST_VT","display":710},{"label":"QT90_ECL","value":"QT90_ECL","display":720},{"label":"QT90_GRM","value":"QT90_GRM","display":730},{"label":"QTI_GFT_i","value":"QTI_GFT_i","display":740},{"label":"QTI_MXT","value":"QTI_MXT","display":750},{"label":"QTI_VT_B","value":"QTI_VT_B","display":760},{"label":"QTI_VT_R","value":"QTI_VT_R","display":770},{"label":"QUPLIM_GWAC","value":"QUPLIM_GWAC","display":780},{"label":"SP_ECL","value":"SP_ECL","display":790},{"label":"SP_ECLGRM","value":"SP_ECLGRM","display":800},{"label":"SP_GRM","value":"SP_GRM","display":810},{"label":"SP_MXT","value":"SP_MXT","display":820},{"label":"SP_PARAM_MXT","value":"SP_PARAM_MXT","display":830},{"label":"SP_PARAM_T_MXT","value":"SP_PARAM_T_MXT","display":840},{"label":"T90_ECL","value":"T90_ECL","display":850},{"label":"T90_GRM","value":"T90_GRM","display":860},{"label":"TT_ECL","value":"TT_ECL","display":870},{"label":"TT_GRM","value":"TT_GRM","display":880},{"label":"UPLIM_GFT_i","value":"UPLIM_GFT_i","display":890},{"label":"UPLIM_GWAC","value":"UPLIM_GWAC","display":900},{"label":"UPLIM_VT_B","value":"UPLIM_VT_B","display":910},{"label":"UPLIM_VT_R","value":"UPLIM_VT_R","display":920},{"label":"ECL-SKY-IMA","value":"ECL-SKY-IMA","display":82},{"label":"ECL-SOP-IMA","value":"ECL-SOP-IMA","display":84},{"label":"OBATT_VT","value":"OBATT_VT","display":332},{"label":"OBFIND_VT","value":"OBFIND_VT","display":334},{"label":"OBIM1B_VT","value":"OBIM1B_VT","display":336},{"label":"OBIM1R_VT","value":"OBIM1R_VT","display":338},{"label":"QIM1B_VT","value":"QIM1B_VT","display":554},{"label":"QIM1R_VT","value":"QIM1R_VT","display":556},{"label":"MXT-EVT-CAL","value":"MXT-EVT-CAL","display":315},{"label":"LAMTEST_DC1","value":"LAMTEST_DC1","display":5},{"label":"LAMTEST","value":"LAMTEST","display":4}],"vo_utype":null,"vo_ucd":null,"vo_unit":null,"vo_description":null,"vo_datatype":null,"vo_size":null,"id_criteria_family":5,"id_output_category":3}' -H "Content-Type: application/json" -X PUT http://localhost/dataset/products/attribute/3
curl -d '{"id":4,"name":"filename","table_name":"public.v_products","label":"filename","form_label":"Product URL","description":null,"output_display":40,"criteria_display":40,"search_flag":null,"search_type":null,"type":"text","operator":null,"min":null,"max":null,"placeholder_min":null,"placeholder_max":null,"uri_action":null,"renderer":"link","display_detail":40,"selected":true,"order_by":false,"order_display":40,"detail":false,"renderer_detail":null,"options":null,"vo_utype":null,"vo_ucd":null,"vo_unit":null,"vo_description":null,"vo_datatype":null,"vo_size":null,"id_criteria_family":null,"id_output_category":3}' -H "Content-Type: application/json" -X PUT http://localhost/dataset/products/attribute/4
curl -d '{"id":5,"name":"criteria","table_name":"public.v_products","label":"criteria","form_label":"Criteria","description":null,"output_display":50,"criteria_display":50,"search_flag":null,"search_type":"svom-json","type":"json","operator":"eq","min":null,"max":null,"placeholder_min":null,"placeholder_max":null,"uri_action":null,"renderer":"json","display_detail":50,"selected":true,"order_by":false,"order_display":50,"detail":false,"renderer_detail":null,"options":null,"vo_utype":null,"vo_ucd":null,"vo_unit":null,"vo_description":null,"vo_datatype":null,"vo_size":null,"id_criteria_family":5,"id_output_category":3}' -H "Content-Type: application/json" -X PUT http://localhost/dataset/products/attribute/5
curl -d '{"id":5,"name":"criteria","table_name":"public.v_products","label":"criteria","form_label":"Criteria","description":null,"output_display":50,"criteria_display":50,"search_flag":null,"search_type":"svom-json-kw","type":"json","operator":"eq","min":null,"max":null,"placeholder_min":null,"placeholder_max":null,"uri_action":null,"renderer":"json","display_detail":50,"selected":true,"order_by":false,"order_display":50,"detail":false,"renderer_detail":null,"options":null,"vo_utype":null,"vo_ucd":null,"vo_unit":null,"vo_description":null,"vo_datatype":null,"vo_size":null,"id_criteria_family":5,"id_output_category":3}' -H "Content-Type: application/json" -X PUT http://localhost/dataset/products/attribute/5
curl -d '{"id":6,"name":"added_at","table_name":"public.v_products","label":"added_at","form_label":"Added at","description":null,"output_display":60,"criteria_display":60,"search_flag":null,"search_type":"date","type":"datetime","operator":null,"min":null,"max":null,"placeholder_min":null,"placeholder_max":null,"uri_action":null,"renderer":null,"display_detail":60,"selected":true,"order_by":false,"order_display":60,"detail":false,"renderer_detail":null,"options":null,"vo_utype":null,"vo_ucd":null,"vo_unit":null,"vo_description":null,"vo_datatype":null,"vo_size":null,"id_criteria_family":4,"id_output_category":3}' -H "Content-Type: application/json" -X PUT http://localhost/dataset/products/attribute/6
curl -d '{"id":7,"name":"version","table_name":"public.v_products","label":"version","form_label":"Version","description":null,"output_display":70,"criteria_display":70,"search_flag":null,"search_type":null,"type":"integer","operator":null,"min":null,"max":null,"placeholder_min":null,"placeholder_max":null,"uri_action":null,"renderer":null,"display_detail":70,"selected":true,"order_by":false,"order_display":70,"detail":false,"renderer_detail":null,"options":null,"vo_utype":null,"vo_ucd":null,"vo_unit":null,"vo_description":null,"vo_datatype":null,"vo_size":null,"id_criteria_family":null,"id_output_category":3}' -H "Content-Type: application/json" -X PUT http://localhost/dataset/products/attribute/7
curl -d '{"id":8,"name":"program","table_name":"public.v_products","label":"program","form_label":"Program","description":null,"output_display":80,"criteria_display":80,"search_flag":null,"search_type":"select","type":"string","operator":"eq","min":null,"max":null,"placeholder_min":null,"placeholder_max":null,"uri_action":null,"renderer":null,"display_detail":80,"selected":true,"order_by":false,"order_display":80,"detail":false,"renderer_detail":null,"options":[{"label":"GP","value":"GP","display":10},{"label":"CP","value":"CP","display":20}],"vo_utype":null,"vo_ucd":null,"vo_unit":null,"vo_description":null,"vo_datatype":null,"vo_size":null,"id_criteria_family":5,"id_output_category":3}' -H "Content-Type: application/json" -X PUT http://localhost/dataset/products/attribute/8
......@@ -91,6 +92,7 @@ curl -d '{"id":3,"name":"version","table_name":"sp_cards","label":"version","for
curl -d '{"id":4,"name":"program","table_name":"sp_cards","label":"program","form_label":"Program","description":null,"output_display":40,"criteria_display":40,"search_flag":null,"search_type":"select","type":"string","operator":"eq","min":null,"max":null,"placeholder_min":null,"placeholder_max":null,"uri_action":null,"renderer":null,"display_detail":40,"selected":true,"order_by":false,"order_display":40,"detail":false,"renderer_detail":null,"options":[{"label":"GP","value":"GP","display":10},{"label":"CP","value":"CP","display":20}],"vo_utype":null,"vo_ucd":null,"vo_unit":null,"vo_description":null,"vo_datatype":null,"vo_size":null,"id_criteria_family":6,"id_output_category":4}' -H "Content-Type: application/json" -X PUT http://localhost/dataset/sp_cards/attribute/4
curl -d '{"id":5,"name":"instrument","table_name":"sp_cards","label":"instrument","form_label":"Instrument","description":null,"output_display":50,"criteria_display":50,"search_flag":null,"search_type":"select","type":"string","operator":"eq","min":null,"max":null,"placeholder_min":null,"placeholder_max":null,"uri_action":null,"renderer":null,"display_detail":50,"selected":true,"order_by":false,"order_display":50,"detail":false,"renderer_detail":null,"options":[{"label":"GFT","value":"GFT","display":10},{"label":"MXT","value":"MXT","display":20},{"label":"GWAC","value":"GWAC","display":30},{"label":"VT","value":"VT","display":40},{"label":"GRM","value":"GRM","display":50},{"label":"ECL","value":"ECL","display":60},{"label":"NONE","value":"NONE","display":80},{"label":"ECLGRM","value":"ECLGRM","display":70}],"vo_utype":null,"vo_ucd":null,"vo_unit":null,"vo_description":null,"vo_datatype":null,"vo_size":null,"id_criteria_family":6,"id_output_category":4}' -H "Content-Type: application/json" -X PUT http://localhost/dataset/sp_cards/attribute/5
curl -d '{"id":6,"name":"type","table_name":"sp_cards","label":"type","form_label":"Type","description":null,"output_display":60,"criteria_display":60,"search_flag":null,"search_type":null,"type":"string","operator":null,"min":null,"max":null,"placeholder_min":null,"placeholder_max":null,"uri_action":null,"renderer":null,"display_detail":60,"selected":true,"order_by":false,"order_display":60,"detail":false,"renderer_detail":null,"options":null,"vo_utype":null,"vo_ucd":null,"vo_unit":null,"vo_description":null,"vo_datatype":null,"vo_size":null,"id_criteria_family":null,"id_output_category":4}' -H "Content-Type: application/json" -X PUT http://localhost/dataset/sp_cards/attribute/6
curl -d '{"id":7,"name":"json_schema_uploaded","table_name":"sp_cards","label":"json_schema_uploaded","form_label":"json_schema_uploaded","description":null,"output_display":70,"criteria_display":70,"search_flag":null,"search_type":null,"type":"json","operator":null,"min":null,"max":null,"placeholder_min":null,"placeholder_max":null,"uri_action":null,"renderer":null,"display_detail":70,"selected":true,"order_by":false,"order_display":70,"detail":false,"renderer_detail":null,"options":null,"vo_utype":null,"vo_ucd":null,"vo_unit":null,"vo_description":null,"vo_datatype":null,"vo_size":null,"id_criteria_family":null,"id_output_category":null}' -H "Content-Type: application/json" -X PUT http://localhost/dataset/sp_cards/attribute/7
curl -d '{"id":8,"name":"json_schema","table_name":"sp_cards","label":"json_schema","form_label":"JSON Schema (original)","description":null,"output_display":80,"criteria_display":80,"search_flag":null,"search_type":null,"type":"json","operator":null,"min":null,"max":null,"placeholder_min":null,"placeholder_max":null,"uri_action":null,"renderer":"json","display_detail":80,"selected":true,"order_by":false,"order_display":80,"detail":false,"renderer_detail":null,"options":null,"vo_utype":null,"vo_ucd":null,"vo_unit":null,"vo_description":null,"vo_datatype":null,"vo_size":null,"id_criteria_family":null,"id_output_category":4}' -H "Content-Type: application/json" -X PUT http://localhost/dataset/sp_cards/attribute/8
curl -d '{"id":9,"name":"search_kw","table_name":"sp_cards","label":"search_kw","form_label":"KWs searchable","description":null,"output_display":90,"criteria_display":90,"search_flag":null,"search_type":null,"type":"json","operator":null,"min":null,"max":null,"placeholder_min":null,"placeholder_max":null,"uri_action":null,"renderer":"json","display_detail":90,"selected":true,"order_by":false,"order_display":90,"detail":false,"renderer_detail":null,"options":null,"vo_utype":null,"vo_ucd":null,"vo_unit":null,"vo_description":null,"vo_datatype":null,"vo_size":null,"id_criteria_family":null,"id_output_category":4}' -H "Content-Type: application/json" -X PUT http://localhost/dataset/sp_cards/attribute/9
curl -d '{"id":7,"name":"json_schema","table_name":"sp_cards","label":"json_schema","form_label":"JSON Schema (original)","description":null,"output_display":80,"criteria_display":80,"search_flag":null,"search_type":null,"type":"json","operator":null,"min":null,"max":null,"placeholder_min":null,"placeholder_max":null,"uri_action":null,"renderer":"json","display_detail":80,"selected":true,"order_by":false,"order_display":80,"detail":false,"renderer_detail":null,"options":null,"vo_utype":null,"vo_ucd":null,"vo_unit":null,"vo_description":null,"vo_datatype":null,"vo_size":null,"id_criteria_family":null,"id_output_category":4}' -H "Content-Type: application/json" -X PUT http://localhost/dataset/sp_cards/attribute/7
curl -d '{"id":8,"name":"search_kw","table_name":"sp_cards","label":"search_kw","form_label":"KWs searchable","description":null,"output_display":90,"criteria_display":90,"search_flag":null,"search_type":null,"type":"json","operator":null,"min":null,"max":null,"placeholder_min":null,"placeholder_max":null,"uri_action":null,"renderer":"json","display_detail":90,"selected":true,"order_by":false,"order_display":90,"detail":false,"renderer_detail":null,"options":null,"vo_utype":null,"vo_ucd":null,"vo_unit":null,"vo_description":null,"vo_datatype":null,"vo_size":null,"id_criteria_family":null,"id_output_category":4}' -H "Content-Type: application/json" -X PUT http://localhost/dataset/sp_cards/attribute/8
curl -d '{"id":9,"name":"json_schema_uploaded","table_name":"sp_cards","label":"json_schema_uploaded","form_label":"json_schema_uploaded","description":null,"output_display":70,"criteria_display":70,"search_flag":null,"search_type":null,"type":"json","operator":null,"min":null,"max":null,"placeholder_min":null,"placeholder_max":null,"uri_action":null,"renderer":null,"display_detail":70,"selected":true,"order_by":false,"order_display":70,"detail":false,"renderer_detail":null,"options":null,"vo_utype":null,"vo_ucd":null,"vo_unit":null,"vo_description":null,"vo_datatype":null,"vo_size":null,"id_criteria_family":null,"id_output_category":null}' -H "Content-Type: application/json" -X PUT http://localhost/dataset/sp_cards/attribute/9
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment