Skip to content

Commit

Permalink
Merge pull request #8 from BYU-Hydroinformatics/hydroshare_auth
Browse files Browse the repository at this point in the history
Hydroshare auth
  • Loading branch information
rileyhales authored Sep 22, 2020
2 parents f3d68ba + aa1ab76 commit b2d0e95
Show file tree
Hide file tree
Showing 15 changed files with 1,008 additions and 264 deletions.
1 change: 1 addition & 0 deletions install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ requirements:
- geopandas
- jinja2
- geomatics
- hs_restclient

pip:
- geoserver-restconfig
Expand Down
27 changes: 17 additions & 10 deletions tethysapp/geoglows_hydroviewer/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ def url_maps(self):
UrlMap(name='project_overview',
url=f'{self.root_url}/creator/project',
controller=f'{self.package}.controllers_creator.project_overview'),
UrlMap(name='render_hydroviewer',
url=f'{self.root_url}/creator/render',
controller=f'{self.package}.controllers_creator.render_hydroviewer'),

# creator pages and urls for adding/deleting projects
UrlMap(name='add_new_project',
url=f'{self.root_url}/creator/add-new-project',
Expand Down Expand Up @@ -94,16 +98,19 @@ def url_maps(self):
url=f'{self.root_url}/creator/project/edit/retrieve_boundaries',
controller=f'{self.package}.controllers_creator.retrieve_hydroviewer_boundaries'),

# project exporting options
UrlMap(name='shapefile_export_zipfile',
url=f'{self.root_url}/creator/project/export/shapefile_export_zipfile',
controller=f'{self.package}.controllers_creator.shapefile_export_zipfile'),
UrlMap(name='shapefile_export_geoserver',
url=f'{self.root_url}/creator/project/export/shapefile_export_geoserver',
controller=f'{self.package}.controllers_creator.shapefile_export_geoserver'),
UrlMap(name='project_export_html',
url=f'{self.root_url}/creator/project/export/project_export_html',
controller=f'{self.package}.controllers_creator.project_export_html'),
# project and shapefile exporting options
UrlMap(name='export_zipfile',
url=f'{self.root_url}/creator/project/export/zipfile',
controller=f'{self.package}.controllers_creator_export.export_zipfile'),
UrlMap(name='export_geoserver',
url=f'{self.root_url}/creator/project/export/geoserver',
controller=f'{self.package}.controllers_creator_export.export_geoserver'),
UrlMap(name='export_hydroshare',
url=f'{self.root_url}/creator/project/export/hydroshare',
controller=f'{self.package}.controllers_creator_export.export_hydroshare'),
UrlMap(name='export_html',
url=f'{self.root_url}/creator/project/export/html',
controller=f'{self.package}.controllers_creator_export.export_html'),
)

def custom_settings(self):
Expand Down
Loading

0 comments on commit b2d0e95

Please sign in to comment.