Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Jan 30 16:19

    andyHa on 12.4.1

    (compare)

  • Jan 30 16:19

    andyHa on master

    Delays the creation of a part i… Merge pull request #179 from sc… (compare)

  • Jan 30 16:19
    andyHa closed #179
  • Jan 29 13:17
    andyHa opened #179
  • Jan 29 13:17

    andyHa on InstantiationFixx

    Delays the creation of a part i… (compare)

  • Jan 25 15:56

    andyHa on 12.4

    (compare)

  • Jan 25 15:48

    sabieber on KeepRunning

    (compare)

  • Jan 25 15:48

    sabieber on master

    Adds a flag which lets all dock… Merge pull request #178 from sc… (compare)

  • Jan 25 15:48
    sabieber closed #178
  • Jan 25 15:34
    andyHa opened #178
  • Jan 25 15:34

    andyHa on KeepRunning

    Adds a flag which lets all dock… (compare)

  • Jan 25 13:42

    Tobsucht on FastBackgroundLoops

    (compare)

  • Jan 25 13:42

    Tobsucht on master

    Reduces the default wait interv… Merge pull request #177 from sc… (compare)

  • Jan 25 13:42
    Tobsucht closed #177
  • Jan 25 13:18
    andyHa opened #177
  • Jan 25 13:18

    andyHa on FastBackgroundLoops

    Reduces the default wait interv… (compare)

  • Jan 22 08:30

    andyHa on rm

    (compare)

  • Jan 22 08:30

    andyHa on 12.3

    (compare)

  • Jan 22 08:06

    andyHa on master

    Performs refactroings suggested… Simplifies array handling. Simplifies a convoluted block o… and 4 more (compare)

  • Jan 22 08:06
    andyHa closed #176
Andreas Haufler
@andyHa
currently only path style access is supported
AWSCredentials credentials = new BasicAWSCredentials(s3AccessKey, s3SecretKey);
ClientConfiguration config = new ClientConfiguration().withSocketTimeout(LONG_SOCKET_TIMEOUT);
if (useLegacySigner) {
config = config.withSignerOverride("S3SignerType");
}
AmazonS3Client newClient = new AmazonS3Client(credentials, config);
newClient.setS3ClientOptions(new S3ClientOptions().withPathStyleAccess(true));
newClient.setEndpoint(s3EndPoint);
http://localhost:9444/s3 would be the endpoint
    <dependency>
        <groupId>com.amazonaws</groupId>
        <artifactId>aws-java-sdk-s3</artifactId>
        <version>1.10.12</version>
    </dependency>
we use that version (aws is quite picky)
Gustavo Ponce
@gustavoponce7
HI All, Have you faced the next exception? Caused by: java.security.NoSuchAlgorithmException: Algorithm HmacSHA1 not available
Gustavo Ponce
@gustavoponce7
I have resolved this exception updating my jdk from "1.8.0_151" to "1.8.0_162"
charlie4zhang
@charlie4zhang
Hi, I have seen this issue, could someone give me a hand?

I have tried to clone the Sirius-kernel source code and do "mvn clean install", and see unit test failure shown:

BOMReaderTest.readArray10BOM:58 expected:<5> but was:<8>
BOMReaderTest.readArray1BOM:43 expected:<72> but was:<239>
BOMReaderTest.readArray2BOM:51 expected:<72> but was:<239>

My system set up is:

mvn -version
Apache Maven 3.5.3 (3383c37e1f9e9b3bc3df5050c29c8aff9f295297; 2018-02-24T12:49:05-07:00)
Maven home: C:\java\mvn\apache-maven-3.5.3
Java version: 1.8.0_151, vendor: Oracle Corporation
Java home: C:\java\jdk1.8.0_151\jre
Any idea what I am missing ?

I can change the test expected value to get the test pass but my question is are these reflect some real problem in the java class code?
Saurabh Valsangkar
@saurabhvalsangkar
hi - This is a great project and I am trying to use it for testing in development environment. When I configured it and tried to add a bucket, I am getting below error. Am I missing something?
sirius.kernel.health.HandledException: An unexpected exception occurred: POST (java.lang.IllegalArgumentException)
at sirius.kernel.health.Exceptions$ErrorHandler.handle(Exceptions.java:193)
at sirius.kernel.health.Exceptions.handle(Exceptions.java:350)
at sirius.web.http.DispatcherPipeline.handleInternalServerError(DispatcherPipeline.java:100)
at sirius.web.http.DispatcherPipeline.dispatch(DispatcherPipeline.java:91)
at sirius.web.http.DispatcherPipeline.lambda$dispatch$2(DispatcherPipeline.java:87)
at sirius.web.http.WebDispatcher.dispatch(WebDispatcher.java:102)
at sirius.web.http.DispatcherPipeline.dispatch(DispatcherPipeline.java:83)
at sirius.web.http.DispatcherPipeline.lambda$dispatch$2(DispatcherPipeline.java:87)
at sirius.web.http.WebDispatcher.dispatch(WebDispatcher.java:102)
at sirius.web.http.DispatcherPipeline.dispatch(DispatcherPipeline.java:83)
at sirius.web.http.DispatcherPipeline.lambda$dispatch$2(DispatcherPipeline.java:87)
at sirius.web.http.WebDispatcher.dispatch(WebDispatcher.java:102)
at sirius.web.http.DispatcherPipeline.dispatch(DispatcherPipeline.java:83)
at sirius.web.http.DispatcherPipeline.lambda$dispatch$2(DispatcherPipeline.java:87)
at sirius.web.http.WebDispatcher.dispatch(WebDispatcher.java:102)
at sirius.web.http.DispatcherPipeline.dispatch(DispatcherPipeline.java:83)
at sirius.web.http.DispatcherPipeline.lambda$dispatch$1(DispatcherPipeline.java:73)
at sirius.kernel.async.ExecutionBuilder$TaskWrapper.run(ExecutionBuilder.java:123)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.IllegalArgumentException: POST
at ninja.S3Dispatcher.listBuckets(S3Dispatcher.java:264)
at ninja.S3Dispatcher.dispatch(S3Dispatcher.java:166)
at sirius.web.http.WebDispatcher.dispatch(WebDispatcher.java:101)
at sirius.web.http.DispatcherPipeline.dispatch(DispatcherPipeline.java:83)
... 17 more
Jin Bal
@jinbal
Hi
I see that from a commit on July 20th:
scireum/s3ninja@663da1b
That you've moved to using RFC date formatting in xml responses yet i can see in the aws-sdk-java (1.11.382) that it is still using ISO dates to parse responses :
        else if (in("ListBucketResult", "Contents")) {
                if (name.equals("Key")) {
                    lastKey = getText();
                    currentObject.setKey(decodeIfSpecified
                                    (lastKey, shouldSDKDecodeResponse));
                } else if (name.equals("LastModified")) {
                    currentObject.setLastModified(
                            ServiceUtils.parseIso8601Date(getText()));
                } else if (name.equals("ETag")) {
  • this is causing the client (1.11.382) calls to s3Client.listObjects(bucket) to fail with parsing errors
Andreas Haufler
@andyHa
ic
Jason
@nycjay
Hello
Got a question about s3ninja
neaos
@neaos
hello, anybody is online?
I wanna ask a easy question:what is the parsii and how to use it to Calculation Mathematical Expressions,for example ,2-4*5
neaos
@neaos
why do we need to evaluator for mathematical expressions
I was trying to integrate mathics, but I found parsii by mistake.
neaos
@neaos
@andyHa
@andyHa
<dependency>
<groupId>com.scireum</groupId>
<artifactId>parsii</artifactId>
<version>1.5</version>
</dependency>
The newest jar is 1.5?
Ted Ge
@gewentao
Hi, got a question here. Dose s3ninja support virtual-hosted style API (e.g. <bucketname>.blabla.com/key). I know we now support path-style API (blabla.com/<bucketname>/key)