Git Product home page Git Product logo

systemofadownload's Introduction

SystemOfADownload

The metadata generator webapp that serves up enhanced information and "tagging" for artifacts from a Maven repository. This is intended to serve as a backend to power the data to generate for serving an enhanced downloads website.

Requirements

  • Java 16
  • Docker
  • sbt 1.15
  • terraform (if you want to deploy to a kubernetes cluster)

Technologies in use

Framework

SystemOfADownload (SOAD) is built on LagomFramework, an opinionated Event Source + CQRS architecture framework built on [Akka], and as such relies on several functional programing paradigms. Lagom as a whole provides enough to build out several services with semi-automatic service discovery routing and using [Postgres] as the primary storage database for the Event Journal and Query side persistence.

To learn about the topics, please visit Lagom's documentation on concepts that goes at length about how the system works together.

Containerization Out of the Box

SOAD is targeted at being deployed with either sbt in-development or deployed on a Kubernetes cluster.

Services

Each service is loosely intended on the desired workload/grouped boundaries of knowledge.

In a sense, the data The first three are what effectively being given as model views to exploring a paired Sonatype Nexus repository instance for artifacts and presenting/serving them in a more user friendlier way by providing git-like changelogs between artifacts.

ArtifactService

The bread and butter of the shebang. Manages/creates/caches artifacts to knowledge by maven coordindates. Typically, an Artifact is not actually an artifact, but considered a Component with several Assets. Here we have exposed the ability to retrieve an artifact (if registered) and its known assets along with download url's provided.

CommitService

This is a little more subtle, but effectively, since each artifact may or may not have a Git-Commit listed in the jar manifest, this service strictly deals with managing registered repositories, updating them, and pulling the list of commits diffing between two commits.

ChangelogService

Amalgamation of information between the ArtifactService and CommitService. This is where we can store/manage changelogs per artifact regsitered by an entity.

SonatypeWebhookService

This is the webhook functionality that performs a Saga-like series of jobs or units of work. Because the nature of an artifact being uploaded to Sonatype and "the fact that anything can and will go wrong",

AuthService

Provides the login end point and generates Json Web Tokens (JWTs) to enable interacting with select services. It uses lagom-pac4j's SecuredService to provide authentication and authorization to other endpoints. It is used to provide internal, LDAP and JWT based authentication.

systemofadownload's People

Contributors

dualspiral avatar gabizou avatar katrix avatar

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.