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

Create a script to migrate the geoserver layers to the workspace with each user name #76

Open
ywkim312 opened this issue Aug 2, 2024 · 2 comments · May be fixed by #77
Open

Create a script to migrate the geoserver layers to the workspace with each user name #76

ywkim312 opened this issue Aug 2, 2024 · 2 comments · May be fixed by #77
Assignees
Labels
3storypoints Between 7-15 hours of work, requiring back and forth communications to clarify a complex problem

Comments

@ywkim312
Copy link
Member

ywkim312 commented Aug 2, 2024

Currently, all the layers in the geoserver are in a single workspace. This has to be moved under the workspace named from each user name.

@ywkim312 ywkim312 self-assigned this Aug 2, 2024
@ywkim312 ywkim312 added the 3storypoints Between 7-15 hours of work, requiring back and forth communications to clarify a complex problem label Aug 2, 2024
@ywkim312
Copy link
Member Author

ywkim312 commented Aug 2, 2024

Proposed steps

  1. connect mogodb to get the users and dataset id belonged to them form space database
  2. create workspace based on the username
  3. migrate the layers using the dataset id to the proper workspace (dataset's owner workspace)

things to consider

  1. how to handle the public, coe, all those spaces
  2. how to work with the new space service change

@ywkim312
Copy link
Member Author

ywkim312 commented Aug 2, 2024

The services that needs to be changed with this

  1. data-service
  • uploading to geoserver should use the workspace with owner's name
  • removing dataset from geoserver also needs to check the workspace with owner's name
  1. front end
  • all the viewers need to use workspace with owner's username when showing the preview

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3storypoints Between 7-15 hours of work, requiring back and forth communications to clarify a complex problem
Projects
None yet
1 participant