Giter Site home page Giter Site logo

sdkman-broker's Introduction

SDKMAN Broker Service

Build status GitHub tag (latest by date)

This service is responsible for determining the location of remote binaries (third party and owned) through a unified API.

Run local

You will need to have MongoDB up and running locally on the default port.

$ docker run -d --net=host mongo:latest

We can now run the app up locally with a simple

$ ./gradlew run

Tests

The service has a comprehensive suite of standalone acceptance tests and unit tests.

	$ ./gradlew check

sdkman-broker's People

Contributors

dvdkruk avatar eddumelendez avatar hgeraldino avatar marc0der avatar willpewitt avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

sdkman-broker's Issues

MongoQueryException when using latest mongo image

When pulling the latest mongo image the following exception occurs when trying to run any query

com.mongodb.MongoQueryException: Query failed with error code 352 and error message 'Unsupported OP_QUERY command: find. The client driver may require an upgrade. For more details see https://dochub.mongodb.org/core/legacy-opcode-removal' on server localhost:27017
	at com.mongodb.operation.FindOperation$1.call(FindOperation.java:492)
	at com.mongodb.operation.FindOperation$1.call(FindOperation.java:482)
	at com.mongodb.operation.OperationHelper.withConnectionSource(OperationHelper.java:239)
	at com.mongodb.operation.OperationHelper.withConnection(OperationHelper.java:212)
	at com.mongodb.operation.FindOperation.execute(FindOperation.java:482)
	at com.mongodb.operation.FindOperation.execute(FindOperation.java:79)
	at com.mongodb.Mongo.execute(Mongo.java:772)
	at com.mongodb.Mongo$2.execute(Mongo.java:759)
	at com.mongodb.FindIterableImpl$FindOperationIterable.first(FindIterableImpl.java:207)
	at com.mongodb.FindIterableImpl.first(FindIterableImpl.java:148)
	at io.sdkman.broker.app.AppRepo.findVersion$lambda$3(AppRepo.kt:35)
	at ratpack.exec.Blocking$1.lambda$get$0(Blocking.java:69)
	at ratpack.exec.internal.DefaultExecution.intercept(DefaultExecution.java:236)
	at ratpack.exec.Blocking$1.get(Blocking.java:67)
	at ratpack.exec.Blocking$1.get(Blocking.java:60)
	at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at ratpack.exec.internal.DefaultExecController$ExecControllerBindingThreadFactory.lambda$newThread$0(DefaultExecController.java:137)
	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
	at java.base/java.lang.Thread.run(Thread.java:829)

I suspect the issue is that is due to the client being quite old. 3.2.2 was released in Feb 15 2016. If the version of Mongo used in production was known we could upgrade the client to a newer verison

It appears that the breakage starts when using a version older than 3.6.0

[Security] Workflow pr.yml is using vulnerable action kentaro-m/auto-assign-action

The workflow pr.yml is referencing action kentaro-m/auto-assign-action using references v1.1.2. However this reference is missing the commit 9747bbd08d472441f6511563c8224d3b19e3dd1b which may contain fix to the some vulnerability.
The vulnerability fix that is missing by actions version could be related to:
(1) CVE fix
(2) upgrade of vulnerable dependency
(3) fix to secret leak and others.
Please consider to update the reference to the action.

[feature] checksum api

Hi! thanks for fascinating service.

is there any plan to provide api for checksum of sdk(whichever algorithm)?

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.