Skip to content

Conversation

@plyhun
Copy link
Contributor

@plyhun plyhun commented Jan 3, 2024

Abstract

REST EPs for referenced projects of (micro)schema.

Checklist

General

  • Added abstract that describes the change
  • Added changelog entry to /CHANGELOG.adoc
  • Ensured that the change is covered by tests
  • Ensured that the change is documented in the docs

On API Changes

  • Checked if the changes are breaking or not
  • Added GraphQL API if applicable
  • Added Elasticsearch mapping if applicable

@plyhun plyhun force-pushed the hotfix-1.10.x-sup-15603 branch from 8525da0 to e6a21c2 Compare January 3, 2024 13:41
@plyhun plyhun requested a review from npomaroli January 3, 2024 13:46
Copy link
Member

@npomaroli npomaroli left a comment

Choose a reason for hiding this comment

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

This is a new feature (new endpoints), so there is no reason to add it as hotfix.

}

@Test
public void testReadAssignedProjects() {
Copy link
Member

Choose a reason for hiding this comment

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

Add more test cases:

  • permissions on schema
  • permissions on projects
  • paging
  • sorting

}

@Test
public void testReadAssignedProjects() {
Copy link
Member

Choose a reason for hiding this comment

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

Add more test cases:

  • permissions on microschema
  • permissions on projects
  • paging
  • sorting

private MBeanServer mbs = ManagementFactory.getPlatformMBeanServer();

private HibBranchVersionAssignment versionEdge;
private Object versionEdgeId;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Refactored to avoid NPEs on test runs.

@plyhun
Copy link
Contributor Author

plyhun commented Jan 9, 2024

This is a new feature (new endpoints), so there is no reason to add it as hotfix.

@npomaroli it is declared as SUP though. I may indeed move it under GP (2.1.x), although it will seem to be an unplanned feature.

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.

3 participants