walib.istsos.services.configsections package

Submodules

walib.istsos.services.configsections.configsections module

class walib.istsos.services.configsections.configsections.waConfigsections(waEnviron, service=None, loadjson=True)

Bases: walib.resource.waResourceService

Implementation of the configsection GET operation (if non configsection setted all the sections are returned)

executeGet()
executePut()

walib.istsos.services.configsections.connection module

class walib.istsos.services.configsections.connection.waConnection(waEnviron, loadjson=True)

Bases: walib.resource.waResourceConfigurator

executePut()
template = {'host': ['connection', 'host'], 'password': ['connection', 'password'], 'user': ['connection', 'user'], 'dbname': ['connection', 'dbname'], 'port': ['connection', 'port']}
class walib.istsos.services.configsections.connection.waValidatedb(waEnviron, service=None, loadjson=True)

Bases: walib.resource.waResourceService

Implementation of the operation/validatedb GET operation

executeGet()

Test the connection parameters in the server/service configuration

validateGet()

walib.istsos.services.configsections.geo module

class walib.istsos.services.configsections.geo.waGeo(waEnviron, loadjson=True)

Bases: walib.resource.waResourceConfigurator

template = {'yaxisname': ['geo', 'yAxisName'], 'zaxisname': ['geo', 'zAxisName'], 'istsosepsg': ['geo', 'istsosepsg'], 'allowedepsg': ['geo', 'allowedEPSG'], 'xaxisname': ['geo', 'xAxisName']}
validate()

walib.istsos.services.configsections.getobservation module

class walib.istsos.services.configsections.getobservation.waGetobservation(waEnviron, loadjson=True)

Bases: walib.resource.waResourceConfigurator

template = {'correct_qi': ['getobservation', 'correct_qi'], 'stat_qi': ['getobservation', 'stat_qi'], 'defaultqi': ['getobservation', 'default_qi'], 'aggregatenodataqi': ['getobservation', 'aggregate_nodata_qi'], 'maxgoperiod': ['getobservation', 'maxGoPeriod'], 'transactional_log': ['getobservation', 'transactional_log'], 'aggregatenodata': ['getobservation', 'aggregate_nodata']}

walib.istsos.services.configsections.identification module

class walib.istsos.services.configsections.identification.waIdentification(waEnviron, loadjson=True)

Bases: walib.resource.waResourceConfigurator

[identification] keywords = SOS,IST,SUPSI abstract = hydro-meteorological monitoring network authority = x-ist urnversion = 1.0 fees = NONE accessConstrains = NONE title = IST Sensor Observation Service

template = {'title': ['identification', 'title'], 'abstract': ['identification', 'abstract'], 'urnversion': ['identification', 'urnversion'], 'authority': ['identification', 'authority'], 'fees': ['identification', 'fees'], 'keywords': ['identification', 'keywords'], 'accessconstrains': ['identification', 'accessConstrains']}

walib.istsos.services.configsections.provider module

class walib.istsos.services.configsections.provider.waProvider(waEnviron, loadjson=True)

Bases: walib.resource.waResourceConfigurator

[provider] contactCountry = Switzerland providerName = Istituto Scienze della Terra contactCity = Lugano contactAdminArea = Canton Ticino contactVoice = +4179123456 contactEmail = clark.kent@superman.com contactDeliveryPoint = Via Cippili contactName = Pinco Pallino contactPostalCode = 6900 contactPosition = Data manager providerSite = http://istgeo.ist.supsi.ch contactFax = +4179123459

checkAuthorization()
template = {'providername': ['provider', 'providerName'], 'contactposition': ['provider', 'contactPosition'], 'providersite': ['provider', 'providerSite'], 'contactfax': ['provider', 'contactFax'], 'contactcountry': ['provider', 'contactCountry'], 'contactcity': ['provider', 'contactCity'], 'contactvoice': ['provider', 'contactVoice'], 'contactemail': ['provider', 'contactEmail'], 'contactdeliverypoint': ['provider', 'contactDeliveryPoint'], 'contactname': ['provider', 'contactName'], 'contactpostalcode': ['provider', 'contactPostalCode'], 'contactadminarea': ['provider', 'contactAdminArea']}

walib.istsos.services.configsections.serviceurl module

class walib.istsos.services.configsections.serviceurl.waServiceurl(waEnviron, loadjson=True)

Bases: walib.resource.waResourceConfigurator

template = {'url': ['serviceurl', 'url']}

walib.istsos.services.configsections.urn module

class walib.istsos.services.configsections.urn.waUrn(waEnviron, loadjson=True)

Bases: walib.resource.waResourceConfigurator

executeDelete()
executeGet()

Execute operation GET for on service configuration sections

executePost()
executePut()
template = {'offering': ['urn', 'offering'], 'dataType': ['urn', 'dataType'], 'phenomena': ['urn', 'phenomena'], 'keywords': ['urn', 'keywords'], 'identifier': ['urn', 'identifier'], 'parameter': ['urn', 'parameter'], 'feature': ['urn', 'feature'], 'sensorType': ['urn', 'sensorType'], 'process': ['urn', 'process'], 'role': ['urn', 'role'], 'refsystem': ['urn', 'refsystem'], 'time': ['urn', 'time'], 'property': ['urn', 'property'], 'sensor': ['urn', 'sensor'], 'procedure': ['urn', 'procedure']}

Module contents