Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Demo Service details #59

Open
hylkevds opened this issue Aug 3, 2023 · 1 comment
Open

Demo Service details #59

hylkevds opened this issue Aug 3, 2023 · 1 comment

Comments

@hylkevds
Copy link
Collaborator

hylkevds commented Aug 3, 2023

Base URL: https://ogc-demo.k8s.ilt-dmz.iosb.fraunhofer.de/FROST-GeoTech/v1.1

There are several users to test with:

Username Password Description
Bob Bob Project manager Project 1
David David GeoTech expert
John John Global Admin
Kevin Kevin Member project 2
Mary Mary Contributor Project 1, Manager Project 2
Sam Sam Member Project 1, Contributor Project 2
admin admin Global server admin
read read User with global read rights
write write User with global write rights (CRUD)

The rights for the different users:

  Admin (admin, c,r,u,d) Geotech Expert (r,c,u,d) Public (for open projects) Public (for private projects) Project manager (a,c,r,u,d) Project contributor (r,c,u,d) Project member (read)
Project CRUD R R   R R R
User CRUD R (self)     R (all) R (self) R (self)
Role CRUD R (self)     R (all) R (self) R (self)
UserProjectRole CRUD R (self)     CRUD (project) R (self) R (self)
ObsProp CRUD CRUD R R R R R
Sensor CRUD CRUD R   CRUD R R
Thing & Location CRUD CRUD R   CRUD R R
FOI, Sampling, Preparation CRUD CRUD R   CRUD CRUD R
DataStream CRUD CRUD R   CRUD CRUD R
Observation CRUD CRUD R   CRUD CRUD R

To do a request with a given user, put <username>:<password>@ before the server name. For instance:

@hylkevds
Copy link
Collaborator Author

The data currently in the demo service is in the following STA Batch Request:
https://github.com/hylkevds/FROST-Server.Plugin.GeoTech/blob/main/scripts/BatchUploadTemplate.json

If you POST that file to v1.1/$batch with a content-type of application/JSON it will create the demo entities.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant