Files
litmus-be/litmus-db/src/main/java/com/navi/medici/dto/VariantStat.java
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

15 lines
286 B
Java

package com.navi.medici.dto;
import lombok.AccessLevel;
import lombok.Builder;
import lombok.Data;
import lombok.experimental.FieldDefaults;
@Builder
@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
public class VariantStat {
String variantName;
double variantMetricValue;
}