Skip to content

Replace use of PathStringUtils with Path#240

Open
edwardcrichton wants to merge 1 commit intodevelopfrom
feature/pathMethods
Open

Replace use of PathStringUtils with Path#240
edwardcrichton wants to merge 1 commit intodevelopfrom
feature/pathMethods

Conversation

@edwardcrichton
Copy link
Copy Markdown
Collaborator

No description provided.

@edwardcrichton edwardcrichton linked an issue Oct 9, 2025 that may be closed by this pull request
Methods that replace the functionality from 'PathStringUtils': finding the last PathNode with a prefix, getting the last PathNode, getModelIdentifier
Path.setModelIdentifier sets the Model Identifier of the first Model PathNode in the Path
PathNode holds a list of prefixes that may hold modelIdentifier
Path.setModelIdentifier recreates the pathString

Updated PathControllerIntegrationSpec:
pathApi.getResourceByPath must use a valid path string rather than just a label
PathMethodsTest replicates all of the correct tests from PathStringUtils using Path instead
PathService uses Path methods in place of PathStringUtils methods, and Path in place of pathString
@edwardcrichton
Copy link
Copy Markdown
Collaborator Author

Will need rebasing and conflicts resolved after Feature/folder import export with dataflow #211:

DataflowService will be renamed

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.

Tidy up Path, PathStringUtils, and PathService

1 participant