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

Allow semantics to be added to space #230

Merged
merged 3 commits into from
Oct 5, 2023

Conversation

longshuicy
Copy link
Member

I realize we didn't allow semantics id to be added to space via the member endpoint. Since semantics endpoint /types/{name} accepts name instead of member id, it makes the logic of validating before hand very difficult.

This is just a quick hack to workaround. We should prboably review this design and properly address it later.


To test:

  1. make sure you add SEMANTICS_SERVICE_URL=http://localhost:8080 in the environment variable
  2. try POST http://localhost:8080/space/api/spaces/5a284f09c7d30d13bc0819a3/members/ergo:buriedPipelineTopology

@longshuicy longshuicy linked an issue Oct 5, 2023 that may be closed by this pull request
@navarroc
Copy link
Member

navarroc commented Oct 5, 2023

I tested added the buried pipeline topology and it's working.

Copy link
Contributor

@ylyangtw ylyangtw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

API works. Approved~

@ylyangtw ylyangtw merged commit 016ac5a into develop Oct 5, 2023
6 checks passed
ylyangtw pushed a commit that referenced this pull request Oct 11, 2023
* 190 upgrade geoserver connection (#204)

* saving purpose

* Created geoserver rest api object

* modified remove layers

* clean up build.gradle

* blocked geoserver upload if there is no prj file

* Fixes #208 - added attenuation model Sadigh et al. 1997 (#210)

* 188 redo adding owner item to dataset and delete by only owner (#196)

* added owner to dataset

* added for hazard and dfr3

* delete and put has been modified based on ownership

* added a function that the admin group can delete

* use isAdmin from Authorizer

* changed one missing isAdmin to authorizer

* Add Template API endpoint (#215)

* Remove LdapClient and refactor methods in Authorizer class in interface

* Warning changes

* work in progress

* fixed csv writer

* fix csv file generation

* add shapefile support

* add changelog entry

---------

Co-authored-by: YONG WOOK KIM <ywkim312@users.noreply.github.com>

* 206 show description instead of title for semantics table (#209)

* display description instead of title

* add entry in changelog

* 221 add semantic template link in the html (#223)

* add download

* place link

* Semantic service's type endpoint returns the correct object id (#228)

* type returns the correct object id

* fixed changelog

* 217 add jupyter quota to incore service (#218)

* add incore lab quota

* match the words to make life easier

* changelog

* add toJson method to serialize the model

* add todo

* usage doesn't have service and incoreLab

* Allow semantics to be added to space (#230)

* allow add semantics

* fix more logic

* update comment

* changelog and version bump up

---------

Co-authored-by: YONG WOOK KIM <ywkim312@users.noreply.github.com>
Co-authored-by: Chris Navarro <cmnavarr@illinois.edu>
Co-authored-by: Rashmil Panchani <32737711+Rashmil-1999@users.noreply.github.com>
@longshuicy longshuicy mentioned this pull request Oct 11, 2023
@navarroc navarroc deleted the allow-semantics-to-be-added-to-space branch October 17, 2023 18:42
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

Successfully merging this pull request may close these issues.

Allow semantics id to be added to space member
3 participants