stiuil06 / spring-maven-repository Goto Github PK
View Code? Open in Web Editor NEWThis project forked from renaudcerrato/appengine-maven-repository
Free Private Maven repositories written in Spring Framework.
This project forked from renaudcerrato/appengine-maven-repository
Free Private Maven repositories written in Spring Framework.
Containerize the project with docker and try to publish to docker hub (but maybe after name change).
Currently, ResourceController#put endpoint just takes HttpServletRequest, then forwards it to StorageService#store.
We should better use Spring capabilities and use something like MultipartFile as endpoint parameter.
Add access control system similar to this from appengine-maven-repository.
Information from appengine-maven-repository README:
Minimalistic access control is provided through the following permissions: write, read, or list.
The list permission allows users to list the content of the repository but prohibits downloads. The read permission allows downloads (and implies list). The write permission allows uploads (and implies read).
Anonymous users are supported by using "*" for both username and password. For example, ::read will allow anonymous read access.
We are currently manually considering to which endpoint should be request forwarded.
This happens in method: ResourceController#getDispatcher and ResourceController#putFileDispatcher.
We should better use Spring capabilities and use regex as value in @GetMapping and @PutMapping annotations.
I tried to do it while porting basic functionality but it turned out to be difficult to achive. Has even been created query on StackOverFlow.
It will allow release application under a specific tag in form of jar files.
First of all, check if it should be done by the server or client that uploads files.
As with any artifactory, we need hashes to all uploaded files.
Needed hashes:
Example:
For greeter-1.0.0.jar should be created two files in the same dir greeter-1.0.0.jar.md5 and greeter-1.0.0.jar.sha1, bot with appropriate content.
Improve exception handling and add simple error pages.
Generalize file storage logic and add second file storage type eg. based on s3 file storage
Add license information -> Apache 2.0.
Overwrite file if it already exists.
Currently, the endpoint returns "redirect:/".
This causes that file has been uploaded but clients inform about upload error.
Probably because clients don't receive proper http status, instead they receive redirection to home page.
Add loggers to the application for following operations:
log levels to consider
eg. YAULMR - Yet Another Ultra Light Maven Repository :)
Move Maven Repository functionality:
Convert whole project to Kotlin.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.