├── .babelrc ├── .eslintrc.json ├── .gitignore ├── .npmignore ├── .travis.yml ├── LICENSE ├── README.md ├── doc ├── API.md ├── OGC_tests.md └── usage.md ├── example └── example.js ├── id_rsa.enc ├── package.json ├── scripts ├── OGC_tests │ ├── check_tests_failures.sh │ ├── install_tests.sh │ └── launch_tests.sh ├── populateDB.sh ├── posttest.sh ├── preconditions.sh ├── preexample.sh └── pretest.sh ├── src ├── constants.js ├── errors.js ├── extensions │ └── data_array.js ├── middlewares │ ├── associations.js │ ├── query │ │ ├── count.js │ │ ├── expand.js │ │ ├── filter.js │ │ ├── orderby.js │ │ ├── select.js │ │ ├── skip.js │ │ └── top.js │ └── query_parser.js ├── models │ ├── association.js │ ├── datastream.js │ ├── db.js │ ├── feature_of_interest.js │ ├── historical_location.js │ ├── location.js │ ├── observation.js │ ├── observed_property.js │ ├── sensor.js │ └── thing.js ├── response.js ├── routes │ ├── base.js │ ├── datastreams.js │ ├── features_of_interest.js │ ├── historical_locations.js │ ├── locations.js │ ├── observations.js │ ├── observed_properties.js │ ├── resource.js │ ├── sensors.js │ └── things.js ├── sensorthings.js └── utils.js └── test ├── common.js ├── constants.js ├── forms └── sta10.xml ├── server.js ├── test_associations_middleware.js ├── test_base.js ├── test_client_db_hooks.js ├── test_create_observations.js ├── test_datastreams.js ├── test_deep_insert.js ├── test_features_of_interest.js ├── test_historical_locations.js ├── test_locations.js ├── test_multitenancy.js ├── test_observations.js ├── test_observed_properties.js ├── test_query_language.js ├── test_router.js ├── test_sensors.js └── test_things.js /.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/.babelrc -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | doc 2 | example 3 | scripts 4 | test 5 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/README.md -------------------------------------------------------------------------------- /doc/API.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/doc/API.md -------------------------------------------------------------------------------- /doc/OGC_tests.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/doc/OGC_tests.md -------------------------------------------------------------------------------- /doc/usage.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/doc/usage.md -------------------------------------------------------------------------------- /example/example.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/example/example.js -------------------------------------------------------------------------------- /id_rsa.enc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/id_rsa.enc -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/package.json -------------------------------------------------------------------------------- /scripts/OGC_tests/check_tests_failures.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/scripts/OGC_tests/check_tests_failures.sh -------------------------------------------------------------------------------- /scripts/OGC_tests/install_tests.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/scripts/OGC_tests/install_tests.sh -------------------------------------------------------------------------------- /scripts/OGC_tests/launch_tests.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/scripts/OGC_tests/launch_tests.sh -------------------------------------------------------------------------------- /scripts/populateDB.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/scripts/populateDB.sh -------------------------------------------------------------------------------- /scripts/posttest.sh: -------------------------------------------------------------------------------- 1 | psql -c 'drop database sensorthingstest;' -U postgres 2> /dev/null 2 | -------------------------------------------------------------------------------- /scripts/preconditions.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/scripts/preconditions.sh -------------------------------------------------------------------------------- /scripts/preexample.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/scripts/preexample.sh -------------------------------------------------------------------------------- /scripts/pretest.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/scripts/pretest.sh -------------------------------------------------------------------------------- /src/constants.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/src/constants.js -------------------------------------------------------------------------------- /src/errors.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/src/errors.js -------------------------------------------------------------------------------- /src/extensions/data_array.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/src/extensions/data_array.js -------------------------------------------------------------------------------- /src/middlewares/associations.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/src/middlewares/associations.js -------------------------------------------------------------------------------- /src/middlewares/query/count.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/src/middlewares/query/count.js -------------------------------------------------------------------------------- /src/middlewares/query/expand.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/src/middlewares/query/expand.js -------------------------------------------------------------------------------- /src/middlewares/query/filter.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/src/middlewares/query/filter.js -------------------------------------------------------------------------------- /src/middlewares/query/orderby.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/src/middlewares/query/orderby.js -------------------------------------------------------------------------------- /src/middlewares/query/select.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/src/middlewares/query/select.js -------------------------------------------------------------------------------- /src/middlewares/query/skip.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/src/middlewares/query/skip.js -------------------------------------------------------------------------------- /src/middlewares/query/top.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/src/middlewares/query/top.js -------------------------------------------------------------------------------- /src/middlewares/query_parser.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/src/middlewares/query_parser.js -------------------------------------------------------------------------------- /src/models/association.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/src/models/association.js -------------------------------------------------------------------------------- /src/models/datastream.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/src/models/datastream.js -------------------------------------------------------------------------------- /src/models/db.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/src/models/db.js -------------------------------------------------------------------------------- /src/models/feature_of_interest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/src/models/feature_of_interest.js -------------------------------------------------------------------------------- /src/models/historical_location.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/src/models/historical_location.js -------------------------------------------------------------------------------- /src/models/location.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/src/models/location.js -------------------------------------------------------------------------------- /src/models/observation.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/src/models/observation.js -------------------------------------------------------------------------------- /src/models/observed_property.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/src/models/observed_property.js -------------------------------------------------------------------------------- /src/models/sensor.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/src/models/sensor.js -------------------------------------------------------------------------------- /src/models/thing.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/src/models/thing.js -------------------------------------------------------------------------------- /src/response.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/src/response.js -------------------------------------------------------------------------------- /src/routes/base.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/src/routes/base.js -------------------------------------------------------------------------------- /src/routes/datastreams.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/src/routes/datastreams.js -------------------------------------------------------------------------------- /src/routes/features_of_interest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/src/routes/features_of_interest.js -------------------------------------------------------------------------------- /src/routes/historical_locations.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/src/routes/historical_locations.js -------------------------------------------------------------------------------- /src/routes/locations.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/src/routes/locations.js -------------------------------------------------------------------------------- /src/routes/observations.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/src/routes/observations.js -------------------------------------------------------------------------------- /src/routes/observed_properties.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/src/routes/observed_properties.js -------------------------------------------------------------------------------- /src/routes/resource.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/src/routes/resource.js -------------------------------------------------------------------------------- /src/routes/sensors.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/src/routes/sensors.js -------------------------------------------------------------------------------- /src/routes/things.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/src/routes/things.js -------------------------------------------------------------------------------- /src/sensorthings.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/src/sensorthings.js -------------------------------------------------------------------------------- /src/utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/src/utils.js -------------------------------------------------------------------------------- /test/common.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/test/common.js -------------------------------------------------------------------------------- /test/constants.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/test/constants.js -------------------------------------------------------------------------------- /test/forms/sta10.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/test/forms/sta10.xml -------------------------------------------------------------------------------- /test/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/test/server.js -------------------------------------------------------------------------------- /test/test_associations_middleware.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/test/test_associations_middleware.js -------------------------------------------------------------------------------- /test/test_base.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/test/test_base.js -------------------------------------------------------------------------------- /test/test_client_db_hooks.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/test/test_client_db_hooks.js -------------------------------------------------------------------------------- /test/test_create_observations.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/test/test_create_observations.js -------------------------------------------------------------------------------- /test/test_datastreams.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/test/test_datastreams.js -------------------------------------------------------------------------------- /test/test_deep_insert.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/test/test_deep_insert.js -------------------------------------------------------------------------------- /test/test_features_of_interest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/test/test_features_of_interest.js -------------------------------------------------------------------------------- /test/test_historical_locations.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/test/test_historical_locations.js -------------------------------------------------------------------------------- /test/test_locations.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/test/test_locations.js -------------------------------------------------------------------------------- /test/test_multitenancy.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/test/test_multitenancy.js -------------------------------------------------------------------------------- /test/test_observations.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/test/test_observations.js -------------------------------------------------------------------------------- /test/test_observed_properties.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/test/test_observed_properties.js -------------------------------------------------------------------------------- /test/test_query_language.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/test/test_query_language.js -------------------------------------------------------------------------------- /test/test_router.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/test/test_router.js -------------------------------------------------------------------------------- /test/test_sensors.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/test/test_sensors.js -------------------------------------------------------------------------------- /test/test_things.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mozilla-sensorweb/sensorthings/HEAD/test/test_things.js --------------------------------------------------------------------------------