Commit Graph

46 Commits

Author SHA1 Message Date
akshat-sonic
498a1ec21b TP-12345 | set enable click stream as true 2023-12-09 00:37:37 +05:30
akshat-sonic
6ece77555a TP-12345 | change datatype of enable_clickstream in experiments table 2023-12-08 23:34:50 +05:30
Akshat Soni
129a0bbd48 TP-12345 | remove require non-null check (#86) 2023-12-08 22:28:39 +05:30
chandresh-pancholi
5974fd4454 TP-48365| customising clickstream event ingestion 2023-11-30 15:19:41 +05:30
chandresh-pancholi
d3844d884b TP-48365| customising clickstream event ingestion 2023-11-30 15:15:48 +05:30
Akshat Soni
63a8611cc0 Akshat | TP-36114 | make timeouts configurable in litmus except for clickstrea… (#81)
* TP-36114 | make timeouts configurable in litmus except for clickstream pusblisher

* TP-36114 | resolve some comments

* TP-36114 | change writeTimeout to callTimeout
2023-08-01 18:09:02 +05:30
Akshat Soni
5644816e67 Akshat | TP-28210 | Query revamp (#75)
* TP-28219 | remove treatment from dashboard if variants present

* TP-28210 | get correct count of testUsers and limit progress bar to 100%

* TP-28210 | add population result service

* TP-28210 | update fetch experiment stats for data

* TP-28210 | spell correct

* TP-28210 | show graph timestamps in default zone

* TP-28210 | change shedlock name

* TP-28210 | get population metric from table

* TP-28210 | add functionality to reset metrics

* TP-28210 | remove tesseractId from PopulationResult

* TP-28210 | give variantNames in query variable

* TP-28210 | minor bug fixes

* TP-28210 | resolve comments

* TP-28210 | remove population query to be fetched from config
2023-05-19 12:40:07 +05:30
akshat-sonic
2b0b8ce2aa TP-26660 | add index on tables 2023-04-28 00:29:15 +05:30
Akshat Soni
b08003a5c6 Akshat | TP-19860 | Tesseract Integration, Query integration including fetching metrics and showing on Frontend (#37)
* TP-19860 | integrate tesseract client

* TP-19860 | add stats path

* TP-19860 | add RestClient

* TP-19860 | move dtos to model

* TP-19860 | add ExperimentMetricResultListener

* TP-19860 | add metric processing

* TP-19860 | add registerExperimentMetricQueries

* TP-19860 | add totalUsers for metric result

* TP-19860 | add table data extraction

* TP-19860 | add apis for showing metrics on frontent

* TP-19860 | change timestamps

* TP-19860 | sort audit trail by created_at

* TP-19860 | resolve https://github.cmd.navi-tech.in/medici/litmus/pull/37#discussion_r106189

* TP-19860 | resolve https://github.cmd.navi-tech.in/medici/litmus/pull/37#discussion_r106190

* TP-19860 | change metric result design

* TP-19860 | update experimentDataDto fetch

* TP-19860 | move getTesseractQueryRegisterRequest to Tesseract Client

* TP-19860 | resolve https://github.cmd.navi-tech.in/medici/litmus/pull/37#discussion_r106198

* TP-19860 | resolve https://github.cmd.navi-tech.in/medici/litmus/pull/37#discussion_r106192

* TP-19860 | resolve https://github.cmd.navi-tech.in/medici/litmus/pull/37#discussion_r106201

* TP-19860 | add tesseractId status updation from tesseract service

* TP-19860 | add duplicate metric exception

* TP-19860 | remove failed lazy loading error

* TP-19860 | refactor code

* TP-19860 | remove dms dtos

* TP-19860 | change cron to run between 10 PM to 4 PM

* TP-19860 | add start and end time in necessary query variables

* TP-19860 | add shedlock

* TP-19860 | edit cron and add shedlock

* TP-19860 | make tesseract_id index name unique

* TP-19860 | add shedlock table

* TP-19860 | add chi square test and experiment impact

* TP-19860 | add name of CONTROL and TREATMENT to Constants

* TP-19860 | fix tests

* TP-19860 | resolve https://github.cmd.navi-tech.in/medici/litmus/pull/37#discussion_r108021

* TP-19860 | resolve https://github.cmd.navi-tech.in/medici/litmus/pull/37#discussion_r108022

* TP-19860 | resolve https://github.cmd.navi-tech.in/medici/litmus/pull/37#discussion_r108024

* TP-19860 | resolve https://github.cmd.navi-tech.in/medici/litmus/pull/37#discussion_r108148

* TP-19860 | resolve https://github.cmd.navi-tech.in/medici/litmus/pull/37#discussion_r108149

* TP-19860 | resolve https://github.cmd.navi-tech.in/medici/litmus/pull/37#discussion_r108150

* TP-19860 | resolve https://github.cmd.navi-tech.in/medici/litmus/pull/37#discussion_r108151

* TP-19860 | resolve https://github.cmd.navi-tech.in/medici/litmus/pull/37#discussion_r108165

* TP-19860 | resolve https://github.cmd.navi-tech.in/medici/litmus/pull/37#discussion_r108168

* TP-19860 | resolve https://github.cmd.navi-tech.in/medici/litmus/pull/37#discussion_r108170

* TP-19860 | resolve https://github.cmd.navi-tech.in/medici/litmus/pull/37#discussion_r108171

* TP-19860 | resolve https://github.cmd.navi-tech.in/medici/litmus/pull/37#discussion_r108172

* TP-19860 | resolve https://github.cmd.navi-tech.in/medici/litmus/pull/37#discussion_r108176

* TP-19860 | resolve https://github.cmd.navi-tech.in/medici/litmus/pull/37#discussion_r108177

* TP-19860 | throw when query variables are invalid

* TP-19860 | resolve https://github.cmd.navi-tech.in/medici/litmus/pull/37#discussion_r108181

* TP-19860 | resolve https://github.cmd.navi-tech.in/medici/litmus/pull/37#discussion_r108183

* TP-19860 | resolve https://github.cmd.navi-tech.in/medici/litmus/pull/37#discussion_r108185

* TP-19860 | resolve https://github.cmd.navi-tech.in/medici/litmus/pull/37#discussion_r108186 && https://github.cmd.navi-tech.in/medici/litmus/pull/37#discussion_r108187

* TP-19860 | resolve https://github.cmd.navi-tech.in/medici/litmus/pull/37#discussion_r108259

* TP-19860 | resolve https://github.cmd.navi-tech.in/medici/litmus/pull/37#discussion_r108273

* TP-19860 | resolve https://github.cmd.navi-tech.in/medici/litmus/pull/37#discussion_r108274

* TP-19860 | resolve https://github.cmd.navi-tech.in/medici/litmus/pull/37#discussion_r108182

* TP-19860 | change application.properties

* TP-19860 | add max days before current date we get data of total Users

* TP-19860 | fix tests

* TP-19860 | resolve https://github.cmd.navi-tech.in/medici/litmus/pull/37#discussion_r108346

* TP-19860 | resolve https://github.cmd.navi-tech.in/medici/litmus/pull/37#discussion_r108356

* TP-19860 | resolve https://github.cmd.navi-tech.in/medici/litmus/pull/37#discussion_r108353

* TP-19860 | resolve https://github.cmd.navi-tech.in/medici/litmus/pull/37#discussion_r108352

* TP-19860 | resolve https://github.cmd.navi-tech.in/medici/litmus/pull/37#discussion_r108351

* TP-19860 | resolve https://github.cmd.navi-tech.in/medici/litmus/pull/37#discussion_r108348

* TP-19860 | remove tags from tesseract_id

* TP-19860 | add progress percent

* TP-19860 | handle edge case of adding variants

* TP-19860 | handle chi square test if no data

* TP-19860 | resolve https://github.cmd.navi-tech.in/medici/litmus/pull/37#discussion_r108874

* TP-19860 | add timed annotation

* TP-19860 | https://github.cmd.navi-tech.in/medici/litmus/pull/37#discussion_r108882 resolved

* TP-19860 | resolve https://github.cmd.navi-tech.in/medici/litmus/pull/37#discussion_r108880

* TP-19860 | better name for payload:

* TP-19860 | resolve https://github.cmd.navi-tech.in/medici/litmus/pull/37#discussion_r108873

* TP-19860 | resolve https://github.cmd.navi-tech.in/medici/litmus/pull/37#discussion_r109301

* TP-19860 | resolve https://github.cmd.navi-tech.in/medici/litmus/pull/37#discussion_r109308

* TP-19860 | resolve https://github.cmd.navi-tech.in/medici/litmus/pull/37#discussion_r109312

* TP-19860 | resolve https://github.cmd.navi-tech.in/medici/litmus/pull/37#discussion_r109315

* TP-19860 | add timed in tesseract client

* TP-19860 | remove optional as function response
2023-04-26 14:07:46 +05:30
Akshat Soni
0c5830db16 Akshat | TP-12345 | add index on experiments(enabled) (#52)
* TP-12345 | add index on experiments(enabled)

* TP-12345 | add group id when updating strategies

* TP-12345 | vertical should be equal to teamName
2023-04-11 20:33:17 +05:30
Akshat Soni
c7b148d856 Akshat | TP-19381 : add sample size api and added Update flow (#38)
* TP-19381 | add sample size api

* TP-19381 | refactor sample size api and fixed bug for all filter in teams

* TP-19381 | add tests

* Akshat | TP-23049 | Add Update Apis for Experiment Flow (#48)

* TP-23049 | add metric and segment dropdown

* TP-23049 | change ExperimentResponse to DashboardExperimentResponse

* TP-23049 | add fetch experiment by name on portal in edit flow

* TP-23049 | attach metric to an experiment

* TP-23049 | add release, pause and rollback api for experiment

* TP-23049 | add required email in release, pause and rollback apiss

* TP-23049 | add createdAt, updatedAt and createdBy in experiment response

* TP-23049 | add experiment audit trails

* TP-23049 | change experimentInfoEntity

* TP-23049 | add controller tests

* TP-23049 | add variant sum validations

* TP-23049 | add mapper test

* TP-19381 | change sample size api from POST to GET

* TP-19381 | set updated by

* TP-19381 | resolve https://github.cmd.navi-tech.in/medici/litmus/pull/38#discussion_r105137

* TP-19381 | resolve https://github.cmd.navi-tech.in/medici/litmus/pull/38#discussion_r105138

* TP-19381 | resolve https://github.cmd.navi-tech.in/medici/litmus/pull/38#discussion_r105139

* TP-19381 | resolve https://github.cmd.navi-tech.in/medici/litmus/pull/38#discussion_r105140

* TP-19381 | resolve https://github.cmd.navi-tech.in/medici/litmus/pull/38#discussion_r105143

* TP-19381 | resolve https://github.cmd.navi-tech.in/medici/litmus/pull/38#discussion_r105146

* TP-19381 | resolve https://github.cmd.navi-tech.in/medici/litmus/pull/38#discussion_r105147

* TP-19381 | resolve https://github.cmd.navi-tech.in/medici/litmus/pull/38#discussion_r105153

* TP-19381 | resolve https://github.cmd.navi-tech.in/medici/litmus/pull/38#discussion_r105153

* TP-19381 | resolve https://github.cmd.navi-tech.in/medici/litmus/pull/38#discussion_r105159

* TP-19381 | convert Dto to DTO

* TP-19381 | Handle null pointer for old experiments

* TP-19860 | resolve https://github.cmd.navi-tech.in/medici/litmus/pull/38#discussion_r105145

* TP-19381 | add groupId while creating experiment

* TP-19381 | logged old and new configurations when updating an experiment

* TP-19381 | resolve https://github.cmd.navi-tech.in/medici/litmus/pull/38#discussion_r106617

* TP-19381 | add lazy loading for experiment entity for less memory usage on client side

* TP-19381 | add tests
2023-04-09 17:08:46 +05:30
Akshat Soni
4f3277dc12 Akshat | TP-18768 : creation of experiments via litmus portal (#36)
* add api of creation of experiments from litmus portal

* remove owner and use createdBy

* add secondary_metric_stats and primary_metric_stats

* remove unused imports

* add onboarding of teams api

* remove metricStats and variantStats as there are seperate tables for that

* add ROLLBACK as experimentType

* get primaryMetric as string in create request

* add tests

* resolve https://github.cmd.navi-tech.in/medici/litmus/pull/36#discussion_r98519

* resolve https://github.cmd.navi-tech.in/medici/litmus/pull/36#discussion_r98521

* resolve https://github.cmd.navi-tech.in/medici/litmus/pull/36#discussion_r98532

* resolve https://github.cmd.navi-tech.in/medici/litmus/pull/36#discussion_r98531

* resolve https://github.cmd.navi-tech.in/medici/litmus/pull/36#discussion_r98524

* change primary and secondary stats to singular

* enable metric value for multiple variants

* change experiment service from records to class as records can't have transactional methods

* resolve https://github.cmd.navi-tech.in/medici/litmus/pull/36#discussion_r98522

* TP-18768 | add ExperimentServiceImplTest for 100% method coverage

* TP-18768 | add experiment controller tests

* TP-18768 | add metric controller test

* TP-18768 | add metric service test

* TP-18961 | add dropdown api to show owners on frontend

* TP-18961 | refactor owner by createdBy

* TP-18961 | change metric service record to class as it would enable usage of Transactional

* TP-18961 | remove cross-origin as covered in web-config

* TP-18961 | add tests

* Akshat | TP-19520 | add Team Dropdown API (#43)

* TP-19520 | add Teams dropdown api

* TP-19520 | add tests for teams dropdown

* TP-19672-dropdown for metrics

* TP-19520 | (Accidental push) Revert "TP-19672-dropdown for metrics"

This reverts commit 36a3654bef7ab14d6b1b4b8848d8eb790d29f342.

Co-authored-by: Aditya Sodhiya <aditya.sodhiya@navi.com>

* Akshat | TP-18975 | Get Metrics including search and updated design of entire codebase (#41)

* TP-18975 | get MetricType as enum
not string

* TP-18975 | modified metric_type column to be nullable

* TP-18975 | add get metrics functionality with search

* TP-18975 | add cross origin

* TP-18975 | remove cross origin

* TP-18975 | add tests

* TP-18975 | remove jacksonUtils from metric specification class

* TP-18975 | resolve https://github.cmd.navi-tech.in/medici/litmus/pull/41#discussion_r102350

* TP-18975 | resolve https://github.cmd.navi-tech.in/medici/litmus/pull/41#discussion_r102351

* TP-18975 | resolve https://github.cmd.navi-tech.in/medici/litmus/pull/41#discussion_r102349

* TP-18975 | resolve https://github.cmd.navi-tech.in/medici/litmus/pull/41#discussion_r102348

* Akshat | TP-18974 | Create Segment Api including get and search (#42)

* TP-18974 | add create segment api

* TP-18974 | add getSegments api along with search

* TP-18974 | remove segment from experiments table

* TP-18974 | refactor segment create and get flow

* TP-18974 | add tessts for segment controller

* TP-18974 | add segment controller and service tests

* TP-18974 | resolve https://github.cmd.navi-tech.in/medici/litmus/pull/42#discussion_r102352

* TP-18974 | remove repository from mappers

* TP-18974 | resolve https://github.cmd.navi-tech.in/medici/litmus/pull/42#discussion_r102354

* TP-18974 | resolve https://github.cmd.navi-tech.in/medici/litmus/pull/42#discussion_r102354

* TP-18974 | resolve https://github.cmd.navi-tech.in/medici/litmus/pull/42#discussion_r102401

* TP-18974 | fix tests

* TP-18974 | resolve https://github.cmd.navi-tech.in/medici/litmus/pull/42#discussion_r102399

* TP-18974 | fix TestUtils import

* TP-18975 | resolve typecast of total size

* TP-18975 | change sessionToken to emailId

* Akshat | TP-22696 | Change codebase as per updated design (#45)

* TP-22696 | made entities as per updated design

* TP-22696 | changed design of code

* TP-18975 | move dto , request and response to litmus-model

* TP-18975 | resolve https://github.cmd.navi-tech.in/medici/litmus/pull/41#discussion_r103170

* TP-18975 | resolve https://github.cmd.navi-tech.in/medici/litmus/pull/41#discussion_r103174

* TP-18975 | resolve https://github.cmd.navi-tech.in/medici/litmus/pull/41#discussion_r103174

* TP-18975 | fix bug in experimentSpecification

Co-authored-by: Aditya Sodhiya <aditya.sodhiya@navi.com>
2023-03-28 12:16:21 +05:30
akshat-sonic
6977f16e87 add teams table and entity 2023-02-22 14:43:45 +05:30
akshat-sonic
a8c0f65de8 resolve https://github.cmd.navi-tech.in/medici/litmus/pull/33#discussion_r95287 2023-02-22 14:27:01 +05:30
akshat-sonic
0b578346c8 remove owner field in experiment and metric entity 2023-02-21 15:05:32 +05:30
akshat-sonic
94bc585270 resolve https://github.cmd.navi-tech.in/medici/litmus/pull/33#discussion_r94336 2023-02-20 13:34:20 +05:30
akshat-sonic
810a2b6b7d resolve comments 2023-02-16 17:31:19 +05:30
akshat-sonic
f2b57d3633 add fetching and searching of experiments 2023-02-15 17:32:33 +05:30
akshat-sonic
0dcad61872 add create metric api along with changes in ExperimentEntity 2023-02-13 23:59:00 +05:30
akshat-sonic
8fae68fa0e temp commit 2023-02-13 16:31:13 +05:30
chandresh-pancholi
254e6599ab Chandresh | Removing vertical logic from client 2023-01-09 19:37:33 +05:30
chandresh-pancholi
2cd67fccb3 Chandresh | Releasing litmus-client stable version 2023-01-06 14:48:11 +05:30
sanjog panda
82d9a93bfb Merge pull request #24 from medici/dependabot/maven/litmus-liquibase/org.postgresql-postgresql-42.3.8
Bump postgresql from 42.3.7 to 42.3.8 in /litmus-liquibase
2022-12-22 19:34:18 +05:30
chandresh-pancholi
dad859ea77 litmus version upgrad 2022-12-22 16:17:48 +05:30
dependabot[bot]
c298754a70 Bump postgresql from 42.3.7 to 42.3.8 in /litmus-liquibase
Bumps [postgresql](https://github.com/pgjdbc/pgjdbc) from 42.3.7 to 42.3.8.
- [Release notes](https://github.com/pgjdbc/pgjdbc/releases)
- [Changelog](https://github.com/pgjdbc/pgjdbc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pgjdbc/pgjdbc/compare/REL42.3.7...REL42.3.8)

---
updated-dependencies:
- dependency-name: org.postgresql:postgresql
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-22 10:00:54 +00:00
chandresh-pancholi
4a9f2d3b2b updating litmus client version 2022-12-22 03:47:15 +05:30
chandresh.pancholi
d8b6d23e30 changing litmus version 2022-10-10 16:48:32 +05:30
chandresh pancholi
7d22b7c1e1 Merge pull request #21 from medici/dependabot/maven/litmus-liquibase/org.postgresql-postgresql-42.3.7
Bump postgresql from 42.3.6 to 42.3.7 in /litmus-liquibase
2022-10-10 10:48:08 +05:30
dependabot[bot]
86ec01595a Bump postgresql from 42.3.6 to 42.3.7 in /litmus-liquibase
Bumps [postgresql](https://github.com/pgjdbc/pgjdbc) from 42.3.6 to 42.3.7.
- [Release notes](https://github.com/pgjdbc/pgjdbc/releases)
- [Changelog](https://github.com/pgjdbc/pgjdbc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pgjdbc/pgjdbc/compare/REL42.3.6...REL42.3.7)

---
updated-dependencies:
- dependency-name: org.postgresql:postgresql
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-07 13:35:44 +00:00
chandresh.pancholi
60c1058b24 bumping litmuc-client version 2022-10-07 19:03:25 +05:30
chandresh.pancholi
929c3d4a73 bumping litmuc-client version 2022-10-07 18:59:19 +05:30
chandresh pancholi
33ae31434e Mock api to test dynamic routing 2022-08-05 01:30:42 +05:30
chandresh pancholi
e5758eb294 updating version along with litmus-proxy unit test 2022-05-27 17:38:10 +05:30
chandresh pancholi
e926b3a33a improving litmus unit/integration tests 2022-05-26 10:21:52 +05:30
chandresh pancholi
0528d665d8 litmus proxy batch experiment/variants api 2022-05-06 15:40:44 +05:30
chandresh pancholi
e28eb85a38 Litmus variant null check fix 2022-04-26 22:26:50 +05:30
chandresh pancholi
5731cce84e Litmus client library refactor 2022-04-25 19:11:46 +05:30
chandresh pancholi
5ce80b6877 Litmus prometheus integration. updating litmus version 2022-04-11 14:55:20 +05:30
chandresh pancholi
9d81851e77 Litmus prometheus integration 2022-04-11 14:52:50 +05:30
chandresh pancholi
062bd7244d improving clickstream logging 2022-03-28 19:11:20 +05:30
chandresh pancholi
57e8d629c4 litmus version upgrade
Signed-off-by: chandresh pancholi <chandresh.pancholi@navi.com>
2021-12-29 11:40:30 +05:30
chandresh pancholi
13331e6c15 adding packaging jar to each module
Signed-off-by: chandresh pancholi <chandresh.pancholi@navi.com>
2021-10-22 01:08:17 +05:30
chandresh pancholi
48d8d94dbe variant integration with litmus
Signed-off-by: chandresh pancholi <chandresh.pancholi@navi.com>
2021-10-21 20:53:01 +05:30
chandresh pancholi
3c5bacbcee experiment api, fixing userId, deviceId, flexible rollout strategy
Signed-off-by: chandresh pancholi <chandresh.pancholi@navi.com>
2021-10-07 01:40:59 +05:30
chandresh pancholi
47ddd6c20a segment creation with redis bloom filters
Signed-off-by: chandresh pancholi <chandresh.pancholi@navi.com>
2021-10-06 12:18:58 +05:30
chandresh pancholi
e8e82cdf74 litmus core/db/mock packages
Signed-off-by: chandresh pancholi <chandresh.pancholi@navi.com>
2021-10-05 00:43:11 +05:30