Where communities thrive


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

    andyHa on 12.4.1

    (compare)

  • Jan 30 2019 16:19

    andyHa on master

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

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

    andyHa on InstantiationFixx

    Delays the creation of a part i… (compare)

  • Jan 25 2019 15:56

    andyHa on 12.4

    (compare)

  • Jan 25 2019 15:48

    sabieber on KeepRunning

    (compare)

  • Jan 25 2019 15:48

    sabieber on master

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

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

    andyHa on KeepRunning

    Adds a flag which lets all dock… (compare)

  • Jan 25 2019 13:42

    Tobsucht on FastBackgroundLoops

    (compare)

  • Jan 25 2019 13:42

    Tobsucht on master

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

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

    andyHa on FastBackgroundLoops

    Reduces the default wait interv… (compare)

  • Jan 22 2019 08:30

    andyHa on rm

    (compare)

  • Jan 22 2019 08:30

    andyHa on 12.3

    (compare)

  • Jan 22 2019 08:06

    andyHa on master

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

  • Jan 22 2019 08:06
    andyHa closed #176
Andreas Haufler
@andyHa
listObjects is implemented
Andrew Pennebaker
@mcandre
sirius.kernel.Setup's logging uses log4j-specific method calls, so larger projects that want to depend on sirius-kernel, while using SLF4J as the logging implementation, results in an incompatible logging situation
Andreas Haufler
@andyHa
hadn’t had an issue so far
i think you can redirect log4j to slf4j
Andrew Pennebaker
@mcandre
separate from that, i get com.amazonaws.services.s3.model.AmazonS3Exception: Bad Request (Service: Amazon S3; Status Code: 400; Error Code: 400 Bad Request; Request ID: null) , S3 Extended Request ID: null when I try to listObjects with an Amazon client pointing to the s3ninja endpoint
Andreas Haufler
@andyHa
had a look at the request logs of s3ninja?
Andrew Pennebaker
@mcandre
same error when i try to create a bucket
Andreas Haufler
@andyHa
then the auth is probably broken
Andrew Pennebaker
@mcandre
should i be using special credentials for the mocked s3 client, or can i just use my real s3 creds?
Andreas Haufler
@andyHa
use those shown in the backend API or change them in the instance.conf (use app/application.conf) as template
backend UI* (web interface)
amazia gur
@amaziagur
hi, i added s3ninja to my project (java/spring/gradle base) and im trying to figure out how to run it from the code (for tests)
can you please direct me to an example
?
Andreas Haufler
@andyHa
You’d have to start the sirius framework
Andreas Haufler
@andyHa
something along the lines of Sirius.start(Setup.createAndStartEnvironment(Setup.class.getClassloader()))
tiwanpunit
@tiwanpunit
hi, is "parsii" thread safe?
Andreas Haufler
@andyHa
it should be
expression doesn’t do that much
but even the underlying scope uses a ConcurrentHashMap for looking up variables
therefore you should be fine
tiwanpunit
@tiwanpunit
thank you
Andreas Haufler
@andyHa
no worries
Sampathkumar
@sampathkumarpsk_twitter
Hi, Is it possible to compile before evaluation to get a list of variables? Its a dynamic expression I want to evaluate
Andreas Haufler
@andyHa
yep
create an empty Scope
use Parser.parse(expr, myScope)
an then myScope.getLocalNames() should yield all variables in the expression
Lokesh Chandra
@Lokeshima_twitter
Hi
I am trying to do integration testing using the s3ninja + eclipse on my windows, and I have downloaded the source code from here: https://github.com/scireum/s3ninja
I am trying to set up the project on Eclipse but it is showing errors in pom.xml file
Can anyone here help me
Andreas Haufler
@andyHa
what errors are reported?
Lokesh Chandra
@Lokeshima_twitter
image.png
@andyHa Please see this error
Andreas Haufler
@andyHa
hm
have you tried invoke maven in the console
Lokesh Chandra
@Lokeshima_twitter
yes
Andreas Haufler
@andyHa
it looks like eclipse doesn’t like our checkstyle config
you could probably just ignore it (2nd quickfix)
Lokesh Chandra
@Lokeshima_twitter
ok trying that will get back to you
Thanks
Lokesh Chandra
@Lokeshima_twitter
Hey @andyHa
Andreas Haufler
@andyHa
?
Lokesh Chandra
@Lokeshima_twitter
Can you please giude me how can I do testing using s3ninja?
As I already know that it needs to be installed on linux machine. So I have already done that, but what's next?
Andreas Haufler
@andyHa
well it depends on what you’re trying to achive
you can start it embedded in your tests
our keep it running on a machine and delete everything every once in a while
Lokesh Chandra
@Lokeshima_twitter
Well I am trying to test when writing on s3 if it fails due to any reason then my code should do automatic retry using the aws automatic retry option.
The code is already implemented but I am unable to test it. Can you please how can integrate it with my code?
Andreas Haufler
@andyHa
s3ninja cannot simulate failures currently
this would / could be achieved using a mocking framework
you could mock the aws libraries and thrown an artificial exception
and check of the expected recovery