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

CoreGraph to Carnival #96

Open
3 tasks done
augustearth opened this issue May 23, 2022 · 3 comments
Open
3 tasks done

CoreGraph to Carnival #96

augustearth opened this issue May 23, 2022 · 3 comments
Milestone

Comments

@augustearth
Copy link
Collaborator

augustearth commented May 23, 2022

CoreGraph to Carnival

Re-brand the CoreGraph as a Carnival. A Carnival is an object that encapsulates the graph model, validator, and underlying graph database.

  • Class renames and removals
  • Replace Defaults with configuration object
  • Remove CarnivalLocalDirInit

Questions?

  • All the graph methods that take a Graph and/or GraphTraversalSource as parameters, do they now accept a Carnival?
  • When and how are graph models applied/associated with a Carnival?

Originally posted by @augustearth in #59 (comment)

@augustearth augustearth added this to the Carnival V3 milestone May 23, 2022
@augustearth
Copy link
Collaborator Author

augustearth commented Aug 12, 2022

Class Renames and Removals

Class Removals

  • Remove CoreGraphValidator

Class Rename

  • CoreGraph to Carnival
  • CoreGraphNeo4j to CarnivalNeo4j
  • CoreGraphTinker to CarnivalTinker
  • CoreGraphUtils to CarnivalUtils
  • CoreGraphSchema to DefaultGraphSchema
  • GremlinGraphValidator to DefaultGraphValidator

@augustearth
Copy link
Collaborator Author

augustearth commented Aug 12, 2022

Replace Defaults with configuration object

References to remove

  • MappedDataTable
  • DataTableVineMethod
  • JsonVineMethod
  • VineMethod

Files to delete

  • Defaults.groovy

CarnivalConfiguration

  • Create a CarnivalNeo4jConfiguration class that contains everything needed to create a CarnivalNeo4j
  • Create a CarnivalNeo4 with a CarnivalNeo4jConfiguration

Vine Configuration

  • VineConfiguration object with everything that VineMethod, JsonVineMethod, and DataTableVineMethod need
  • Add a constructor VineMethod(VineConfiguration)

@augustearth
Copy link
Collaborator Author

augustearth commented Aug 13, 2022

Remove CarnivalLocalDirInit

CarnivalLocalDirInit is there because running Carnival in a CI environment needed it to create the required directories. The directory situation needs to be more explicit. I think that the sub-directories should be created automatically if they are not present. Need to coordinate with @hjwilli to make sure whatever used CarnivalLocalDirInit will be ok after the removal.

Files to delete

  • CarnivalLocalDirInit.groovy

augustearth added a commit that referenced this issue Aug 26, 2022
augustearth added a commit that referenced this issue Aug 26, 2022
augustearth added a commit that referenced this issue Aug 26, 2022
augustearth added a commit that referenced this issue Aug 26, 2022
augustearth added a commit that referenced this issue Aug 26, 2022
augustearth added a commit that referenced this issue Aug 26, 2022
augustearth added a commit that referenced this issue Aug 26, 2022
augustearth added a commit that referenced this issue Aug 26, 2022
augustearth added a commit that referenced this issue Aug 26, 2022
…ts. Will consult with hwilli about other potential ramifications before merging.
augustearth added a commit that referenced this issue Aug 26, 2022
augustearth added a commit that referenced this issue Aug 26, 2022
augustearth added a commit that referenced this issue Aug 26, 2022
…ival.core. They should be at a higher level as they are the entry-point to the Carnival library.
augustearth added a commit that referenced this issue Aug 26, 2022
…ta model. Should be as important as the Carnival* objects.
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

No branches or pull requests

1 participant