Questions tagged [spring-content-community-project]

Use this tag when asking questions related to the Spring community project Spring Content.

Use this tag when asking questions related to the Spring community project Spring Content.

This project adds content management constructs to the Spring framework allowing developers to create industry grade, cloud-native content services.

14 questions
3
votes
3 answers

How to create a permanent directory for my files with spring boot

I am working with spring boot and spring content. I want to store all my pictures and videos in one directory but my code continues to create different dir every time I rerun the application I have such bean and when I run the app again it shows…
valik
  • 2,014
  • 4
  • 24
  • 55
2
votes
0 answers

Video - stream slow using s3 content store

Video - stream - this works.. however on larger files it is slow.. How can I improve the content s3 store to deliver the content faster ? I have tried returning a byte array and copy to a buffer.. all load.. just slow... I am not sure where the…
Coder
  • 21
  • 2
1
vote
1 answer

Why does Spring-content produce an IllegalStateException on startup if an Entity has a field which is marked with @Enumerated

We are using Spring-content as a file storage solution in a web application, and are upgrading the version from 1.0.0.M10 to 2.1.0. Suddenly our microservice refuses to start up because it cannot load its ApplicationContext, and I cannot for the…
1
vote
1 answer

Spring-Content 1.2.7: Identifier for the ContentStore

What I intend to do: I'd like to use multiple ContentStores in the same system: one for freshly uploaded files (filesystem), one for (long term) archiving (AWS S3 or maybe GCS). What I tried (and what actually does work): Extended class File by…
S. Doe
  • 685
  • 1
  • 6
  • 25
1
vote
1 answer

Spring Content 1.2.5 JPA(Postgres) .docx file mutates to zip archive

Saved ".docx" file with mimeType "application/vnd.openxmlformats-officedocument.wordprocessingml.document". But when I access it's endpoint in Spring Content and download it's not exactly Word document, but Zip archive(application/zip). Spring…
leonaugust
  • 186
  • 1
  • 4
  • 15
1
vote
1 answer

Spring Content. Hibernate executes 3 queries to fetch image for each product

I have a products page. Each listed product has its own image. To display it on view I use this line
1
vote
1 answer

Spring content, how to fetch images at other pages

I have a problem with Spring Content. I'm building a car rental service. The user has a profile page with the cars he owns and some information about them including an image. Then he can add a car and should provide an image of it. I decided to use…
1
vote
1 answer

customize file location in spring content

I am working with spring content i have an entity that holds pictures and videos so i want to all videos and pictures to be stored in this directory home/user/photo_video_myram photo_video_myram is folder i want all files to be stored there but im…
valik
  • 2,014
  • 4
  • 24
  • 55
0
votes
0 answers

Blurred text how to find the original word?

Can someone here could throw some light in this ? How does a blurred text changes automatically every time we refresh it in a website? Please share your suggestions as well... The Blurred text can be copied using right click option but it changes…
0
votes
1 answer

Spring-Content: Moving files from content store to another content store

What I want: I'd like to move content from one ContentStore (regular) to another ContentStore (e.g. an archive) with Spring-Content version 1.2.7. What I did is this (and it does work at least with DefaultFilesystemStoreImpls): Creating two…
S. Doe
  • 685
  • 1
  • 6
  • 25
0
votes
1 answer

Spring Content(1.2.5) JPA maximum file size limitation(Postgres)

Does Spring Content have some limitations regarding file size in PostgreSql? I tried to save 7,4 GB file, works well. But which type is used under the hood, how much data we can save per file
leonaugust
  • 186
  • 1
  • 4
  • 15
0
votes
1 answer

How to Add Custom setContent method to Spring Content

I am using Spring Content https://paulcwarren.github.io/spring-content/ for managing files. There is method that I use for setting content public interface ContentStore extends ContentRepository
0
votes
1 answer

Spring Content, convenient way to populate DB with images for test environment

To store images I'm using Spring Content JPA strategy. My test profile has HSQLDB in-memory implementation. Is there a more convenient way to populate DB with images? For now, I have a solution to create a folder with images and then upload them…
0
votes
1 answer

ClientAbortException in streaming video with spring-content and spring-boot

I'm using spring-content for streaming video in Spring Boot and use video tag in HTML5. I am facing this problem when pause or forward video in browser: org.apache.catalina.connector.ClientAbortException: java.io.IOException: An established…