Giter Club home page Giter Club logo

Comments (4)

paulcwarren avatar paulcwarren commented on May 15, 2024

With the new Placement Service/Strategy feature this may now be achievable. Based on @ContentId values that you would provide when creating new instances of your entities you could create a placement strategy to partition content. For example by giving an entity an @ContentId of perhaps "01-1234-5678" you could generate an actual location of /filesystemroot/partition01, given an @ContentID of "02-1234-5678" you could generate an location of /filesystemroot/partition02, etc...

This would achieve this by

  • generating @ContentID's in your code (you would have to figure out how to determine which partition an entity's content should go into) and
  • creating an org.springframework.content.commons.PlacementStrategy bean (probably parameterized to String?)

We may have to implement a precedence/sorting algorithm to ensure that your developer provided placement strategies are tried before SC-provided ones but this is on the backlog anyways.

What do you think? Does this satisfy the requirement. If not, why? etc...love to hear your thoughts.

from spring-content.

paulcwarren avatar paulcwarren commented on May 15, 2024

Hey @bilak,

Just pinging you to see if this is still relevant. Let me know. If I don't hear anything within 48hrs or so I will close.

from spring-content.

bilak avatar bilak commented on May 15, 2024

Hi @paulcwarren. I'm currently busy. If you think it's ok, then close the ticket.

from spring-content.

paulcwarren avatar paulcwarren commented on May 15, 2024

Closing. If it turns out that this doesn't satisfy the requirement then feel free to re-open.

from spring-content.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.