Commit Graph

204 Commits

Author SHA1 Message Date
hrj 79428bc5e7 reduce number of users in locust stress test
by reducing wait time, we can generate same load with fewer users
2021-04-12 16:56:59 +05:30
hrj e8416ff70e internal change: make maxAttempts easier to specify 2021-04-12 16:37:09 +05:30
hrj 8840a13a8f minor: moved blob variable to inner scope 2021-04-12 09:25:33 +05:30
hrj 43e1a379ac use an unbounded thread pool
mimics the performance with JLHttpServer
2021-04-12 07:22:53 +05:30
hrj fb400a6aea remove debug print 2021-04-12 07:10:00 +05:30
hrj 6fd34c16ac optimise string operations 2021-04-12 07:06:44 +05:30
hrj 89eeb76c46 Use a fork join pool executor with parallelism = 4 2021-04-12 07:00:53 +05:30
Rahul Rudragoudar 4612dfa1cd
Migrate to HttpServer (#76)
* Migrate to Fibry

Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>

* Improve error handling

Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>

* Update models and fields

Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>

* Enable fibry server

Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>

* Update .gitignore

Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>

* Convert captcha class to object

Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>

* Rollback error handling

Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>

* Update models

Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>

* Migrate to sun http server

Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>

* Refactor: Linter and formatter

Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>

* Remove redundant dependancy

Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>
2021-04-11 17:57:15 +05:30
hrj ff666396b8 readme: added a note on current status 2021-04-02 18:40:33 +05:30
hrj 12668d3785 readme: add quick start instructions with Java 2021-04-02 18:38:00 +05:30
hrj 02e9115641
Merge pull request #72 from UprootStaging/testing
Run locust tests in CI
2021-04-02 18:37:23 +05:30
hrj 7e87f6721b test script: fix path to activate 2021-04-02 16:51:48 +05:30
hrj c9abe141ec fail early in test script 2021-04-02 16:42:00 +05:30
hrj 30f5705aa5 exit test script with locust's exit code 2021-04-02 16:41:33 +05:30
hrj 5226e0032e check for failure rate in locust test 2021-04-02 16:17:07 +05:30
hrj f02eadb945 specify run time of locust tests 2021-04-02 15:51:55 +05:30
hrj e79da3b881 start locust in headless mode 2021-04-02 15:48:09 +05:30
hrj 6ea5691c5e run locust tests in CI 2021-04-02 15:42:47 +05:30
hrj 72f092e6b5 run sbt assembly in CI 2021-04-02 15:35:52 +05:30
hrj 19fc5f98f9 removed older ci file 2021-04-02 15:35:40 +05:30
hrj e9ff454be5 fix syntax error 2021-04-02 15:34:05 +05:30
hrj 5aad8d2135 run CI for all branches 2021-04-02 15:32:37 +05:30
hrj 87f1bdd72e Update readme with an API test example 2021-04-01 20:39:21 +05:30
hrj f4154de561 Updated readme 2021-04-01 20:10:09 +05:30
hrj 9e153967e0 downgrade scrimage as the latest version doesn't assemble cleanly 2021-04-01 17:32:45 +05:30
hrj bc117648c0 Merge branch 'master' of github.com:librecaptcha/lc-core 2021-04-01 17:03:51 +05:30
hrj 8837885539 README: add instructions for testing installation 2021-04-01 17:02:59 +05:30
hrj ac0fa4e5ff fix deprecation warnings 2021-04-01 17:02:33 +05:30
hrj 6d7687c33f enable deprecation warnings 2021-04-01 17:02:25 +05:30
hrj dcc57c7117 bump dependency and plugin versions 2021-04-01 17:02:16 +05:30
hrj 110631dad2 bump scala version 2021-04-01 17:02:02 +05:30
hrj 948054fcbb update to sbt 1.4.9 2021-04-01 16:52:24 +05:30
hrj 928c1da878
Merge pull request #62 from rr83019/README
Update README
2021-04-01 16:51:44 +05:30
Rahul Rudragoudar beaa71a9fa
Update README - HTTP Verb and Parameters
Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>
2021-04-01 16:40:07 +05:30
hrj fd85eef566 add link to wiki for configuration 2021-04-01 13:43:14 +05:30
hrj 7d47385fc1 update readme: docker commands and config file, API paths 2021-04-01 13:42:11 +05:30
hrj d1d6ea10cb docker compose: use published image instead of local build 2021-04-01 13:24:01 +05:30
hrj 206c6a5329 runner docker file: fix path 2021-04-01 13:05:07 +05:30
hrj c08d844812 runner dockerfile: fix command 2021-04-01 12:53:43 +05:30
hrj dba0b7a125 runner dockerfile: fix paths 2021-04-01 12:48:50 +05:30
hrj ffe8b89333 runner dockerfile: fix path 2021-04-01 12:37:49 +05:30
hrj b7dbd02c34 docker workflow: fix syntax error 2021-04-01 12:31:51 +05:30
hrj 5fda19abad docker workflow: fix branch name 2021-04-01 12:30:28 +05:30
hrj 017fc9cd32 github workflow to update docker image 2021-04-01 12:28:19 +05:30
hrj 7195e1cce8
Merge pull request #61 from rr83019/docker
Docker support
2021-04-01 11:49:52 +05:30
Rahul Rudragoudar f99c1bda5f
Swap alpine with alpine-jre for base runner image
Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>
2021-03-31 18:39:05 +05:30
hrj 8c5a6a26e8
use alpine jdk16 image; install font libraries 2021-03-31 13:39:53 +05:30
Rahul Rudragoudar 0b3cddc09d
Add docker support
Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>
2021-03-29 15:32:06 +05:30
Rahul Rudragoudar 8c8bda8d59
Add compile config options
Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>
2021-03-29 15:31:27 +05:30
Rahul Rudragoudar 18d38990e5
Add assembly plugin
Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>
2021-03-29 15:30:48 +05:30