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

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

Merged
merged 2 commits into from
Oct 4, 2023

Conversation

ywkim312
Copy link
Member

@ywkim312 ywkim312 commented Oct 4, 2023

No description provided.

@ywkim312 ywkim312 linked an issue Oct 4, 2023 that may be closed by this pull request
@ywkim312 ywkim312 marked this pull request as ready for review October 4, 2023 19:29
@ywkim312 ywkim312 self-assigned this Oct 4, 2023
@@ -109,6 +109,13 @@ public Response listTypes(

List<Document> typeList = this.typeDAO.getTypes();

// hackish way of adding "id" field
Copy link
Member

Choose a reason for hiding this comment

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

I don't think we need to do this here. The listTypes returns all the type "names", no objects, right @longshuicy ?

Copy link
Member

Choose a reason for hiding this comment

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

If set "detail" flag to true it returns all the objects :-(
We might want to revisit this design at some point...

CHANGELOG.md Outdated
@@ -16,6 +16,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
- Geoserver connection library has been removed and new connection object has been added [#190](https://github.com/IN-CORE/incore-services/issues/190)
- Semantics should display description instead of title [#206](https://github.com/IN-CORE/incore-services/issues/206)

### Fixed
- Semantic services endpoint returns correct ID [#206](https://github.com/IN-CORE/incore-services/issues/206)
Copy link
Member

Choose a reason for hiding this comment

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

This should be issue 227

Copy link
Member Author

Choose a reason for hiding this comment

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

Updated

@ywkim312 ywkim312 merged commit 1554fb0 into develop Oct 4, 2023
1 check passed
@ywkim312 ywkim312 deleted the 227-semantics-endpoint-need-to-return-objectid branch October 4, 2023 21:00
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
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.

Semantics endpoint need to return ObjectID
3 participants