From db7bdffe33d82adb835753761d0d2de3e97c9f3f Mon Sep 17 00:00:00 2001 From: "gowthaman.b" Date: Thu, 8 Feb 2024 15:38:36 +0530 Subject: [PATCH 01/12] add shadow plaugin --- build.gradle.kts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/build.gradle.kts b/build.gradle.kts index 5abd28d..3e5d062 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -3,6 +3,7 @@ plugins { kotlin("kapt") version "1.9.22" id("idea") id("io.ebean") version "13.23.2" + id("com.github.johnrengelman.shadow") version "8.1.1" application } @@ -54,6 +55,18 @@ kotlin { jvmToolchain(17) } +tasks { + named("shadowJar") { + archiveBaseName.set("rest-api") + mergeServiceFiles() + manifest { + attributes(mapOf("Main-Class" to "com.restapi.MainKt")) + } + isZip64 = true + } +} + + application { mainClass.set("com.restapi.MainKt") } \ No newline at end of file From d8a4483c3c47dfc5f6cc8b60839f8a6ec40db624 Mon Sep 17 00:00:00 2001 From: "gowthaman.b" Date: Thu, 8 Feb 2024 15:42:18 +0530 Subject: [PATCH 02/12] add shadow plaugin --- build.gradle.kts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build.gradle.kts b/build.gradle.kts index 3e5d062..abdbe25 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,3 +1,5 @@ +import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar + plugins { kotlin("jvm") version "1.9.22" kotlin("kapt") version "1.9.22" From 40933a2713abcbf95671ecb652ba7ad4908df815 Mon Sep 17 00:00:00 2001 From: "gowthaman.b" Date: Thu, 8 Feb 2024 17:50:08 +0530 Subject: [PATCH 03/12] some updates --- api.log | 4 + .../kotlin/com/restapi/AppAccessManager.kt | 2 +- src/main/kotlin/com/restapi/Main.kt | 86 +++--- src/main/kotlin/com/restapi/config/Auth.kt | 2 +- .../com/restapi/controllers/Entities.kt | 266 +++++++++++------- .../kotlin/com/restapi/controllers/Excel.kt | 2 +- src/main/kotlin/com/restapi/domain/models.kt | 95 ++++--- src/main/resources/dbmigration/1.5.sql | 2 + .../resources/dbmigration/model/1.5.model.xml | 11 + src/main/resources/logback.xml | 16 ++ 10 files changed, 301 insertions(+), 185 deletions(-) create mode 100644 api.log create mode 100644 src/main/resources/dbmigration/1.5.sql create mode 100644 src/main/resources/dbmigration/model/1.5.model.xml diff --git a/api.log b/api.log new file mode 100644 index 0000000..ff38f0e --- /dev/null +++ b/api.log @@ -0,0 +1,4 @@ +17:49:29.421 [main] INFO io.ebean - ebean version: 13.23.2 +17:49:29.469 [main] INFO io.avaje.config - Loaded properties from [] +17:49:29.513 [main] INFO io.ebean.core - offline platform [POSTGRES] +17:49:29.918 [main] INFO io.ebean.core - Started database[db] platform[POSTGRES] in 428ms diff --git a/src/main/kotlin/com/restapi/AppAccessManager.kt b/src/main/kotlin/com/restapi/AppAccessManager.kt index ad84c1d..de65e6b 100644 --- a/src/main/kotlin/com/restapi/AppAccessManager.kt +++ b/src/main/kotlin/com/restapi/AppAccessManager.kt @@ -42,7 +42,7 @@ class AppAccessManager : AccessManager { Role.DbOps -> listOf("ROLE_DB_OPS") Role.Entity -> loadEntityActionRole(entity, action) is Role.Standard -> role.action.toList().map { "ROLE_${entity}_${it}" } - is Role.Explicit -> role.roles + is Role.Explicit -> role.roles.toList() + listOf("ROLE_ADMIN") }.map(String::uppercase) } diff --git a/src/main/kotlin/com/restapi/Main.kt b/src/main/kotlin/com/restapi/Main.kt index 3e253bf..b2d963d 100644 --- a/src/main/kotlin/com/restapi/Main.kt +++ b/src/main/kotlin/com/restapi/Main.kt @@ -110,56 +110,54 @@ fun main(args: Array) { it.json(mapOf("status" to true)) } - path("/vendor"){ - path("/"){ - post("", VendorCtrl::create, Roles(Role.Explicit(listOf("ROLE_VENDOR_CREATE", "ROLE_ADMIN")))) - post("/batch", VendorCtrl::createBatch, Roles(Role.Explicit(listOf("ROLE_VENDOR_CREATE", "ROLE_ADMIN")))) - get("/{id}", VendorCtrl::get, Roles(Role.Explicit(listOf("ROLE_VENDOR_VIEW", "ROLE_VENDOR_CREATE", "ROLE_ADMIN")))) - post("/getAll", VendorCtrl::getAll, Roles(Role.Explicit(listOf("ROLE_VENDOR_VIEW", "ROLE_VENDOR_CREATE")))) - get("quotes/{id}", VendorCtrl::getQuotes, Roles(Role.Explicit(listOf("ROLE_ADMIN", "ROLE_QUOTE_VIEW", "ROLE_QUOTE_CREATE", "ROLE_VENDOR_VIEW")))) - get("pos/{id}", VendorCtrl::getPos, Roles(Role.Explicit(listOf("ROLE_ADMIN", "ROLE_PO_VIEW", "ROLE_PO_CREATE`")))) - put("/rate/{id}/{rating}", VendorCtrl::rate, Roles(Role.Explicit(listOf("ROLE_VENDOR_CREATE", "ROLE_ADMIN")))) + path("/vendor") { + path("/") { + post("", VendorCtrl::create, Roles(Role.Explicit("ROLE_VENDOR_CREATE"))) + post("/batch", VendorCtrl::createBatch, Roles(Role.Explicit("ROLE_VENDOR_CREATE"))) + get("/{id}", VendorCtrl::get, Roles(Role.Explicit("ROLE_VENDOR_VIEW", "ROLE_VENDOR_CREATE"))) + post("/getAll", VendorCtrl::getAll, Roles(Role.Explicit("ROLE_VENDOR_VIEW", "ROLE_VENDOR_CREATE"))) + get("quotes/{id}", VendorCtrl::getQuotes, Roles(Role.Explicit("ROLE_QUOTE_VIEW", "ROLE_QUOTE_CREATE", "ROLE_VENDOR_VIEW"))) + get("pos/{id}", VendorCtrl::getPos, Roles(Role.Explicit("ROLE_PO_VIEW", "ROLE_PO_CREATE`"))) + put("/rate/{id}/{rating}", VendorCtrl::rate, Roles(Role.Explicit("ROLE_VENDOR_CREATE"))) } - path("/po"){ - get("/next", PurchaseOrderCtrl::getNextNum, Roles(Role.Explicit(listOf("ROLE_PO_CREATE", "ROLE_ADMIN")))) - post("", PurchaseOrderCtrl::create, Roles(Role.Explicit(listOf("ROLE_PO_CREATE", "ROLE_ADMIN")))) - post("/batch", PurchaseOrderCtrl::createBatch, Roles(Role.Explicit(listOf("ROLE_PO_CREATE", "ROLE_ADMIN")))) - post("/getAll", PurchaseOrderCtrl::getAll, Roles(Role.Explicit(listOf("ROLE_PO_CREATE", "ROLE_PO_VIEW", "ROLE_VENDOR_CREATE", "ROLE_ADMIN")))) - get("/{id}", PurchaseOrderCtrl::get, Roles(Role.Explicit(listOf("ROLE_PO_CREATE", "ROLE_PO_VIEW", "ROLE_QUOTE_CREATE")))) - put("/approve/{id}", PurchaseOrderCtrl::approve, Roles(Role.Explicit(listOf("ROLE_ADMIN")))) - put("/reject/{id}", PurchaseOrderCtrl::reject, Roles(Role.Explicit(listOf("ROLE_ADMIN")))) - get("/refQuote/{id}", PurchaseOrderCtrl::quoteReference, Roles(Role.Explicit(listOf("ROLE_PO_CREATE", "ROLE_ADMIN")))) + path("/po") { + get("/next", PurchaseOrderCtrl::getNextNum, Roles(Role.Explicit("ROLE_PO_CREATE"))) + post("", PurchaseOrderCtrl::create, Roles(Role.Explicit("ROLE_PO_CREATE"))) + post("/batch", PurchaseOrderCtrl::createBatch, Roles(Role.Explicit("ROLE_PO_CREATE"))) + post("/getAll", PurchaseOrderCtrl::getAll, Roles(Role.Explicit("ROLE_PO_CREATE", "ROLE_PO_VIEW", "ROLE_VENDOR_CREATE"))) + get("/{id}", PurchaseOrderCtrl::get, Roles(Role.Explicit("ROLE_PO_CREATE", "ROLE_PO_VIEW", "ROLE_QUOTE_CREATE"))) + put("/approve/{id}", PurchaseOrderCtrl::approve, Roles(Role.Explicit())) + put("/reject/{id}", PurchaseOrderCtrl::reject, Roles(Role.Explicit())) + get("/refQuote/{id}", PurchaseOrderCtrl::quoteReference, Roles(Role.Explicit("ROLE_PO_CREATE"))) } - path("/quote"){ - get("/next", QuotationCtrl::getNextNum, Roles(Role.Explicit(listOf("ROLE_QUOTE_CREATE", "ROLE_ADMIN")))) - post("", QuotationCtrl::create, Roles(Role.Explicit(listOf("ROLE_QUOTE_CREATE", "ROLE_ADMIN")))) - post("/batch", QuotationCtrl::createBatch, Roles(Role.Explicit(listOf("ROLE_QUOTE_CREATE", "ROLE_ADMIN")))) - post("/getAll", QuotationCtrl::getAll, Roles(Role.Explicit(listOf("ROLE_QUOTE_CREATE", "ROLE_ADMIN", "ROLE_QUOTE_VIEW")))) - get("/{id}", QuotationCtrl::get, Roles(Role.Explicit(listOf("ROLE_QUOTE_VIEW", "ROLE_ADMIN", "ROLE_QUOTE_CREATE")))) - delete("/{id}", QuotationCtrl::delete, Roles(Role.Explicit(listOf("ROLE_QUOTE_CREATE", "ROLE_ADMIN")))) + path("/quote") { + get("/next", QuotationCtrl::getNextNum, Roles(Role.Explicit("ROLE_QUOTE_CREATE"))) + post("", QuotationCtrl::create, Roles(Role.Explicit("ROLE_QUOTE_CREATE"))) + post("/batch", QuotationCtrl::createBatch, Roles(Role.Explicit("ROLE_QUOTE_CREATE"))) + post("/getAll", QuotationCtrl::getAll, Roles(Role.Explicit("ROLE_QUOTE_CREATE", "ROLE_QUOTE_VIEW"))) + get("/{id}", QuotationCtrl::get, Roles(Role.Explicit("ROLE_QUOTE_VIEW", "ROLE_QUOTE_CREATE"))) + delete("/{id}", QuotationCtrl::delete, Roles(Role.Explicit("ROLE_QUOTE_CREATE"))) } - path("/product"){ - post("", ProductCtrl::create, Roles(Role.Explicit(listOf("ROLE_PRODUCT_CREATE", "ROLE_ADMIN")))) - //get("/{hsnCode}", ProductCtrl::get, Roles(Role.Explicit(listOf("ROLE_PRODUCT_VIEW", "ROLE_ADMIN")))) - put("/{id}", ProductCtrl::update, Roles(Role.Explicit(listOf("ROLE_PRODUCT_CREATE", "ROLE_ADMIN")))) - //patch("/{id}", ProductCtrl::patch, Roles(Role.Explicit(listOf("ROLE_PRODUCT_UPDATE", "ROLE_ADMIN")))) - delete("/{id}", ProductCtrl::delete, Roles(Role.Explicit(listOf("ROLE_PRODUCT_CREATE", "ROLE_ADMIN")))) - get("", ProductCtrl::getAll, Roles(Role.Explicit(listOf("ROLE_PRODUCT_VIEW", "ROLE_ADMIN")))) - get("/{id}", ProductCtrl::get, Roles(Role.Explicit(listOf("ROLE_PRODUCT_VIEW", "ROLE_ADMIN")))) - post("/getAll", ProductCtrl::getAll, Roles(Role.Explicit(listOf("ROLE_PRODUCT_VIEW", "ROLE_ADMIN")))) + path("/product") { + post("", ProductCtrl::create, Roles(Role.Explicit("ROLE_PRODUCT_CREATE"))) + put("/{id}", ProductCtrl::update, Roles(Role.Explicit("ROLE_PRODUCT_CREATE"))) + delete("/{id}", ProductCtrl::delete, Roles(Role.Explicit("ROLE_PRODUCT_CREATE"))) + patch("/{id}", ProductCtrl::patch, Roles(Role.Explicit("ROLE_PRODUCT_CREATE"))) + get("", ProductCtrl::getAll, Roles(Role.Explicit("ROLE_PRODUCT_VIEW"))) + get("/{id}", ProductCtrl::get, Roles(Role.Explicit("ROLE_PRODUCT_VIEW"))) } - path("/doc"){ - post("", Document::create, Roles(Role.Explicit(listOf("ROLE_DOC_CREATE", "ROLE_ADMIN")))) + path("/doc") { + post("", DocumentCtrl::create, Roles(Role.Explicit("ROLE_DOC_CREATE"))) //why type and refid are clubbed ?? - get("/{type}/{refId}", Document::getWithRefId, Roles(Role.Explicit(listOf("ROLE_DOC_VIEW", "ROLE_ADMIN", "ROLE_PRODUCT_CREATE")))) - get("/{id}", Document::get, Roles(Role.Explicit(listOf("ROLE_DOC_VIEW", "ROLE_ADMIN", "ROLE_PRODUCT_CREATE")))) - get("/print/{id}", Document::print, Roles(Role.Explicit(listOf("ROLE_DOC_CREATE", "ROLE_DOC_VIEW")))) - delete("/{id}", Document::delete, Roles(Role.Explicit(listOf("ROLE_DOC_CREATE")))) + get("/{type}/{refId}", DocumentCtrl::getWithRefId, Roles(Role.Explicit("ROLE_DOC_VIEW", "ROLE_PRODUCT_CREATE"))) + get("/{id}", DocumentCtrl::get, Roles(Role.Explicit("ROLE_DOC_VIEW", "ROLE_PRODUCT_CREATE"))) + get("/print/{id}", DocumentCtrl::print, Roles(Role.Explicit("ROLE_DOC_CREATE", "ROLE_DOC_VIEW"))) + delete("/{id}", DocumentCtrl::delete, Roles(Role.Explicit("ROLE_DOC_CREATE"))) } - path("/reqForQuote"){ - post("", RequestForQuote::create, Roles(Role.Explicit(listOf("ROLE_QUOTE_CREATE", "ROLE_PO_CREATE", "ROLE_RFQ_CREATE", "ROLE_ADMIN")))) - get("/{id}", RequestForQuote::get, Roles(Role.Explicit(listOf("ROLE_RFQ_CREATE", "ROLE_RFQ_VIEW", "ROLE_QUOTE_VIEW", "ROLE_PO_VIEW", "ROLE_ADMIN")))) - put("/{id}", RequestForQuote::update, Roles(Role.Explicit(listOf("ROLE_QUOTE_CREATE", "ROLE_PO_CREATE", "ROLE_RFQ_CREATE", "ROLE_ADMIN")))) + path("/reqForQuote") { + post("", RequestForQuote::create, Roles(Role.Explicit("ROLE_QUOTE_CREATE", "ROLE_PO_CREATE", "ROLE_RFQ_CREATE"))) + get("/{id}", RequestForQuote::get, Roles(Role.Explicit("ROLE_RFQ_CREATE", "ROLE_RFQ_VIEW", "ROLE_QUOTE_VIEW", "ROLE_PO_VIEW"))) + put("/{id}", RequestForQuote::update, Roles(Role.Explicit("ROLE_QUOTE_CREATE", "ROLE_PO_CREATE", "ROLE_RFQ_CREATE"))) } } post("/script/database/{name}", Entities::executeStoredProcedure, Roles(adminRole, Role.DbOps)) diff --git a/src/main/kotlin/com/restapi/config/Auth.kt b/src/main/kotlin/com/restapi/config/Auth.kt index f42e6fc..a48201b 100644 --- a/src/main/kotlin/com/restapi/config/Auth.kt +++ b/src/main/kotlin/com/restapi/config/Auth.kt @@ -235,7 +235,7 @@ enum class Action { sealed class Role { open class Standard(vararg val action: Action) : Role() data object Entity : Role() - data class Explicit(val roles: List) : Role() + open class Explicit(vararg val roles: String) : Role() data object DbOps : Role() } diff --git a/src/main/kotlin/com/restapi/controllers/Entities.kt b/src/main/kotlin/com/restapi/controllers/Entities.kt index 715297a..9b95866 100644 --- a/src/main/kotlin/com/restapi/controllers/Entities.kt +++ b/src/main/kotlin/com/restapi/controllers/Entities.kt @@ -6,13 +6,9 @@ import com.fasterxml.jackson.databind.JsonDeserializer import com.fasterxml.jackson.databind.JsonNode import com.fasterxml.jackson.databind.annotation.JsonDeserialize import com.restapi.domain.* -import com.restapi.domain.Product -import com.restapi.domain.PurchaseOrder -import com.restapi.domain.Quotation import com.restapi.domain.Session.currentUser import com.restapi.domain.Session.database import com.restapi.domain.Session.findDataModelByEntityAndUniqId -import com.restapi.domain.Vendor import com.restapi.integ.Scripting import io.ebean.CallableSql import io.ebean.RawSqlBuilder @@ -373,12 +369,13 @@ object Entities { false } } -data class Filters(val common :CommonFilters, val custom :CustomFilters) -data class SequenceNumber(val number:String) -data class BatchPos(val pos :List) + +data class Filters(val common: CommonFilters, val custom: CustomFilters) +data class SequenceNumber(val number: String) +data class BatchPos(val pos: List) object PurchaseOrderCtrl { - fun getNextNum(ctx: Context){ + fun getNextNum(ctx: Context) { val prefix = "PO/" val cnt = database.find(PurchaseOrder::class.java) .findCount() @@ -387,39 +384,45 @@ object PurchaseOrderCtrl { val seq = SequenceNumber(prefix + cnt) ctx.json(seq).status(HttpStatus.OK) } - fun get(ctx :Context){ + + fun get(ctx: Context) { val id = ctx.pathParam("id") val po = database.find(PurchaseOrder::class.java, id) ?: throw NotFoundResponse("po not found for $id") ctx.json(po).status(HttpStatus.OK) } + data class PF(val common: CommonFilters, val poFilters: POFilters) - fun getAll(ctx :Context){ + + fun getAll(ctx: Context) { val filters = ctx.bodyAsClass() val pos = searchPos(filters.common, filters.poFilters) ctx.json(pos).status(HttpStatus.OK) } - fun create(ctx :Context){ + + fun create(ctx: Context) { val po = ctx.bodyAsClass() database.save(po) ctx.json(po).status(HttpStatus.CREATED) } - fun createBatch(ctx :Context){ - val pos = ctx.bodyAsClass>() - val txn = database.beginTransaction() - try { - txn.isBatchMode = true - for(po in pos) database.save(po) - txn.commit() - ctx.status(HttpStatus.CREATED).result("POS Created") - } catch(e :Exception){ - txn.rollback() - ctx.status(HttpStatus.INTERNAL_SERVER_ERROR).result("Pos Creation failed" + e.message) - } finally { - txn.end() - } - ctx.result("pos batch created").status(HttpStatus.CREATED) + + fun createBatch(ctx: Context) { + val pos = ctx.bodyAsClass>() + val txn = database.beginTransaction() + try { + txn.isBatchMode = true + for (po in pos) database.save(po) + txn.commit() + ctx.status(HttpStatus.CREATED).result("POS Created") + } catch (e: Exception) { + txn.rollback() + ctx.status(HttpStatus.INTERNAL_SERVER_ERROR).result("Pos Creation failed" + e.message) + } finally { + txn.end() + } + ctx.result("pos batch created").status(HttpStatus.CREATED) } - fun approve(ctx :Context){ + + fun approve(ctx: Context) { val id = ctx.pathParam("id") val po = database.find(PurchaseOrder::class.java, id) ?: throw NotFoundResponse("po not found for $id") po.approvalStatus = ApprovalStatus.APPROVED @@ -427,14 +430,16 @@ object PurchaseOrderCtrl { ctx.json(po).status(HttpStatus.CREATED) //reject all other pos pertaining to the same tx ?? } - fun reject(ctx :Context){ + + fun reject(ctx: Context) { val id = ctx.pathParam("id") val po = database.find(PurchaseOrder::class.java, id) ?: throw NotFoundResponse("po not found for $id") po.approvalStatus = ApprovalStatus.REJECTED po.save() ctx.json(po).status(HttpStatus.CREATED) } - fun quoteReference(ctx :Context){ + + fun quoteReference(ctx: Context) { //gets the quote reference on which this po is based on val id = ctx.pathParam("id") val quote = database.find(Quotation::class.java) @@ -451,7 +456,7 @@ data class ProductSearch( ) object ProductCtrl { - fun get(ctx :Context){ + fun get(ctx: Context) { val id = ctx.pathParam("id") val product = database.find(Product::class.java) .where() @@ -462,14 +467,16 @@ object ProductCtrl { println(product) ctx.json(product).status(HttpStatus.OK) } - fun getAll(ctx: Context){ + + fun getAll(ctx: Context) { val productList = Session.database.find(Product::class.java) .findList() - .sortedBy { it.hsnCode } + .sortedBy { it.name } ctx.json(productList) } - fun create(ctx :Context){ + + fun create(ctx: Context) { val product = ctx.bodyAsClass() database.save(product) ctx.json(product).status(HttpStatus.CREATED) @@ -477,21 +484,62 @@ object ProductCtrl { fun delete(ctx: Context) { val id = ctx.pathParam("id") - val product = database.delete(Product::class.java, id) + database.delete(Product::class.java, id) } fun patch(ctx: Context) { + val id = ctx.pathParam("id") + val patchValues = ctx.bodyAsClass>() + database.beginTransaction().use { + patchValues.entries.forEach { en -> + val key = en.key + val value = en.value + database.sqlUpdate("update products set $key = ? where id = ?").apply { + setParameter(1, value) + setParameter(2, id) + execute() + } + } + it.commit() + } } fun update(ctx: Context) { val id = ctx.pathParam("id") + val product = database.find(Product::class.java, id) ?: throw NotFoundResponse("product not found for $id") + val updatedProduct = ctx.bodyAsClass() + product.patchValues(updatedProduct) + product.update() } + + + @JvmStatic + fun main(args: Array) { + + val patchValues = mapOf("name" to 1) + val id = 1; + database.beginTransaction().use { + patchValues.entries.forEach { en -> + val key = en.key + val value = en.value + + database.sqlUpdate("update product set $key = ? where sys_pk = ?").apply { + setParameter(1, value) + setParameter(2, id) + + execute() + } + } + it.commit() + } + } + } object QuotationCtrl { - fun getNextNum(ctx: Context){ + fun getNextNum(ctx: Context) { val prefix = "QUOTE/" val cnt = database.find(Quotation::class.java) .findCount() @@ -500,33 +548,37 @@ object QuotationCtrl { val seq = SequenceNumber(prefix + cnt) ctx.json(seq).status(HttpStatus.OK) } - fun get(ctx :Context){ + + fun get(ctx: Context) { val id = ctx.pathParam("id") - val quote = database.find(Quotation::class.java, id) ?: throw NotFoundResponse("quote not found for $id") + val quote = database.find(Quotation::class.java, id) ?: throw NotFoundResponse("quote not found for $id") ctx.status(HttpStatus.OK) ctx.json(quote) } + data class QF(val common: CommonFilters, val quoteFilters: QuoteFilters) - fun getAll(ctx :Context){ + + fun getAll(ctx: Context) { val filters = ctx.bodyAsClass() val quotes = searchQuotes(filters.common, filters.quoteFilters) ctx.json(quotes).status(HttpStatus.OK) } - fun create(ctx :Context){ + fun create(ctx: Context) { val quote = ctx.bodyAsClass() database.save(quote) ctx.json(quote).status(HttpStatus.CREATED) } - fun createBatch(ctx :Context){ + + fun createBatch(ctx: Context) { val quotes = ctx.bodyAsClass>() - val txn = database.beginTransaction() + val txn = database.beginTransaction() try { txn.isBatchMode = true - for(quote in quotes) database.save(quote) + for (quote in quotes) database.save(quote) txn.commit() ctx.status(HttpStatus.CREATED).result("Quotes Created") - } catch(e :Exception){ + } catch (e: Exception) { txn.rollback() ctx.status(HttpStatus.INTERNAL_SERVER_ERROR).result("Quotes Creation failed" + e.message) } finally { @@ -534,134 +586,146 @@ object QuotationCtrl { } ctx.result("Quotes batch created").status(HttpStatus.CREATED) } - fun delete(ctx :Context){ + + fun delete(ctx: Context) { val id = ctx.pathParam("id") - val quote = database.find(Quotation::class.java, id) ?: throw NotFoundResponse("quote not found for id $id") + val quote = database.find(Quotation::class.java, id) ?: throw NotFoundResponse("quote not found for id $id") quote.delete() ctx.status(HttpStatus.OK) ctx.result("quote with $id deleted") } - fun generatePO(ctx :Context){ + + fun generatePO(ctx: Context) { //user should be redirected to a po form submission with prefilled values //create a PO object with values from the quote and then send it as body to vendor/po/create ?? } - fun reqForQuote(ctx :Context){ - val reqForQuoteNum = ctx.pathParam(("rfqNum")) + + fun reqForQuote(ctx: Context) { + val reqForQuoteNum = ctx.pathParam(("rfqNum")) val rfq = database.find(RequestForQuote::class.java) - .where() - .eq("reqForQuoteNum", reqForQuoteNum) - ?: throw NotFoundResponse("request for quote not found for this quotation") + .where() + .eq("reqForQuoteNum", reqForQuoteNum) + ?: throw NotFoundResponse("request for quote not found for this quotation") ctx.status(HttpStatus.OK) ctx.json(rfq) } } -object Document { - fun get(ctx :Context){ - val id = ctx.pathParam("id") + +object DocumentCtrl { + fun get(ctx: Context) { + val id = ctx.pathParam("id") val doc = database.find(Document::class.java, id) ?: throw NotFoundResponse("no doc found with id $id") ctx.status(HttpStatus.OK) ctx.json(doc) } - fun create(ctx :Context){ - val doc = ctx.bodyAsClass() + + fun create(ctx: Context) { + val doc = ctx.bodyAsClass() database.save(doc) ctx.status(HttpStatus.CREATED) ctx.json(doc) } - fun print(ctx :Context){ + + fun print(ctx: Context) { //would be handled in the frontend ?? } - fun delete(ctx :Context){ + + fun delete(ctx: Context) { val id = ctx.pathParam("id") - val doc = database.find(Document::class.java, id) ?: throw NotFoundResponse("no doc found with id $id") + val doc = database.find(Document::class.java, id) ?: throw NotFoundResponse("no doc found with id $id") //doc.delete() ctx.status(HttpStatus.OK) ctx.result("document deleted with id $id") } - fun getWithRefId(ctx :Context){ + + fun getWithRefId(ctx: Context) { //fetches a particular doc (po, quote) with ref id val refId = ctx.pathParam("refId") val doc = database.find(Document::class.java) .where() - .eq("refId", refId) + .eq("typeOfDoc", DocType.valueOf(ctx.pathParam("type"))) + .eq("refIdOfDoc", refId) ?: throw NotFoundResponse("no doc found for refId $refId") ctx.status(HttpStatus.OK) ctx.json(doc) } } + object VendorCtrl { - fun get(ctx :Context){ - val id = ctx.pathParam("id") + val logger = LoggerFactory.getLogger("Vendor") + fun get(ctx: Context) { + val id = ctx.pathParam("id") val vendor = database.find(Vendor::class.java, id) ?: throw NotFoundResponse("no vendor found with id $id") ctx.status(HttpStatus.OK) ctx.json(vendor) } - data class VF(val common : CommonFilters, val vendorFilters: VendorFilters) - fun getAll(ctx :Context){ + + data class VF(val common: CommonFilters, val vendorFilters: VendorFilters) + + fun getAll(ctx: Context) { val filters = ctx.bodyAsClass() - println(filters.common) - println(filters.vendorFilters) + logger.info("filters = {}", filters) val pos = searchVendors(filters.common, filters.vendorFilters) ctx.status(HttpStatus.OK) ctx.json(pos) } - fun createBatch(ctx: Context){ + + fun createBatch(ctx: Context) { val vendors = ctx.bodyAsClass>() - val txn = database.beginTransaction() - try { - txn.isBatchMode = true - for(v in vendors) database.save(v) - txn.commit() - ctx.status(HttpStatus.CREATED).result("Vendors Created") - } catch(e :Exception){ - txn.rollback() - ctx.status(HttpStatus.INTERNAL_SERVER_ERROR).result("Vendor Creation failed" + e.message) - } finally { - txn.end() - } + database.saveAll(vendors) } - fun create(ctx :Context){ + + fun create(ctx: Context) { val vendor = ctx.bodyAsClass() database.save(vendor) ctx.status(HttpStatus.CREATED) ctx.json(vendor) } - fun update(ctx :Context){ + + fun update(ctx: Context) { } - fun delete(ctx :Context){ - } - fun getQuotes(ctx :Context){ + fun delete(ctx: Context) { val id = ctx.pathParam("id") + val vendor = database.find(Vendor::class.java, id) ?: throw NotFoundResponse("no vendor found with id $id") + database.delete(vendor) + ctx.status(HttpStatus.OK) + } + + fun getQuotes(ctx: Context) { + val id = ctx.pathParam("id").toLong() val quotes = database.find(Quotation::class.java) .where() - .eq("vendor", id) + .eq("vendor", database.find(Vendor::class.java, id) ?: throw NotFoundResponse("vendor not found for $id")) .findList() - ctx.status(HttpStatus.OK) - ctx.json(quotes) + ctx.json(quotes).status(HttpStatus.OK) } - fun getPos(ctx :Context){ - val id = ctx.pathParam("id") + + fun getPos(ctx: Context) { + val id = ctx.pathParam("id").toLong() val pos = database.find(PurchaseOrder::class.java) .where() - .eq("vendor", id) + .eq("vendor", database.find(Vendor::class.java, id) ?: throw NotFoundResponse("vendor not found for $id")) .findList() - ctx.status(HttpStatus.OK) - ctx.json(pos) + ctx.json(pos).status(HttpStatus.OK) } - fun rate(ctx :Context){ + + fun rate(ctx: Context) { val id = ctx.pathParam("id") - val rating = ctx.pathParam("rating").toDouble() - val vendor = database.find(Vendor::class.java, id) ?: throw NotFoundResponse("vendor not found for id $id") - //could place some rating validation checks - vendor.rating = rating - vendor.save() - ctx.status(HttpStatus.OK) - ctx.result("rating changed") + val rating1 = ctx.pathParam("rating").toDouble() + + database.find(Vendor::class.java, id)?.let { + it.rating = rating1 + it.save() + } ?: throw NotFoundResponse("vendor not found for id $id") + + + ctx.result("rating changed").status(HttpStatus.OK) } } + object RequestForQuote { fun create(ctx: Context) { val rfq = ctx.bodyAsClass() diff --git a/src/main/kotlin/com/restapi/controllers/Excel.kt b/src/main/kotlin/com/restapi/controllers/Excel.kt index 6cd621b..833cbd0 100644 --- a/src/main/kotlin/com/restapi/controllers/Excel.kt +++ b/src/main/kotlin/com/restapi/controllers/Excel.kt @@ -411,7 +411,7 @@ fun ImportFromExcel(fileType: FileType, filePath : String) { "invoice" -> DocType.INVOICE else -> DocType.ALL } - doc.refId = refId + doc.refIdOfDoc = refId.toLong() doc.url = url } } diff --git a/src/main/kotlin/com/restapi/domain/models.kt b/src/main/kotlin/com/restapi/domain/models.kt index a861a24..7ccea58 100644 --- a/src/main/kotlin/com/restapi/domain/models.kt +++ b/src/main/kotlin/com/restapi/domain/models.kt @@ -12,7 +12,7 @@ import java.time.LocalDateTime import javax.persistence.* data class Comments(val text: String = "", val by: String = "", val at: LocalDateTime = LocalDateTime.now()) -data class POProducts(val productId: String = "", val productName: String = "", val unitPrice :Double = 0.0, val quantity: Double = 0.0, val description :String = "") +data class POProducts(val productId: String = "", val productName: String = "", val unitPrice: Double = 0.0, val quantity: Double = 0.0, val description: String = "") enum class ApprovalStatus { @@ -218,7 +218,6 @@ open class DataModel : BaseTenantModel() { } - @Entity @Index(unique = true, name = "unique_session_id", columnNames = ["session_id"]) open class AnonSession : BaseTenantModel() { @@ -244,29 +243,35 @@ class SafeStringDeserializer : JsonDeserializer() { } data class ContactPerson(val name: String = "", val email: String = "", val mobile: String = "") + @Entity -open class Vendor :BaseTenantModel() { - var name :String = "" - var msme :String = "" - var gstNumber :String = "" - var address :String = "" - var rating :Double = 0.0 +open class Vendor : BaseTenantModel() { + var name: String = "" + var msme: String = "" + var gstNumber: String = "" + var address: String = "" + var rating: Double = 0.0 + @DbJsonB - var contacts :List = mutableListOf() + var contacts: List = mutableListOf() } + @Entity -open class PurchaseOrder :BaseTenantModel() { +open class PurchaseOrder : BaseTenantModel() { @DbJsonB - var products :MutableList = mutableListOf() + var products: MutableList = mutableListOf() + @ManyToOne - var vendor :Vendor? = null - var referenceQuotation :String? = "" - var totalAmount :Double = 0.0 + var vendor: Vendor? = null + var referenceQuotation: String? = "" + var totalAmount: Double = 0.0 var poNum: String = "" var poDate: LocalDate? = null var validTill: LocalDate? = null + @DbArray var tnc: List? = arrayListOf() + @DbArray var documents: List? = arrayListOf() } @@ -274,29 +279,40 @@ open class PurchaseOrder :BaseTenantModel() { enum class UOM { NOS, LTR, MTR, ALL } + @Entity -open class Product :BaseTenantModel() { +open class Product : BaseTenantModel() { + fun patchValues(updatedProduct: Product) { + this.name = updatedProduct.name + this.description = updatedProduct.description + this.hsnCode = updatedProduct.hsnCode + this.uom = updatedProduct.uom + } + var id: Long? = null - var name :String = "" - var description :String = "" - var hsnCode :String = "" + var name: String = "" + var description: String = "" + var hsnCode: String = "" + @Enumerated(EnumType.STRING) var uom: UOM? = null } @Entity -open class Quotation :BaseTenantModel() { +open class Quotation : BaseTenantModel() { @DbJsonB - var products :MutableList = mutableListOf() + var products: MutableList = mutableListOf() + @ManyToOne - var vendor :Vendor? = null - var totalAmount :Double = 0.0 + var vendor: Vendor? = null + var totalAmount: Double = 0.0 var reqForQuoteNum: String? = "" var quoteNum: String = "" var vendorQuoteNum: String? = "" var quoteDate: LocalDate? = null var validTill: LocalDate? = null + @DbArray var tnc: List? = arrayListOf() @@ -304,35 +320,40 @@ open class Quotation :BaseTenantModel() { var documents: List? = arrayListOf() } -enum class DocType{ +enum class DocType { PO, QUOTE, INVOICE, ALL } + @Entity -open class Document :BaseTenantModel() { - var name :String = "" +open class Document : BaseTenantModel() { + var name: String = "" + @Enumerated(EnumType.STRING) - var typeOfDoc :DocType? = null + var typeOfDoc: DocType? = null + //could be quoteNum, PoNum, InvoiceNum - var refId: String? = null - var description :String = "" - var url :String = "" - var docDate :LocalDate? = null - var vendor :Vendor? = null + var refIdOfDoc: Long? = null + var description: String = "" + var url: String = "" + var docDate: LocalDate? = null } -enum class RFQStatus{ +enum class RFQStatus { DELIVERED, PO, QUOTE, CANCELLED } + @Entity -open class ReqForQuote :BaseTenantModel() { +open class ReqForQuote : BaseTenantModel() { @DbArray - var potentialVendors :List? = null + var potentialVendors: List? = null + @Enumerated(EnumType.STRING) - var status :RFQStatus? = null -// @DbArray + var status: RFQStatus? = null + + // @DbArray // var docs :List? = null @DbJsonB - var products :List? = null + var products: List? = null var reqForQuoteNum: String? = null var openTill: LocalDate? = null } \ No newline at end of file diff --git a/src/main/resources/dbmigration/1.5.sql b/src/main/resources/dbmigration/1.5.sql new file mode 100644 index 0000000..d022737 --- /dev/null +++ b/src/main/resources/dbmigration/1.5.sql @@ -0,0 +1,2 @@ +-- apply alter tables +alter table document add column if not exists ref_id_of_doc bigint; diff --git a/src/main/resources/dbmigration/model/1.5.model.xml b/src/main/resources/dbmigration/model/1.5.model.xml new file mode 100644 index 0000000..695974a --- /dev/null +++ b/src/main/resources/dbmigration/model/1.5.model.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/src/main/resources/logback.xml b/src/main/resources/logback.xml index 1cbfb22..5ba8f96 100644 --- a/src/main/resources/logback.xml +++ b/src/main/resources/logback.xml @@ -1,4 +1,19 @@ + + api.log + + api.%d{yyyy-MM-dd}.%i.log.gz + 30 + + 100MB + + + + %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n + + + %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n @@ -14,5 +29,6 @@ + \ No newline at end of file From 6ca803d7f2d7a6aaf08285f4a01d37dd4c7cdeb5 Mon Sep 17 00:00:00 2001 From: arsalan Date: Fri, 9 Feb 2024 13:04:38 +0530 Subject: [PATCH 04/12] fix updates --- api.log | 978 ++++++++++++++++++ src/main/kotlin/com/restapi/Main.kt | 2 +- .../com/restapi/controllers/Entities.kt | 69 +- src/main/kotlin/com/restapi/domain/models.kt | 10 + 4 files changed, 1025 insertions(+), 34 deletions(-) diff --git a/api.log b/api.log index ff38f0e..1905d5e 100644 --- a/api.log +++ b/api.log @@ -2,3 +2,981 @@ 17:49:29.469 [main] INFO io.avaje.config - Loaded properties from [] 17:49:29.513 [main] INFO io.ebean.core - offline platform [POSTGRES] 17:49:29.918 [main] INFO io.ebean.core - Started database[db] platform[POSTGRES] in 428ms +10:02:40.690 [main] INFO io.avaje.config - Loaded properties from [] +10:02:40.709 [main] INFO io.ebean - ebean version: 13.23.2 +10:02:41.733 [main] INFO io.ebean.datasource - DataSource [db] autoCommit[false] transIsolation[READ_COMMITTED] min[2] max[200] in[950ms] +10:02:43.104 [main] INFO io.ebean.DDL - Executing run migration version: 1.5 - 1 statements, autoCommit:false +10:02:43.122 [main] INFO io.ebean.migration - DB migrations completed in 62ms - executed:1 totalMigrations:6 mode:legacy +10:02:43.123 [main] INFO io.ebean.core - Started database[db] platform[POSTGRES] in 2,398ms +10:02:44.418 [main] INFO io.javalin.Javalin - Starting Javalin ... +10:02:44.549 [main] INFO org.eclipse.jetty.server.Server - jetty-11.0.17; built: 2023-10-09T18:39:14.424Z; git: 48e7716b9462bebea6732b885dbebb4300787a5c; jvm 17.0.9+9 +10:02:44.608 [main] INFO o.e.j.s.s.DefaultSessionIdManager - Session workerName=node0 +10:02:44.620 [main] INFO o.e.j.server.handler.ContextHandler - Started i.j.j.@49b89425{/,null,AVAILABLE} +10:02:44.631 [main] INFO o.e.jetty.server.AbstractConnector - Started ServerConnector@723742b2{HTTP/1.1, (http/1.1)}{0.0.0.0:9001} +10:02:44.633 [main] INFO org.eclipse.jetty.server.Server - Started Server@935493d{STARTING}[11.0.17,sto=0] @5629ms +10:02:44.634 [main] INFO io.javalin.Javalin - + __ ___ ______ + / /___ __ ______ _/ (_)___ / ____/ + __ / / __ `/ | / / __ `/ / / __ \ /___ \ +/ /_/ / /_/ /| |/ / /_/ / / / / / / ____/ / +\____/\__,_/ |___/\__,_/_/_/_/ /_/ /_____/ + + https://javalin.io/documentation + +10:02:44.637 [main] INFO io.javalin.Javalin - Listening on http://localhost:9001/ +10:02:44.654 [main] INFO io.javalin.Javalin - You are running Javalin 5.6.3 (released October 15, 2023. Your Javalin version is 116 days old. Consider checking for a newer version.). +10:02:44.654 [main] INFO io.javalin.Javalin - Javalin started in 239ms \o/ +10:03:37.603 [JettyServerThreadPool-29] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +10:04:37.332 [JettyServerThreadPool-24] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +10:05:37.335 [JettyServerThreadPool-25] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +10:06:37.336 [JettyServerThreadPool-28] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +10:07:37.320 [JettyServerThreadPool-30] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +10:08:37.326 [JettyServerThreadPool-28] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +10:09:37.326 [JettyServerThreadPool-30] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +10:10:37.323 [JettyServerThreadPool-28] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +10:11:37.332 [JettyServerThreadPool-31] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +10:12:37.332 [JettyServerThreadPool-28] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +10:13:37.327 [JettyServerThreadPool-27] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +10:14:37.328 [JettyServerThreadPool-28] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +10:15:37.326 [JettyServerThreadPool-27] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +10:16:37.324 [JettyServerThreadPool-29] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +10:17:37.321 [JettyServerThreadPool-25] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +10:18:37.332 [JettyServerThreadPool-27] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +10:19:37.335 [JettyServerThreadPool-31] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +10:20:37.320 [JettyServerThreadPool-29] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +10:21:37.582 [JettyServerThreadPool-25] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +10:22:37.334 [JettyServerThreadPool-30] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +10:23:37.326 [JettyServerThreadPool-24] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +10:24:37.326 [JettyServerThreadPool-31] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +10:25:37.326 [JettyServerThreadPool-30] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +10:26:37.325 [JettyServerThreadPool-24] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +10:27:37.333 [JettyServerThreadPool-30] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +10:28:37.337 [JettyServerThreadPool-29] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +10:29:37.329 [JettyServerThreadPool-30] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +10:30:37.336 [JettyServerThreadPool-28] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +10:31:37.327 [JettyServerThreadPool-30] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +10:32:37.353 [JettyServerThreadPool-27] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +10:33:37.329 [JettyServerThreadPool-30] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +10:34:37.327 [JettyServerThreadPool-28] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +10:35:37.335 [JettyServerThreadPool-24] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +10:36:37.331 [JettyServerThreadPool-30] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +10:37:40.293 [JettyServerThreadPool-29] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +10:38:38.007 [JettyServerThreadPool-28] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +10:39:37.331 [JettyServerThreadPool-24] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +10:40:37.341 [JettyServerThreadPool-28] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +10:41:37.330 [JettyServerThreadPool-24] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +10:42:37.400 [JettyServerThreadPool-29] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +10:43:41.535 [JettyServerThreadPool-28] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +10:44:37.333 [JettyServerThreadPool-31] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +10:45:37.341 [JettyServerThreadPool-29] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +10:46:38.119 [JettyServerThreadPool-27] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +10:47:37.329 [JettyServerThreadPool-29] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +10:48:38.602 [JettyServerThreadPool-27] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +10:49:38.316 [JettyServerThreadPool-25] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +10:50:37.340 [JettyServerThreadPool-24] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +10:51:37.329 [JettyServerThreadPool-25] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +10:52:37.334 [JettyServerThreadPool-24] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +10:53:37.324 [JettyServerThreadPool-31] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +10:54:37.329 [JettyServerThreadPool-27] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +10:55:37.333 [JettyServerThreadPool-31] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +10:56:37.324 [JettyServerThreadPool-28] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +10:57:37.328 [JettyServerThreadPool-27] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +10:58:37.320 [JettyServerThreadPool-28] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +10:59:37.330 [JettyServerThreadPool-30] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +11:00:37.334 [JettyServerThreadPool-28] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +11:01:37.324 [JettyServerThreadPool-27] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +11:02:37.333 [JettyServerThreadPool-25] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +11:03:37.323 [JettyServerThreadPool-27] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +11:04:37.451 [JettyServerThreadPool-31] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 1 entries +11:05:37.329 [JettyServerThreadPool-27] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +11:06:37.323 [JettyServerThreadPool-29] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +11:07:37.335 [JettyServerThreadPool-31] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +11:08:37.332 [JettyServerThreadPool-27] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +11:09:37.330 [JettyServerThreadPool-25] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +11:10:37.340 [JettyServerThreadPool-27] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +11:11:37.332 [JettyServerThreadPool-24] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +11:12:37.334 [JettyServerThreadPool-27] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +11:13:37.326 [JettyServerThreadPool-25] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +11:14:37.326 [JettyServerThreadPool-31] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +11:15:37.334 [JettyServerThreadPool-30] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +11:16:37.334 [JettyServerThreadPool-25] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +11:17:37.322 [JettyServerThreadPool-31] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +11:18:37.334 [JettyServerThreadPool-29] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +11:19:37.334 [JettyServerThreadPool-31] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +11:20:37.334 [JettyServerThreadPool-30] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +11:21:37.328 [JettyServerThreadPool-31] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +11:22:37.325 [JettyServerThreadPool-30] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +11:23:37.331 [JettyServerThreadPool-27] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +11:24:37.333 [JettyServerThreadPool-31] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +11:25:37.331 [JettyServerThreadPool-25] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +11:26:37.335 [JettyServerThreadPool-28] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +11:27:37.319 [JettyServerThreadPool-25] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +11:28:37.332 [JettyServerThreadPool-30] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +11:29:37.329 [JettyServerThreadPool-25] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +11:30:37.327 [JettyServerThreadPool-28] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +11:31:37.319 [JettyServerThreadPool-25] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +11:32:37.329 [JettyServerThreadPool-27] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +11:33:37.326 [JettyServerThreadPool-25] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +11:34:37.322 [JettyServerThreadPool-28] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +11:35:37.320 [JettyServerThreadPool-25] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +11:36:37.328 [JettyServerThreadPool-25] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +11:37:37.332 [JettyServerThreadPool-29] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +11:38:37.325 [JettyServerThreadPool-28] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +11:39:37.326 [JettyServerThreadPool-30] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +11:40:37.330 [JettyServerThreadPool-25] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +11:41:37.330 [JettyServerThreadPool-28] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +11:42:37.323 [JettyServerThreadPool-25] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +11:43:37.330 [JettyServerThreadPool-27] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +11:44:37.322 [JettyServerThreadPool-24] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +11:45:37.320 [JettyServerThreadPool-30] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +11:46:37.326 [JettyServerThreadPool-24] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +11:47:01.326 [JettyServerThreadPool-30] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +11:47:31.322 [JettyServerThreadPool-25] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +11:48:32.324 [JettyServerThreadPool-29] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +11:49:33.323 [JettyServerThreadPool-31] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +11:50:34.333 [JettyServerThreadPool-30] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +11:51:35.322 [JettyServerThreadPool-24] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +11:52:36.322 [JettyServerThreadPool-29] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +11:53:37.326 [JettyServerThreadPool-30] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +11:53:57.505 [JettyServerThreadPool-31] WARN Exception - while processing /auth/code, exception Instantiation of [simple type, class com.restapi.config.AuthTokenResponse] value failed for JSON property access_token due to missing (therefore NULL) value for creator parameter accessToken which is a non-nullable type + at [Source: (String)"{"error":"invalid_grant","error_description":"Code not valid"}"; line: 1, column: 62] (through reference chain: com.restapi.config.AuthTokenResponse["access_token"]) +com.fasterxml.jackson.module.kotlin.MissingKotlinParameterException: Instantiation of [simple type, class com.restapi.config.AuthTokenResponse] value failed for JSON property access_token due to missing (therefore NULL) value for creator parameter accessToken which is a non-nullable type + at [Source: (String)"{"error":"invalid_grant","error_description":"Code not valid"}"; line: 1, column: 62] (through reference chain: com.restapi.config.AuthTokenResponse["access_token"]) + at com.fasterxml.jackson.module.kotlin.KotlinValueInstantiator.createFromObjectWith(KotlinValueInstantiator.kt:84) + at com.fasterxml.jackson.databind.deser.impl.PropertyBasedCreator.build(PropertyBasedCreator.java:202) + at com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeUsingPropertyBased(BeanDeserializer.java:525) + at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.deserializeFromObjectUsingNonDefault(BeanDeserializerBase.java:1409) + at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:352) + at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:185) + at com.fasterxml.jackson.databind.deser.DefaultDeserializationContext.readRootValue(DefaultDeserializationContext.java:323) + at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4825) + at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3772) + at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3755) + at com.restapi.config.Auth.code(Auth.kt:243) + at io.javalin.routing.HandlerEntry.handle(HandlerEntry.kt:19) + at io.javalin.http.servlet.DefaultTasks.HTTP$lambda$8$lambda$6$lambda$5$lambda$4$lambda$3(DefaultTasks.kt:32) + at io.javalin.http.servlet.JavalinServlet.handleTask(JavalinServlet.kt:88) + at io.javalin.http.servlet.JavalinServlet.handleSync(JavalinServlet.kt:53) + at io.javalin.http.servlet.JavalinServlet.service(JavalinServlet.kt:41) + at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:587) + at io.javalin.jetty.JavalinJettyServlet.service(JavalinJettyServlet.kt:58) + at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:587) + at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:764) + at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:529) + at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:221) + at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1570) + at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:221) + at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1381) + at io.javalin.jetty.JettyServer$start$wsAndHttpHandler$1.doHandle(JettyServer.kt:61) + at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:176) + at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:484) + at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1543) + at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:174) + at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1303) + at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:129) + at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:173) + at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:122) + at org.eclipse.jetty.server.Server.handle(Server.java:563) + at org.eclipse.jetty.server.HttpChannel$RequestDispatchable.dispatch(HttpChannel.java:1598) + at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:753) + at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:501) + at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:287) + at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:314) + at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:100) + at org.eclipse.jetty.io.SelectableChannelEndPoint$1.run(SelectableChannelEndPoint.java:53) + at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.runTask(AdaptiveExecutionStrategy.java:421) + at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.consumeTask(AdaptiveExecutionStrategy.java:390) + at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.tryProduce(AdaptiveExecutionStrategy.java:277) + at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.run(AdaptiveExecutionStrategy.java:199) + at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:411) + at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:969) + at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.doRunJob(QueuedThreadPool.java:1194) + at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1149) + at java.base/java.lang.Thread.run(Thread.java:840) +11:54:01.326 [JettyServerThreadPool-28] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +11:54:10.726 [JettyServerThreadPool-31] WARN Exception - while processing /api/audit/pageview, exception JWT (claims->{"exp":1707399782,"iat":1707396482,"auth_time":1707396481,"jti":"c02d25d7-d525-4391-ab91-2ce00a61ed86","iss":"https://auth.readymixerp.com/realms/rmc-dev","aud":"account","sub":"795c3d6f-2043-440f-8df9-6e62f96dac62","typ":"Bearer","azp":"rmc","session_state":"78839032-e705-48fc-a5d5-e1c441f8f214","acr":"1","allowed-origins":["*"],"realm_access":{"roles":["ROLE_PO_CREATE","Create Delivery Challan","Add/Remove Customer to Blacklist","Add New Customer","offline_access","ROLE_VENDOR_CREATE","ROLE_ADMIN","default-roles-rmc-dev","uma_authorization"]},"resource_access":{"account":{"roles":["manage-account","manage-account-links","view-profile"]}},"scope":"email profile","sid":"78839032-e705-48fc-a5d5-e1c441f8f214","email_verified":false,"preferred_username":"arsalan365","tenant":"123"}) rejected due to invalid claims or other invalid content. Additional details: [[1] The JWT is no longer valid - the evaluation time NumericDate{1707459850 -> 09-Feb-2024, 11:54:10 am IST} is on or after the Expiration Time (exp=NumericDate{1707399782 -> 08-Feb-2024, 7:13:02 pm IST}) claim value (even when providing 30 seconds of leeway to account for clock skew).] +org.jose4j.jwt.consumer.InvalidJwtException: JWT (claims->{"exp":1707399782,"iat":1707396482,"auth_time":1707396481,"jti":"c02d25d7-d525-4391-ab91-2ce00a61ed86","iss":"https://auth.readymixerp.com/realms/rmc-dev","aud":"account","sub":"795c3d6f-2043-440f-8df9-6e62f96dac62","typ":"Bearer","azp":"rmc","session_state":"78839032-e705-48fc-a5d5-e1c441f8f214","acr":"1","allowed-origins":["*"],"realm_access":{"roles":["ROLE_PO_CREATE","Create Delivery Challan","Add/Remove Customer to Blacklist","Add New Customer","offline_access","ROLE_VENDOR_CREATE","ROLE_ADMIN","default-roles-rmc-dev","uma_authorization"]},"resource_access":{"account":{"roles":["manage-account","manage-account-links","view-profile"]}},"scope":"email profile","sid":"78839032-e705-48fc-a5d5-e1c441f8f214","email_verified":false,"preferred_username":"arsalan365","tenant":"123"}) rejected due to invalid claims or other invalid content. Additional details: [[1] The JWT is no longer valid - the evaluation time NumericDate{1707459850 -> 09-Feb-2024, 11:54:10 am IST} is on or after the Expiration Time (exp=NumericDate{1707399782 -> 08-Feb-2024, 7:13:02 pm IST}) claim value (even when providing 30 seconds of leeway to account for clock skew).] + at org.jose4j.jwt.consumer.JwtConsumer.validate(JwtConsumer.java:459) + at org.jose4j.jwt.consumer.JwtConsumer.processContext(JwtConsumer.java:304) + at org.jose4j.jwt.consumer.JwtConsumer.process(JwtConsumer.java:426) + at com.restapi.config.Auth.validateAuthToken(Auth.kt:78) + at com.restapi.config.Auth.validateAuthToken$default(Auth.kt:75) + at com.restapi.MainKt.main$lambda$15$lambda$4(Main.kt:85) + at io.javalin.routing.HandlerEntry.handle(HandlerEntry.kt:19) + at io.javalin.http.servlet.DefaultTasks.BEFORE$lambda$2$lambda$1$lambda$0(DefaultTasks.kt:19) + at io.javalin.http.servlet.JavalinServlet.handleTask(JavalinServlet.kt:88) + at io.javalin.http.servlet.JavalinServlet.handleSync(JavalinServlet.kt:53) + at io.javalin.http.servlet.JavalinServlet.service(JavalinServlet.kt:41) + at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:587) + at io.javalin.jetty.JavalinJettyServlet.service(JavalinJettyServlet.kt:58) + at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:587) + at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:764) + at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:529) + at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:221) + at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1570) + at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:221) + at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1381) + at io.javalin.jetty.JettyServer$start$wsAndHttpHandler$1.doHandle(JettyServer.kt:61) + at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:176) + at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:484) + at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1543) + at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:174) + at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1303) + at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:129) + at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:173) + at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:122) + at org.eclipse.jetty.server.Server.handle(Server.java:563) + at org.eclipse.jetty.server.HttpChannel$RequestDispatchable.dispatch(HttpChannel.java:1598) + at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:753) + at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:501) + at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:287) + at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:314) + at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:100) + at org.eclipse.jetty.io.SelectableChannelEndPoint$1.run(SelectableChannelEndPoint.java:53) + at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.runTask(AdaptiveExecutionStrategy.java:421) + at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.consumeTask(AdaptiveExecutionStrategy.java:390) + at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.tryProduce(AdaptiveExecutionStrategy.java:277) + at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.run(AdaptiveExecutionStrategy.java:199) + at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:411) + at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:969) + at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.doRunJob(QueuedThreadPool.java:1194) + at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1149) + at java.base/java.lang.Thread.run(Thread.java:840) +11:54:10.729 [JettyServerThreadPool-31] WARN session - making KeyPair from Config +-----BEGIN PUBLIC KEY----- +MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA+G2vDoZcgfTFMTBZk/HP +bDiqlzhumTOqi8a+Up2NWruO62LB17fB2/rU1MaZH/uW53WmWBlYENZrcHhFY96m +avQPhZ8ccGfbiCHWzlD77GS8zWJyt2xRUbJljH99IA7OmXUut29rZ11xNGqCLcFY +LhJVClVylMpktFZQQdGSwmE5Q+kOLA5uxxlyWY+ZFTVWwQgXuNsi8fGNRU8jS/Jz +0kvkgHS1Gjyf+o/u+NfnsQCDnNK0gSTjBdFzTsAWfORLjoj2tHtbFM9Ko1X5mcnk +RcZEliQZ6rptY61RaeeWzG9+w2LWWtGhSHD3Q32ONn6w5Ty3COM80cAp94IBy/5y +/QIDAQAB +-----END PUBLIC KEY----- + +-----BEGIN PRIVATE KEY----- +MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQD4ba8OhlyB9MUx +MFmT8c9sOKqXOG6ZM6qLxr5SnY1au47rYsHXt8Hb+tTUxpkf+5bndaZYGVgQ1mtw +eEVj3qZq9A+FnxxwZ9uIIdbOUPvsZLzNYnK3bFFRsmWMf30gDs6ZdS63b2tnXXE0 +aoItwVguElUKVXKUymS0VlBB0ZLCYTlD6Q4sDm7HGXJZj5kVNVbBCBe42yLx8Y1F +TyNL8nPSS+SAdLUaPJ/6j+741+exAIOc0rSBJOMF0XNOwBZ85EuOiPa0e1sUz0qj +VfmZyeRFxkSWJBnqum1jrVFp55bMb37DYtZa0aFIcPdDfY42frDlPLcI4zzRwCn3 +ggHL/nL9AgMBAAECggEAJ85sxu8zl8/l4EsG3M8EdVWidrGgUyRgDElFCiLcWVta +prqVJIt5YNYRJU5J5Jc2fRGxHPEOrJVW84IUsvskVQM/ZiHyd3ZvdaGKdFZYpO5t +VvGSlR53l0IhGxal24L+isCn7X+ec5pu6b8JQJX4RbBConHCTDdz/yDMzQcXiiqj +ezzSovZ1Xy/2dn7sOTFtEZi47d3AhBnjh8Xqk3Dc9UChooxuIU6WEbqWFxEkbzJS +sXIv9xADVDqFqjHGv6Tk1W+y7y8M2EHosJfhO0LmWFL7nUdw0WSJV+UqQxHrUSJs +SnYHkKRTYl2ljpjkuECp/YqUqdlNq/5T5jBE6cyopwKBgQD6+XGZfssdAqfnaEK2 +nHdUAdklUFAFQpSmwIUwTZEHDC/CD+ErVjfbEfZ2mFOvWAIMwLmiLFuDT7E5sHaT +K4A2DQ8KyU3iJkH4nhxdYepLc7MSYElkn6fHNrXcJ9vPACmrtoa9rVW/LpAjsRq6 +fDxLo12/+EmFvpZ0oEAIQXk6ZwKBgQD9ZzBgPapI8m7cjcdojqq0dJ2M5Sw7Bx5n +VFOC3H4Cx0xWTdwwZ9CZQ4v/XiiHiUGzwhfkNJ2x3DdpUCkPDD8o3cFXPRW4GsjD +kv/D0kL/JJAesG9XB9yMTMBoe2yGMudDVc7SYgUI2YXhmHYkpcjSzM0DftLL2Z47 +GY1h385Q+wKBgGTRxe/Kfp+lzHtqZ7ph+pG1uFyD+dFTINIn7pkr38G8BIdpx6OY +HBIWEjMsGBoNOa2T0j6yoQSMA/7Pw6J1TCjqcAt+OJpLkh7krTJaPjuXO+163qDc +fhLKCJ5rKKLsRtEjHtedhR+q/d5IrBsUA0jDVMrkW+ytVlV9dpuaaa+rAoGASON8 +m8JBD/iEAPbbK+0VlxCQHO3ymgwDJ8+usc6AhIYVJCIDOv0xmFRAmbTYzZuihXVH +8AFedsGUQrunA8gPBs86hMByVeGGbBMFdKsvUDqRJfK0JAGD4+tT0PnnjnZn5Qty +kTtWnWQMSYbUPNhe+pukQOQi+DXheLhx3XxF2S8CgYEAopLjGIR/xeuV7QkGJfCO +d2wEJROBPd3pbDlR4fLDO8RCw3irFYQgQd9WgGJY5KgyfjKLHkK7DMQKn+/yfUp5 +UKeesBDXATpyQQrpfoKIhhZKtYphOwvIzugtLsd5sza++sjC9RwkRmYr0rzlHdUl +vtr3fru0Bzven2MeiQnqmCM= +-----END PRIVATE KEY----- +11:54:10.744 [JettyServerThreadPool-28] WARN Exception - while processing /api/audit/pageview, exception JWT (claims->{"exp":1707399782,"iat":1707396482,"auth_time":1707396481,"jti":"c02d25d7-d525-4391-ab91-2ce00a61ed86","iss":"https://auth.readymixerp.com/realms/rmc-dev","aud":"account","sub":"795c3d6f-2043-440f-8df9-6e62f96dac62","typ":"Bearer","azp":"rmc","session_state":"78839032-e705-48fc-a5d5-e1c441f8f214","acr":"1","allowed-origins":["*"],"realm_access":{"roles":["ROLE_PO_CREATE","Create Delivery Challan","Add/Remove Customer to Blacklist","Add New Customer","offline_access","ROLE_VENDOR_CREATE","ROLE_ADMIN","default-roles-rmc-dev","uma_authorization"]},"resource_access":{"account":{"roles":["manage-account","manage-account-links","view-profile"]}},"scope":"email profile","sid":"78839032-e705-48fc-a5d5-e1c441f8f214","email_verified":false,"preferred_username":"arsalan365","tenant":"123"}) rejected due to invalid claims or other invalid content. Additional details: [[1] The JWT is no longer valid - the evaluation time NumericDate{1707459850 -> 09-Feb-2024, 11:54:10 am IST} is on or after the Expiration Time (exp=NumericDate{1707399782 -> 08-Feb-2024, 7:13:02 pm IST}) claim value (even when providing 30 seconds of leeway to account for clock skew).] +org.jose4j.jwt.consumer.InvalidJwtException: JWT (claims->{"exp":1707399782,"iat":1707396482,"auth_time":1707396481,"jti":"c02d25d7-d525-4391-ab91-2ce00a61ed86","iss":"https://auth.readymixerp.com/realms/rmc-dev","aud":"account","sub":"795c3d6f-2043-440f-8df9-6e62f96dac62","typ":"Bearer","azp":"rmc","session_state":"78839032-e705-48fc-a5d5-e1c441f8f214","acr":"1","allowed-origins":["*"],"realm_access":{"roles":["ROLE_PO_CREATE","Create Delivery Challan","Add/Remove Customer to Blacklist","Add New Customer","offline_access","ROLE_VENDOR_CREATE","ROLE_ADMIN","default-roles-rmc-dev","uma_authorization"]},"resource_access":{"account":{"roles":["manage-account","manage-account-links","view-profile"]}},"scope":"email profile","sid":"78839032-e705-48fc-a5d5-e1c441f8f214","email_verified":false,"preferred_username":"arsalan365","tenant":"123"}) rejected due to invalid claims or other invalid content. Additional details: [[1] The JWT is no longer valid - the evaluation time NumericDate{1707459850 -> 09-Feb-2024, 11:54:10 am IST} is on or after the Expiration Time (exp=NumericDate{1707399782 -> 08-Feb-2024, 7:13:02 pm IST}) claim value (even when providing 30 seconds of leeway to account for clock skew).] + at org.jose4j.jwt.consumer.JwtConsumer.validate(JwtConsumer.java:459) + at org.jose4j.jwt.consumer.JwtConsumer.processContext(JwtConsumer.java:304) + at org.jose4j.jwt.consumer.JwtConsumer.process(JwtConsumer.java:426) + at com.restapi.config.Auth.validateAuthToken(Auth.kt:78) + at com.restapi.config.Auth.validateAuthToken$default(Auth.kt:75) + at com.restapi.MainKt.main$lambda$15$lambda$4(Main.kt:85) + at io.javalin.routing.HandlerEntry.handle(HandlerEntry.kt:19) + at io.javalin.http.servlet.DefaultTasks.BEFORE$lambda$2$lambda$1$lambda$0(DefaultTasks.kt:19) + at io.javalin.http.servlet.JavalinServlet.handleTask(JavalinServlet.kt:88) + at io.javalin.http.servlet.JavalinServlet.handleSync(JavalinServlet.kt:53) + at io.javalin.http.servlet.JavalinServlet.service(JavalinServlet.kt:41) + at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:587) + at io.javalin.jetty.JavalinJettyServlet.service(JavalinJettyServlet.kt:58) + at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:587) + at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:764) + at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:529) + at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:221) + at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1570) + at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:221) + at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1381) + at io.javalin.jetty.JettyServer$start$wsAndHttpHandler$1.doHandle(JettyServer.kt:61) + at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:176) + at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:484) + at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1543) + at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:174) + at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1303) + at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:129) + at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:173) + at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:122) + at org.eclipse.jetty.server.Server.handle(Server.java:563) + at org.eclipse.jetty.server.HttpChannel$RequestDispatchable.dispatch(HttpChannel.java:1598) + at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:753) + at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:501) + at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:287) + at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:314) + at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:100) + at org.eclipse.jetty.io.SelectableChannelEndPoint$1.run(SelectableChannelEndPoint.java:53) + at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.runTask(AdaptiveExecutionStrategy.java:421) + at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.consumeTask(AdaptiveExecutionStrategy.java:390) + at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.tryProduce(AdaptiveExecutionStrategy.java:277) + at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.run(AdaptiveExecutionStrategy.java:199) + at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:411) + at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:969) + at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.doRunJob(QueuedThreadPool.java:1194) + at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1149) + at java.base/java.lang.Thread.run(Thread.java:840) +11:54:20.020 [JettyServerThreadPool-28] WARN api - User arsalan365 of tenant 123 has performed login @ 2024-02-09T11:54:20.002203400 +11:54:20.069 [JettyServerThreadPool-24] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T11:54:20.069143700 +11:54:31.736 [JettyServerThreadPool-27] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T11:54:31.736657800 +11:54:31.765 [JettyServerThreadPool-24] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T11:54:31.765755 +11:54:36.256 [JettyServerThreadPool-27] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T11:54:36.256143 +11:54:36.478 [JettyServerThreadPool-24] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) +11:54:36.507 [JettyServerThreadPool-28] DEBUG io.ebean.SQL - txn[1001] select count(*) from quotation t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(5,912) +11:54:36.519 [JettyServerThreadPool-24] DEBUG io.ebean.SQL - txn[1002] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(7,387) +11:54:50.484 [JettyServerThreadPool-31] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T11:54:50.484360400 +11:54:50.495 [JettyServerThreadPool-27] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T11:54:50.495369500 +11:54:56.463 [JettyServerThreadPool-27] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T11:54:56.463326100 +11:54:56.578 [JettyServerThreadPool-31] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) +11:54:56.578 [JettyServerThreadPool-31] DEBUG io.ebean.SQL - txn[1003] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(3,847) +11:54:56.631 [JettyServerThreadPool-28] DEBUG io.ebean.SQL - txn[1004] select count(*) from purchase_order t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,234) +11:55:20.234 [JettyServerThreadPool-27] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +11:55:26.648 [EbeanHook] INFO io.ebean.datasource - DataSource [db] shutdown min[2] max[200] free[2] busy[0] waiting[0] highWaterMark[2] waitCount[0] hitCount[232] psc[hit:1 miss:4 put:5 rem:0] +11:55:50.905 [main] INFO io.avaje.config - Loaded properties from [] +11:55:50.916 [main] INFO io.ebean - ebean version: 13.23.2 +11:55:51.307 [main] INFO io.ebean.datasource - DataSource [db] autoCommit[false] transIsolation[READ_COMMITTED] min[2] max[200] in[349ms] +11:55:52.010 [main] INFO io.ebean.migration - DB migrations completed in 31ms - executed:0 totalMigrations:6 mode:legacy +11:55:52.010 [main] INFO io.ebean.core - Started database[db] platform[POSTGRES] in 1,084ms +11:55:53.304 [main] INFO io.javalin.Javalin - Starting Javalin ... +11:55:53.440 [main] INFO org.eclipse.jetty.server.Server - jetty-11.0.17; built: 2023-10-09T18:39:14.424Z; git: 48e7716b9462bebea6732b885dbebb4300787a5c; jvm 17.0.9+9 +11:55:53.497 [main] INFO o.e.j.s.s.DefaultSessionIdManager - Session workerName=node0 +11:55:53.511 [main] INFO o.e.j.server.handler.ContextHandler - Started i.j.j.@22f8adc2{/,null,AVAILABLE} +11:55:53.522 [main] INFO o.e.jetty.server.AbstractConnector - Started ServerConnector@40bd0f8{HTTP/1.1, (http/1.1)}{0.0.0.0:9001} +11:55:53.524 [main] INFO org.eclipse.jetty.server.Server - Started Server@755a7218{STARTING}[11.0.17,sto=0] @4310ms +11:55:53.524 [main] INFO io.javalin.Javalin - + __ ___ ______ + / /___ __ ______ _/ (_)___ / ____/ + __ / / __ `/ | / / __ `/ / / __ \ /___ \ +/ /_/ / /_/ /| |/ / /_/ / / / / / / ____/ / +\____/\__,_/ |___/\__,_/_/_/_/ /_/ /_____/ + + https://javalin.io/documentation + +11:55:53.528 [main] INFO io.javalin.Javalin - Listening on http://localhost:9001/ +11:55:53.539 [main] INFO io.javalin.Javalin - You are running Javalin 5.6.3 (released October 15, 2023. Your Javalin version is 116 days old. Consider checking for a newer version.). +11:55:53.540 [main] INFO io.javalin.Javalin - Javalin started in 238ms \o/ +11:56:06.223 [JettyServerThreadPool-31] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T11:56:06.217505800 +11:56:06.224 [JettyServerThreadPool-27] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T11:56:06.217505800 +11:56:06.233 [JettyServerThreadPool-31] WARN session - making KeyPair from Config +-----BEGIN PUBLIC KEY----- +MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA+G2vDoZcgfTFMTBZk/HP +bDiqlzhumTOqi8a+Up2NWruO62LB17fB2/rU1MaZH/uW53WmWBlYENZrcHhFY96m +avQPhZ8ccGfbiCHWzlD77GS8zWJyt2xRUbJljH99IA7OmXUut29rZ11xNGqCLcFY +LhJVClVylMpktFZQQdGSwmE5Q+kOLA5uxxlyWY+ZFTVWwQgXuNsi8fGNRU8jS/Jz +0kvkgHS1Gjyf+o/u+NfnsQCDnNK0gSTjBdFzTsAWfORLjoj2tHtbFM9Ko1X5mcnk +RcZEliQZ6rptY61RaeeWzG9+w2LWWtGhSHD3Q32ONn6w5Ty3COM80cAp94IBy/5y +/QIDAQAB +-----END PUBLIC KEY----- + +-----BEGIN PRIVATE KEY----- +MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQD4ba8OhlyB9MUx +MFmT8c9sOKqXOG6ZM6qLxr5SnY1au47rYsHXt8Hb+tTUxpkf+5bndaZYGVgQ1mtw +eEVj3qZq9A+FnxxwZ9uIIdbOUPvsZLzNYnK3bFFRsmWMf30gDs6ZdS63b2tnXXE0 +aoItwVguElUKVXKUymS0VlBB0ZLCYTlD6Q4sDm7HGXJZj5kVNVbBCBe42yLx8Y1F +TyNL8nPSS+SAdLUaPJ/6j+741+exAIOc0rSBJOMF0XNOwBZ85EuOiPa0e1sUz0qj +VfmZyeRFxkSWJBnqum1jrVFp55bMb37DYtZa0aFIcPdDfY42frDlPLcI4zzRwCn3 +ggHL/nL9AgMBAAECggEAJ85sxu8zl8/l4EsG3M8EdVWidrGgUyRgDElFCiLcWVta +prqVJIt5YNYRJU5J5Jc2fRGxHPEOrJVW84IUsvskVQM/ZiHyd3ZvdaGKdFZYpO5t +VvGSlR53l0IhGxal24L+isCn7X+ec5pu6b8JQJX4RbBConHCTDdz/yDMzQcXiiqj +ezzSovZ1Xy/2dn7sOTFtEZi47d3AhBnjh8Xqk3Dc9UChooxuIU6WEbqWFxEkbzJS +sXIv9xADVDqFqjHGv6Tk1W+y7y8M2EHosJfhO0LmWFL7nUdw0WSJV+UqQxHrUSJs +SnYHkKRTYl2ljpjkuECp/YqUqdlNq/5T5jBE6cyopwKBgQD6+XGZfssdAqfnaEK2 +nHdUAdklUFAFQpSmwIUwTZEHDC/CD+ErVjfbEfZ2mFOvWAIMwLmiLFuDT7E5sHaT +K4A2DQ8KyU3iJkH4nhxdYepLc7MSYElkn6fHNrXcJ9vPACmrtoa9rVW/LpAjsRq6 +fDxLo12/+EmFvpZ0oEAIQXk6ZwKBgQD9ZzBgPapI8m7cjcdojqq0dJ2M5Sw7Bx5n +VFOC3H4Cx0xWTdwwZ9CZQ4v/XiiHiUGzwhfkNJ2x3DdpUCkPDD8o3cFXPRW4GsjD +kv/D0kL/JJAesG9XB9yMTMBoe2yGMudDVc7SYgUI2YXhmHYkpcjSzM0DftLL2Z47 +GY1h385Q+wKBgGTRxe/Kfp+lzHtqZ7ph+pG1uFyD+dFTINIn7pkr38G8BIdpx6OY +HBIWEjMsGBoNOa2T0j6yoQSMA/7Pw6J1TCjqcAt+OJpLkh7krTJaPjuXO+163qDc +fhLKCJ5rKKLsRtEjHtedhR+q/d5IrBsUA0jDVMrkW+ytVlV9dpuaaa+rAoGASON8 +m8JBD/iEAPbbK+0VlxCQHO3ymgwDJ8+usc6AhIYVJCIDOv0xmFRAmbTYzZuihXVH +8AFedsGUQrunA8gPBs86hMByVeGGbBMFdKsvUDqRJfK0JAGD4+tT0PnnjnZn5Qty +kTtWnWQMSYbUPNhe+pukQOQi+DXheLhx3XxF2S8CgYEAopLjGIR/xeuV7QkGJfCO +d2wEJROBPd3pbDlR4fLDO8RCw3irFYQgQd9WgGJY5KgyfjKLHkK7DMQKn+/yfUp5 +UKeesBDXATpyQQrpfoKIhhZKtYphOwvIzugtLsd5sza++sjC9RwkRmYr0rzlHdUl +vtr3fru0Bzven2MeiQnqmCM= +-----END PRIVATE KEY----- +11:56:10.352 [JettyServerThreadPool-30] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T11:56:10.352671600 +11:56:10.649 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1001] select count(*) from purchase_order t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(21,007) +11:56:10.631 [JettyServerThreadPool-29] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) +11:56:10.746 [JettyServerThreadPool-29] DEBUG io.ebean.SQL - txn[1002] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(7,270) +11:56:36.419 [JettyServerThreadPool-31] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +11:57:06.325 [JettyServerThreadPool-28] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +11:57:36.333 [JettyServerThreadPool-29] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +11:58:06.331 [JettyServerThreadPool-31] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +11:58:20.220 [EbeanHook] INFO io.ebean.datasource - DataSource [db] shutdown min[2] max[200] free[2] busy[0] waiting[0] highWaterMark[1] waitCount[0] hitCount[9] psc[hit:0 miss:2 put:2 rem:0] +11:58:33.554 [main] INFO io.avaje.config - Loaded properties from [] +11:58:33.570 [main] INFO io.ebean - ebean version: 13.23.2 +11:58:34.009 [main] INFO io.ebean.datasource - DataSource [db] autoCommit[false] transIsolation[READ_COMMITTED] min[2] max[200] in[382ms] +11:58:34.815 [main] INFO io.ebean.migration - DB migrations completed in 40ms - executed:0 totalMigrations:6 mode:legacy +11:58:34.816 [main] INFO io.ebean.core - Started database[db] platform[POSTGRES] in 1,234ms +11:58:36.483 [main] INFO io.javalin.Javalin - Starting Javalin ... +11:58:36.646 [main] INFO org.eclipse.jetty.server.Server - jetty-11.0.17; built: 2023-10-09T18:39:14.424Z; git: 48e7716b9462bebea6732b885dbebb4300787a5c; jvm 17.0.9+9 +11:58:36.708 [main] INFO o.e.j.s.s.DefaultSessionIdManager - Session workerName=node0 +11:58:36.722 [main] INFO o.e.j.server.handler.ContextHandler - Started i.j.j.@65f3e805{/,null,AVAILABLE} +11:58:36.736 [main] INFO o.e.jetty.server.AbstractConnector - Started ServerConnector@37775bb1{HTTP/1.1, (http/1.1)}{0.0.0.0:9001} +11:58:36.739 [main] INFO org.eclipse.jetty.server.Server - Started Server@7e191fda{STARTING}[11.0.17,sto=0] @4399ms +11:58:36.740 [main] INFO io.javalin.Javalin - + __ ___ ______ + / /___ __ ______ _/ (_)___ / ____/ + __ / / __ `/ | / / __ `/ / / __ \ /___ \ +/ /_/ / /_/ /| |/ / /_/ / / / / / / ____/ / +\____/\__,_/ |___/\__,_/_/_/_/ /_/ /_____/ + + https://javalin.io/documentation + +11:58:36.746 [main] INFO io.javalin.Javalin - Listening on http://localhost:9001/ +11:58:36.758 [main] INFO io.javalin.Javalin - You are running Javalin 5.6.3 (released October 15, 2023. Your Javalin version is 116 days old. Consider checking for a newer version.). +11:58:36.759 [main] INFO io.javalin.Javalin - Javalin started in 277ms \o/ +11:58:44.478 [JettyServerThreadPool-28] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T11:58:44.475083300 +11:58:44.478 [JettyServerThreadPool-31] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T11:58:44.475083300 +11:58:44.486 [JettyServerThreadPool-31] WARN session - making KeyPair from Config +-----BEGIN PUBLIC KEY----- +MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA+G2vDoZcgfTFMTBZk/HP +bDiqlzhumTOqi8a+Up2NWruO62LB17fB2/rU1MaZH/uW53WmWBlYENZrcHhFY96m +avQPhZ8ccGfbiCHWzlD77GS8zWJyt2xRUbJljH99IA7OmXUut29rZ11xNGqCLcFY +LhJVClVylMpktFZQQdGSwmE5Q+kOLA5uxxlyWY+ZFTVWwQgXuNsi8fGNRU8jS/Jz +0kvkgHS1Gjyf+o/u+NfnsQCDnNK0gSTjBdFzTsAWfORLjoj2tHtbFM9Ko1X5mcnk +RcZEliQZ6rptY61RaeeWzG9+w2LWWtGhSHD3Q32ONn6w5Ty3COM80cAp94IBy/5y +/QIDAQAB +-----END PUBLIC KEY----- + +-----BEGIN PRIVATE KEY----- +MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQD4ba8OhlyB9MUx +MFmT8c9sOKqXOG6ZM6qLxr5SnY1au47rYsHXt8Hb+tTUxpkf+5bndaZYGVgQ1mtw +eEVj3qZq9A+FnxxwZ9uIIdbOUPvsZLzNYnK3bFFRsmWMf30gDs6ZdS63b2tnXXE0 +aoItwVguElUKVXKUymS0VlBB0ZLCYTlD6Q4sDm7HGXJZj5kVNVbBCBe42yLx8Y1F +TyNL8nPSS+SAdLUaPJ/6j+741+exAIOc0rSBJOMF0XNOwBZ85EuOiPa0e1sUz0qj +VfmZyeRFxkSWJBnqum1jrVFp55bMb37DYtZa0aFIcPdDfY42frDlPLcI4zzRwCn3 +ggHL/nL9AgMBAAECggEAJ85sxu8zl8/l4EsG3M8EdVWidrGgUyRgDElFCiLcWVta +prqVJIt5YNYRJU5J5Jc2fRGxHPEOrJVW84IUsvskVQM/ZiHyd3ZvdaGKdFZYpO5t +VvGSlR53l0IhGxal24L+isCn7X+ec5pu6b8JQJX4RbBConHCTDdz/yDMzQcXiiqj +ezzSovZ1Xy/2dn7sOTFtEZi47d3AhBnjh8Xqk3Dc9UChooxuIU6WEbqWFxEkbzJS +sXIv9xADVDqFqjHGv6Tk1W+y7y8M2EHosJfhO0LmWFL7nUdw0WSJV+UqQxHrUSJs +SnYHkKRTYl2ljpjkuECp/YqUqdlNq/5T5jBE6cyopwKBgQD6+XGZfssdAqfnaEK2 +nHdUAdklUFAFQpSmwIUwTZEHDC/CD+ErVjfbEfZ2mFOvWAIMwLmiLFuDT7E5sHaT +K4A2DQ8KyU3iJkH4nhxdYepLc7MSYElkn6fHNrXcJ9vPACmrtoa9rVW/LpAjsRq6 +fDxLo12/+EmFvpZ0oEAIQXk6ZwKBgQD9ZzBgPapI8m7cjcdojqq0dJ2M5Sw7Bx5n +VFOC3H4Cx0xWTdwwZ9CZQ4v/XiiHiUGzwhfkNJ2x3DdpUCkPDD8o3cFXPRW4GsjD +kv/D0kL/JJAesG9XB9yMTMBoe2yGMudDVc7SYgUI2YXhmHYkpcjSzM0DftLL2Z47 +GY1h385Q+wKBgGTRxe/Kfp+lzHtqZ7ph+pG1uFyD+dFTINIn7pkr38G8BIdpx6OY +HBIWEjMsGBoNOa2T0j6yoQSMA/7Pw6J1TCjqcAt+OJpLkh7krTJaPjuXO+163qDc +fhLKCJ5rKKLsRtEjHtedhR+q/d5IrBsUA0jDVMrkW+ytVlV9dpuaaa+rAoGASON8 +m8JBD/iEAPbbK+0VlxCQHO3ymgwDJ8+usc6AhIYVJCIDOv0xmFRAmbTYzZuihXVH +8AFedsGUQrunA8gPBs86hMByVeGGbBMFdKsvUDqRJfK0JAGD4+tT0PnnjnZn5Qty +kTtWnWQMSYbUPNhe+pukQOQi+DXheLhx3XxF2S8CgYEAopLjGIR/xeuV7QkGJfCO +d2wEJROBPd3pbDlR4fLDO8RCw3irFYQgQd9WgGJY5KgyfjKLHkK7DMQKn+/yfUp5 +UKeesBDXATpyQQrpfoKIhhZKtYphOwvIzugtLsd5sza++sjC9RwkRmYr0rzlHdUl +vtr3fru0Bzven2MeiQnqmCM= +-----END PRIVATE KEY----- +11:58:47.420 [JettyServerThreadPool-29] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T11:58:47.420980800 +11:58:47.665 [JettyServerThreadPool-24] DEBUG io.ebean.SQL - txn[1002] select count(*) from purchase_order t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(13,825) +11:58:47.668 [JettyServerThreadPool-29] DEBUG io.ebean.SQL - txn[1001] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(3,135) +11:58:47.696 [JettyServerThreadPool-30] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) +11:58:47.728 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1003] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(3,321) +11:59:13.886 [JettyServerThreadPool-27] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +11:59:44.328 [JettyServerThreadPool-28] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:00:14.312 [JettyServerThreadPool-27] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:00:35.091 [JettyServerThreadPool-28] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:00:35.091857400 +12:00:35.459 [JettyServerThreadPool-27] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:00:35.459834100 +12:00:38.367 [JettyServerThreadPool-30] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:00:38.367953300 +12:00:38.464 [JettyServerThreadPool-27] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) +12:00:38.476 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1004] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(13,175) +12:00:38.477 [JettyServerThreadPool-27] DEBUG io.ebean.SQL - txn[1005] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(3,855) +12:00:38.521 [JettyServerThreadPool-28] DEBUG io.ebean.SQL - txn[1006] select count(*) from purchase_order t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(3,498) +12:01:04.998 [JettyServerThreadPool-30] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:01:12.755 [JettyServerThreadPool-27] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:01:12.749947700 +12:01:12.755 [JettyServerThreadPool-30] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:01:12.755960800 +12:01:15.767 [JettyServerThreadPool-27] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:01:15.767161500 +12:01:15.823 [JettyServerThreadPool-30] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) +12:01:15.831 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1007] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(3,907) +12:01:15.860 [JettyServerThreadPool-28] DEBUG io.ebean.SQL - txn[1008] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.products, t0.total_amount, t0.req_for_quote_num, t0.quote_num, t0.vendor_quote_num, t0.quote_date, t0.valid_till, t0.tnc, t0.documents, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by, t0.vendor_sys_pk from quotation t0 where t0.quote_date >= ? and t0.quote_date <= ? and t0.valid_till >= ? and t0.valid_till <= ? and t0.total_amount >= ? and t0.total_amount <= ? and lower(t0.quote_num) like ? escape'' and t0.quote_date >= ? and t0.quote_date <= ? and t0.tenant_id = ? and t0.deleted = false; --bind(1500-01-01,3000-01-01,1500-01-01,3000-01-01,-9223372036854775808,9223372036854775807,%%%,1500-01-01,3000-01-01,123) --micros(9,900) +12:01:15.929 [JettyServerThreadPool-28] DEBUG io.ebean.SQL - txn[1009] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.sys_pk = any(?) and t0.tenant_id = ? and t0.deleted = false; --bind(Array[7]={1,5,4,2,9,8,3},123) --micros(9,874) +12:01:43.327 [JettyServerThreadPool-27] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:02:07.608 [JettyServerThreadPool-31] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:02:07.608712500 +12:02:07.726 [JettyServerThreadPool-28] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) +12:02:07.730 [JettyServerThreadPool-28] DEBUG io.ebean.SQL - txn[1010] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(2,620) +12:02:07.735 [JettyServerThreadPool-31] DEBUG io.ebean.SQL - txn[1011] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,616) +12:02:07.765 [JettyServerThreadPool-24] DEBUG io.ebean.SQL - txn[1012] select count(*) from purchase_order t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,186) +12:02:12.710 [JettyServerThreadPool-31] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:02:25.710 [JettyServerThreadPool-28] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:02:25.710495600 +12:02:25.749 [JettyServerThreadPool-24] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) +12:02:25.752 [JettyServerThreadPool-24] DEBUG io.ebean.SQL - txn[1014] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(3,710) +12:02:25.752 [JettyServerThreadPool-28] DEBUG io.ebean.SQL - txn[1013] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.products, t0.total_amount, t0.req_for_quote_num, t0.quote_num, t0.vendor_quote_num, t0.quote_date, t0.valid_till, t0.tnc, t0.documents, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by, t0.vendor_sys_pk from quotation t0 where t0.quote_date >= ? and t0.quote_date <= ? and t0.valid_till >= ? and t0.valid_till <= ? and t0.total_amount >= ? and t0.total_amount <= ? and lower(t0.quote_num) like ? escape'' and t0.quote_date >= ? and t0.quote_date <= ? and t0.tenant_id = ? and t0.deleted = false; --bind(1500-01-01,3000-01-01,1500-01-01,3000-01-01,-9223372036854775808,9223372036854775807,%%%,1500-01-01,3000-01-01,123) --micros(5,642) +12:02:25.773 [JettyServerThreadPool-28] DEBUG io.ebean.SQL - txn[1015] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.sys_pk = any(?) and t0.tenant_id = ? and t0.deleted = false; --bind(Array[7]={8,2,5,1,9,4,3},123) --micros(927) +12:02:33.695 [JettyServerThreadPool-31] DEBUG io.ebean.SQL - txn[1016] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.products, t0.total_amount, t0.req_for_quote_num, t0.quote_num, t0.vendor_quote_num, t0.quote_date, t0.valid_till, t0.tnc, t0.documents, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by, t0.vendor_sys_pk from quotation t0 where t0.quote_date >= ? and t0.quote_date <= ? and t0.valid_till >= ? and t0.valid_till <= ? and t0.total_amount >= ? and t0.total_amount <= ? and lower(t0.quote_num) like ? escape'' and t0.quote_date >= ? and t0.quote_date <= ? and t0.tenant_id = ? and t0.deleted = false; --bind(1999-01-01,2026-01-01,1500-01-01,3000-01-01,-9223372036854775808,9223372036854775807,%%%,1999-01-01,2026-01-01,123) --micros(2,305) +12:02:33.707 [JettyServerThreadPool-31] DEBUG io.ebean.SQL - txn[1017] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.sys_pk = any(?) and t0.tenant_id = ? and t0.deleted = false; --bind(Array[7]={1,9,2,5,3,4,8},123) --micros(1,046) +12:02:42.718 [JettyServerThreadPool-28] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:03:13.328 [JettyServerThreadPool-31] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:03:43.332 [JettyServerThreadPool-30] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:04:37.322 [JettyServerThreadPool-28] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:05:37.334 [JettyServerThreadPool-26] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:06:37.327 [JettyServerThreadPool-30] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:07:37.327 [JettyServerThreadPool-42] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:08:37.323 [JettyServerThreadPool-30] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:08:58.653 [JettyServerThreadPool-42] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:09:05.636 [JettyServerThreadPool-28] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:09:05.636377300 +12:09:05.809 [JettyServerThreadPool-41] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:09:05.809481100 +12:09:10.313 [JettyServerThreadPool-42] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:09:10.313847700 +12:09:10.415 [JettyServerThreadPool-42] DEBUG io.ebean.SQL - txn[1018] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(4,054) +12:09:10.423 [JettyServerThreadPool-28] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) +12:09:10.474 [JettyServerThreadPool-28] DEBUG io.ebean.SQL - txn[1019] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(50,625) +12:09:10.517 [JettyServerThreadPool-26] DEBUG io.ebean.SQL - txn[1020] select count(*) from quotation t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,034) +12:09:35.624 [JettyServerThreadPool-42] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:10:06.319 [JettyServerThreadPool-26] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:10:36.328 [JettyServerThreadPool-42] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:11:06.321 [JettyServerThreadPool-26] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:11:35.635 [JettyServerThreadPool-41] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:11:39.528 [JettyServerThreadPool-41] DEBUG io.ebean.SQL - txn[1021] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(2,450) +12:11:39.594 [JettyServerThreadPool-41] DEBUG io.ebean.SQL - txn[1022] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(37,761) +12:11:39.609 [JettyServerThreadPool-26] DEBUG io.ebean.SQL - txn[1023] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,041) +12:11:39.622 [JettyServerThreadPool-28] DEBUG io.ebean.SQL - txn[1024] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(2,490) +12:11:39.634 [JettyServerThreadPool-28] DEBUG io.ebean.SQL - txn[1025] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,048) +12:11:39.645 [JettyServerThreadPool-28] DEBUG io.ebean.SQL - txn[1026] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(900) +12:11:39.658 [JettyServerThreadPool-42] DEBUG io.ebean.SQL - txn[1027] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(723) +12:11:39.660 [JettyServerThreadPool-41] DEBUG io.ebean.SQL - txn[1028] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,893) +12:11:39.672 [JettyServerThreadPool-42] DEBUG io.ebean.SQL - txn[1030] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(4,473) +12:11:39.674 [JettyServerThreadPool-41] DEBUG io.ebean.SQL - txn[1029] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(2,006) +12:11:39.694 [JettyServerThreadPool-42] DEBUG io.ebean.SQL - txn[1031] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,670) +12:11:39.696 [JettyServerThreadPool-41] DEBUG io.ebean.SQL - txn[1032] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,196) +12:11:39.713 [JettyServerThreadPool-42] DEBUG io.ebean.SQL - txn[1033] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,194) +12:11:39.719 [JettyServerThreadPool-41] DEBUG io.ebean.SQL - txn[1034] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,992) +12:11:39.739 [JettyServerThreadPool-41] DEBUG io.ebean.SQL - txn[1036] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(783) +12:11:39.742 [JettyServerThreadPool-42] DEBUG io.ebean.SQL - txn[1035] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(946) +12:11:39.765 [JettyServerThreadPool-42] DEBUG io.ebean.SQL - txn[1038] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(710) +12:11:39.765 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1037] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(2,656) +12:11:39.780 [JettyServerThreadPool-26] DEBUG io.ebean.SQL - txn[1039] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(707) +12:11:39.784 [JettyServerThreadPool-41] DEBUG io.ebean.SQL - txn[1040] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,974) +12:11:39.813 [JettyServerThreadPool-41] DEBUG io.ebean.SQL - txn[1041] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,715) +12:11:39.815 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1042] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(2,175) +12:11:39.833 [JettyServerThreadPool-42] DEBUG io.ebean.SQL - txn[1043] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(2,365) +12:11:39.862 [JettyServerThreadPool-26] DEBUG io.ebean.SQL - txn[1044] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(4,864) +12:11:39.884 [JettyServerThreadPool-31] DEBUG io.ebean.SQL - txn[1045] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,220) +12:11:39.919 [JettyServerThreadPool-24] DEBUG io.ebean.SQL - txn[1047] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(744) +12:11:39.922 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1048] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,094) +12:11:39.947 [JettyServerThreadPool-24] DEBUG io.ebean.SQL - txn[1049] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(7,087) +12:11:39.959 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1050] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(10,804) +12:11:40.012 [JettyServerThreadPool-28] DEBUG io.ebean.SQL - txn[1046] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(97,513) +12:11:45.846 [JettyServerThreadPool-31] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:11:45.846554300 +12:11:45.928 [JettyServerThreadPool-24] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) +12:11:45.930 [JettyServerThreadPool-31] DEBUG io.ebean.SQL - txn[1051] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(3,939) +12:11:45.934 [JettyServerThreadPool-24] DEBUG io.ebean.SQL - txn[1052] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(3,012) +12:11:46.105 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1053] select count(*) from purchase_order t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,300) +12:12:10.704 [JettyServerThreadPool-31] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:12:41.312 [JettyServerThreadPool-24] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:13:11.334 [JettyServerThreadPool-31] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:13:29.321 [JettyServerThreadPool-26] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:13:29.321168700 +12:13:29.469 [JettyServerThreadPool-30] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:13:29.469848900 +12:13:33.022 [JettyServerThreadPool-26] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:13:33.022261700 +12:13:33.174 [JettyServerThreadPool-30] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) +12:13:33.180 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1054] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(5,053) +12:13:33.201 [JettyServerThreadPool-26] DEBUG io.ebean.SQL - txn[1055] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(577) +12:13:33.206 [JettyServerThreadPool-31] DEBUG io.ebean.SQL - txn[1056] select count(*) from purchase_order t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,606) +12:13:59.246 [JettyServerThreadPool-31] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:14:29.331 [JettyServerThreadPool-30] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:14:59.326 [JettyServerThreadPool-44] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:15:17.410 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1057] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(9,509) +12:15:17.431 [JettyServerThreadPool-44] DEBUG io.ebean.SQL - txn[1058] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(26,557) +12:15:17.463 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1059] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(2,129) +12:15:17.473 [JettyServerThreadPool-44] DEBUG io.ebean.SQL - txn[1060] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(9,503) +12:15:17.511 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1061] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,131) +12:15:17.513 [JettyServerThreadPool-44] DEBUG io.ebean.SQL - txn[1062] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,287) +12:15:17.524 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1063] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(923) +12:15:17.526 [JettyServerThreadPool-44] DEBUG io.ebean.SQL - txn[1064] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(899) +12:15:17.538 [JettyServerThreadPool-31] DEBUG io.ebean.SQL - txn[1066] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,043) +12:15:17.538 [JettyServerThreadPool-44] DEBUG io.ebean.SQL - txn[1065] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(605) +12:15:17.545 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1067] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(4,935) +12:15:17.553 [JettyServerThreadPool-31] DEBUG io.ebean.SQL - txn[1068] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(732) +12:15:17.566 [JettyServerThreadPool-44] DEBUG io.ebean.SQL - txn[1069] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(8,768) +12:15:17.568 [JettyServerThreadPool-42] DEBUG io.ebean.SQL - txn[1070] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(611) +12:15:17.583 [JettyServerThreadPool-44] DEBUG io.ebean.SQL - txn[1071] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(860) +12:15:17.592 [JettyServerThreadPool-44] DEBUG io.ebean.SQL - txn[1072] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(848) +12:15:17.596 [JettyServerThreadPool-31] DEBUG io.ebean.SQL - txn[1073] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,488) +12:15:17.600 [JettyServerThreadPool-44] DEBUG io.ebean.SQL - txn[1074] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(2,425) +12:15:17.610 [JettyServerThreadPool-42] DEBUG io.ebean.SQL - txn[1075] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(770) +12:15:17.621 [JettyServerThreadPool-44] DEBUG io.ebean.SQL - txn[1076] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(691) +12:15:17.640 [JettyServerThreadPool-31] DEBUG io.ebean.SQL - txn[1077] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(805) +12:15:17.643 [JettyServerThreadPool-44] DEBUG io.ebean.SQL - txn[1078] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,684) +12:15:17.654 [JettyServerThreadPool-42] DEBUG io.ebean.SQL - txn[1079] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(783) +12:15:17.656 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1080] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,277) +12:15:17.684 [JettyServerThreadPool-44] DEBUG io.ebean.SQL - txn[1081] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(884) +12:15:17.684 [JettyServerThreadPool-31] DEBUG io.ebean.SQL - txn[1082] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(490) +12:15:17.694 [JettyServerThreadPool-44] DEBUG io.ebean.SQL - txn[1083] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(4,657) +12:15:17.707 [JettyServerThreadPool-44] DEBUG io.ebean.SQL - txn[1085] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(847) +12:15:17.717 [JettyServerThreadPool-31] DEBUG io.ebean.SQL - txn[1084] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(14,548) +12:15:17.733 [JettyServerThreadPool-49] DEBUG io.ebean.SQL - txn[1086] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(755) +12:15:55.575 [JettyServerThreadPool-44] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:15:55.575040600 +12:15:55.622 [JettyServerThreadPool-42] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:15:55.622128400 +12:16:08.286 [JettyServerThreadPool-44] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:16:08.286661 +12:16:08.414 [JettyServerThreadPool-31] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:16:08.414226 +12:16:11.280 [JettyServerThreadPool-44] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:16:11.280200800 +12:16:11.376 [JettyServerThreadPool-31] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) +12:16:11.381 [JettyServerThreadPool-42] DEBUG io.ebean.SQL - txn[1088] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(4,216) +12:16:11.386 [JettyServerThreadPool-31] DEBUG io.ebean.SQL - txn[1087] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(8,088) +12:16:11.464 [JettyServerThreadPool-31] DEBUG io.ebean.SQL - txn[1089] select count(*) from purchase_order t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,604) +12:16:38.286 [JettyServerThreadPool-42] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:17:08.322 [JettyServerThreadPool-44] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:17:38.325 [JettyServerThreadPool-30] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:18:08.326 [JettyServerThreadPool-44] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:18:29.860 [JettyServerThreadPool-31] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) +12:18:29.862 [JettyServerThreadPool-31] DEBUG io.ebean.SQL - txn[1090] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(1,262) +12:18:29.868 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1091] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(627) +12:18:29.944 [JettyServerThreadPool-31] DEBUG io.ebean.SQL - txn[1092] select count(*) from purchase_order t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,085) +12:18:32.085 [JettyServerThreadPool-30] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:18:32.085344 +12:18:32.224 [JettyServerThreadPool-44] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:18:32.224986700 +12:18:35.817 [JettyServerThreadPool-42] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:18:35.817603800 +12:18:35.913 [JettyServerThreadPool-44] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) +12:18:35.921 [JettyServerThreadPool-44] DEBUG io.ebean.SQL - txn[1093] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(5,181) +12:18:35.923 [JettyServerThreadPool-42] DEBUG io.ebean.SQL - txn[1094] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(7,506) +12:18:36.051 [JettyServerThreadPool-44] DEBUG io.ebean.SQL - txn[1095] select count(*) from purchase_order t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,226) +12:19:02.332 [JettyServerThreadPool-42] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:19:32.081 [JettyServerThreadPool-31] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:19:45.803 [JettyServerThreadPool-42] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) +12:19:45.804 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1096] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,094) +12:19:45.808 [JettyServerThreadPool-42] DEBUG io.ebean.SQL - txn[1097] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(845) +12:19:45.835 [JettyServerThreadPool-42] DEBUG io.ebean.SQL - txn[1098] select count(*) from purchase_order t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,204) +12:20:02.084 [JettyServerThreadPool-30] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:20:32.321 [JettyServerThreadPool-44] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:21:01.580 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1099] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,082) +12:21:01.599 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1101] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,009) +12:21:01.599 [JettyServerThreadPool-42] DEBUG io.ebean.SQL - txn[1100] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,189) +12:21:01.620 [JettyServerThreadPool-54] DEBUG io.ebean.SQL - txn[1102] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(2,051) +12:21:01.654 [JettyServerThreadPool-55] DEBUG io.ebean.SQL - txn[1103] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(782) +12:21:01.676 [JettyServerThreadPool-44] DEBUG io.ebean.SQL - txn[1104] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(715) +12:21:01.702 [JettyServerThreadPool-44] DEBUG io.ebean.SQL - txn[1105] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(690) +12:21:01.702 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1106] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(690) +12:21:01.713 [JettyServerThreadPool-42] DEBUG io.ebean.SQL - txn[1107] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(949) +12:21:01.717 [JettyServerThreadPool-41] DEBUG io.ebean.SQL - txn[1108] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(651) +12:21:01.725 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1109] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,162) +12:21:01.732 [JettyServerThreadPool-44] DEBUG io.ebean.SQL - txn[1110] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(715) +12:21:01.758 [JettyServerThreadPool-41] DEBUG io.ebean.SQL - txn[1111] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(643) +12:21:01.786 [JettyServerThreadPool-44] DEBUG io.ebean.SQL - txn[1113] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(7,497) +12:21:01.787 [JettyServerThreadPool-41] DEBUG io.ebean.SQL - txn[1112] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(19,704) +12:21:01.806 [JettyServerThreadPool-44] DEBUG io.ebean.SQL - txn[1114] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(967) +12:21:01.831 [JettyServerThreadPool-41] DEBUG io.ebean.SQL - txn[1115] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(876) +12:21:02.355 [JettyServerThreadPool-44] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:21:02.355342100 +12:21:02.392 [JettyServerThreadPool-41] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:21:02.392887 +12:21:05.670 [JettyServerThreadPool-54] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:21:05.670875100 +12:21:05.771 [JettyServerThreadPool-44] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) +12:21:05.773 [JettyServerThreadPool-41] DEBUG io.ebean.SQL - txn[1116] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(3,422) +12:21:05.775 [JettyServerThreadPool-44] DEBUG io.ebean.SQL - txn[1117] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(3,085) +12:21:05.858 [JettyServerThreadPool-54] DEBUG io.ebean.SQL - txn[1118] select count(*) from purchase_order t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,169) +12:21:33.312 [JettyServerThreadPool-30] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:22:03.323 [JettyServerThreadPool-44] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:22:20.777 [JettyServerThreadPool-54] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:22:20.777855300 +12:22:20.936 [JettyServerThreadPool-30] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:22:20.936500300 +12:22:24.304 [JettyServerThreadPool-54] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:22:24.304873 +12:22:24.515 [JettyServerThreadPool-30] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) +12:22:24.519 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1119] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(2,854) +12:22:24.519 [JettyServerThreadPool-48] DEBUG io.ebean.SQL - txn[1120] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(832) +12:22:24.578 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1121] select count(*) from purchase_order t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(957) +12:22:51.332 [JettyServerThreadPool-48] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:23:21.330 [JettyServerThreadPool-54] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:23:51.326 [JettyServerThreadPool-48] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:24:21.410 [JettyServerThreadPool-54] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:24:56.551 [JettyServerThreadPool-30] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:25:00.190 [JettyServerThreadPool-48] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:25:00.190919200 +12:25:00.320 [JettyServerThreadPool-54] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:25:00.320036400 +12:25:04.380 [JettyServerThreadPool-30] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:25:04.380167200 +12:25:04.555 [JettyServerThreadPool-54] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) +12:25:04.556 [JettyServerThreadPool-48] DEBUG io.ebean.SQL - txn[1122] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(3,764) +12:25:04.557 [JettyServerThreadPool-54] DEBUG io.ebean.SQL - txn[1123] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(1,104) +12:25:04.571 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1124] select count(*) from purchase_order t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(763) +12:25:30.332 [JettyServerThreadPool-31] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:26:00.324 [JettyServerThreadPool-54] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:26:04.779 [JettyServerThreadPool-30] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:26:04.779998100 +12:26:04.946 [JettyServerThreadPool-54] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:26:04.945176400 +12:26:07.965 [JettyServerThreadPool-30] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:26:07.965065600 +12:26:08.067 [JettyServerThreadPool-31] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) +12:26:08.070 [JettyServerThreadPool-31] DEBUG io.ebean.SQL - txn[1125] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(1,412) +12:26:08.101 [JettyServerThreadPool-54] DEBUG io.ebean.SQL - txn[1126] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(5,945) +12:26:08.119 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1127] select count(*) from purchase_order t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(757) +12:26:34.765 [JettyServerThreadPool-54] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:27:05.407 [JettyServerThreadPool-30] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:27:27.508 [JettyServerThreadPool-31] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:27:27.508951200 +12:27:27.546 [JettyServerThreadPool-30] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) +12:27:27.555 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1128] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(7,889) +12:27:27.555 [JettyServerThreadPool-31] DEBUG io.ebean.SQL - txn[1129] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.products, t0.total_amount, t0.req_for_quote_num, t0.quote_num, t0.vendor_quote_num, t0.quote_date, t0.valid_till, t0.tnc, t0.documents, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by, t0.vendor_sys_pk from quotation t0 where t0.quote_date >= ? and t0.quote_date <= ? and t0.valid_till >= ? and t0.valid_till <= ? and t0.total_amount >= ? and t0.total_amount <= ? and lower(t0.quote_num) like ? escape'' and t0.quote_date >= ? and t0.quote_date <= ? and t0.tenant_id = ? and t0.deleted = false; --bind(1500-01-01,3000-01-01,1500-01-01,3000-01-01,-9223372036854775808,9223372036854775807,%%%,1500-01-01,3000-01-01,123) --micros(4,576) +12:27:27.573 [JettyServerThreadPool-31] DEBUG io.ebean.SQL - txn[1130] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.sys_pk = any(?) and t0.tenant_id = ? and t0.deleted = false; --bind(Array[7]={1,4,2,5,9,3,8},123) --micros(1,688) +12:27:30.471 [JettyServerThreadPool-54] DEBUG io.ebean.SQL - txn[1131] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.products, t0.total_amount, t0.req_for_quote_num, t0.quote_num, t0.vendor_quote_num, t0.quote_date, t0.valid_till, t0.tnc, t0.documents, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by, t0.vendor_sys_pk from quotation t0 where t0.sys_pk = ? and t0.tenant_id = ? and t0.deleted = false; --bind(22, 123) --micros(1,202) +12:27:30.475 [JettyServerThreadPool-54] DEBUG io.ebean.SQL - txn[1132] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.sys_pk = ? and t0.tenant_id = ? and t0.deleted = false; --bind(9, 123) --micros(1,044) +12:27:30.497 [JettyServerThreadPool-28] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:27:30.494737800 +12:27:30.566 [JettyServerThreadPool-54] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) +12:27:30.569 [JettyServerThreadPool-54] DEBUG io.ebean.SQL - txn[1133] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(2,589) +12:27:30.578 [JettyServerThreadPool-31] DEBUG io.ebean.SQL - txn[1134] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(9,237) +12:27:30.645 [JettyServerThreadPool-54] DEBUG io.ebean.SQL - txn[1135] select count(*) from purchase_order t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(2,148) +12:27:34.750 [JettyServerThreadPool-31] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:28:05.330 [JettyServerThreadPool-30] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:28:35.328 [JettyServerThreadPool-31] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:29:37.325 [JettyServerThreadPool-53] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:30:16.236 [JettyServerThreadPool-54] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:30:19.626 [JettyServerThreadPool-30] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:30:19.626103900 +12:30:19.683 [JettyServerThreadPool-54] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:30:19.683653800 +12:30:23.764 [JettyServerThreadPool-30] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:30:23.764269300 +12:30:23.876 [JettyServerThreadPool-28] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) +12:30:23.878 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1136] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(2,684) +12:30:23.879 [JettyServerThreadPool-28] DEBUG io.ebean.SQL - txn[1137] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(2,530) +12:30:23.976 [JettyServerThreadPool-54] DEBUG io.ebean.SQL - txn[1138] select count(*) from quotation t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,001) +12:30:28.952 [JettyServerThreadPool-30] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:30:28.952892700 +12:30:28.964 [JettyServerThreadPool-24] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) +12:30:28.965 [JettyServerThreadPool-24] DEBUG io.ebean.SQL - txn[1140] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(933) +12:30:28.967 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1139] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.products, t0.total_amount, t0.req_for_quote_num, t0.quote_num, t0.vendor_quote_num, t0.quote_date, t0.valid_till, t0.tnc, t0.documents, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by, t0.vendor_sys_pk from quotation t0 where t0.quote_date >= ? and t0.quote_date <= ? and t0.valid_till >= ? and t0.valid_till <= ? and t0.total_amount >= ? and t0.total_amount <= ? and lower(t0.quote_num) like ? escape'' and t0.quote_date >= ? and t0.quote_date <= ? and t0.tenant_id = ? and t0.deleted = false; --bind(1500-01-01,3000-01-01,1500-01-01,3000-01-01,-9223372036854775808,9223372036854775807,%%%,1500-01-01,3000-01-01,123) --micros(2,575) +12:30:28.977 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1141] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.sys_pk = any(?) and t0.tenant_id = ? and t0.deleted = false; --bind(Array[7]={4,5,9,3,8,1,2},123) --micros(977) +12:30:31.756 [JettyServerThreadPool-54] DEBUG io.ebean.SQL - txn[1142] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.products, t0.total_amount, t0.req_for_quote_num, t0.quote_num, t0.vendor_quote_num, t0.quote_date, t0.valid_till, t0.tnc, t0.documents, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by, t0.vendor_sys_pk from quotation t0 where t0.sys_pk = ? and t0.tenant_id = ? and t0.deleted = false; --bind(22, 123) --micros(887) +12:30:31.758 [JettyServerThreadPool-54] DEBUG io.ebean.SQL - txn[1143] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.sys_pk = ? and t0.tenant_id = ? and t0.deleted = false; --bind(9, 123) --micros(586) +12:30:31.775 [JettyServerThreadPool-30] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:30:31.775208100 +12:30:31.855 [JettyServerThreadPool-54] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) +12:30:31.858 [JettyServerThreadPool-54] DEBUG io.ebean.SQL - txn[1145] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(857) +12:30:31.859 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1144] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(2,836) +12:32:43.581 [JettyServerThreadPool-28] WARN api - User arsalan365 of tenant 123 has performed login @ 2024-02-09T12:32:43.581906100 +12:32:43.593 [JettyServerThreadPool-24] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:32:43.593691400 +12:32:46.543 [JettyServerThreadPool-28] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:32:46.543869800 +12:32:46.578 [JettyServerThreadPool-31] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:32:46.578410900 +12:32:50.501 [JettyServerThreadPool-24] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:32:50.500493200 +12:32:50.543 [JettyServerThreadPool-28] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) +12:32:50.545 [JettyServerThreadPool-28] DEBUG io.ebean.SQL - txn[1146] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(1,215) +12:32:50.551 [JettyServerThreadPool-31] DEBUG io.ebean.SQL - txn[1147] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.products, t0.total_amount, t0.req_for_quote_num, t0.quote_num, t0.vendor_quote_num, t0.quote_date, t0.valid_till, t0.tnc, t0.documents, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by, t0.vendor_sys_pk from quotation t0 where t0.quote_date >= ? and t0.quote_date <= ? and t0.valid_till >= ? and t0.valid_till <= ? and t0.total_amount >= ? and t0.total_amount <= ? and lower(t0.quote_num) like ? escape'' and t0.quote_date >= ? and t0.quote_date <= ? and t0.tenant_id = ? and t0.deleted = false; --bind(1500-01-01,3000-01-01,1500-01-01,3000-01-01,-9223372036854775808,9223372036854775807,%%%,1500-01-01,3000-01-01,123) --micros(4,932) +12:32:50.562 [JettyServerThreadPool-31] DEBUG io.ebean.SQL - txn[1148] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.sys_pk = any(?) and t0.tenant_id = ? and t0.deleted = false; --bind(Array[7]={1,9,4,2,3,8,5},123) --micros(1,557) +12:32:52.851 [JettyServerThreadPool-24] DEBUG io.ebean.SQL - txn[1149] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.products, t0.total_amount, t0.req_for_quote_num, t0.quote_num, t0.vendor_quote_num, t0.quote_date, t0.valid_till, t0.tnc, t0.documents, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by, t0.vendor_sys_pk from quotation t0 where t0.sys_pk = ? and t0.tenant_id = ? and t0.deleted = false; --bind(22, 123) --micros(1,156) +12:32:52.853 [JettyServerThreadPool-24] DEBUG io.ebean.SQL - txn[1150] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.sys_pk = ? and t0.tenant_id = ? and t0.deleted = false; --bind(9, 123) --micros(591) +12:32:52.863 [JettyServerThreadPool-57] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:32:52.863207 +12:32:52.920 [JettyServerThreadPool-24] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) +12:32:52.922 [JettyServerThreadPool-24] DEBUG io.ebean.SQL - txn[1151] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(1,168) +12:32:52.923 [JettyServerThreadPool-31] DEBUG io.ebean.SQL - txn[1152] select count(*) from purchase_order t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(696) +12:32:52.950 [JettyServerThreadPool-57] DEBUG io.ebean.SQL - txn[1153] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(3,720) +12:33:17.334 [JettyServerThreadPool-28] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 1 entries +12:33:17.337 [JettyServerThreadPool-28] WARN Auth - can we refresh the token for arsalan365, created = 2024-02-09T12:32:43.563129700 expires = 2024-02-09T13:27:43.563129700, refresh Till = 2024-02-09T13:02:43.563129700 +12:33:17.337 [JettyServerThreadPool-28] WARN Auth - Still valid, the token for arsalan365, will expire at 2024-02-09T13:27:43.563129700 +12:33:37.312 [JettyServerThreadPool-54] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:33:37.312242400 +12:33:37.415 [JettyServerThreadPool-28] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:33:37.415349500 +12:33:40.565 [JettyServerThreadPool-54] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:33:40.565810300 +12:33:40.626 [JettyServerThreadPool-28] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) +12:33:40.632 [JettyServerThreadPool-28] DEBUG io.ebean.SQL - txn[1154] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(1,606) +12:33:40.632 [JettyServerThreadPool-57] DEBUG io.ebean.SQL - txn[1155] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.products, t0.total_amount, t0.req_for_quote_num, t0.quote_num, t0.vendor_quote_num, t0.quote_date, t0.valid_till, t0.tnc, t0.documents, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by, t0.vendor_sys_pk from quotation t0 where t0.quote_date >= ? and t0.quote_date <= ? and t0.valid_till >= ? and t0.valid_till <= ? and t0.total_amount >= ? and t0.total_amount <= ? and lower(t0.quote_num) like ? escape'' and t0.quote_date >= ? and t0.quote_date <= ? and t0.tenant_id = ? and t0.deleted = false; --bind(1500-01-01,3000-01-01,1500-01-01,3000-01-01,-9223372036854775808,9223372036854775807,%%%,1500-01-01,3000-01-01,123) --micros(1,311) +12:33:40.651 [JettyServerThreadPool-57] DEBUG io.ebean.SQL - txn[1156] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.sys_pk = any(?) and t0.tenant_id = ? and t0.deleted = false; --bind(Array[7]={4,2,8,9,1,5,3},123) --micros(1,756) +12:33:43.216 [JettyServerThreadPool-28] DEBUG io.ebean.SQL - txn[1157] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.products, t0.total_amount, t0.req_for_quote_num, t0.quote_num, t0.vendor_quote_num, t0.quote_date, t0.valid_till, t0.tnc, t0.documents, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by, t0.vendor_sys_pk from quotation t0 where t0.sys_pk = ? and t0.tenant_id = ? and t0.deleted = false; --bind(22, 123) --micros(928) +12:33:43.219 [JettyServerThreadPool-28] DEBUG io.ebean.SQL - txn[1158] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.sys_pk = ? and t0.tenant_id = ? and t0.deleted = false; --bind(9, 123) --micros(748) +12:33:43.245 [JettyServerThreadPool-57] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:33:43.245108600 +12:33:43.325 [JettyServerThreadPool-28] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) +12:33:43.331 [JettyServerThreadPool-31] DEBUG io.ebean.SQL - txn[1159] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(682) +12:33:43.332 [JettyServerThreadPool-28] DEBUG io.ebean.SQL - txn[1160] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(8,242) +12:33:43.376 [JettyServerThreadPool-57] DEBUG io.ebean.SQL - txn[1161] select count(*) from purchase_order t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(2,419) +12:33:54.636 [JettyServerThreadPool-31] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:33:54.635994200 +12:33:54.674 [JettyServerThreadPool-24] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) +12:33:54.678 [JettyServerThreadPool-24] DEBUG io.ebean.SQL - txn[1163] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(2,781) +12:33:54.686 [JettyServerThreadPool-57] DEBUG io.ebean.SQL - txn[1162] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.products, t0.total_amount, t0.req_for_quote_num, t0.quote_num, t0.vendor_quote_num, t0.quote_date, t0.valid_till, t0.tnc, t0.documents, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by, t0.vendor_sys_pk from quotation t0 where t0.quote_date >= ? and t0.quote_date <= ? and t0.valid_till >= ? and t0.valid_till <= ? and t0.total_amount >= ? and t0.total_amount <= ? and lower(t0.quote_num) like ? escape'' and t0.quote_date >= ? and t0.quote_date <= ? and t0.tenant_id = ? and t0.deleted = false; --bind(1500-01-01,3000-01-01,1500-01-01,3000-01-01,-9223372036854775808,9223372036854775807,%%%,1500-01-01,3000-01-01,123) --micros(11,177) +12:33:54.705 [JettyServerThreadPool-57] DEBUG io.ebean.SQL - txn[1164] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.sys_pk = any(?) and t0.tenant_id = ? and t0.deleted = false; --bind(Array[7]={4,5,2,3,1,9,8},123) --micros(1,613) +12:33:57.273 [JettyServerThreadPool-28] DEBUG io.ebean.SQL - txn[1165] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.products, t0.total_amount, t0.req_for_quote_num, t0.quote_num, t0.vendor_quote_num, t0.quote_date, t0.valid_till, t0.tnc, t0.documents, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by, t0.vendor_sys_pk from quotation t0 where t0.sys_pk = ? and t0.tenant_id = ? and t0.deleted = false; --bind(21, 123) --micros(1,347) +12:33:57.275 [JettyServerThreadPool-28] DEBUG io.ebean.SQL - txn[1166] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.sys_pk = ? and t0.tenant_id = ? and t0.deleted = false; --bind(1, 123) --micros(700) +12:33:57.291 [JettyServerThreadPool-57] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:33:57.291279500 +12:33:57.372 [JettyServerThreadPool-28] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) +12:33:57.373 [JettyServerThreadPool-54] DEBUG io.ebean.SQL - txn[1167] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,068) +12:33:57.373 [JettyServerThreadPool-28] DEBUG io.ebean.SQL - txn[1168] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(1,164) +12:33:57.393 [JettyServerThreadPool-57] DEBUG io.ebean.SQL - txn[1169] select count(*) from purchase_order t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(827) +12:34:07.260 [JettyServerThreadPool-24] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 1 entries +12:34:07.260 [JettyServerThreadPool-24] WARN Auth - can we refresh the token for arsalan365, created = 2024-02-09T12:32:43.563129700 expires = 2024-02-09T13:27:43.563129700, refresh Till = 2024-02-09T13:02:43.563129700 +12:34:07.260 [JettyServerThreadPool-24] WARN Auth - Still valid, the token for arsalan365, will expire at 2024-02-09T13:27:43.563129700 +12:34:37.333 [JettyServerThreadPool-54] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 1 entries +12:34:37.334 [JettyServerThreadPool-54] WARN Auth - can we refresh the token for arsalan365, created = 2024-02-09T12:32:43.563129700 expires = 2024-02-09T13:27:43.563129700, refresh Till = 2024-02-09T13:02:43.563129700 +12:34:37.334 [JettyServerThreadPool-54] WARN Auth - Still valid, the token for arsalan365, will expire at 2024-02-09T13:27:43.563129700 +12:35:07.320 [JettyServerThreadPool-24] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 1 entries +12:35:07.321 [JettyServerThreadPool-24] WARN Auth - can we refresh the token for arsalan365, created = 2024-02-09T12:32:43.563129700 expires = 2024-02-09T13:27:43.563129700, refresh Till = 2024-02-09T13:02:43.563129700 +12:35:07.321 [JettyServerThreadPool-24] WARN Auth - Still valid, the token for arsalan365, will expire at 2024-02-09T13:27:43.563129700 +12:35:37.316 [JettyServerThreadPool-54] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:36:07.333 [JettyServerThreadPool-57] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:36:37.312 [JettyServerThreadPool-54] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:37:37.312 [JettyServerThreadPool-57] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:38:37.327 [JettyServerThreadPool-62] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:39:37.312 [JettyServerThreadPool-57] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:40:37.312 [JettyServerThreadPool-24] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:41:37.312 [JettyServerThreadPool-31] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:42:37.312 [JettyServerThreadPool-24] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:43:37.312 [JettyServerThreadPool-62] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:44:15.513 [JettyServerThreadPool-57] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:44:25.539 [JettyServerThreadPool-62] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:44:25.539157200 +12:44:25.574 [JettyServerThreadPool-57] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) +12:44:25.574 [JettyServerThreadPool-57] DEBUG io.ebean.SQL - txn[1171] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(2,619) +12:44:25.574 [JettyServerThreadPool-24] DEBUG io.ebean.SQL - txn[1170] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.products, t0.total_amount, t0.req_for_quote_num, t0.quote_num, t0.vendor_quote_num, t0.quote_date, t0.valid_till, t0.tnc, t0.documents, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by, t0.vendor_sys_pk from quotation t0 where t0.quote_date >= ? and t0.quote_date <= ? and t0.valid_till >= ? and t0.valid_till <= ? and t0.total_amount >= ? and t0.total_amount <= ? and lower(t0.quote_num) like ? escape'' and t0.quote_date >= ? and t0.quote_date <= ? and t0.tenant_id = ? and t0.deleted = false; --bind(1500-01-01,3000-01-01,1500-01-01,3000-01-01,-9223372036854775808,9223372036854775807,%%%,1500-01-01,3000-01-01,123) --micros(3,063) +12:44:25.587 [JettyServerThreadPool-24] DEBUG io.ebean.SQL - txn[1172] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.sys_pk = any(?) and t0.tenant_id = ? and t0.deleted = false; --bind(Array[7]={5,1,2,8,4,9,3},123) --micros(1,396) +12:44:28.728 [JettyServerThreadPool-31] DEBUG io.ebean.SQL - txn[1173] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.products, t0.total_amount, t0.req_for_quote_num, t0.quote_num, t0.vendor_quote_num, t0.quote_date, t0.valid_till, t0.tnc, t0.documents, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by, t0.vendor_sys_pk from quotation t0 where t0.sys_pk = ? and t0.tenant_id = ? and t0.deleted = false; --bind(18, 123) --micros(937) +12:44:28.730 [JettyServerThreadPool-31] DEBUG io.ebean.SQL - txn[1174] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.sys_pk = ? and t0.tenant_id = ? and t0.deleted = false; --bind(2, 123) --micros(529) +12:44:28.752 [JettyServerThreadPool-62] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:44:28.752863200 +12:44:28.820 [JettyServerThreadPool-24] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) +12:44:28.824 [JettyServerThreadPool-24] DEBUG io.ebean.SQL - txn[1175] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(2,901) +12:44:28.826 [JettyServerThreadPool-31] DEBUG io.ebean.SQL - txn[1176] select count(*) from purchase_order t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(888) +12:44:28.850 [JettyServerThreadPool-62] DEBUG io.ebean.SQL - txn[1177] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,403) +12:44:37.261 [JettyServerThreadPool-54] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:45:07.329 [JettyServerThreadPool-62] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:45:37.328 [JettyServerThreadPool-54] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:46:37.331 [JettyServerThreadPool-57] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:47:37.327 [JettyServerThreadPool-54] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:48:37.328 [JettyServerThreadPool-62] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:49:37.330 [JettyServerThreadPool-30] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:50:17.642 [JettyServerThreadPool-62] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:50:37.334 [JettyServerThreadPool-54] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:51:07.327 [JettyServerThreadPool-62] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:51:34.963 [JettyServerThreadPool-57] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) +12:51:34.982 [JettyServerThreadPool-57] DEBUG io.ebean.SQL - txn[1178] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(14,829) +12:51:34.985 [JettyServerThreadPool-62] DEBUG io.ebean.SQL - txn[1179] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(2,537) +12:51:34.997 [JettyServerThreadPool-57] DEBUG io.ebean.SQL - txn[1180] select count(*) from purchase_order t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,574) +12:51:35.056 [JettyServerThreadPool-62] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) +12:51:35.059 [JettyServerThreadPool-31] DEBUG io.ebean.SQL - txn[1182] select count(*) from purchase_order t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,091) +12:51:35.059 [JettyServerThreadPool-65] DEBUG io.ebean.SQL - txn[1181] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(2,273) +12:51:35.152 [JettyServerThreadPool-62] DEBUG io.ebean.SQL - txn[1183] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(2,244) +12:51:37.275 [JettyServerThreadPool-30] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:51:39.548 [JettyServerThreadPool-54] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:51:39.548875200 +12:51:39.619 [JettyServerThreadPool-30] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) +12:51:39.620 [JettyServerThreadPool-31] DEBUG io.ebean.SQL - txn[1184] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,157) +12:51:39.621 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1185] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(1,371) +12:51:39.623 [JettyServerThreadPool-54] DEBUG io.ebean.SQL - txn[1186] select count(*) from quotation t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(2,225) +12:51:48.359 [JettyServerThreadPool-65] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:51:48.359252300 +12:51:48.382 [JettyServerThreadPool-31] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:51:48.382404300 +12:51:50.689 [JettyServerThreadPool-65] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:51:50.689360300 +12:51:50.785 [JettyServerThreadPool-65] DEBUG io.ebean.SQL - txn[1187] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,211) +12:51:50.787 [JettyServerThreadPool-62] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) +12:51:50.789 [JettyServerThreadPool-62] DEBUG io.ebean.SQL - txn[1188] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(1,822) +12:51:50.813 [JettyServerThreadPool-31] DEBUG io.ebean.SQL - txn[1189] select count(*) from quotation t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(804) +12:51:50.816 [JettyServerThreadPool-65] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:51:50.816675 +12:51:55.140 [JettyServerThreadPool-62] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:51:55.140495400 +12:51:55.251 [JettyServerThreadPool-65] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) +12:51:55.252 [JettyServerThreadPool-31] DEBUG io.ebean.SQL - txn[1190] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,139) +12:51:55.253 [JettyServerThreadPool-65] DEBUG io.ebean.SQL - txn[1191] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(1,105) +12:51:55.283 [JettyServerThreadPool-62] DEBUG io.ebean.SQL - txn[1192] select count(*) from quotation t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(4,847) +12:51:55.289 [JettyServerThreadPool-54] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:51:55.289589200 +12:51:58.362 [JettyServerThreadPool-65] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:51:58.362835100 +12:51:58.375 [JettyServerThreadPool-62] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) +12:51:58.377 [JettyServerThreadPool-62] DEBUG io.ebean.SQL - txn[1193] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(1,077) +12:52:01.033 [JettyServerThreadPool-54] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:52:01.033260700 +12:52:03.710 [JettyServerThreadPool-62] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:52:03.710254400 +12:52:03.775 [JettyServerThreadPool-54] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) +12:52:03.783 [JettyServerThreadPool-54] DEBUG io.ebean.SQL - txn[1194] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(6,517) +12:52:03.783 [JettyServerThreadPool-65] DEBUG io.ebean.SQL - txn[1195] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.products, t0.total_amount, t0.req_for_quote_num, t0.quote_num, t0.vendor_quote_num, t0.quote_date, t0.valid_till, t0.tnc, t0.documents, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by, t0.vendor_sys_pk from quotation t0 where t0.quote_date >= ? and t0.quote_date <= ? and t0.valid_till >= ? and t0.valid_till <= ? and t0.total_amount >= ? and t0.total_amount <= ? and lower(t0.quote_num) like ? escape'' and t0.quote_date >= ? and t0.quote_date <= ? and t0.tenant_id = ? and t0.deleted = false; --bind(1500-01-01,3000-01-01,1500-01-01,3000-01-01,-9223372036854775808,9223372036854775807,%%%,1500-01-01,3000-01-01,123) --micros(7,128) +12:52:03.793 [JettyServerThreadPool-65] DEBUG io.ebean.SQL - txn[1196] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.sys_pk = any(?) and t0.tenant_id = ? and t0.deleted = false; --bind(Array[7]={2,5,9,8,1,4,3},123) --micros(1,543) +12:52:06.716 [JettyServerThreadPool-62] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:52:06.716335900 +12:52:06.796 [JettyServerThreadPool-65] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) +12:52:06.797 [JettyServerThreadPool-62] DEBUG io.ebean.SQL - txn[1197] select count(*) from quotation t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(916) +12:52:06.797 [JettyServerThreadPool-31] DEBUG io.ebean.SQL - txn[1198] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(913) +12:52:06.798 [JettyServerThreadPool-65] DEBUG io.ebean.SQL - txn[1199] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(943) +12:52:06.838 [JettyServerThreadPool-54] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:52:06.838919100 +12:52:18.319 [JettyServerThreadPool-30] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:52:48.323 [JettyServerThreadPool-62] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:53:18.330 [JettyServerThreadPool-30] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:53:38.981 [JettyServerThreadPool-65] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:53:38.981891400 +12:53:39.075 [JettyServerThreadPool-65] DEBUG io.ebean.SQL - txn[1201] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(832) +12:53:39.075 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1200] select count(*) from quotation t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,025) +12:53:39.085 [JettyServerThreadPool-62] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) +12:53:39.088 [JettyServerThreadPool-62] DEBUG io.ebean.SQL - txn[1202] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(840) +12:53:39.101 [JettyServerThreadPool-53] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:53:39.101131900 +12:53:44.335 [JettyServerThreadPool-65] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:53:44.335860500 +12:53:44.417 [JettyServerThreadPool-54] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) +12:53:44.418 [JettyServerThreadPool-65] DEBUG io.ebean.SQL - txn[1203] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(989) +12:53:44.418 [JettyServerThreadPool-53] DEBUG io.ebean.SQL - txn[1205] select count(*) from quotation t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(666) +12:53:44.419 [JettyServerThreadPool-54] DEBUG io.ebean.SQL - txn[1204] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(1,230) +12:53:44.460 [JettyServerThreadPool-30] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:53:44.460810300 +12:53:48.312 [JettyServerThreadPool-67] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:54:06.058 [JettyServerThreadPool-30] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:54:06.058166600 +12:54:06.108 [JettyServerThreadPool-65] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:54:06.108208900 +12:54:08.892 [JettyServerThreadPool-30] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:54:08.892444400 +12:54:08.995 [JettyServerThreadPool-67] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) +12:54:08.997 [JettyServerThreadPool-67] DEBUG io.ebean.SQL - txn[1207] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(856) +12:54:08.997 [JettyServerThreadPool-65] DEBUG io.ebean.SQL - txn[1206] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,439) +12:54:09.007 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1208] select count(*) from quotation t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,219) +12:54:35.937 [JettyServerThreadPool-54] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:55:05.946 [JettyServerThreadPool-67] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:55:36.319 [JettyServerThreadPool-54] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:56:06.331 [JettyServerThreadPool-53] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:56:37.323 [JettyServerThreadPool-54] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:57:37.318 [JettyServerThreadPool-53] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:58:37.335 [JettyServerThreadPool-31] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:59:05.951 [JettyServerThreadPool-53] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:59:08.480 [JettyServerThreadPool-53] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) +12:59:08.481 [JettyServerThreadPool-53] DEBUG io.ebean.SQL - txn[1209] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(931) +12:59:08.484 [JettyServerThreadPool-67] DEBUG io.ebean.SQL - txn[1210] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.products, t0.total_amount, t0.req_for_quote_num, t0.quote_num, t0.vendor_quote_num, t0.quote_date, t0.valid_till, t0.tnc, t0.documents, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by, t0.vendor_sys_pk from quotation t0 where t0.quote_date >= ? and t0.quote_date <= ? and t0.valid_till >= ? and t0.valid_till <= ? and t0.total_amount >= ? and t0.total_amount <= ? and lower(t0.quote_num) like ? escape'' and t0.quote_date >= ? and t0.quote_date <= ? and t0.tenant_id = ? and t0.deleted = false; --bind(1500-01-01,3000-01-01,1500-01-01,3000-01-01,-9223372036854775808,9223372036854775807,%%%,1500-01-01,3000-01-01,123) --micros(2,754) +12:59:08.490 [JettyServerThreadPool-67] DEBUG io.ebean.SQL - txn[1211] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.sys_pk = any(?) and t0.tenant_id = ? and t0.deleted = false; --bind(Array[7]={1,2,3,4,8,9,5},123) --micros(1,201) +12:59:08.577 [JettyServerThreadPool-54] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:59:08.576519100 +12:59:12.029 [JettyServerThreadPool-53] DEBUG io.ebean.SQL - txn[1212] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.products, t0.total_amount, t0.req_for_quote_num, t0.quote_num, t0.vendor_quote_num, t0.quote_date, t0.valid_till, t0.tnc, t0.documents, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by, t0.vendor_sys_pk from quotation t0 where t0.sys_pk = ? and t0.tenant_id = ? and t0.deleted = false; --bind(22, 123) --micros(919) +12:59:12.031 [JettyServerThreadPool-53] DEBUG io.ebean.SQL - txn[1213] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.sys_pk = ? and t0.tenant_id = ? and t0.deleted = false; --bind(9, 123) --micros(566) +12:59:16.042 [JettyServerThreadPool-54] DEBUG io.ebean.SQL - txn[1214] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.products, t0.total_amount, t0.req_for_quote_num, t0.quote_num, t0.vendor_quote_num, t0.quote_date, t0.valid_till, t0.tnc, t0.documents, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by, t0.vendor_sys_pk from quotation t0 where t0.sys_pk = ? and t0.tenant_id = ? and t0.deleted = false; --bind(22, 123) --micros(851) +12:59:16.044 [JettyServerThreadPool-54] DEBUG io.ebean.SQL - txn[1215] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.sys_pk = ? and t0.tenant_id = ? and t0.deleted = false; --bind(9, 123) --micros(580) +12:59:16.058 [JettyServerThreadPool-53] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:59:16.058231500 +12:59:16.130 [JettyServerThreadPool-54] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) +12:59:16.132 [JettyServerThreadPool-65] DEBUG io.ebean.SQL - txn[1216] select count(*) from purchase_order t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(975) +12:59:16.133 [JettyServerThreadPool-54] DEBUG io.ebean.SQL - txn[1217] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(898) +12:59:16.156 [JettyServerThreadPool-53] DEBUG io.ebean.SQL - txn[1218] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(6,486) +12:59:36.411 [JettyServerThreadPool-30] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +12:59:48.831 [JettyServerThreadPool-68] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:59:48.831546900 +12:59:48.866 [JettyServerThreadPool-30] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) +12:59:48.872 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1220] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(3,325) +12:59:48.873 [JettyServerThreadPool-53] DEBUG io.ebean.SQL - txn[1219] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.products, t0.total_amount, t0.req_for_quote_num, t0.quote_num, t0.vendor_quote_num, t0.quote_date, t0.valid_till, t0.tnc, t0.documents, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by, t0.vendor_sys_pk from quotation t0 where t0.quote_date >= ? and t0.quote_date <= ? and t0.valid_till >= ? and t0.valid_till <= ? and t0.total_amount >= ? and t0.total_amount <= ? and lower(t0.quote_num) like ? escape'' and t0.quote_date >= ? and t0.quote_date <= ? and t0.tenant_id = ? and t0.deleted = false; --bind(1500-01-01,3000-01-01,1500-01-01,3000-01-01,-9223372036854775808,9223372036854775807,%%%,1500-01-01,3000-01-01,123) --micros(6,362) +12:59:48.885 [JettyServerThreadPool-53] DEBUG io.ebean.SQL - txn[1221] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.sys_pk = any(?) and t0.tenant_id = ? and t0.deleted = false; --bind(Array[7]={5,9,8,3,4,1,2},123) --micros(1,445) +12:59:51.461 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1222] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.products, t0.total_amount, t0.req_for_quote_num, t0.quote_num, t0.vendor_quote_num, t0.quote_date, t0.valid_till, t0.tnc, t0.documents, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by, t0.vendor_sys_pk from quotation t0 where t0.sys_pk = ? and t0.tenant_id = ? and t0.deleted = false; --bind(22, 123) --micros(904) +12:59:51.463 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1223] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.sys_pk = ? and t0.tenant_id = ? and t0.deleted = false; --bind(9, 123) --micros(556) +12:59:51.479 [JettyServerThreadPool-53] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:59:51.479724700 +12:59:51.576 [JettyServerThreadPool-53] DEBUG io.ebean.SQL - txn[1224] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,770) +12:59:51.576 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1225] select count(*) from purchase_order t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(840) +12:59:51.576 [JettyServerThreadPool-30] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) +12:59:51.587 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1226] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(3,443) +13:00:05.946 [JettyServerThreadPool-53] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +13:00:35.942 [JettyServerThreadPool-30] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +13:01:04.403 [JettyServerThreadPool-65] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T13:01:04.403846100 +13:01:04.484 [JettyServerThreadPool-68] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T13:01:04.484515900 +13:01:10.218 [JettyServerThreadPool-65] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T13:01:10.218642100 +13:01:10.326 [JettyServerThreadPool-68] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) +13:01:10.332 [JettyServerThreadPool-68] DEBUG io.ebean.SQL - txn[1227] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(4,610) +13:01:10.333 [JettyServerThreadPool-69] DEBUG io.ebean.SQL - txn[1228] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.products, t0.total_amount, t0.req_for_quote_num, t0.quote_num, t0.vendor_quote_num, t0.quote_date, t0.valid_till, t0.tnc, t0.documents, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by, t0.vendor_sys_pk from quotation t0 where t0.quote_date >= ? and t0.quote_date <= ? and t0.valid_till >= ? and t0.valid_till <= ? and t0.total_amount >= ? and t0.total_amount <= ? and lower(t0.quote_num) like ? escape'' and t0.quote_date >= ? and t0.quote_date <= ? and t0.tenant_id = ? and t0.deleted = false; --bind(1500-01-01,3000-01-01,1500-01-01,3000-01-01,-9223372036854775808,9223372036854775807,%%%,1500-01-01,3000-01-01,123) --micros(1,522) +13:01:10.337 [JettyServerThreadPool-69] DEBUG io.ebean.SQL - txn[1229] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.sys_pk = any(?) and t0.tenant_id = ? and t0.deleted = false; --bind(Array[7]={8,4,5,3,2,9,1},123) --micros(767) +13:01:15.595 [JettyServerThreadPool-65] DEBUG io.ebean.SQL - txn[1230] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.products, t0.total_amount, t0.req_for_quote_num, t0.quote_num, t0.vendor_quote_num, t0.quote_date, t0.valid_till, t0.tnc, t0.documents, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by, t0.vendor_sys_pk from quotation t0 where t0.sys_pk = ? and t0.tenant_id = ? and t0.deleted = false; --bind(22, 123) --micros(921) +13:01:15.597 [JettyServerThreadPool-65] DEBUG io.ebean.SQL - txn[1231] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.sys_pk = ? and t0.tenant_id = ? and t0.deleted = false; --bind(9, 123) --micros(564) +13:01:15.613 [JettyServerThreadPool-53] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T13:01:15.613254400 +13:01:15.711 [JettyServerThreadPool-65] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) +13:01:15.711 [JettyServerThreadPool-69] DEBUG io.ebean.SQL - txn[1232] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(3,868) +13:01:15.712 [JettyServerThreadPool-53] DEBUG io.ebean.SQL - txn[1233] select count(*) from purchase_order t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(2,057) +13:01:15.769 [JettyServerThreadPool-65] DEBUG io.ebean.SQL - txn[1234] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(56,759) +13:01:35.319 [JettyServerThreadPool-69] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +13:02:05.331 [JettyServerThreadPool-53] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +13:02:08.895 [JettyServerThreadPool-30] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T13:02:08.895059500 +13:02:09.015 [JettyServerThreadPool-53] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T13:02:09.015630300 +13:02:13.299 [JettyServerThreadPool-69] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T13:02:13.299783900 +13:02:13.396 [JettyServerThreadPool-30] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) +13:02:13.398 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1236] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(1,117) +13:02:13.398 [JettyServerThreadPool-53] DEBUG io.ebean.SQL - txn[1235] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.products, t0.total_amount, t0.req_for_quote_num, t0.quote_num, t0.vendor_quote_num, t0.quote_date, t0.valid_till, t0.tnc, t0.documents, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by, t0.vendor_sys_pk from quotation t0 where t0.quote_date >= ? and t0.quote_date <= ? and t0.valid_till >= ? and t0.valid_till <= ? and t0.total_amount >= ? and t0.total_amount <= ? and lower(t0.quote_num) like ? escape'' and t0.quote_date >= ? and t0.quote_date <= ? and t0.tenant_id = ? and t0.deleted = false; --bind(1500-01-01,3000-01-01,1500-01-01,3000-01-01,-9223372036854775808,9223372036854775807,%%%,1500-01-01,3000-01-01,123) --micros(1,423) +13:02:13.404 [JettyServerThreadPool-53] DEBUG io.ebean.SQL - txn[1237] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.sys_pk = any(?) and t0.tenant_id = ? and t0.deleted = false; --bind(Array[7]={8,3,4,1,5,9,2},123) --micros(858) +13:02:15.539 [JettyServerThreadPool-69] DEBUG io.ebean.SQL - txn[1238] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.products, t0.total_amount, t0.req_for_quote_num, t0.quote_num, t0.vendor_quote_num, t0.quote_date, t0.valid_till, t0.tnc, t0.documents, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by, t0.vendor_sys_pk from quotation t0 where t0.sys_pk = ? and t0.tenant_id = ? and t0.deleted = false; --bind(22, 123) --micros(906) +13:02:15.541 [JettyServerThreadPool-69] DEBUG io.ebean.SQL - txn[1239] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.sys_pk = ? and t0.tenant_id = ? and t0.deleted = false; --bind(9, 123) --micros(530) +13:02:15.562 [JettyServerThreadPool-68] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T13:02:15.562838100 +13:02:15.628 [JettyServerThreadPool-53] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) +13:02:15.632 [JettyServerThreadPool-53] DEBUG io.ebean.SQL - txn[1240] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(2,583) +13:02:15.635 [JettyServerThreadPool-68] DEBUG io.ebean.SQL - txn[1241] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,091) +13:02:15.668 [JettyServerThreadPool-69] DEBUG io.ebean.SQL - txn[1242] select count(*) from purchase_order t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(43,468) +13:02:39.333 [JettyServerThreadPool-68] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +13:02:58.393 [JettyServerThreadPool-53] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T13:02:58.393018800 +13:02:58.393 [JettyServerThreadPool-30] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T13:02:58.393018800 +13:03:01.375 [JettyServerThreadPool-53] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T13:03:01.375791500 +13:03:01.431 [JettyServerThreadPool-30] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) +13:03:01.446 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1244] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(17,480) +13:03:01.458 [JettyServerThreadPool-74] DEBUG io.ebean.SQL - txn[1243] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.products, t0.total_amount, t0.req_for_quote_num, t0.quote_num, t0.vendor_quote_num, t0.quote_date, t0.valid_till, t0.tnc, t0.documents, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by, t0.vendor_sys_pk from quotation t0 where t0.quote_date >= ? and t0.quote_date <= ? and t0.valid_till >= ? and t0.valid_till <= ? and t0.total_amount >= ? and t0.total_amount <= ? and lower(t0.quote_num) like ? escape'' and t0.quote_date >= ? and t0.quote_date <= ? and t0.tenant_id = ? and t0.deleted = false; --bind(1500-01-01,3000-01-01,1500-01-01,3000-01-01,-9223372036854775808,9223372036854775807,%%%,1500-01-01,3000-01-01,123) --micros(25,096) +13:03:01.464 [JettyServerThreadPool-74] DEBUG io.ebean.SQL - txn[1245] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.sys_pk = any(?) and t0.tenant_id = ? and t0.deleted = false; --bind(Array[7]={1,8,2,3,9,5,4},123) --micros(1,324) +13:03:03.598 [JettyServerThreadPool-53] DEBUG io.ebean.SQL - txn[1246] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.products, t0.total_amount, t0.req_for_quote_num, t0.quote_num, t0.vendor_quote_num, t0.quote_date, t0.valid_till, t0.tnc, t0.documents, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by, t0.vendor_sys_pk from quotation t0 where t0.sys_pk = ? and t0.tenant_id = ? and t0.deleted = false; --bind(22, 123) --micros(913) +13:03:03.600 [JettyServerThreadPool-53] DEBUG io.ebean.SQL - txn[1247] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.sys_pk = ? and t0.tenant_id = ? and t0.deleted = false; --bind(9, 123) --micros(616) +13:03:03.624 [JettyServerThreadPool-74] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T13:03:03.624822800 +13:03:03.696 [JettyServerThreadPool-69] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) +13:03:03.698 [JettyServerThreadPool-69] DEBUG io.ebean.SQL - txn[1248] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(802) +13:03:03.699 [JettyServerThreadPool-74] DEBUG io.ebean.SQL - txn[1249] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,192) +13:03:03.761 [JettyServerThreadPool-53] DEBUG io.ebean.SQL - txn[1250] select count(*) from purchase_order t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,963) +13:03:28.317 [JettyServerThreadPool-74] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries +13:03:31.641 [JettyServerThreadPool-53] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T13:03:31.641001900 +13:03:31.793 [JettyServerThreadPool-69] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T13:03:31.793105 +13:04:01.609 [JettyServerThreadPool-53] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries diff --git a/src/main/kotlin/com/restapi/Main.kt b/src/main/kotlin/com/restapi/Main.kt index b2d963d..c297d01 100644 --- a/src/main/kotlin/com/restapi/Main.kt +++ b/src/main/kotlin/com/restapi/Main.kt @@ -143,7 +143,7 @@ fun main(args: Array) { put("/{id}", ProductCtrl::update, Roles(Role.Explicit("ROLE_PRODUCT_CREATE"))) delete("/{id}", ProductCtrl::delete, Roles(Role.Explicit("ROLE_PRODUCT_CREATE"))) patch("/{id}", ProductCtrl::patch, Roles(Role.Explicit("ROLE_PRODUCT_CREATE"))) - get("", ProductCtrl::getAll, Roles(Role.Explicit("ROLE_PRODUCT_VIEW"))) + post("/getAll", ProductCtrl::getAll, Roles(Role.Explicit("ROLE_PRODUCT_VIEW"))) get("/{id}", ProductCtrl::get, Roles(Role.Explicit("ROLE_PRODUCT_VIEW"))) } path("/doc") { diff --git a/src/main/kotlin/com/restapi/controllers/Entities.kt b/src/main/kotlin/com/restapi/controllers/Entities.kt index 9b95866..0e6ddf7 100644 --- a/src/main/kotlin/com/restapi/controllers/Entities.kt +++ b/src/main/kotlin/com/restapi/controllers/Entities.kt @@ -434,8 +434,10 @@ object PurchaseOrderCtrl { fun reject(ctx: Context) { val id = ctx.pathParam("id") val po = database.find(PurchaseOrder::class.java, id) ?: throw NotFoundResponse("po not found for $id") - po.approvalStatus = ApprovalStatus.REJECTED - po.save() + po.apply { + approvalStatus = ApprovalStatus.REJECTED + save() + } ctx.json(po).status(HttpStatus.CREATED) } @@ -448,6 +450,19 @@ object PurchaseOrderCtrl { ?: throw NotFoundResponse("reference quotation not found for po $id") ctx.json(quote) } + fun update(ctx: Context) { + val id = ctx.pathParam("id") + val po = database.find(PurchaseOrder::class.java, id) ?: throw NotFoundResponse("po not found for $id") + val updatedPo = ctx.bodyAsClass() + po.patchValues(updatedPo) + po.update() + } + fun delete(ctx: Context) { + val id = ctx.pathParam("id") + val po = database.find(PurchaseOrder::class.java, id) ?: throw NotFoundResponse("no po found with id $id") + database.delete(po) + ctx.status(HttpStatus.OK) + } } data class ProductSearch( @@ -481,15 +496,14 @@ object ProductCtrl { database.save(product) ctx.json(product).status(HttpStatus.CREATED) } - fun delete(ctx: Context) { val id = ctx.pathParam("id") - database.delete(Product::class.java, id) + val prod = database.find(Product::class.java, id) ?: throw NotFoundResponse("no product found with id $id") + database.delete(prod) + ctx.status(HttpStatus.OK) } - fun patch(ctx: Context) { val id = ctx.pathParam("id") - val patchValues = ctx.bodyAsClass>() database.beginTransaction().use { patchValues.entries.forEach { en -> @@ -511,7 +525,6 @@ object ProductCtrl { val updatedProduct = ctx.bodyAsClass() product.patchValues(updatedProduct) product.update() - } @@ -586,28 +599,18 @@ object QuotationCtrl { } ctx.result("Quotes batch created").status(HttpStatus.CREATED) } - fun delete(ctx: Context) { val id = ctx.pathParam("id") - val quote = database.find(Quotation::class.java, id) ?: throw NotFoundResponse("quote not found for id $id") - quote.delete() + val quote = database.find(Quotation::class.java, id) ?: throw NotFoundResponse("no quote found with id $id") + database.delete(quote) ctx.status(HttpStatus.OK) - ctx.result("quote with $id deleted") } - - fun generatePO(ctx: Context) { - //user should be redirected to a po form submission with prefilled values - //create a PO object with values from the quote and then send it as body to vendor/po/create ?? - } - - fun reqForQuote(ctx: Context) { - val reqForQuoteNum = ctx.pathParam(("rfqNum")) - val rfq = database.find(RequestForQuote::class.java) - .where() - .eq("reqForQuoteNum", reqForQuoteNum) - ?: throw NotFoundResponse("request for quote not found for this quotation") - ctx.status(HttpStatus.OK) - ctx.json(rfq) + fun update(ctx: Context) { + val id = ctx.pathParam("id") + val quote = database.find(Quotation::class.java, id) ?: throw NotFoundResponse("quote not found for $id") + val updatedQuote = ctx.bodyAsClass() + quote.patchValues(updatedQuote) + quote.update() } } @@ -629,15 +632,12 @@ object DocumentCtrl { fun print(ctx: Context) { //would be handled in the frontend ?? } - fun delete(ctx: Context) { val id = ctx.pathParam("id") - val doc = database.find(Document::class.java, id) ?: throw NotFoundResponse("no doc found with id $id") - //doc.delete() + val doc = database.find(Document::class.java, id) ?: throw NotFoundResponse("no document found with id $id") + database.delete(doc) ctx.status(HttpStatus.OK) - ctx.result("document deleted with id $id") } - fun getWithRefId(ctx: Context) { //fetches a particular doc (po, quote) with ref id val refId = ctx.pathParam("refId") @@ -656,7 +656,7 @@ object VendorCtrl { val logger = LoggerFactory.getLogger("Vendor") fun get(ctx: Context) { val id = ctx.pathParam("id") - val vendor = database.find(Vendor::class.java, id) ?: throw NotFoundResponse("no vendor found with id $id") + val vendor =database.find(Vendor::class.java, id) ?: throw NotFoundResponse("no vendor found with id $id") ctx.status(HttpStatus.OK) ctx.json(vendor) } @@ -684,9 +684,12 @@ object VendorCtrl { } fun update(ctx: Context) { - + val id = ctx.pathParam("id") + val vendor = database.find(Vendor::class.java, id) ?: throw NotFoundResponse("vendor not found for $id") + val updatedVendor = ctx.bodyAsClass() + vendor.patchValues(updatedVendor) + vendor.update() } - fun delete(ctx: Context) { val id = ctx.pathParam("id") val vendor = database.find(Vendor::class.java, id) ?: throw NotFoundResponse("no vendor found with id $id") diff --git a/src/main/kotlin/com/restapi/domain/models.kt b/src/main/kotlin/com/restapi/domain/models.kt index 7ccea58..cfc6049 100644 --- a/src/main/kotlin/com/restapi/domain/models.kt +++ b/src/main/kotlin/com/restapi/domain/models.kt @@ -246,6 +246,9 @@ data class ContactPerson(val name: String = "", val email: String = "", val mobi @Entity open class Vendor : BaseTenantModel() { + fun patchValues(updatedVendor : Vendor) { + + } var name: String = "" var msme: String = "" var gstNumber: String = "" @@ -258,6 +261,9 @@ open class Vendor : BaseTenantModel() { @Entity open class PurchaseOrder : BaseTenantModel() { + fun patchValues(updatedPo : PurchaseOrder){ + + } @DbJsonB var products: MutableList = mutableListOf() @@ -300,6 +306,10 @@ open class Product : BaseTenantModel() { @Entity open class Quotation : BaseTenantModel() { + fun patchValues(updatedQuote : Quotation) { + + } + @DbJsonB var products: MutableList = mutableListOf() From fc94c7aacc44daff5d8f5d8bc09ad6ad7340fcb7 Mon Sep 17 00:00:00 2001 From: arsalan Date: Fri, 9 Feb 2024 08:24:59 +0000 Subject: [PATCH 05/12] delete api.log --- api.log | 982 -------------------------------------------------------- 1 file changed, 982 deletions(-) delete mode 100644 api.log diff --git a/api.log b/api.log deleted file mode 100644 index 1905d5e..0000000 --- a/api.log +++ /dev/null @@ -1,982 +0,0 @@ -17:49:29.421 [main] INFO io.ebean - ebean version: 13.23.2 -17:49:29.469 [main] INFO io.avaje.config - Loaded properties from [] -17:49:29.513 [main] INFO io.ebean.core - offline platform [POSTGRES] -17:49:29.918 [main] INFO io.ebean.core - Started database[db] platform[POSTGRES] in 428ms -10:02:40.690 [main] INFO io.avaje.config - Loaded properties from [] -10:02:40.709 [main] INFO io.ebean - ebean version: 13.23.2 -10:02:41.733 [main] INFO io.ebean.datasource - DataSource [db] autoCommit[false] transIsolation[READ_COMMITTED] min[2] max[200] in[950ms] -10:02:43.104 [main] INFO io.ebean.DDL - Executing run migration version: 1.5 - 1 statements, autoCommit:false -10:02:43.122 [main] INFO io.ebean.migration - DB migrations completed in 62ms - executed:1 totalMigrations:6 mode:legacy -10:02:43.123 [main] INFO io.ebean.core - Started database[db] platform[POSTGRES] in 2,398ms -10:02:44.418 [main] INFO io.javalin.Javalin - Starting Javalin ... -10:02:44.549 [main] INFO org.eclipse.jetty.server.Server - jetty-11.0.17; built: 2023-10-09T18:39:14.424Z; git: 48e7716b9462bebea6732b885dbebb4300787a5c; jvm 17.0.9+9 -10:02:44.608 [main] INFO o.e.j.s.s.DefaultSessionIdManager - Session workerName=node0 -10:02:44.620 [main] INFO o.e.j.server.handler.ContextHandler - Started i.j.j.@49b89425{/,null,AVAILABLE} -10:02:44.631 [main] INFO o.e.jetty.server.AbstractConnector - Started ServerConnector@723742b2{HTTP/1.1, (http/1.1)}{0.0.0.0:9001} -10:02:44.633 [main] INFO org.eclipse.jetty.server.Server - Started Server@935493d{STARTING}[11.0.17,sto=0] @5629ms -10:02:44.634 [main] INFO io.javalin.Javalin - - __ ___ ______ - / /___ __ ______ _/ (_)___ / ____/ - __ / / __ `/ | / / __ `/ / / __ \ /___ \ -/ /_/ / /_/ /| |/ / /_/ / / / / / / ____/ / -\____/\__,_/ |___/\__,_/_/_/_/ /_/ /_____/ - - https://javalin.io/documentation - -10:02:44.637 [main] INFO io.javalin.Javalin - Listening on http://localhost:9001/ -10:02:44.654 [main] INFO io.javalin.Javalin - You are running Javalin 5.6.3 (released October 15, 2023. Your Javalin version is 116 days old. Consider checking for a newer version.). -10:02:44.654 [main] INFO io.javalin.Javalin - Javalin started in 239ms \o/ -10:03:37.603 [JettyServerThreadPool-29] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -10:04:37.332 [JettyServerThreadPool-24] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -10:05:37.335 [JettyServerThreadPool-25] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -10:06:37.336 [JettyServerThreadPool-28] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -10:07:37.320 [JettyServerThreadPool-30] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -10:08:37.326 [JettyServerThreadPool-28] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -10:09:37.326 [JettyServerThreadPool-30] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -10:10:37.323 [JettyServerThreadPool-28] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -10:11:37.332 [JettyServerThreadPool-31] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -10:12:37.332 [JettyServerThreadPool-28] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -10:13:37.327 [JettyServerThreadPool-27] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -10:14:37.328 [JettyServerThreadPool-28] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -10:15:37.326 [JettyServerThreadPool-27] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -10:16:37.324 [JettyServerThreadPool-29] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -10:17:37.321 [JettyServerThreadPool-25] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -10:18:37.332 [JettyServerThreadPool-27] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -10:19:37.335 [JettyServerThreadPool-31] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -10:20:37.320 [JettyServerThreadPool-29] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -10:21:37.582 [JettyServerThreadPool-25] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -10:22:37.334 [JettyServerThreadPool-30] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -10:23:37.326 [JettyServerThreadPool-24] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -10:24:37.326 [JettyServerThreadPool-31] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -10:25:37.326 [JettyServerThreadPool-30] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -10:26:37.325 [JettyServerThreadPool-24] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -10:27:37.333 [JettyServerThreadPool-30] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -10:28:37.337 [JettyServerThreadPool-29] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -10:29:37.329 [JettyServerThreadPool-30] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -10:30:37.336 [JettyServerThreadPool-28] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -10:31:37.327 [JettyServerThreadPool-30] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -10:32:37.353 [JettyServerThreadPool-27] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -10:33:37.329 [JettyServerThreadPool-30] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -10:34:37.327 [JettyServerThreadPool-28] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -10:35:37.335 [JettyServerThreadPool-24] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -10:36:37.331 [JettyServerThreadPool-30] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -10:37:40.293 [JettyServerThreadPool-29] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -10:38:38.007 [JettyServerThreadPool-28] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -10:39:37.331 [JettyServerThreadPool-24] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -10:40:37.341 [JettyServerThreadPool-28] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -10:41:37.330 [JettyServerThreadPool-24] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -10:42:37.400 [JettyServerThreadPool-29] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -10:43:41.535 [JettyServerThreadPool-28] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -10:44:37.333 [JettyServerThreadPool-31] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -10:45:37.341 [JettyServerThreadPool-29] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -10:46:38.119 [JettyServerThreadPool-27] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -10:47:37.329 [JettyServerThreadPool-29] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -10:48:38.602 [JettyServerThreadPool-27] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -10:49:38.316 [JettyServerThreadPool-25] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -10:50:37.340 [JettyServerThreadPool-24] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -10:51:37.329 [JettyServerThreadPool-25] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -10:52:37.334 [JettyServerThreadPool-24] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -10:53:37.324 [JettyServerThreadPool-31] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -10:54:37.329 [JettyServerThreadPool-27] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -10:55:37.333 [JettyServerThreadPool-31] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -10:56:37.324 [JettyServerThreadPool-28] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -10:57:37.328 [JettyServerThreadPool-27] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -10:58:37.320 [JettyServerThreadPool-28] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -10:59:37.330 [JettyServerThreadPool-30] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -11:00:37.334 [JettyServerThreadPool-28] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -11:01:37.324 [JettyServerThreadPool-27] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -11:02:37.333 [JettyServerThreadPool-25] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -11:03:37.323 [JettyServerThreadPool-27] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -11:04:37.451 [JettyServerThreadPool-31] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 1 entries -11:05:37.329 [JettyServerThreadPool-27] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -11:06:37.323 [JettyServerThreadPool-29] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -11:07:37.335 [JettyServerThreadPool-31] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -11:08:37.332 [JettyServerThreadPool-27] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -11:09:37.330 [JettyServerThreadPool-25] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -11:10:37.340 [JettyServerThreadPool-27] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -11:11:37.332 [JettyServerThreadPool-24] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -11:12:37.334 [JettyServerThreadPool-27] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -11:13:37.326 [JettyServerThreadPool-25] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -11:14:37.326 [JettyServerThreadPool-31] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -11:15:37.334 [JettyServerThreadPool-30] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -11:16:37.334 [JettyServerThreadPool-25] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -11:17:37.322 [JettyServerThreadPool-31] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -11:18:37.334 [JettyServerThreadPool-29] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -11:19:37.334 [JettyServerThreadPool-31] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -11:20:37.334 [JettyServerThreadPool-30] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -11:21:37.328 [JettyServerThreadPool-31] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -11:22:37.325 [JettyServerThreadPool-30] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -11:23:37.331 [JettyServerThreadPool-27] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -11:24:37.333 [JettyServerThreadPool-31] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -11:25:37.331 [JettyServerThreadPool-25] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -11:26:37.335 [JettyServerThreadPool-28] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -11:27:37.319 [JettyServerThreadPool-25] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -11:28:37.332 [JettyServerThreadPool-30] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -11:29:37.329 [JettyServerThreadPool-25] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -11:30:37.327 [JettyServerThreadPool-28] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -11:31:37.319 [JettyServerThreadPool-25] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -11:32:37.329 [JettyServerThreadPool-27] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -11:33:37.326 [JettyServerThreadPool-25] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -11:34:37.322 [JettyServerThreadPool-28] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -11:35:37.320 [JettyServerThreadPool-25] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -11:36:37.328 [JettyServerThreadPool-25] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -11:37:37.332 [JettyServerThreadPool-29] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -11:38:37.325 [JettyServerThreadPool-28] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -11:39:37.326 [JettyServerThreadPool-30] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -11:40:37.330 [JettyServerThreadPool-25] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -11:41:37.330 [JettyServerThreadPool-28] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -11:42:37.323 [JettyServerThreadPool-25] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -11:43:37.330 [JettyServerThreadPool-27] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -11:44:37.322 [JettyServerThreadPool-24] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -11:45:37.320 [JettyServerThreadPool-30] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -11:46:37.326 [JettyServerThreadPool-24] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -11:47:01.326 [JettyServerThreadPool-30] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -11:47:31.322 [JettyServerThreadPool-25] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -11:48:32.324 [JettyServerThreadPool-29] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -11:49:33.323 [JettyServerThreadPool-31] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -11:50:34.333 [JettyServerThreadPool-30] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -11:51:35.322 [JettyServerThreadPool-24] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -11:52:36.322 [JettyServerThreadPool-29] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -11:53:37.326 [JettyServerThreadPool-30] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -11:53:57.505 [JettyServerThreadPool-31] WARN Exception - while processing /auth/code, exception Instantiation of [simple type, class com.restapi.config.AuthTokenResponse] value failed for JSON property access_token due to missing (therefore NULL) value for creator parameter accessToken which is a non-nullable type - at [Source: (String)"{"error":"invalid_grant","error_description":"Code not valid"}"; line: 1, column: 62] (through reference chain: com.restapi.config.AuthTokenResponse["access_token"]) -com.fasterxml.jackson.module.kotlin.MissingKotlinParameterException: Instantiation of [simple type, class com.restapi.config.AuthTokenResponse] value failed for JSON property access_token due to missing (therefore NULL) value for creator parameter accessToken which is a non-nullable type - at [Source: (String)"{"error":"invalid_grant","error_description":"Code not valid"}"; line: 1, column: 62] (through reference chain: com.restapi.config.AuthTokenResponse["access_token"]) - at com.fasterxml.jackson.module.kotlin.KotlinValueInstantiator.createFromObjectWith(KotlinValueInstantiator.kt:84) - at com.fasterxml.jackson.databind.deser.impl.PropertyBasedCreator.build(PropertyBasedCreator.java:202) - at com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeUsingPropertyBased(BeanDeserializer.java:525) - at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.deserializeFromObjectUsingNonDefault(BeanDeserializerBase.java:1409) - at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:352) - at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:185) - at com.fasterxml.jackson.databind.deser.DefaultDeserializationContext.readRootValue(DefaultDeserializationContext.java:323) - at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4825) - at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3772) - at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3755) - at com.restapi.config.Auth.code(Auth.kt:243) - at io.javalin.routing.HandlerEntry.handle(HandlerEntry.kt:19) - at io.javalin.http.servlet.DefaultTasks.HTTP$lambda$8$lambda$6$lambda$5$lambda$4$lambda$3(DefaultTasks.kt:32) - at io.javalin.http.servlet.JavalinServlet.handleTask(JavalinServlet.kt:88) - at io.javalin.http.servlet.JavalinServlet.handleSync(JavalinServlet.kt:53) - at io.javalin.http.servlet.JavalinServlet.service(JavalinServlet.kt:41) - at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:587) - at io.javalin.jetty.JavalinJettyServlet.service(JavalinJettyServlet.kt:58) - at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:587) - at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:764) - at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:529) - at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:221) - at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1570) - at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:221) - at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1381) - at io.javalin.jetty.JettyServer$start$wsAndHttpHandler$1.doHandle(JettyServer.kt:61) - at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:176) - at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:484) - at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1543) - at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:174) - at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1303) - at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:129) - at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:173) - at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:122) - at org.eclipse.jetty.server.Server.handle(Server.java:563) - at org.eclipse.jetty.server.HttpChannel$RequestDispatchable.dispatch(HttpChannel.java:1598) - at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:753) - at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:501) - at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:287) - at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:314) - at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:100) - at org.eclipse.jetty.io.SelectableChannelEndPoint$1.run(SelectableChannelEndPoint.java:53) - at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.runTask(AdaptiveExecutionStrategy.java:421) - at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.consumeTask(AdaptiveExecutionStrategy.java:390) - at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.tryProduce(AdaptiveExecutionStrategy.java:277) - at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.run(AdaptiveExecutionStrategy.java:199) - at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:411) - at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:969) - at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.doRunJob(QueuedThreadPool.java:1194) - at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1149) - at java.base/java.lang.Thread.run(Thread.java:840) -11:54:01.326 [JettyServerThreadPool-28] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -11:54:10.726 [JettyServerThreadPool-31] WARN Exception - while processing /api/audit/pageview, exception JWT (claims->{"exp":1707399782,"iat":1707396482,"auth_time":1707396481,"jti":"c02d25d7-d525-4391-ab91-2ce00a61ed86","iss":"https://auth.readymixerp.com/realms/rmc-dev","aud":"account","sub":"795c3d6f-2043-440f-8df9-6e62f96dac62","typ":"Bearer","azp":"rmc","session_state":"78839032-e705-48fc-a5d5-e1c441f8f214","acr":"1","allowed-origins":["*"],"realm_access":{"roles":["ROLE_PO_CREATE","Create Delivery Challan","Add/Remove Customer to Blacklist","Add New Customer","offline_access","ROLE_VENDOR_CREATE","ROLE_ADMIN","default-roles-rmc-dev","uma_authorization"]},"resource_access":{"account":{"roles":["manage-account","manage-account-links","view-profile"]}},"scope":"email profile","sid":"78839032-e705-48fc-a5d5-e1c441f8f214","email_verified":false,"preferred_username":"arsalan365","tenant":"123"}) rejected due to invalid claims or other invalid content. Additional details: [[1] The JWT is no longer valid - the evaluation time NumericDate{1707459850 -> 09-Feb-2024, 11:54:10 am IST} is on or after the Expiration Time (exp=NumericDate{1707399782 -> 08-Feb-2024, 7:13:02 pm IST}) claim value (even when providing 30 seconds of leeway to account for clock skew).] -org.jose4j.jwt.consumer.InvalidJwtException: JWT (claims->{"exp":1707399782,"iat":1707396482,"auth_time":1707396481,"jti":"c02d25d7-d525-4391-ab91-2ce00a61ed86","iss":"https://auth.readymixerp.com/realms/rmc-dev","aud":"account","sub":"795c3d6f-2043-440f-8df9-6e62f96dac62","typ":"Bearer","azp":"rmc","session_state":"78839032-e705-48fc-a5d5-e1c441f8f214","acr":"1","allowed-origins":["*"],"realm_access":{"roles":["ROLE_PO_CREATE","Create Delivery Challan","Add/Remove Customer to Blacklist","Add New Customer","offline_access","ROLE_VENDOR_CREATE","ROLE_ADMIN","default-roles-rmc-dev","uma_authorization"]},"resource_access":{"account":{"roles":["manage-account","manage-account-links","view-profile"]}},"scope":"email profile","sid":"78839032-e705-48fc-a5d5-e1c441f8f214","email_verified":false,"preferred_username":"arsalan365","tenant":"123"}) rejected due to invalid claims or other invalid content. Additional details: [[1] The JWT is no longer valid - the evaluation time NumericDate{1707459850 -> 09-Feb-2024, 11:54:10 am IST} is on or after the Expiration Time (exp=NumericDate{1707399782 -> 08-Feb-2024, 7:13:02 pm IST}) claim value (even when providing 30 seconds of leeway to account for clock skew).] - at org.jose4j.jwt.consumer.JwtConsumer.validate(JwtConsumer.java:459) - at org.jose4j.jwt.consumer.JwtConsumer.processContext(JwtConsumer.java:304) - at org.jose4j.jwt.consumer.JwtConsumer.process(JwtConsumer.java:426) - at com.restapi.config.Auth.validateAuthToken(Auth.kt:78) - at com.restapi.config.Auth.validateAuthToken$default(Auth.kt:75) - at com.restapi.MainKt.main$lambda$15$lambda$4(Main.kt:85) - at io.javalin.routing.HandlerEntry.handle(HandlerEntry.kt:19) - at io.javalin.http.servlet.DefaultTasks.BEFORE$lambda$2$lambda$1$lambda$0(DefaultTasks.kt:19) - at io.javalin.http.servlet.JavalinServlet.handleTask(JavalinServlet.kt:88) - at io.javalin.http.servlet.JavalinServlet.handleSync(JavalinServlet.kt:53) - at io.javalin.http.servlet.JavalinServlet.service(JavalinServlet.kt:41) - at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:587) - at io.javalin.jetty.JavalinJettyServlet.service(JavalinJettyServlet.kt:58) - at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:587) - at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:764) - at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:529) - at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:221) - at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1570) - at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:221) - at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1381) - at io.javalin.jetty.JettyServer$start$wsAndHttpHandler$1.doHandle(JettyServer.kt:61) - at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:176) - at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:484) - at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1543) - at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:174) - at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1303) - at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:129) - at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:173) - at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:122) - at org.eclipse.jetty.server.Server.handle(Server.java:563) - at org.eclipse.jetty.server.HttpChannel$RequestDispatchable.dispatch(HttpChannel.java:1598) - at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:753) - at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:501) - at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:287) - at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:314) - at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:100) - at org.eclipse.jetty.io.SelectableChannelEndPoint$1.run(SelectableChannelEndPoint.java:53) - at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.runTask(AdaptiveExecutionStrategy.java:421) - at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.consumeTask(AdaptiveExecutionStrategy.java:390) - at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.tryProduce(AdaptiveExecutionStrategy.java:277) - at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.run(AdaptiveExecutionStrategy.java:199) - at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:411) - at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:969) - at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.doRunJob(QueuedThreadPool.java:1194) - at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1149) - at java.base/java.lang.Thread.run(Thread.java:840) -11:54:10.729 [JettyServerThreadPool-31] WARN session - making KeyPair from Config ------BEGIN PUBLIC KEY----- -MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA+G2vDoZcgfTFMTBZk/HP -bDiqlzhumTOqi8a+Up2NWruO62LB17fB2/rU1MaZH/uW53WmWBlYENZrcHhFY96m -avQPhZ8ccGfbiCHWzlD77GS8zWJyt2xRUbJljH99IA7OmXUut29rZ11xNGqCLcFY -LhJVClVylMpktFZQQdGSwmE5Q+kOLA5uxxlyWY+ZFTVWwQgXuNsi8fGNRU8jS/Jz -0kvkgHS1Gjyf+o/u+NfnsQCDnNK0gSTjBdFzTsAWfORLjoj2tHtbFM9Ko1X5mcnk -RcZEliQZ6rptY61RaeeWzG9+w2LWWtGhSHD3Q32ONn6w5Ty3COM80cAp94IBy/5y -/QIDAQAB ------END PUBLIC KEY----- - ------BEGIN PRIVATE KEY----- -MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQD4ba8OhlyB9MUx -MFmT8c9sOKqXOG6ZM6qLxr5SnY1au47rYsHXt8Hb+tTUxpkf+5bndaZYGVgQ1mtw -eEVj3qZq9A+FnxxwZ9uIIdbOUPvsZLzNYnK3bFFRsmWMf30gDs6ZdS63b2tnXXE0 -aoItwVguElUKVXKUymS0VlBB0ZLCYTlD6Q4sDm7HGXJZj5kVNVbBCBe42yLx8Y1F -TyNL8nPSS+SAdLUaPJ/6j+741+exAIOc0rSBJOMF0XNOwBZ85EuOiPa0e1sUz0qj -VfmZyeRFxkSWJBnqum1jrVFp55bMb37DYtZa0aFIcPdDfY42frDlPLcI4zzRwCn3 -ggHL/nL9AgMBAAECggEAJ85sxu8zl8/l4EsG3M8EdVWidrGgUyRgDElFCiLcWVta -prqVJIt5YNYRJU5J5Jc2fRGxHPEOrJVW84IUsvskVQM/ZiHyd3ZvdaGKdFZYpO5t -VvGSlR53l0IhGxal24L+isCn7X+ec5pu6b8JQJX4RbBConHCTDdz/yDMzQcXiiqj -ezzSovZ1Xy/2dn7sOTFtEZi47d3AhBnjh8Xqk3Dc9UChooxuIU6WEbqWFxEkbzJS -sXIv9xADVDqFqjHGv6Tk1W+y7y8M2EHosJfhO0LmWFL7nUdw0WSJV+UqQxHrUSJs -SnYHkKRTYl2ljpjkuECp/YqUqdlNq/5T5jBE6cyopwKBgQD6+XGZfssdAqfnaEK2 -nHdUAdklUFAFQpSmwIUwTZEHDC/CD+ErVjfbEfZ2mFOvWAIMwLmiLFuDT7E5sHaT -K4A2DQ8KyU3iJkH4nhxdYepLc7MSYElkn6fHNrXcJ9vPACmrtoa9rVW/LpAjsRq6 -fDxLo12/+EmFvpZ0oEAIQXk6ZwKBgQD9ZzBgPapI8m7cjcdojqq0dJ2M5Sw7Bx5n -VFOC3H4Cx0xWTdwwZ9CZQ4v/XiiHiUGzwhfkNJ2x3DdpUCkPDD8o3cFXPRW4GsjD -kv/D0kL/JJAesG9XB9yMTMBoe2yGMudDVc7SYgUI2YXhmHYkpcjSzM0DftLL2Z47 -GY1h385Q+wKBgGTRxe/Kfp+lzHtqZ7ph+pG1uFyD+dFTINIn7pkr38G8BIdpx6OY -HBIWEjMsGBoNOa2T0j6yoQSMA/7Pw6J1TCjqcAt+OJpLkh7krTJaPjuXO+163qDc -fhLKCJ5rKKLsRtEjHtedhR+q/d5IrBsUA0jDVMrkW+ytVlV9dpuaaa+rAoGASON8 -m8JBD/iEAPbbK+0VlxCQHO3ymgwDJ8+usc6AhIYVJCIDOv0xmFRAmbTYzZuihXVH -8AFedsGUQrunA8gPBs86hMByVeGGbBMFdKsvUDqRJfK0JAGD4+tT0PnnjnZn5Qty -kTtWnWQMSYbUPNhe+pukQOQi+DXheLhx3XxF2S8CgYEAopLjGIR/xeuV7QkGJfCO -d2wEJROBPd3pbDlR4fLDO8RCw3irFYQgQd9WgGJY5KgyfjKLHkK7DMQKn+/yfUp5 -UKeesBDXATpyQQrpfoKIhhZKtYphOwvIzugtLsd5sza++sjC9RwkRmYr0rzlHdUl -vtr3fru0Bzven2MeiQnqmCM= ------END PRIVATE KEY----- -11:54:10.744 [JettyServerThreadPool-28] WARN Exception - while processing /api/audit/pageview, exception JWT (claims->{"exp":1707399782,"iat":1707396482,"auth_time":1707396481,"jti":"c02d25d7-d525-4391-ab91-2ce00a61ed86","iss":"https://auth.readymixerp.com/realms/rmc-dev","aud":"account","sub":"795c3d6f-2043-440f-8df9-6e62f96dac62","typ":"Bearer","azp":"rmc","session_state":"78839032-e705-48fc-a5d5-e1c441f8f214","acr":"1","allowed-origins":["*"],"realm_access":{"roles":["ROLE_PO_CREATE","Create Delivery Challan","Add/Remove Customer to Blacklist","Add New Customer","offline_access","ROLE_VENDOR_CREATE","ROLE_ADMIN","default-roles-rmc-dev","uma_authorization"]},"resource_access":{"account":{"roles":["manage-account","manage-account-links","view-profile"]}},"scope":"email profile","sid":"78839032-e705-48fc-a5d5-e1c441f8f214","email_verified":false,"preferred_username":"arsalan365","tenant":"123"}) rejected due to invalid claims or other invalid content. Additional details: [[1] The JWT is no longer valid - the evaluation time NumericDate{1707459850 -> 09-Feb-2024, 11:54:10 am IST} is on or after the Expiration Time (exp=NumericDate{1707399782 -> 08-Feb-2024, 7:13:02 pm IST}) claim value (even when providing 30 seconds of leeway to account for clock skew).] -org.jose4j.jwt.consumer.InvalidJwtException: JWT (claims->{"exp":1707399782,"iat":1707396482,"auth_time":1707396481,"jti":"c02d25d7-d525-4391-ab91-2ce00a61ed86","iss":"https://auth.readymixerp.com/realms/rmc-dev","aud":"account","sub":"795c3d6f-2043-440f-8df9-6e62f96dac62","typ":"Bearer","azp":"rmc","session_state":"78839032-e705-48fc-a5d5-e1c441f8f214","acr":"1","allowed-origins":["*"],"realm_access":{"roles":["ROLE_PO_CREATE","Create Delivery Challan","Add/Remove Customer to Blacklist","Add New Customer","offline_access","ROLE_VENDOR_CREATE","ROLE_ADMIN","default-roles-rmc-dev","uma_authorization"]},"resource_access":{"account":{"roles":["manage-account","manage-account-links","view-profile"]}},"scope":"email profile","sid":"78839032-e705-48fc-a5d5-e1c441f8f214","email_verified":false,"preferred_username":"arsalan365","tenant":"123"}) rejected due to invalid claims or other invalid content. Additional details: [[1] The JWT is no longer valid - the evaluation time NumericDate{1707459850 -> 09-Feb-2024, 11:54:10 am IST} is on or after the Expiration Time (exp=NumericDate{1707399782 -> 08-Feb-2024, 7:13:02 pm IST}) claim value (even when providing 30 seconds of leeway to account for clock skew).] - at org.jose4j.jwt.consumer.JwtConsumer.validate(JwtConsumer.java:459) - at org.jose4j.jwt.consumer.JwtConsumer.processContext(JwtConsumer.java:304) - at org.jose4j.jwt.consumer.JwtConsumer.process(JwtConsumer.java:426) - at com.restapi.config.Auth.validateAuthToken(Auth.kt:78) - at com.restapi.config.Auth.validateAuthToken$default(Auth.kt:75) - at com.restapi.MainKt.main$lambda$15$lambda$4(Main.kt:85) - at io.javalin.routing.HandlerEntry.handle(HandlerEntry.kt:19) - at io.javalin.http.servlet.DefaultTasks.BEFORE$lambda$2$lambda$1$lambda$0(DefaultTasks.kt:19) - at io.javalin.http.servlet.JavalinServlet.handleTask(JavalinServlet.kt:88) - at io.javalin.http.servlet.JavalinServlet.handleSync(JavalinServlet.kt:53) - at io.javalin.http.servlet.JavalinServlet.service(JavalinServlet.kt:41) - at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:587) - at io.javalin.jetty.JavalinJettyServlet.service(JavalinJettyServlet.kt:58) - at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:587) - at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:764) - at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:529) - at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:221) - at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1570) - at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:221) - at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1381) - at io.javalin.jetty.JettyServer$start$wsAndHttpHandler$1.doHandle(JettyServer.kt:61) - at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:176) - at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:484) - at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1543) - at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:174) - at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1303) - at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:129) - at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:173) - at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:122) - at org.eclipse.jetty.server.Server.handle(Server.java:563) - at org.eclipse.jetty.server.HttpChannel$RequestDispatchable.dispatch(HttpChannel.java:1598) - at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:753) - at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:501) - at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:287) - at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:314) - at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:100) - at org.eclipse.jetty.io.SelectableChannelEndPoint$1.run(SelectableChannelEndPoint.java:53) - at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.runTask(AdaptiveExecutionStrategy.java:421) - at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.consumeTask(AdaptiveExecutionStrategy.java:390) - at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.tryProduce(AdaptiveExecutionStrategy.java:277) - at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.run(AdaptiveExecutionStrategy.java:199) - at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:411) - at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:969) - at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.doRunJob(QueuedThreadPool.java:1194) - at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1149) - at java.base/java.lang.Thread.run(Thread.java:840) -11:54:20.020 [JettyServerThreadPool-28] WARN api - User arsalan365 of tenant 123 has performed login @ 2024-02-09T11:54:20.002203400 -11:54:20.069 [JettyServerThreadPool-24] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T11:54:20.069143700 -11:54:31.736 [JettyServerThreadPool-27] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T11:54:31.736657800 -11:54:31.765 [JettyServerThreadPool-24] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T11:54:31.765755 -11:54:36.256 [JettyServerThreadPool-27] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T11:54:36.256143 -11:54:36.478 [JettyServerThreadPool-24] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) -11:54:36.507 [JettyServerThreadPool-28] DEBUG io.ebean.SQL - txn[1001] select count(*) from quotation t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(5,912) -11:54:36.519 [JettyServerThreadPool-24] DEBUG io.ebean.SQL - txn[1002] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(7,387) -11:54:50.484 [JettyServerThreadPool-31] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T11:54:50.484360400 -11:54:50.495 [JettyServerThreadPool-27] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T11:54:50.495369500 -11:54:56.463 [JettyServerThreadPool-27] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T11:54:56.463326100 -11:54:56.578 [JettyServerThreadPool-31] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) -11:54:56.578 [JettyServerThreadPool-31] DEBUG io.ebean.SQL - txn[1003] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(3,847) -11:54:56.631 [JettyServerThreadPool-28] DEBUG io.ebean.SQL - txn[1004] select count(*) from purchase_order t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,234) -11:55:20.234 [JettyServerThreadPool-27] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -11:55:26.648 [EbeanHook] INFO io.ebean.datasource - DataSource [db] shutdown min[2] max[200] free[2] busy[0] waiting[0] highWaterMark[2] waitCount[0] hitCount[232] psc[hit:1 miss:4 put:5 rem:0] -11:55:50.905 [main] INFO io.avaje.config - Loaded properties from [] -11:55:50.916 [main] INFO io.ebean - ebean version: 13.23.2 -11:55:51.307 [main] INFO io.ebean.datasource - DataSource [db] autoCommit[false] transIsolation[READ_COMMITTED] min[2] max[200] in[349ms] -11:55:52.010 [main] INFO io.ebean.migration - DB migrations completed in 31ms - executed:0 totalMigrations:6 mode:legacy -11:55:52.010 [main] INFO io.ebean.core - Started database[db] platform[POSTGRES] in 1,084ms -11:55:53.304 [main] INFO io.javalin.Javalin - Starting Javalin ... -11:55:53.440 [main] INFO org.eclipse.jetty.server.Server - jetty-11.0.17; built: 2023-10-09T18:39:14.424Z; git: 48e7716b9462bebea6732b885dbebb4300787a5c; jvm 17.0.9+9 -11:55:53.497 [main] INFO o.e.j.s.s.DefaultSessionIdManager - Session workerName=node0 -11:55:53.511 [main] INFO o.e.j.server.handler.ContextHandler - Started i.j.j.@22f8adc2{/,null,AVAILABLE} -11:55:53.522 [main] INFO o.e.jetty.server.AbstractConnector - Started ServerConnector@40bd0f8{HTTP/1.1, (http/1.1)}{0.0.0.0:9001} -11:55:53.524 [main] INFO org.eclipse.jetty.server.Server - Started Server@755a7218{STARTING}[11.0.17,sto=0] @4310ms -11:55:53.524 [main] INFO io.javalin.Javalin - - __ ___ ______ - / /___ __ ______ _/ (_)___ / ____/ - __ / / __ `/ | / / __ `/ / / __ \ /___ \ -/ /_/ / /_/ /| |/ / /_/ / / / / / / ____/ / -\____/\__,_/ |___/\__,_/_/_/_/ /_/ /_____/ - - https://javalin.io/documentation - -11:55:53.528 [main] INFO io.javalin.Javalin - Listening on http://localhost:9001/ -11:55:53.539 [main] INFO io.javalin.Javalin - You are running Javalin 5.6.3 (released October 15, 2023. Your Javalin version is 116 days old. Consider checking for a newer version.). -11:55:53.540 [main] INFO io.javalin.Javalin - Javalin started in 238ms \o/ -11:56:06.223 [JettyServerThreadPool-31] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T11:56:06.217505800 -11:56:06.224 [JettyServerThreadPool-27] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T11:56:06.217505800 -11:56:06.233 [JettyServerThreadPool-31] WARN session - making KeyPair from Config ------BEGIN PUBLIC KEY----- -MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA+G2vDoZcgfTFMTBZk/HP -bDiqlzhumTOqi8a+Up2NWruO62LB17fB2/rU1MaZH/uW53WmWBlYENZrcHhFY96m -avQPhZ8ccGfbiCHWzlD77GS8zWJyt2xRUbJljH99IA7OmXUut29rZ11xNGqCLcFY -LhJVClVylMpktFZQQdGSwmE5Q+kOLA5uxxlyWY+ZFTVWwQgXuNsi8fGNRU8jS/Jz -0kvkgHS1Gjyf+o/u+NfnsQCDnNK0gSTjBdFzTsAWfORLjoj2tHtbFM9Ko1X5mcnk -RcZEliQZ6rptY61RaeeWzG9+w2LWWtGhSHD3Q32ONn6w5Ty3COM80cAp94IBy/5y -/QIDAQAB ------END PUBLIC KEY----- - ------BEGIN PRIVATE KEY----- -MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQD4ba8OhlyB9MUx -MFmT8c9sOKqXOG6ZM6qLxr5SnY1au47rYsHXt8Hb+tTUxpkf+5bndaZYGVgQ1mtw -eEVj3qZq9A+FnxxwZ9uIIdbOUPvsZLzNYnK3bFFRsmWMf30gDs6ZdS63b2tnXXE0 -aoItwVguElUKVXKUymS0VlBB0ZLCYTlD6Q4sDm7HGXJZj5kVNVbBCBe42yLx8Y1F -TyNL8nPSS+SAdLUaPJ/6j+741+exAIOc0rSBJOMF0XNOwBZ85EuOiPa0e1sUz0qj -VfmZyeRFxkSWJBnqum1jrVFp55bMb37DYtZa0aFIcPdDfY42frDlPLcI4zzRwCn3 -ggHL/nL9AgMBAAECggEAJ85sxu8zl8/l4EsG3M8EdVWidrGgUyRgDElFCiLcWVta -prqVJIt5YNYRJU5J5Jc2fRGxHPEOrJVW84IUsvskVQM/ZiHyd3ZvdaGKdFZYpO5t -VvGSlR53l0IhGxal24L+isCn7X+ec5pu6b8JQJX4RbBConHCTDdz/yDMzQcXiiqj -ezzSovZ1Xy/2dn7sOTFtEZi47d3AhBnjh8Xqk3Dc9UChooxuIU6WEbqWFxEkbzJS -sXIv9xADVDqFqjHGv6Tk1W+y7y8M2EHosJfhO0LmWFL7nUdw0WSJV+UqQxHrUSJs -SnYHkKRTYl2ljpjkuECp/YqUqdlNq/5T5jBE6cyopwKBgQD6+XGZfssdAqfnaEK2 -nHdUAdklUFAFQpSmwIUwTZEHDC/CD+ErVjfbEfZ2mFOvWAIMwLmiLFuDT7E5sHaT -K4A2DQ8KyU3iJkH4nhxdYepLc7MSYElkn6fHNrXcJ9vPACmrtoa9rVW/LpAjsRq6 -fDxLo12/+EmFvpZ0oEAIQXk6ZwKBgQD9ZzBgPapI8m7cjcdojqq0dJ2M5Sw7Bx5n -VFOC3H4Cx0xWTdwwZ9CZQ4v/XiiHiUGzwhfkNJ2x3DdpUCkPDD8o3cFXPRW4GsjD -kv/D0kL/JJAesG9XB9yMTMBoe2yGMudDVc7SYgUI2YXhmHYkpcjSzM0DftLL2Z47 -GY1h385Q+wKBgGTRxe/Kfp+lzHtqZ7ph+pG1uFyD+dFTINIn7pkr38G8BIdpx6OY -HBIWEjMsGBoNOa2T0j6yoQSMA/7Pw6J1TCjqcAt+OJpLkh7krTJaPjuXO+163qDc -fhLKCJ5rKKLsRtEjHtedhR+q/d5IrBsUA0jDVMrkW+ytVlV9dpuaaa+rAoGASON8 -m8JBD/iEAPbbK+0VlxCQHO3ymgwDJ8+usc6AhIYVJCIDOv0xmFRAmbTYzZuihXVH -8AFedsGUQrunA8gPBs86hMByVeGGbBMFdKsvUDqRJfK0JAGD4+tT0PnnjnZn5Qty -kTtWnWQMSYbUPNhe+pukQOQi+DXheLhx3XxF2S8CgYEAopLjGIR/xeuV7QkGJfCO -d2wEJROBPd3pbDlR4fLDO8RCw3irFYQgQd9WgGJY5KgyfjKLHkK7DMQKn+/yfUp5 -UKeesBDXATpyQQrpfoKIhhZKtYphOwvIzugtLsd5sza++sjC9RwkRmYr0rzlHdUl -vtr3fru0Bzven2MeiQnqmCM= ------END PRIVATE KEY----- -11:56:10.352 [JettyServerThreadPool-30] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T11:56:10.352671600 -11:56:10.649 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1001] select count(*) from purchase_order t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(21,007) -11:56:10.631 [JettyServerThreadPool-29] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) -11:56:10.746 [JettyServerThreadPool-29] DEBUG io.ebean.SQL - txn[1002] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(7,270) -11:56:36.419 [JettyServerThreadPool-31] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -11:57:06.325 [JettyServerThreadPool-28] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -11:57:36.333 [JettyServerThreadPool-29] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -11:58:06.331 [JettyServerThreadPool-31] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -11:58:20.220 [EbeanHook] INFO io.ebean.datasource - DataSource [db] shutdown min[2] max[200] free[2] busy[0] waiting[0] highWaterMark[1] waitCount[0] hitCount[9] psc[hit:0 miss:2 put:2 rem:0] -11:58:33.554 [main] INFO io.avaje.config - Loaded properties from [] -11:58:33.570 [main] INFO io.ebean - ebean version: 13.23.2 -11:58:34.009 [main] INFO io.ebean.datasource - DataSource [db] autoCommit[false] transIsolation[READ_COMMITTED] min[2] max[200] in[382ms] -11:58:34.815 [main] INFO io.ebean.migration - DB migrations completed in 40ms - executed:0 totalMigrations:6 mode:legacy -11:58:34.816 [main] INFO io.ebean.core - Started database[db] platform[POSTGRES] in 1,234ms -11:58:36.483 [main] INFO io.javalin.Javalin - Starting Javalin ... -11:58:36.646 [main] INFO org.eclipse.jetty.server.Server - jetty-11.0.17; built: 2023-10-09T18:39:14.424Z; git: 48e7716b9462bebea6732b885dbebb4300787a5c; jvm 17.0.9+9 -11:58:36.708 [main] INFO o.e.j.s.s.DefaultSessionIdManager - Session workerName=node0 -11:58:36.722 [main] INFO o.e.j.server.handler.ContextHandler - Started i.j.j.@65f3e805{/,null,AVAILABLE} -11:58:36.736 [main] INFO o.e.jetty.server.AbstractConnector - Started ServerConnector@37775bb1{HTTP/1.1, (http/1.1)}{0.0.0.0:9001} -11:58:36.739 [main] INFO org.eclipse.jetty.server.Server - Started Server@7e191fda{STARTING}[11.0.17,sto=0] @4399ms -11:58:36.740 [main] INFO io.javalin.Javalin - - __ ___ ______ - / /___ __ ______ _/ (_)___ / ____/ - __ / / __ `/ | / / __ `/ / / __ \ /___ \ -/ /_/ / /_/ /| |/ / /_/ / / / / / / ____/ / -\____/\__,_/ |___/\__,_/_/_/_/ /_/ /_____/ - - https://javalin.io/documentation - -11:58:36.746 [main] INFO io.javalin.Javalin - Listening on http://localhost:9001/ -11:58:36.758 [main] INFO io.javalin.Javalin - You are running Javalin 5.6.3 (released October 15, 2023. Your Javalin version is 116 days old. Consider checking for a newer version.). -11:58:36.759 [main] INFO io.javalin.Javalin - Javalin started in 277ms \o/ -11:58:44.478 [JettyServerThreadPool-28] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T11:58:44.475083300 -11:58:44.478 [JettyServerThreadPool-31] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T11:58:44.475083300 -11:58:44.486 [JettyServerThreadPool-31] WARN session - making KeyPair from Config ------BEGIN PUBLIC KEY----- -MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA+G2vDoZcgfTFMTBZk/HP -bDiqlzhumTOqi8a+Up2NWruO62LB17fB2/rU1MaZH/uW53WmWBlYENZrcHhFY96m -avQPhZ8ccGfbiCHWzlD77GS8zWJyt2xRUbJljH99IA7OmXUut29rZ11xNGqCLcFY -LhJVClVylMpktFZQQdGSwmE5Q+kOLA5uxxlyWY+ZFTVWwQgXuNsi8fGNRU8jS/Jz -0kvkgHS1Gjyf+o/u+NfnsQCDnNK0gSTjBdFzTsAWfORLjoj2tHtbFM9Ko1X5mcnk -RcZEliQZ6rptY61RaeeWzG9+w2LWWtGhSHD3Q32ONn6w5Ty3COM80cAp94IBy/5y -/QIDAQAB ------END PUBLIC KEY----- - ------BEGIN PRIVATE KEY----- -MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQD4ba8OhlyB9MUx -MFmT8c9sOKqXOG6ZM6qLxr5SnY1au47rYsHXt8Hb+tTUxpkf+5bndaZYGVgQ1mtw -eEVj3qZq9A+FnxxwZ9uIIdbOUPvsZLzNYnK3bFFRsmWMf30gDs6ZdS63b2tnXXE0 -aoItwVguElUKVXKUymS0VlBB0ZLCYTlD6Q4sDm7HGXJZj5kVNVbBCBe42yLx8Y1F -TyNL8nPSS+SAdLUaPJ/6j+741+exAIOc0rSBJOMF0XNOwBZ85EuOiPa0e1sUz0qj -VfmZyeRFxkSWJBnqum1jrVFp55bMb37DYtZa0aFIcPdDfY42frDlPLcI4zzRwCn3 -ggHL/nL9AgMBAAECggEAJ85sxu8zl8/l4EsG3M8EdVWidrGgUyRgDElFCiLcWVta -prqVJIt5YNYRJU5J5Jc2fRGxHPEOrJVW84IUsvskVQM/ZiHyd3ZvdaGKdFZYpO5t -VvGSlR53l0IhGxal24L+isCn7X+ec5pu6b8JQJX4RbBConHCTDdz/yDMzQcXiiqj -ezzSovZ1Xy/2dn7sOTFtEZi47d3AhBnjh8Xqk3Dc9UChooxuIU6WEbqWFxEkbzJS -sXIv9xADVDqFqjHGv6Tk1W+y7y8M2EHosJfhO0LmWFL7nUdw0WSJV+UqQxHrUSJs -SnYHkKRTYl2ljpjkuECp/YqUqdlNq/5T5jBE6cyopwKBgQD6+XGZfssdAqfnaEK2 -nHdUAdklUFAFQpSmwIUwTZEHDC/CD+ErVjfbEfZ2mFOvWAIMwLmiLFuDT7E5sHaT -K4A2DQ8KyU3iJkH4nhxdYepLc7MSYElkn6fHNrXcJ9vPACmrtoa9rVW/LpAjsRq6 -fDxLo12/+EmFvpZ0oEAIQXk6ZwKBgQD9ZzBgPapI8m7cjcdojqq0dJ2M5Sw7Bx5n -VFOC3H4Cx0xWTdwwZ9CZQ4v/XiiHiUGzwhfkNJ2x3DdpUCkPDD8o3cFXPRW4GsjD -kv/D0kL/JJAesG9XB9yMTMBoe2yGMudDVc7SYgUI2YXhmHYkpcjSzM0DftLL2Z47 -GY1h385Q+wKBgGTRxe/Kfp+lzHtqZ7ph+pG1uFyD+dFTINIn7pkr38G8BIdpx6OY -HBIWEjMsGBoNOa2T0j6yoQSMA/7Pw6J1TCjqcAt+OJpLkh7krTJaPjuXO+163qDc -fhLKCJ5rKKLsRtEjHtedhR+q/d5IrBsUA0jDVMrkW+ytVlV9dpuaaa+rAoGASON8 -m8JBD/iEAPbbK+0VlxCQHO3ymgwDJ8+usc6AhIYVJCIDOv0xmFRAmbTYzZuihXVH -8AFedsGUQrunA8gPBs86hMByVeGGbBMFdKsvUDqRJfK0JAGD4+tT0PnnjnZn5Qty -kTtWnWQMSYbUPNhe+pukQOQi+DXheLhx3XxF2S8CgYEAopLjGIR/xeuV7QkGJfCO -d2wEJROBPd3pbDlR4fLDO8RCw3irFYQgQd9WgGJY5KgyfjKLHkK7DMQKn+/yfUp5 -UKeesBDXATpyQQrpfoKIhhZKtYphOwvIzugtLsd5sza++sjC9RwkRmYr0rzlHdUl -vtr3fru0Bzven2MeiQnqmCM= ------END PRIVATE KEY----- -11:58:47.420 [JettyServerThreadPool-29] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T11:58:47.420980800 -11:58:47.665 [JettyServerThreadPool-24] DEBUG io.ebean.SQL - txn[1002] select count(*) from purchase_order t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(13,825) -11:58:47.668 [JettyServerThreadPool-29] DEBUG io.ebean.SQL - txn[1001] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(3,135) -11:58:47.696 [JettyServerThreadPool-30] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) -11:58:47.728 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1003] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(3,321) -11:59:13.886 [JettyServerThreadPool-27] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -11:59:44.328 [JettyServerThreadPool-28] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:00:14.312 [JettyServerThreadPool-27] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:00:35.091 [JettyServerThreadPool-28] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:00:35.091857400 -12:00:35.459 [JettyServerThreadPool-27] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:00:35.459834100 -12:00:38.367 [JettyServerThreadPool-30] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:00:38.367953300 -12:00:38.464 [JettyServerThreadPool-27] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) -12:00:38.476 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1004] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(13,175) -12:00:38.477 [JettyServerThreadPool-27] DEBUG io.ebean.SQL - txn[1005] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(3,855) -12:00:38.521 [JettyServerThreadPool-28] DEBUG io.ebean.SQL - txn[1006] select count(*) from purchase_order t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(3,498) -12:01:04.998 [JettyServerThreadPool-30] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:01:12.755 [JettyServerThreadPool-27] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:01:12.749947700 -12:01:12.755 [JettyServerThreadPool-30] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:01:12.755960800 -12:01:15.767 [JettyServerThreadPool-27] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:01:15.767161500 -12:01:15.823 [JettyServerThreadPool-30] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) -12:01:15.831 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1007] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(3,907) -12:01:15.860 [JettyServerThreadPool-28] DEBUG io.ebean.SQL - txn[1008] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.products, t0.total_amount, t0.req_for_quote_num, t0.quote_num, t0.vendor_quote_num, t0.quote_date, t0.valid_till, t0.tnc, t0.documents, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by, t0.vendor_sys_pk from quotation t0 where t0.quote_date >= ? and t0.quote_date <= ? and t0.valid_till >= ? and t0.valid_till <= ? and t0.total_amount >= ? and t0.total_amount <= ? and lower(t0.quote_num) like ? escape'' and t0.quote_date >= ? and t0.quote_date <= ? and t0.tenant_id = ? and t0.deleted = false; --bind(1500-01-01,3000-01-01,1500-01-01,3000-01-01,-9223372036854775808,9223372036854775807,%%%,1500-01-01,3000-01-01,123) --micros(9,900) -12:01:15.929 [JettyServerThreadPool-28] DEBUG io.ebean.SQL - txn[1009] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.sys_pk = any(?) and t0.tenant_id = ? and t0.deleted = false; --bind(Array[7]={1,5,4,2,9,8,3},123) --micros(9,874) -12:01:43.327 [JettyServerThreadPool-27] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:02:07.608 [JettyServerThreadPool-31] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:02:07.608712500 -12:02:07.726 [JettyServerThreadPool-28] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) -12:02:07.730 [JettyServerThreadPool-28] DEBUG io.ebean.SQL - txn[1010] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(2,620) -12:02:07.735 [JettyServerThreadPool-31] DEBUG io.ebean.SQL - txn[1011] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,616) -12:02:07.765 [JettyServerThreadPool-24] DEBUG io.ebean.SQL - txn[1012] select count(*) from purchase_order t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,186) -12:02:12.710 [JettyServerThreadPool-31] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:02:25.710 [JettyServerThreadPool-28] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:02:25.710495600 -12:02:25.749 [JettyServerThreadPool-24] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) -12:02:25.752 [JettyServerThreadPool-24] DEBUG io.ebean.SQL - txn[1014] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(3,710) -12:02:25.752 [JettyServerThreadPool-28] DEBUG io.ebean.SQL - txn[1013] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.products, t0.total_amount, t0.req_for_quote_num, t0.quote_num, t0.vendor_quote_num, t0.quote_date, t0.valid_till, t0.tnc, t0.documents, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by, t0.vendor_sys_pk from quotation t0 where t0.quote_date >= ? and t0.quote_date <= ? and t0.valid_till >= ? and t0.valid_till <= ? and t0.total_amount >= ? and t0.total_amount <= ? and lower(t0.quote_num) like ? escape'' and t0.quote_date >= ? and t0.quote_date <= ? and t0.tenant_id = ? and t0.deleted = false; --bind(1500-01-01,3000-01-01,1500-01-01,3000-01-01,-9223372036854775808,9223372036854775807,%%%,1500-01-01,3000-01-01,123) --micros(5,642) -12:02:25.773 [JettyServerThreadPool-28] DEBUG io.ebean.SQL - txn[1015] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.sys_pk = any(?) and t0.tenant_id = ? and t0.deleted = false; --bind(Array[7]={8,2,5,1,9,4,3},123) --micros(927) -12:02:33.695 [JettyServerThreadPool-31] DEBUG io.ebean.SQL - txn[1016] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.products, t0.total_amount, t0.req_for_quote_num, t0.quote_num, t0.vendor_quote_num, t0.quote_date, t0.valid_till, t0.tnc, t0.documents, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by, t0.vendor_sys_pk from quotation t0 where t0.quote_date >= ? and t0.quote_date <= ? and t0.valid_till >= ? and t0.valid_till <= ? and t0.total_amount >= ? and t0.total_amount <= ? and lower(t0.quote_num) like ? escape'' and t0.quote_date >= ? and t0.quote_date <= ? and t0.tenant_id = ? and t0.deleted = false; --bind(1999-01-01,2026-01-01,1500-01-01,3000-01-01,-9223372036854775808,9223372036854775807,%%%,1999-01-01,2026-01-01,123) --micros(2,305) -12:02:33.707 [JettyServerThreadPool-31] DEBUG io.ebean.SQL - txn[1017] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.sys_pk = any(?) and t0.tenant_id = ? and t0.deleted = false; --bind(Array[7]={1,9,2,5,3,4,8},123) --micros(1,046) -12:02:42.718 [JettyServerThreadPool-28] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:03:13.328 [JettyServerThreadPool-31] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:03:43.332 [JettyServerThreadPool-30] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:04:37.322 [JettyServerThreadPool-28] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:05:37.334 [JettyServerThreadPool-26] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:06:37.327 [JettyServerThreadPool-30] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:07:37.327 [JettyServerThreadPool-42] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:08:37.323 [JettyServerThreadPool-30] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:08:58.653 [JettyServerThreadPool-42] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:09:05.636 [JettyServerThreadPool-28] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:09:05.636377300 -12:09:05.809 [JettyServerThreadPool-41] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:09:05.809481100 -12:09:10.313 [JettyServerThreadPool-42] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:09:10.313847700 -12:09:10.415 [JettyServerThreadPool-42] DEBUG io.ebean.SQL - txn[1018] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(4,054) -12:09:10.423 [JettyServerThreadPool-28] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) -12:09:10.474 [JettyServerThreadPool-28] DEBUG io.ebean.SQL - txn[1019] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(50,625) -12:09:10.517 [JettyServerThreadPool-26] DEBUG io.ebean.SQL - txn[1020] select count(*) from quotation t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,034) -12:09:35.624 [JettyServerThreadPool-42] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:10:06.319 [JettyServerThreadPool-26] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:10:36.328 [JettyServerThreadPool-42] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:11:06.321 [JettyServerThreadPool-26] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:11:35.635 [JettyServerThreadPool-41] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:11:39.528 [JettyServerThreadPool-41] DEBUG io.ebean.SQL - txn[1021] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(2,450) -12:11:39.594 [JettyServerThreadPool-41] DEBUG io.ebean.SQL - txn[1022] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(37,761) -12:11:39.609 [JettyServerThreadPool-26] DEBUG io.ebean.SQL - txn[1023] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,041) -12:11:39.622 [JettyServerThreadPool-28] DEBUG io.ebean.SQL - txn[1024] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(2,490) -12:11:39.634 [JettyServerThreadPool-28] DEBUG io.ebean.SQL - txn[1025] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,048) -12:11:39.645 [JettyServerThreadPool-28] DEBUG io.ebean.SQL - txn[1026] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(900) -12:11:39.658 [JettyServerThreadPool-42] DEBUG io.ebean.SQL - txn[1027] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(723) -12:11:39.660 [JettyServerThreadPool-41] DEBUG io.ebean.SQL - txn[1028] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,893) -12:11:39.672 [JettyServerThreadPool-42] DEBUG io.ebean.SQL - txn[1030] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(4,473) -12:11:39.674 [JettyServerThreadPool-41] DEBUG io.ebean.SQL - txn[1029] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(2,006) -12:11:39.694 [JettyServerThreadPool-42] DEBUG io.ebean.SQL - txn[1031] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,670) -12:11:39.696 [JettyServerThreadPool-41] DEBUG io.ebean.SQL - txn[1032] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,196) -12:11:39.713 [JettyServerThreadPool-42] DEBUG io.ebean.SQL - txn[1033] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,194) -12:11:39.719 [JettyServerThreadPool-41] DEBUG io.ebean.SQL - txn[1034] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,992) -12:11:39.739 [JettyServerThreadPool-41] DEBUG io.ebean.SQL - txn[1036] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(783) -12:11:39.742 [JettyServerThreadPool-42] DEBUG io.ebean.SQL - txn[1035] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(946) -12:11:39.765 [JettyServerThreadPool-42] DEBUG io.ebean.SQL - txn[1038] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(710) -12:11:39.765 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1037] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(2,656) -12:11:39.780 [JettyServerThreadPool-26] DEBUG io.ebean.SQL - txn[1039] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(707) -12:11:39.784 [JettyServerThreadPool-41] DEBUG io.ebean.SQL - txn[1040] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,974) -12:11:39.813 [JettyServerThreadPool-41] DEBUG io.ebean.SQL - txn[1041] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,715) -12:11:39.815 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1042] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(2,175) -12:11:39.833 [JettyServerThreadPool-42] DEBUG io.ebean.SQL - txn[1043] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(2,365) -12:11:39.862 [JettyServerThreadPool-26] DEBUG io.ebean.SQL - txn[1044] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(4,864) -12:11:39.884 [JettyServerThreadPool-31] DEBUG io.ebean.SQL - txn[1045] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,220) -12:11:39.919 [JettyServerThreadPool-24] DEBUG io.ebean.SQL - txn[1047] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(744) -12:11:39.922 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1048] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,094) -12:11:39.947 [JettyServerThreadPool-24] DEBUG io.ebean.SQL - txn[1049] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(7,087) -12:11:39.959 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1050] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(10,804) -12:11:40.012 [JettyServerThreadPool-28] DEBUG io.ebean.SQL - txn[1046] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(97,513) -12:11:45.846 [JettyServerThreadPool-31] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:11:45.846554300 -12:11:45.928 [JettyServerThreadPool-24] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) -12:11:45.930 [JettyServerThreadPool-31] DEBUG io.ebean.SQL - txn[1051] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(3,939) -12:11:45.934 [JettyServerThreadPool-24] DEBUG io.ebean.SQL - txn[1052] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(3,012) -12:11:46.105 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1053] select count(*) from purchase_order t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,300) -12:12:10.704 [JettyServerThreadPool-31] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:12:41.312 [JettyServerThreadPool-24] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:13:11.334 [JettyServerThreadPool-31] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:13:29.321 [JettyServerThreadPool-26] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:13:29.321168700 -12:13:29.469 [JettyServerThreadPool-30] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:13:29.469848900 -12:13:33.022 [JettyServerThreadPool-26] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:13:33.022261700 -12:13:33.174 [JettyServerThreadPool-30] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) -12:13:33.180 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1054] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(5,053) -12:13:33.201 [JettyServerThreadPool-26] DEBUG io.ebean.SQL - txn[1055] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(577) -12:13:33.206 [JettyServerThreadPool-31] DEBUG io.ebean.SQL - txn[1056] select count(*) from purchase_order t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,606) -12:13:59.246 [JettyServerThreadPool-31] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:14:29.331 [JettyServerThreadPool-30] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:14:59.326 [JettyServerThreadPool-44] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:15:17.410 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1057] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(9,509) -12:15:17.431 [JettyServerThreadPool-44] DEBUG io.ebean.SQL - txn[1058] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(26,557) -12:15:17.463 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1059] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(2,129) -12:15:17.473 [JettyServerThreadPool-44] DEBUG io.ebean.SQL - txn[1060] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(9,503) -12:15:17.511 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1061] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,131) -12:15:17.513 [JettyServerThreadPool-44] DEBUG io.ebean.SQL - txn[1062] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,287) -12:15:17.524 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1063] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(923) -12:15:17.526 [JettyServerThreadPool-44] DEBUG io.ebean.SQL - txn[1064] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(899) -12:15:17.538 [JettyServerThreadPool-31] DEBUG io.ebean.SQL - txn[1066] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,043) -12:15:17.538 [JettyServerThreadPool-44] DEBUG io.ebean.SQL - txn[1065] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(605) -12:15:17.545 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1067] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(4,935) -12:15:17.553 [JettyServerThreadPool-31] DEBUG io.ebean.SQL - txn[1068] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(732) -12:15:17.566 [JettyServerThreadPool-44] DEBUG io.ebean.SQL - txn[1069] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(8,768) -12:15:17.568 [JettyServerThreadPool-42] DEBUG io.ebean.SQL - txn[1070] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(611) -12:15:17.583 [JettyServerThreadPool-44] DEBUG io.ebean.SQL - txn[1071] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(860) -12:15:17.592 [JettyServerThreadPool-44] DEBUG io.ebean.SQL - txn[1072] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(848) -12:15:17.596 [JettyServerThreadPool-31] DEBUG io.ebean.SQL - txn[1073] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,488) -12:15:17.600 [JettyServerThreadPool-44] DEBUG io.ebean.SQL - txn[1074] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(2,425) -12:15:17.610 [JettyServerThreadPool-42] DEBUG io.ebean.SQL - txn[1075] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(770) -12:15:17.621 [JettyServerThreadPool-44] DEBUG io.ebean.SQL - txn[1076] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(691) -12:15:17.640 [JettyServerThreadPool-31] DEBUG io.ebean.SQL - txn[1077] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(805) -12:15:17.643 [JettyServerThreadPool-44] DEBUG io.ebean.SQL - txn[1078] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,684) -12:15:17.654 [JettyServerThreadPool-42] DEBUG io.ebean.SQL - txn[1079] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(783) -12:15:17.656 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1080] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,277) -12:15:17.684 [JettyServerThreadPool-44] DEBUG io.ebean.SQL - txn[1081] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(884) -12:15:17.684 [JettyServerThreadPool-31] DEBUG io.ebean.SQL - txn[1082] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(490) -12:15:17.694 [JettyServerThreadPool-44] DEBUG io.ebean.SQL - txn[1083] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(4,657) -12:15:17.707 [JettyServerThreadPool-44] DEBUG io.ebean.SQL - txn[1085] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(847) -12:15:17.717 [JettyServerThreadPool-31] DEBUG io.ebean.SQL - txn[1084] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(14,548) -12:15:17.733 [JettyServerThreadPool-49] DEBUG io.ebean.SQL - txn[1086] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(755) -12:15:55.575 [JettyServerThreadPool-44] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:15:55.575040600 -12:15:55.622 [JettyServerThreadPool-42] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:15:55.622128400 -12:16:08.286 [JettyServerThreadPool-44] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:16:08.286661 -12:16:08.414 [JettyServerThreadPool-31] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:16:08.414226 -12:16:11.280 [JettyServerThreadPool-44] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:16:11.280200800 -12:16:11.376 [JettyServerThreadPool-31] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) -12:16:11.381 [JettyServerThreadPool-42] DEBUG io.ebean.SQL - txn[1088] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(4,216) -12:16:11.386 [JettyServerThreadPool-31] DEBUG io.ebean.SQL - txn[1087] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(8,088) -12:16:11.464 [JettyServerThreadPool-31] DEBUG io.ebean.SQL - txn[1089] select count(*) from purchase_order t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,604) -12:16:38.286 [JettyServerThreadPool-42] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:17:08.322 [JettyServerThreadPool-44] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:17:38.325 [JettyServerThreadPool-30] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:18:08.326 [JettyServerThreadPool-44] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:18:29.860 [JettyServerThreadPool-31] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) -12:18:29.862 [JettyServerThreadPool-31] DEBUG io.ebean.SQL - txn[1090] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(1,262) -12:18:29.868 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1091] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(627) -12:18:29.944 [JettyServerThreadPool-31] DEBUG io.ebean.SQL - txn[1092] select count(*) from purchase_order t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,085) -12:18:32.085 [JettyServerThreadPool-30] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:18:32.085344 -12:18:32.224 [JettyServerThreadPool-44] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:18:32.224986700 -12:18:35.817 [JettyServerThreadPool-42] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:18:35.817603800 -12:18:35.913 [JettyServerThreadPool-44] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) -12:18:35.921 [JettyServerThreadPool-44] DEBUG io.ebean.SQL - txn[1093] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(5,181) -12:18:35.923 [JettyServerThreadPool-42] DEBUG io.ebean.SQL - txn[1094] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(7,506) -12:18:36.051 [JettyServerThreadPool-44] DEBUG io.ebean.SQL - txn[1095] select count(*) from purchase_order t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,226) -12:19:02.332 [JettyServerThreadPool-42] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:19:32.081 [JettyServerThreadPool-31] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:19:45.803 [JettyServerThreadPool-42] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) -12:19:45.804 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1096] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,094) -12:19:45.808 [JettyServerThreadPool-42] DEBUG io.ebean.SQL - txn[1097] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(845) -12:19:45.835 [JettyServerThreadPool-42] DEBUG io.ebean.SQL - txn[1098] select count(*) from purchase_order t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,204) -12:20:02.084 [JettyServerThreadPool-30] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:20:32.321 [JettyServerThreadPool-44] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:21:01.580 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1099] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,082) -12:21:01.599 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1101] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,009) -12:21:01.599 [JettyServerThreadPool-42] DEBUG io.ebean.SQL - txn[1100] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,189) -12:21:01.620 [JettyServerThreadPool-54] DEBUG io.ebean.SQL - txn[1102] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(2,051) -12:21:01.654 [JettyServerThreadPool-55] DEBUG io.ebean.SQL - txn[1103] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(782) -12:21:01.676 [JettyServerThreadPool-44] DEBUG io.ebean.SQL - txn[1104] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(715) -12:21:01.702 [JettyServerThreadPool-44] DEBUG io.ebean.SQL - txn[1105] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(690) -12:21:01.702 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1106] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(690) -12:21:01.713 [JettyServerThreadPool-42] DEBUG io.ebean.SQL - txn[1107] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(949) -12:21:01.717 [JettyServerThreadPool-41] DEBUG io.ebean.SQL - txn[1108] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(651) -12:21:01.725 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1109] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,162) -12:21:01.732 [JettyServerThreadPool-44] DEBUG io.ebean.SQL - txn[1110] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(715) -12:21:01.758 [JettyServerThreadPool-41] DEBUG io.ebean.SQL - txn[1111] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(643) -12:21:01.786 [JettyServerThreadPool-44] DEBUG io.ebean.SQL - txn[1113] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(7,497) -12:21:01.787 [JettyServerThreadPool-41] DEBUG io.ebean.SQL - txn[1112] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(19,704) -12:21:01.806 [JettyServerThreadPool-44] DEBUG io.ebean.SQL - txn[1114] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(967) -12:21:01.831 [JettyServerThreadPool-41] DEBUG io.ebean.SQL - txn[1115] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(876) -12:21:02.355 [JettyServerThreadPool-44] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:21:02.355342100 -12:21:02.392 [JettyServerThreadPool-41] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:21:02.392887 -12:21:05.670 [JettyServerThreadPool-54] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:21:05.670875100 -12:21:05.771 [JettyServerThreadPool-44] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) -12:21:05.773 [JettyServerThreadPool-41] DEBUG io.ebean.SQL - txn[1116] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(3,422) -12:21:05.775 [JettyServerThreadPool-44] DEBUG io.ebean.SQL - txn[1117] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(3,085) -12:21:05.858 [JettyServerThreadPool-54] DEBUG io.ebean.SQL - txn[1118] select count(*) from purchase_order t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,169) -12:21:33.312 [JettyServerThreadPool-30] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:22:03.323 [JettyServerThreadPool-44] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:22:20.777 [JettyServerThreadPool-54] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:22:20.777855300 -12:22:20.936 [JettyServerThreadPool-30] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:22:20.936500300 -12:22:24.304 [JettyServerThreadPool-54] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:22:24.304873 -12:22:24.515 [JettyServerThreadPool-30] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) -12:22:24.519 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1119] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(2,854) -12:22:24.519 [JettyServerThreadPool-48] DEBUG io.ebean.SQL - txn[1120] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(832) -12:22:24.578 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1121] select count(*) from purchase_order t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(957) -12:22:51.332 [JettyServerThreadPool-48] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:23:21.330 [JettyServerThreadPool-54] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:23:51.326 [JettyServerThreadPool-48] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:24:21.410 [JettyServerThreadPool-54] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:24:56.551 [JettyServerThreadPool-30] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:25:00.190 [JettyServerThreadPool-48] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:25:00.190919200 -12:25:00.320 [JettyServerThreadPool-54] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:25:00.320036400 -12:25:04.380 [JettyServerThreadPool-30] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:25:04.380167200 -12:25:04.555 [JettyServerThreadPool-54] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) -12:25:04.556 [JettyServerThreadPool-48] DEBUG io.ebean.SQL - txn[1122] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(3,764) -12:25:04.557 [JettyServerThreadPool-54] DEBUG io.ebean.SQL - txn[1123] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(1,104) -12:25:04.571 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1124] select count(*) from purchase_order t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(763) -12:25:30.332 [JettyServerThreadPool-31] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:26:00.324 [JettyServerThreadPool-54] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:26:04.779 [JettyServerThreadPool-30] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:26:04.779998100 -12:26:04.946 [JettyServerThreadPool-54] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:26:04.945176400 -12:26:07.965 [JettyServerThreadPool-30] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:26:07.965065600 -12:26:08.067 [JettyServerThreadPool-31] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) -12:26:08.070 [JettyServerThreadPool-31] DEBUG io.ebean.SQL - txn[1125] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(1,412) -12:26:08.101 [JettyServerThreadPool-54] DEBUG io.ebean.SQL - txn[1126] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(5,945) -12:26:08.119 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1127] select count(*) from purchase_order t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(757) -12:26:34.765 [JettyServerThreadPool-54] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:27:05.407 [JettyServerThreadPool-30] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:27:27.508 [JettyServerThreadPool-31] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:27:27.508951200 -12:27:27.546 [JettyServerThreadPool-30] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) -12:27:27.555 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1128] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(7,889) -12:27:27.555 [JettyServerThreadPool-31] DEBUG io.ebean.SQL - txn[1129] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.products, t0.total_amount, t0.req_for_quote_num, t0.quote_num, t0.vendor_quote_num, t0.quote_date, t0.valid_till, t0.tnc, t0.documents, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by, t0.vendor_sys_pk from quotation t0 where t0.quote_date >= ? and t0.quote_date <= ? and t0.valid_till >= ? and t0.valid_till <= ? and t0.total_amount >= ? and t0.total_amount <= ? and lower(t0.quote_num) like ? escape'' and t0.quote_date >= ? and t0.quote_date <= ? and t0.tenant_id = ? and t0.deleted = false; --bind(1500-01-01,3000-01-01,1500-01-01,3000-01-01,-9223372036854775808,9223372036854775807,%%%,1500-01-01,3000-01-01,123) --micros(4,576) -12:27:27.573 [JettyServerThreadPool-31] DEBUG io.ebean.SQL - txn[1130] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.sys_pk = any(?) and t0.tenant_id = ? and t0.deleted = false; --bind(Array[7]={1,4,2,5,9,3,8},123) --micros(1,688) -12:27:30.471 [JettyServerThreadPool-54] DEBUG io.ebean.SQL - txn[1131] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.products, t0.total_amount, t0.req_for_quote_num, t0.quote_num, t0.vendor_quote_num, t0.quote_date, t0.valid_till, t0.tnc, t0.documents, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by, t0.vendor_sys_pk from quotation t0 where t0.sys_pk = ? and t0.tenant_id = ? and t0.deleted = false; --bind(22, 123) --micros(1,202) -12:27:30.475 [JettyServerThreadPool-54] DEBUG io.ebean.SQL - txn[1132] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.sys_pk = ? and t0.tenant_id = ? and t0.deleted = false; --bind(9, 123) --micros(1,044) -12:27:30.497 [JettyServerThreadPool-28] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:27:30.494737800 -12:27:30.566 [JettyServerThreadPool-54] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) -12:27:30.569 [JettyServerThreadPool-54] DEBUG io.ebean.SQL - txn[1133] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(2,589) -12:27:30.578 [JettyServerThreadPool-31] DEBUG io.ebean.SQL - txn[1134] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(9,237) -12:27:30.645 [JettyServerThreadPool-54] DEBUG io.ebean.SQL - txn[1135] select count(*) from purchase_order t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(2,148) -12:27:34.750 [JettyServerThreadPool-31] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:28:05.330 [JettyServerThreadPool-30] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:28:35.328 [JettyServerThreadPool-31] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:29:37.325 [JettyServerThreadPool-53] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:30:16.236 [JettyServerThreadPool-54] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:30:19.626 [JettyServerThreadPool-30] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:30:19.626103900 -12:30:19.683 [JettyServerThreadPool-54] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:30:19.683653800 -12:30:23.764 [JettyServerThreadPool-30] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:30:23.764269300 -12:30:23.876 [JettyServerThreadPool-28] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) -12:30:23.878 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1136] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(2,684) -12:30:23.879 [JettyServerThreadPool-28] DEBUG io.ebean.SQL - txn[1137] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(2,530) -12:30:23.976 [JettyServerThreadPool-54] DEBUG io.ebean.SQL - txn[1138] select count(*) from quotation t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,001) -12:30:28.952 [JettyServerThreadPool-30] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:30:28.952892700 -12:30:28.964 [JettyServerThreadPool-24] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) -12:30:28.965 [JettyServerThreadPool-24] DEBUG io.ebean.SQL - txn[1140] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(933) -12:30:28.967 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1139] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.products, t0.total_amount, t0.req_for_quote_num, t0.quote_num, t0.vendor_quote_num, t0.quote_date, t0.valid_till, t0.tnc, t0.documents, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by, t0.vendor_sys_pk from quotation t0 where t0.quote_date >= ? and t0.quote_date <= ? and t0.valid_till >= ? and t0.valid_till <= ? and t0.total_amount >= ? and t0.total_amount <= ? and lower(t0.quote_num) like ? escape'' and t0.quote_date >= ? and t0.quote_date <= ? and t0.tenant_id = ? and t0.deleted = false; --bind(1500-01-01,3000-01-01,1500-01-01,3000-01-01,-9223372036854775808,9223372036854775807,%%%,1500-01-01,3000-01-01,123) --micros(2,575) -12:30:28.977 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1141] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.sys_pk = any(?) and t0.tenant_id = ? and t0.deleted = false; --bind(Array[7]={4,5,9,3,8,1,2},123) --micros(977) -12:30:31.756 [JettyServerThreadPool-54] DEBUG io.ebean.SQL - txn[1142] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.products, t0.total_amount, t0.req_for_quote_num, t0.quote_num, t0.vendor_quote_num, t0.quote_date, t0.valid_till, t0.tnc, t0.documents, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by, t0.vendor_sys_pk from quotation t0 where t0.sys_pk = ? and t0.tenant_id = ? and t0.deleted = false; --bind(22, 123) --micros(887) -12:30:31.758 [JettyServerThreadPool-54] DEBUG io.ebean.SQL - txn[1143] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.sys_pk = ? and t0.tenant_id = ? and t0.deleted = false; --bind(9, 123) --micros(586) -12:30:31.775 [JettyServerThreadPool-30] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:30:31.775208100 -12:30:31.855 [JettyServerThreadPool-54] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) -12:30:31.858 [JettyServerThreadPool-54] DEBUG io.ebean.SQL - txn[1145] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(857) -12:30:31.859 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1144] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(2,836) -12:32:43.581 [JettyServerThreadPool-28] WARN api - User arsalan365 of tenant 123 has performed login @ 2024-02-09T12:32:43.581906100 -12:32:43.593 [JettyServerThreadPool-24] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:32:43.593691400 -12:32:46.543 [JettyServerThreadPool-28] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:32:46.543869800 -12:32:46.578 [JettyServerThreadPool-31] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:32:46.578410900 -12:32:50.501 [JettyServerThreadPool-24] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:32:50.500493200 -12:32:50.543 [JettyServerThreadPool-28] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) -12:32:50.545 [JettyServerThreadPool-28] DEBUG io.ebean.SQL - txn[1146] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(1,215) -12:32:50.551 [JettyServerThreadPool-31] DEBUG io.ebean.SQL - txn[1147] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.products, t0.total_amount, t0.req_for_quote_num, t0.quote_num, t0.vendor_quote_num, t0.quote_date, t0.valid_till, t0.tnc, t0.documents, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by, t0.vendor_sys_pk from quotation t0 where t0.quote_date >= ? and t0.quote_date <= ? and t0.valid_till >= ? and t0.valid_till <= ? and t0.total_amount >= ? and t0.total_amount <= ? and lower(t0.quote_num) like ? escape'' and t0.quote_date >= ? and t0.quote_date <= ? and t0.tenant_id = ? and t0.deleted = false; --bind(1500-01-01,3000-01-01,1500-01-01,3000-01-01,-9223372036854775808,9223372036854775807,%%%,1500-01-01,3000-01-01,123) --micros(4,932) -12:32:50.562 [JettyServerThreadPool-31] DEBUG io.ebean.SQL - txn[1148] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.sys_pk = any(?) and t0.tenant_id = ? and t0.deleted = false; --bind(Array[7]={1,9,4,2,3,8,5},123) --micros(1,557) -12:32:52.851 [JettyServerThreadPool-24] DEBUG io.ebean.SQL - txn[1149] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.products, t0.total_amount, t0.req_for_quote_num, t0.quote_num, t0.vendor_quote_num, t0.quote_date, t0.valid_till, t0.tnc, t0.documents, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by, t0.vendor_sys_pk from quotation t0 where t0.sys_pk = ? and t0.tenant_id = ? and t0.deleted = false; --bind(22, 123) --micros(1,156) -12:32:52.853 [JettyServerThreadPool-24] DEBUG io.ebean.SQL - txn[1150] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.sys_pk = ? and t0.tenant_id = ? and t0.deleted = false; --bind(9, 123) --micros(591) -12:32:52.863 [JettyServerThreadPool-57] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:32:52.863207 -12:32:52.920 [JettyServerThreadPool-24] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) -12:32:52.922 [JettyServerThreadPool-24] DEBUG io.ebean.SQL - txn[1151] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(1,168) -12:32:52.923 [JettyServerThreadPool-31] DEBUG io.ebean.SQL - txn[1152] select count(*) from purchase_order t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(696) -12:32:52.950 [JettyServerThreadPool-57] DEBUG io.ebean.SQL - txn[1153] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(3,720) -12:33:17.334 [JettyServerThreadPool-28] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 1 entries -12:33:17.337 [JettyServerThreadPool-28] WARN Auth - can we refresh the token for arsalan365, created = 2024-02-09T12:32:43.563129700 expires = 2024-02-09T13:27:43.563129700, refresh Till = 2024-02-09T13:02:43.563129700 -12:33:17.337 [JettyServerThreadPool-28] WARN Auth - Still valid, the token for arsalan365, will expire at 2024-02-09T13:27:43.563129700 -12:33:37.312 [JettyServerThreadPool-54] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:33:37.312242400 -12:33:37.415 [JettyServerThreadPool-28] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:33:37.415349500 -12:33:40.565 [JettyServerThreadPool-54] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:33:40.565810300 -12:33:40.626 [JettyServerThreadPool-28] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) -12:33:40.632 [JettyServerThreadPool-28] DEBUG io.ebean.SQL - txn[1154] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(1,606) -12:33:40.632 [JettyServerThreadPool-57] DEBUG io.ebean.SQL - txn[1155] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.products, t0.total_amount, t0.req_for_quote_num, t0.quote_num, t0.vendor_quote_num, t0.quote_date, t0.valid_till, t0.tnc, t0.documents, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by, t0.vendor_sys_pk from quotation t0 where t0.quote_date >= ? and t0.quote_date <= ? and t0.valid_till >= ? and t0.valid_till <= ? and t0.total_amount >= ? and t0.total_amount <= ? and lower(t0.quote_num) like ? escape'' and t0.quote_date >= ? and t0.quote_date <= ? and t0.tenant_id = ? and t0.deleted = false; --bind(1500-01-01,3000-01-01,1500-01-01,3000-01-01,-9223372036854775808,9223372036854775807,%%%,1500-01-01,3000-01-01,123) --micros(1,311) -12:33:40.651 [JettyServerThreadPool-57] DEBUG io.ebean.SQL - txn[1156] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.sys_pk = any(?) and t0.tenant_id = ? and t0.deleted = false; --bind(Array[7]={4,2,8,9,1,5,3},123) --micros(1,756) -12:33:43.216 [JettyServerThreadPool-28] DEBUG io.ebean.SQL - txn[1157] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.products, t0.total_amount, t0.req_for_quote_num, t0.quote_num, t0.vendor_quote_num, t0.quote_date, t0.valid_till, t0.tnc, t0.documents, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by, t0.vendor_sys_pk from quotation t0 where t0.sys_pk = ? and t0.tenant_id = ? and t0.deleted = false; --bind(22, 123) --micros(928) -12:33:43.219 [JettyServerThreadPool-28] DEBUG io.ebean.SQL - txn[1158] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.sys_pk = ? and t0.tenant_id = ? and t0.deleted = false; --bind(9, 123) --micros(748) -12:33:43.245 [JettyServerThreadPool-57] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:33:43.245108600 -12:33:43.325 [JettyServerThreadPool-28] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) -12:33:43.331 [JettyServerThreadPool-31] DEBUG io.ebean.SQL - txn[1159] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(682) -12:33:43.332 [JettyServerThreadPool-28] DEBUG io.ebean.SQL - txn[1160] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(8,242) -12:33:43.376 [JettyServerThreadPool-57] DEBUG io.ebean.SQL - txn[1161] select count(*) from purchase_order t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(2,419) -12:33:54.636 [JettyServerThreadPool-31] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:33:54.635994200 -12:33:54.674 [JettyServerThreadPool-24] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) -12:33:54.678 [JettyServerThreadPool-24] DEBUG io.ebean.SQL - txn[1163] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(2,781) -12:33:54.686 [JettyServerThreadPool-57] DEBUG io.ebean.SQL - txn[1162] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.products, t0.total_amount, t0.req_for_quote_num, t0.quote_num, t0.vendor_quote_num, t0.quote_date, t0.valid_till, t0.tnc, t0.documents, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by, t0.vendor_sys_pk from quotation t0 where t0.quote_date >= ? and t0.quote_date <= ? and t0.valid_till >= ? and t0.valid_till <= ? and t0.total_amount >= ? and t0.total_amount <= ? and lower(t0.quote_num) like ? escape'' and t0.quote_date >= ? and t0.quote_date <= ? and t0.tenant_id = ? and t0.deleted = false; --bind(1500-01-01,3000-01-01,1500-01-01,3000-01-01,-9223372036854775808,9223372036854775807,%%%,1500-01-01,3000-01-01,123) --micros(11,177) -12:33:54.705 [JettyServerThreadPool-57] DEBUG io.ebean.SQL - txn[1164] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.sys_pk = any(?) and t0.tenant_id = ? and t0.deleted = false; --bind(Array[7]={4,5,2,3,1,9,8},123) --micros(1,613) -12:33:57.273 [JettyServerThreadPool-28] DEBUG io.ebean.SQL - txn[1165] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.products, t0.total_amount, t0.req_for_quote_num, t0.quote_num, t0.vendor_quote_num, t0.quote_date, t0.valid_till, t0.tnc, t0.documents, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by, t0.vendor_sys_pk from quotation t0 where t0.sys_pk = ? and t0.tenant_id = ? and t0.deleted = false; --bind(21, 123) --micros(1,347) -12:33:57.275 [JettyServerThreadPool-28] DEBUG io.ebean.SQL - txn[1166] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.sys_pk = ? and t0.tenant_id = ? and t0.deleted = false; --bind(1, 123) --micros(700) -12:33:57.291 [JettyServerThreadPool-57] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:33:57.291279500 -12:33:57.372 [JettyServerThreadPool-28] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) -12:33:57.373 [JettyServerThreadPool-54] DEBUG io.ebean.SQL - txn[1167] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,068) -12:33:57.373 [JettyServerThreadPool-28] DEBUG io.ebean.SQL - txn[1168] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(1,164) -12:33:57.393 [JettyServerThreadPool-57] DEBUG io.ebean.SQL - txn[1169] select count(*) from purchase_order t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(827) -12:34:07.260 [JettyServerThreadPool-24] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 1 entries -12:34:07.260 [JettyServerThreadPool-24] WARN Auth - can we refresh the token for arsalan365, created = 2024-02-09T12:32:43.563129700 expires = 2024-02-09T13:27:43.563129700, refresh Till = 2024-02-09T13:02:43.563129700 -12:34:07.260 [JettyServerThreadPool-24] WARN Auth - Still valid, the token for arsalan365, will expire at 2024-02-09T13:27:43.563129700 -12:34:37.333 [JettyServerThreadPool-54] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 1 entries -12:34:37.334 [JettyServerThreadPool-54] WARN Auth - can we refresh the token for arsalan365, created = 2024-02-09T12:32:43.563129700 expires = 2024-02-09T13:27:43.563129700, refresh Till = 2024-02-09T13:02:43.563129700 -12:34:37.334 [JettyServerThreadPool-54] WARN Auth - Still valid, the token for arsalan365, will expire at 2024-02-09T13:27:43.563129700 -12:35:07.320 [JettyServerThreadPool-24] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 1 entries -12:35:07.321 [JettyServerThreadPool-24] WARN Auth - can we refresh the token for arsalan365, created = 2024-02-09T12:32:43.563129700 expires = 2024-02-09T13:27:43.563129700, refresh Till = 2024-02-09T13:02:43.563129700 -12:35:07.321 [JettyServerThreadPool-24] WARN Auth - Still valid, the token for arsalan365, will expire at 2024-02-09T13:27:43.563129700 -12:35:37.316 [JettyServerThreadPool-54] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:36:07.333 [JettyServerThreadPool-57] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:36:37.312 [JettyServerThreadPool-54] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:37:37.312 [JettyServerThreadPool-57] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:38:37.327 [JettyServerThreadPool-62] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:39:37.312 [JettyServerThreadPool-57] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:40:37.312 [JettyServerThreadPool-24] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:41:37.312 [JettyServerThreadPool-31] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:42:37.312 [JettyServerThreadPool-24] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:43:37.312 [JettyServerThreadPool-62] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:44:15.513 [JettyServerThreadPool-57] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:44:25.539 [JettyServerThreadPool-62] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:44:25.539157200 -12:44:25.574 [JettyServerThreadPool-57] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) -12:44:25.574 [JettyServerThreadPool-57] DEBUG io.ebean.SQL - txn[1171] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(2,619) -12:44:25.574 [JettyServerThreadPool-24] DEBUG io.ebean.SQL - txn[1170] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.products, t0.total_amount, t0.req_for_quote_num, t0.quote_num, t0.vendor_quote_num, t0.quote_date, t0.valid_till, t0.tnc, t0.documents, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by, t0.vendor_sys_pk from quotation t0 where t0.quote_date >= ? and t0.quote_date <= ? and t0.valid_till >= ? and t0.valid_till <= ? and t0.total_amount >= ? and t0.total_amount <= ? and lower(t0.quote_num) like ? escape'' and t0.quote_date >= ? and t0.quote_date <= ? and t0.tenant_id = ? and t0.deleted = false; --bind(1500-01-01,3000-01-01,1500-01-01,3000-01-01,-9223372036854775808,9223372036854775807,%%%,1500-01-01,3000-01-01,123) --micros(3,063) -12:44:25.587 [JettyServerThreadPool-24] DEBUG io.ebean.SQL - txn[1172] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.sys_pk = any(?) and t0.tenant_id = ? and t0.deleted = false; --bind(Array[7]={5,1,2,8,4,9,3},123) --micros(1,396) -12:44:28.728 [JettyServerThreadPool-31] DEBUG io.ebean.SQL - txn[1173] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.products, t0.total_amount, t0.req_for_quote_num, t0.quote_num, t0.vendor_quote_num, t0.quote_date, t0.valid_till, t0.tnc, t0.documents, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by, t0.vendor_sys_pk from quotation t0 where t0.sys_pk = ? and t0.tenant_id = ? and t0.deleted = false; --bind(18, 123) --micros(937) -12:44:28.730 [JettyServerThreadPool-31] DEBUG io.ebean.SQL - txn[1174] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.sys_pk = ? and t0.tenant_id = ? and t0.deleted = false; --bind(2, 123) --micros(529) -12:44:28.752 [JettyServerThreadPool-62] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:44:28.752863200 -12:44:28.820 [JettyServerThreadPool-24] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) -12:44:28.824 [JettyServerThreadPool-24] DEBUG io.ebean.SQL - txn[1175] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(2,901) -12:44:28.826 [JettyServerThreadPool-31] DEBUG io.ebean.SQL - txn[1176] select count(*) from purchase_order t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(888) -12:44:28.850 [JettyServerThreadPool-62] DEBUG io.ebean.SQL - txn[1177] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,403) -12:44:37.261 [JettyServerThreadPool-54] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:45:07.329 [JettyServerThreadPool-62] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:45:37.328 [JettyServerThreadPool-54] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:46:37.331 [JettyServerThreadPool-57] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:47:37.327 [JettyServerThreadPool-54] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:48:37.328 [JettyServerThreadPool-62] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:49:37.330 [JettyServerThreadPool-30] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:50:17.642 [JettyServerThreadPool-62] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:50:37.334 [JettyServerThreadPool-54] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:51:07.327 [JettyServerThreadPool-62] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:51:34.963 [JettyServerThreadPool-57] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) -12:51:34.982 [JettyServerThreadPool-57] DEBUG io.ebean.SQL - txn[1178] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(14,829) -12:51:34.985 [JettyServerThreadPool-62] DEBUG io.ebean.SQL - txn[1179] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(2,537) -12:51:34.997 [JettyServerThreadPool-57] DEBUG io.ebean.SQL - txn[1180] select count(*) from purchase_order t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,574) -12:51:35.056 [JettyServerThreadPool-62] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) -12:51:35.059 [JettyServerThreadPool-31] DEBUG io.ebean.SQL - txn[1182] select count(*) from purchase_order t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,091) -12:51:35.059 [JettyServerThreadPool-65] DEBUG io.ebean.SQL - txn[1181] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(2,273) -12:51:35.152 [JettyServerThreadPool-62] DEBUG io.ebean.SQL - txn[1183] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(2,244) -12:51:37.275 [JettyServerThreadPool-30] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:51:39.548 [JettyServerThreadPool-54] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:51:39.548875200 -12:51:39.619 [JettyServerThreadPool-30] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) -12:51:39.620 [JettyServerThreadPool-31] DEBUG io.ebean.SQL - txn[1184] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,157) -12:51:39.621 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1185] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(1,371) -12:51:39.623 [JettyServerThreadPool-54] DEBUG io.ebean.SQL - txn[1186] select count(*) from quotation t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(2,225) -12:51:48.359 [JettyServerThreadPool-65] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:51:48.359252300 -12:51:48.382 [JettyServerThreadPool-31] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:51:48.382404300 -12:51:50.689 [JettyServerThreadPool-65] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:51:50.689360300 -12:51:50.785 [JettyServerThreadPool-65] DEBUG io.ebean.SQL - txn[1187] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,211) -12:51:50.787 [JettyServerThreadPool-62] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) -12:51:50.789 [JettyServerThreadPool-62] DEBUG io.ebean.SQL - txn[1188] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(1,822) -12:51:50.813 [JettyServerThreadPool-31] DEBUG io.ebean.SQL - txn[1189] select count(*) from quotation t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(804) -12:51:50.816 [JettyServerThreadPool-65] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:51:50.816675 -12:51:55.140 [JettyServerThreadPool-62] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:51:55.140495400 -12:51:55.251 [JettyServerThreadPool-65] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) -12:51:55.252 [JettyServerThreadPool-31] DEBUG io.ebean.SQL - txn[1190] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,139) -12:51:55.253 [JettyServerThreadPool-65] DEBUG io.ebean.SQL - txn[1191] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(1,105) -12:51:55.283 [JettyServerThreadPool-62] DEBUG io.ebean.SQL - txn[1192] select count(*) from quotation t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(4,847) -12:51:55.289 [JettyServerThreadPool-54] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:51:55.289589200 -12:51:58.362 [JettyServerThreadPool-65] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:51:58.362835100 -12:51:58.375 [JettyServerThreadPool-62] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) -12:51:58.377 [JettyServerThreadPool-62] DEBUG io.ebean.SQL - txn[1193] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(1,077) -12:52:01.033 [JettyServerThreadPool-54] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:52:01.033260700 -12:52:03.710 [JettyServerThreadPool-62] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:52:03.710254400 -12:52:03.775 [JettyServerThreadPool-54] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) -12:52:03.783 [JettyServerThreadPool-54] DEBUG io.ebean.SQL - txn[1194] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(6,517) -12:52:03.783 [JettyServerThreadPool-65] DEBUG io.ebean.SQL - txn[1195] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.products, t0.total_amount, t0.req_for_quote_num, t0.quote_num, t0.vendor_quote_num, t0.quote_date, t0.valid_till, t0.tnc, t0.documents, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by, t0.vendor_sys_pk from quotation t0 where t0.quote_date >= ? and t0.quote_date <= ? and t0.valid_till >= ? and t0.valid_till <= ? and t0.total_amount >= ? and t0.total_amount <= ? and lower(t0.quote_num) like ? escape'' and t0.quote_date >= ? and t0.quote_date <= ? and t0.tenant_id = ? and t0.deleted = false; --bind(1500-01-01,3000-01-01,1500-01-01,3000-01-01,-9223372036854775808,9223372036854775807,%%%,1500-01-01,3000-01-01,123) --micros(7,128) -12:52:03.793 [JettyServerThreadPool-65] DEBUG io.ebean.SQL - txn[1196] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.sys_pk = any(?) and t0.tenant_id = ? and t0.deleted = false; --bind(Array[7]={2,5,9,8,1,4,3},123) --micros(1,543) -12:52:06.716 [JettyServerThreadPool-62] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:52:06.716335900 -12:52:06.796 [JettyServerThreadPool-65] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) -12:52:06.797 [JettyServerThreadPool-62] DEBUG io.ebean.SQL - txn[1197] select count(*) from quotation t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(916) -12:52:06.797 [JettyServerThreadPool-31] DEBUG io.ebean.SQL - txn[1198] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(913) -12:52:06.798 [JettyServerThreadPool-65] DEBUG io.ebean.SQL - txn[1199] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(943) -12:52:06.838 [JettyServerThreadPool-54] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:52:06.838919100 -12:52:18.319 [JettyServerThreadPool-30] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:52:48.323 [JettyServerThreadPool-62] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:53:18.330 [JettyServerThreadPool-30] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:53:38.981 [JettyServerThreadPool-65] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:53:38.981891400 -12:53:39.075 [JettyServerThreadPool-65] DEBUG io.ebean.SQL - txn[1201] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(832) -12:53:39.075 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1200] select count(*) from quotation t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,025) -12:53:39.085 [JettyServerThreadPool-62] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) -12:53:39.088 [JettyServerThreadPool-62] DEBUG io.ebean.SQL - txn[1202] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(840) -12:53:39.101 [JettyServerThreadPool-53] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:53:39.101131900 -12:53:44.335 [JettyServerThreadPool-65] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:53:44.335860500 -12:53:44.417 [JettyServerThreadPool-54] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) -12:53:44.418 [JettyServerThreadPool-65] DEBUG io.ebean.SQL - txn[1203] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(989) -12:53:44.418 [JettyServerThreadPool-53] DEBUG io.ebean.SQL - txn[1205] select count(*) from quotation t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(666) -12:53:44.419 [JettyServerThreadPool-54] DEBUG io.ebean.SQL - txn[1204] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(1,230) -12:53:44.460 [JettyServerThreadPool-30] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:53:44.460810300 -12:53:48.312 [JettyServerThreadPool-67] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:54:06.058 [JettyServerThreadPool-30] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:54:06.058166600 -12:54:06.108 [JettyServerThreadPool-65] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:54:06.108208900 -12:54:08.892 [JettyServerThreadPool-30] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:54:08.892444400 -12:54:08.995 [JettyServerThreadPool-67] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) -12:54:08.997 [JettyServerThreadPool-67] DEBUG io.ebean.SQL - txn[1207] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(856) -12:54:08.997 [JettyServerThreadPool-65] DEBUG io.ebean.SQL - txn[1206] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,439) -12:54:09.007 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1208] select count(*) from quotation t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,219) -12:54:35.937 [JettyServerThreadPool-54] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:55:05.946 [JettyServerThreadPool-67] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:55:36.319 [JettyServerThreadPool-54] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:56:06.331 [JettyServerThreadPool-53] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:56:37.323 [JettyServerThreadPool-54] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:57:37.318 [JettyServerThreadPool-53] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:58:37.335 [JettyServerThreadPool-31] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:59:05.951 [JettyServerThreadPool-53] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:59:08.480 [JettyServerThreadPool-53] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) -12:59:08.481 [JettyServerThreadPool-53] DEBUG io.ebean.SQL - txn[1209] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(931) -12:59:08.484 [JettyServerThreadPool-67] DEBUG io.ebean.SQL - txn[1210] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.products, t0.total_amount, t0.req_for_quote_num, t0.quote_num, t0.vendor_quote_num, t0.quote_date, t0.valid_till, t0.tnc, t0.documents, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by, t0.vendor_sys_pk from quotation t0 where t0.quote_date >= ? and t0.quote_date <= ? and t0.valid_till >= ? and t0.valid_till <= ? and t0.total_amount >= ? and t0.total_amount <= ? and lower(t0.quote_num) like ? escape'' and t0.quote_date >= ? and t0.quote_date <= ? and t0.tenant_id = ? and t0.deleted = false; --bind(1500-01-01,3000-01-01,1500-01-01,3000-01-01,-9223372036854775808,9223372036854775807,%%%,1500-01-01,3000-01-01,123) --micros(2,754) -12:59:08.490 [JettyServerThreadPool-67] DEBUG io.ebean.SQL - txn[1211] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.sys_pk = any(?) and t0.tenant_id = ? and t0.deleted = false; --bind(Array[7]={1,2,3,4,8,9,5},123) --micros(1,201) -12:59:08.577 [JettyServerThreadPool-54] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:59:08.576519100 -12:59:12.029 [JettyServerThreadPool-53] DEBUG io.ebean.SQL - txn[1212] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.products, t0.total_amount, t0.req_for_quote_num, t0.quote_num, t0.vendor_quote_num, t0.quote_date, t0.valid_till, t0.tnc, t0.documents, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by, t0.vendor_sys_pk from quotation t0 where t0.sys_pk = ? and t0.tenant_id = ? and t0.deleted = false; --bind(22, 123) --micros(919) -12:59:12.031 [JettyServerThreadPool-53] DEBUG io.ebean.SQL - txn[1213] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.sys_pk = ? and t0.tenant_id = ? and t0.deleted = false; --bind(9, 123) --micros(566) -12:59:16.042 [JettyServerThreadPool-54] DEBUG io.ebean.SQL - txn[1214] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.products, t0.total_amount, t0.req_for_quote_num, t0.quote_num, t0.vendor_quote_num, t0.quote_date, t0.valid_till, t0.tnc, t0.documents, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by, t0.vendor_sys_pk from quotation t0 where t0.sys_pk = ? and t0.tenant_id = ? and t0.deleted = false; --bind(22, 123) --micros(851) -12:59:16.044 [JettyServerThreadPool-54] DEBUG io.ebean.SQL - txn[1215] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.sys_pk = ? and t0.tenant_id = ? and t0.deleted = false; --bind(9, 123) --micros(580) -12:59:16.058 [JettyServerThreadPool-53] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:59:16.058231500 -12:59:16.130 [JettyServerThreadPool-54] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) -12:59:16.132 [JettyServerThreadPool-65] DEBUG io.ebean.SQL - txn[1216] select count(*) from purchase_order t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(975) -12:59:16.133 [JettyServerThreadPool-54] DEBUG io.ebean.SQL - txn[1217] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(898) -12:59:16.156 [JettyServerThreadPool-53] DEBUG io.ebean.SQL - txn[1218] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(6,486) -12:59:36.411 [JettyServerThreadPool-30] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -12:59:48.831 [JettyServerThreadPool-68] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:59:48.831546900 -12:59:48.866 [JettyServerThreadPool-30] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) -12:59:48.872 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1220] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(3,325) -12:59:48.873 [JettyServerThreadPool-53] DEBUG io.ebean.SQL - txn[1219] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.products, t0.total_amount, t0.req_for_quote_num, t0.quote_num, t0.vendor_quote_num, t0.quote_date, t0.valid_till, t0.tnc, t0.documents, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by, t0.vendor_sys_pk from quotation t0 where t0.quote_date >= ? and t0.quote_date <= ? and t0.valid_till >= ? and t0.valid_till <= ? and t0.total_amount >= ? and t0.total_amount <= ? and lower(t0.quote_num) like ? escape'' and t0.quote_date >= ? and t0.quote_date <= ? and t0.tenant_id = ? and t0.deleted = false; --bind(1500-01-01,3000-01-01,1500-01-01,3000-01-01,-9223372036854775808,9223372036854775807,%%%,1500-01-01,3000-01-01,123) --micros(6,362) -12:59:48.885 [JettyServerThreadPool-53] DEBUG io.ebean.SQL - txn[1221] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.sys_pk = any(?) and t0.tenant_id = ? and t0.deleted = false; --bind(Array[7]={5,9,8,3,4,1,2},123) --micros(1,445) -12:59:51.461 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1222] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.products, t0.total_amount, t0.req_for_quote_num, t0.quote_num, t0.vendor_quote_num, t0.quote_date, t0.valid_till, t0.tnc, t0.documents, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by, t0.vendor_sys_pk from quotation t0 where t0.sys_pk = ? and t0.tenant_id = ? and t0.deleted = false; --bind(22, 123) --micros(904) -12:59:51.463 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1223] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.sys_pk = ? and t0.tenant_id = ? and t0.deleted = false; --bind(9, 123) --micros(556) -12:59:51.479 [JettyServerThreadPool-53] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T12:59:51.479724700 -12:59:51.576 [JettyServerThreadPool-53] DEBUG io.ebean.SQL - txn[1224] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,770) -12:59:51.576 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1225] select count(*) from purchase_order t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(840) -12:59:51.576 [JettyServerThreadPool-30] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) -12:59:51.587 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1226] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(3,443) -13:00:05.946 [JettyServerThreadPool-53] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -13:00:35.942 [JettyServerThreadPool-30] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -13:01:04.403 [JettyServerThreadPool-65] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T13:01:04.403846100 -13:01:04.484 [JettyServerThreadPool-68] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T13:01:04.484515900 -13:01:10.218 [JettyServerThreadPool-65] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T13:01:10.218642100 -13:01:10.326 [JettyServerThreadPool-68] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) -13:01:10.332 [JettyServerThreadPool-68] DEBUG io.ebean.SQL - txn[1227] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(4,610) -13:01:10.333 [JettyServerThreadPool-69] DEBUG io.ebean.SQL - txn[1228] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.products, t0.total_amount, t0.req_for_quote_num, t0.quote_num, t0.vendor_quote_num, t0.quote_date, t0.valid_till, t0.tnc, t0.documents, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by, t0.vendor_sys_pk from quotation t0 where t0.quote_date >= ? and t0.quote_date <= ? and t0.valid_till >= ? and t0.valid_till <= ? and t0.total_amount >= ? and t0.total_amount <= ? and lower(t0.quote_num) like ? escape'' and t0.quote_date >= ? and t0.quote_date <= ? and t0.tenant_id = ? and t0.deleted = false; --bind(1500-01-01,3000-01-01,1500-01-01,3000-01-01,-9223372036854775808,9223372036854775807,%%%,1500-01-01,3000-01-01,123) --micros(1,522) -13:01:10.337 [JettyServerThreadPool-69] DEBUG io.ebean.SQL - txn[1229] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.sys_pk = any(?) and t0.tenant_id = ? and t0.deleted = false; --bind(Array[7]={8,4,5,3,2,9,1},123) --micros(767) -13:01:15.595 [JettyServerThreadPool-65] DEBUG io.ebean.SQL - txn[1230] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.products, t0.total_amount, t0.req_for_quote_num, t0.quote_num, t0.vendor_quote_num, t0.quote_date, t0.valid_till, t0.tnc, t0.documents, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by, t0.vendor_sys_pk from quotation t0 where t0.sys_pk = ? and t0.tenant_id = ? and t0.deleted = false; --bind(22, 123) --micros(921) -13:01:15.597 [JettyServerThreadPool-65] DEBUG io.ebean.SQL - txn[1231] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.sys_pk = ? and t0.tenant_id = ? and t0.deleted = false; --bind(9, 123) --micros(564) -13:01:15.613 [JettyServerThreadPool-53] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T13:01:15.613254400 -13:01:15.711 [JettyServerThreadPool-65] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) -13:01:15.711 [JettyServerThreadPool-69] DEBUG io.ebean.SQL - txn[1232] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(3,868) -13:01:15.712 [JettyServerThreadPool-53] DEBUG io.ebean.SQL - txn[1233] select count(*) from purchase_order t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(2,057) -13:01:15.769 [JettyServerThreadPool-65] DEBUG io.ebean.SQL - txn[1234] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(56,759) -13:01:35.319 [JettyServerThreadPool-69] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -13:02:05.331 [JettyServerThreadPool-53] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -13:02:08.895 [JettyServerThreadPool-30] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T13:02:08.895059500 -13:02:09.015 [JettyServerThreadPool-53] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T13:02:09.015630300 -13:02:13.299 [JettyServerThreadPool-69] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T13:02:13.299783900 -13:02:13.396 [JettyServerThreadPool-30] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) -13:02:13.398 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1236] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(1,117) -13:02:13.398 [JettyServerThreadPool-53] DEBUG io.ebean.SQL - txn[1235] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.products, t0.total_amount, t0.req_for_quote_num, t0.quote_num, t0.vendor_quote_num, t0.quote_date, t0.valid_till, t0.tnc, t0.documents, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by, t0.vendor_sys_pk from quotation t0 where t0.quote_date >= ? and t0.quote_date <= ? and t0.valid_till >= ? and t0.valid_till <= ? and t0.total_amount >= ? and t0.total_amount <= ? and lower(t0.quote_num) like ? escape'' and t0.quote_date >= ? and t0.quote_date <= ? and t0.tenant_id = ? and t0.deleted = false; --bind(1500-01-01,3000-01-01,1500-01-01,3000-01-01,-9223372036854775808,9223372036854775807,%%%,1500-01-01,3000-01-01,123) --micros(1,423) -13:02:13.404 [JettyServerThreadPool-53] DEBUG io.ebean.SQL - txn[1237] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.sys_pk = any(?) and t0.tenant_id = ? and t0.deleted = false; --bind(Array[7]={8,3,4,1,5,9,2},123) --micros(858) -13:02:15.539 [JettyServerThreadPool-69] DEBUG io.ebean.SQL - txn[1238] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.products, t0.total_amount, t0.req_for_quote_num, t0.quote_num, t0.vendor_quote_num, t0.quote_date, t0.valid_till, t0.tnc, t0.documents, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by, t0.vendor_sys_pk from quotation t0 where t0.sys_pk = ? and t0.tenant_id = ? and t0.deleted = false; --bind(22, 123) --micros(906) -13:02:15.541 [JettyServerThreadPool-69] DEBUG io.ebean.SQL - txn[1239] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.sys_pk = ? and t0.tenant_id = ? and t0.deleted = false; --bind(9, 123) --micros(530) -13:02:15.562 [JettyServerThreadPool-68] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T13:02:15.562838100 -13:02:15.628 [JettyServerThreadPool-53] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) -13:02:15.632 [JettyServerThreadPool-53] DEBUG io.ebean.SQL - txn[1240] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(2,583) -13:02:15.635 [JettyServerThreadPool-68] DEBUG io.ebean.SQL - txn[1241] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,091) -13:02:15.668 [JettyServerThreadPool-69] DEBUG io.ebean.SQL - txn[1242] select count(*) from purchase_order t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(43,468) -13:02:39.333 [JettyServerThreadPool-68] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -13:02:58.393 [JettyServerThreadPool-53] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T13:02:58.393018800 -13:02:58.393 [JettyServerThreadPool-30] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T13:02:58.393018800 -13:03:01.375 [JettyServerThreadPool-53] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T13:03:01.375791500 -13:03:01.431 [JettyServerThreadPool-30] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) -13:03:01.446 [JettyServerThreadPool-30] DEBUG io.ebean.SQL - txn[1244] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(17,480) -13:03:01.458 [JettyServerThreadPool-74] DEBUG io.ebean.SQL - txn[1243] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.products, t0.total_amount, t0.req_for_quote_num, t0.quote_num, t0.vendor_quote_num, t0.quote_date, t0.valid_till, t0.tnc, t0.documents, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by, t0.vendor_sys_pk from quotation t0 where t0.quote_date >= ? and t0.quote_date <= ? and t0.valid_till >= ? and t0.valid_till <= ? and t0.total_amount >= ? and t0.total_amount <= ? and lower(t0.quote_num) like ? escape'' and t0.quote_date >= ? and t0.quote_date <= ? and t0.tenant_id = ? and t0.deleted = false; --bind(1500-01-01,3000-01-01,1500-01-01,3000-01-01,-9223372036854775808,9223372036854775807,%%%,1500-01-01,3000-01-01,123) --micros(25,096) -13:03:01.464 [JettyServerThreadPool-74] DEBUG io.ebean.SQL - txn[1245] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.sys_pk = any(?) and t0.tenant_id = ? and t0.deleted = false; --bind(Array[7]={1,8,2,3,9,5,4},123) --micros(1,324) -13:03:03.598 [JettyServerThreadPool-53] DEBUG io.ebean.SQL - txn[1246] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.products, t0.total_amount, t0.req_for_quote_num, t0.quote_num, t0.vendor_quote_num, t0.quote_date, t0.valid_till, t0.tnc, t0.documents, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by, t0.vendor_sys_pk from quotation t0 where t0.sys_pk = ? and t0.tenant_id = ? and t0.deleted = false; --bind(22, 123) --micros(913) -13:03:03.600 [JettyServerThreadPool-53] DEBUG io.ebean.SQL - txn[1247] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.sys_pk = ? and t0.tenant_id = ? and t0.deleted = false; --bind(9, 123) --micros(616) -13:03:03.624 [JettyServerThreadPool-74] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T13:03:03.624822800 -13:03:03.696 [JettyServerThreadPool-69] INFO Vendor - filters = VF(common=CommonFilters(fromDate=1500-01-01, toDate=3000-01-01, vendor=null, sortAsc=true, sortBy=%), vendorFilters=VendorFilters(nameLike=%, msmeLike=%, gstNumLike=%, addressLike=%, ratingExceeds=0.0, ratingLessThan=10.0)) -13:03:03.698 [JettyServerThreadPool-69] DEBUG io.ebean.SQL - txn[1248] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.name, t0.msme, t0.gst_number, t0.address, t0.rating, t0.contacts, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from vendor t0 where t0.rating >= ? and t0.rating <= ? and lower(t0.name) like ? escape'' and lower(t0.msme) like ? escape'' and lower(t0.gst_number) like ? escape'' and lower(t0.address) like ? escape'' and t0.tenant_id = ? and t0.deleted = false; --bind(0.0,10.0,%%%,%%%,%%%,%%%,123) --micros(802) -13:03:03.699 [JettyServerThreadPool-74] DEBUG io.ebean.SQL - txn[1249] select t0.sys_pk, t0.deleted_on, t0.deleted_by, t0.current_approval_level, t0.required_approval_levels, t0.approval_status, t0.tags, t0.comments, t0.tenant_id, t0.id, t0.name, t0.description, t0.hsn_code, t0.uom, t0.deleted, t0.version, t0.created_at, t0.modified_at, t0.created_by, t0.modified_by from product t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,192) -13:03:03.761 [JettyServerThreadPool-53] DEBUG io.ebean.SQL - txn[1250] select count(*) from purchase_order t0 where t0.tenant_id = ? and t0.deleted = false; --bind(123) --micros(1,963) -13:03:28.317 [JettyServerThreadPool-74] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries -13:03:31.641 [JettyServerThreadPool-53] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T13:03:31.641001900 -13:03:31.793 [JettyServerThreadPool-69] WARN api - User arsalan365 of tenant 123 has performed pageview @ 2024-02-09T13:03:31.793105 -13:04:01.609 [JettyServerThreadPool-53] WARN Auth - for user arsalan365, found from redis, AUTH_TOKEN_V2arsalan365 => 0 entries From 338f86a5f5b57171cc9227cb5fdcdd8551d2d63a Mon Sep 17 00:00:00 2001 From: "gowthaman.b" Date: Fri, 9 Feb 2024 14:49:25 +0530 Subject: [PATCH 06/12] some updates --- src/main/kotlin/com/restapi/Test.kt | 74 ++++++++++ .../kotlin/com/restapi/controllers/Filters.kt | 132 ++++++++++-------- 2 files changed, 148 insertions(+), 58 deletions(-) create mode 100644 src/main/kotlin/com/restapi/Test.kt diff --git a/src/main/kotlin/com/restapi/Test.kt b/src/main/kotlin/com/restapi/Test.kt new file mode 100644 index 0000000..a1aef92 --- /dev/null +++ b/src/main/kotlin/com/restapi/Test.kt @@ -0,0 +1,74 @@ +package com.restapi + +import com.fasterxml.jackson.core.JsonParser +import com.fasterxml.jackson.databind.DeserializationContext +import com.fasterxml.jackson.databind.JsonDeserializer +import com.fasterxml.jackson.databind.JsonNode +import com.fasterxml.jackson.databind.annotation.JsonDeserialize +import com.fasterxml.jackson.module.kotlin.jacksonObjectMapper +import com.fasterxml.jackson.module.kotlin.readValue +import com.restapi.controllers.QueryParam +import com.restapi.controllers.RawQuery + +class FDeserializer : JsonDeserializer() { + override fun deserialize(p: JsonParser, p1: DeserializationContext?): F { + //custom logic to do thia + val node = p.readValueAsTree() + + if (node.isObject) { + if (node.has("name")) { + return F.P(name = node.get("name").textValue()) + } else if (node.has("num")) { + return F.Q(num = node.get("num").textValue()) + } else if (node.has("tag")) { + return F.D(tag = node.get("tag").textValue()) + } + + } else { + //incorrect + } + throw IllegalArgumentException() + } + +} +val om = jacksonObjectMapper() + +@JsonDeserialize(using = FDeserializer::class) +sealed interface F { + data class P(val name: String) : F + data class Q(val num: String) : F + data class D(val tag: String) : F +} + +val j = """ + {"name":"a"} +""".trimIndent() + +val j2 = """ + {"num":"a"} +""".trimIndent() + +val j3 = """ + {"tag":"a"} +""".trimIndent() + +val j4 = """ + { + "sql":"aaaa", + "params": { + "a":"b", + "c": { + "type":"STRING", + "value":"aaaa" + } + + } + } +""".trimIndent() + +fun main() { + println(om.readValue(j)) + println(om.readValue(j2)) + println(om.readValue(j3)) + println(om.readValue(j4)) +} \ No newline at end of file diff --git a/src/main/kotlin/com/restapi/controllers/Filters.kt b/src/main/kotlin/com/restapi/controllers/Filters.kt index b2ad26c..7745f7f 100644 --- a/src/main/kotlin/com/restapi/controllers/Filters.kt +++ b/src/main/kotlin/com/restapi/controllers/Filters.kt @@ -1,66 +1,74 @@ package com.restapi.controllers import com.restapi.domain.* -import com.restapi.domain.Quotation import com.restapi.domain.Session.database import java.time.LocalDate //constants const val IGNORE = "%" -val baseDate :LocalDate = LocalDate.of(1500, 1,1, ) -val maxDate :LocalDate = LocalDate.of(3000, 1 ,1) +val baseDate: LocalDate = LocalDate.of(1500, 1, 1) +val maxDate: LocalDate = LocalDate.of(3000, 1, 1) const val RATING_MAX = 10.0 const val RATING_MIN = 0.0 + //common filters would be used by most of the handlers //require a list of vendor ids to be passed -data class CommonFilters ( - val fromDate :LocalDate = baseDate, - val toDate :LocalDate = maxDate, - val vendor :List? = null, - val sortAsc :Boolean = true, - val sortBy :String = IGNORE +data class CommonFilters( + val fromDate: LocalDate = baseDate, + val toDate: LocalDate = maxDate, + val vendor: List? = null, + val sortAsc: Boolean = true, + val sortBy: String = IGNORE ) -interface CustomFilters{} -data class POFilters ( - val poNumLike :String = IGNORE, - val totalAmountExceeds :Long = Long.MIN_VALUE, - val totalAmountLessThan :Long = Long.MAX_VALUE, + +interface CustomFilters {} + +data class POFilters( + val poNumLike: String = IGNORE, + val totalAmountExceeds: Long = Long.MIN_VALUE, + val totalAmountLessThan: Long = Long.MAX_VALUE, val validAfter: LocalDate = baseDate, val validBefore: LocalDate = maxDate, - val refQuotation :String = IGNORE, + val refQuotation: String = IGNORE, ) : CustomFilters -data class ProductFilters ( - val nameLike :String = IGNORE, - val hsnLike :String = IGNORE, - val uom :UOM = UOM.ALL, + +data class ProductFilters( + val nameLike: String = IGNORE, + val hsnLike: String = IGNORE, + val uom: UOM = UOM.ALL, ) : CustomFilters -data class DocumentFilters ( - val nameLike :String = IGNORE, - val typeOfDoc :DocType = DocType.ALL, - val docDateFrom :LocalDate = baseDate, - val docDataTo :LocalDate = maxDate, -) :CustomFilters -data class RFQFilters ( - val validBefore :LocalDate = maxDate, - val validAfter :LocalDate = baseDate, - val reqForQuoteNumLike :String = IGNORE, -) -data class QuoteFilters ( - val quoteNumLike :String = IGNORE, - val validBefore :LocalDate = maxDate, - val validAfter :LocalDate = baseDate, - val totalAmountExceeds :Long = Long.MIN_VALUE, - val totalAmountLessThan :Long = Long.MAX_VALUE, -) :CustomFilters -data class VendorFilters ( - val nameLike :String = IGNORE, - val msmeLike :String = IGNORE, - val gstNumLike :String = IGNORE, - val addressLike :String = IGNORE, - val ratingExceeds :Double = RATING_MIN, - val ratingLessThan :Double = RATING_MAX, -) :CustomFilters -fun applyVendorHelper(q :io.ebean.ExpressionList, vids :List?) { + +data class DocumentFilters( + val nameLike: String = IGNORE, + val typeOfDoc: DocType = DocType.ALL, + val docDateFrom: LocalDate = baseDate, + val docDataTo: LocalDate = maxDate, +) : CustomFilters + +data class RFQFilters( + val validBefore: LocalDate = maxDate, + val validAfter: LocalDate = baseDate, + val reqForQuoteNumLike: String = IGNORE, +): CustomFilters + +data class QuoteFilters( + val quoteNumLike: String = IGNORE, + val validBefore: LocalDate = maxDate, + val validAfter: LocalDate = baseDate, + val totalAmountExceeds: Long = Long.MIN_VALUE, + val totalAmountLessThan: Long = Long.MAX_VALUE, +) : CustomFilters + +data class VendorFilters( + val nameLike: String = IGNORE, + val msmeLike: String = IGNORE, + val gstNumLike: String = IGNORE, + val addressLike: String = IGNORE, + val ratingExceeds: Double = RATING_MIN, + val ratingLessThan: Double = RATING_MAX, +) : CustomFilters + +fun applyVendorHelper(q: io.ebean.ExpressionList, vids: List?) { if (vids.isNullOrEmpty()) return // q.apply { // q.`in`("vendor", vids) @@ -69,35 +77,40 @@ fun applyVendorHelper(q :io.ebean.ExpressionList, vids :List?) { // println(vids[0]) q.eq("vendor_sys_pk", vids[0]) } -fun applySortHelper(q :io.ebean.ExpressionList, sortBy :String, asc :Boolean) { - if(sortBy == IGNORE) return; + +fun applySortHelper(q: io.ebean.ExpressionList, sortBy: String, asc: Boolean) { + if (sortBy == IGNORE) return; val order = if (asc) "ASC" else "DESC" q.orderBy("$sortBy $order") } -fun applyFromToHelper(q :io.ebean.ExpressionList, fromDate: LocalDate, toDate: LocalDate, colName :String) { + +fun applyFromToHelper(q: io.ebean.ExpressionList, fromDate: LocalDate, toDate: LocalDate, colName: String) { q.ge(colName, fromDate) .le(colName, toDate) } -fun applyCommonFilters(q :io.ebean.ExpressionList, commonFilters: CommonFilters) { + +fun applyCommonFilters(q: io.ebean.ExpressionList, commonFilters: CommonFilters) { applyVendorHelper(q, commonFilters.vendor) applySortHelper(q, commonFilters.sortBy, commonFilters.sortAsc) } -fun searchQuotes(commonFilters: CommonFilters, quoteFilters: QuoteFilters) : List { + +fun searchQuotes(commonFilters: CommonFilters, quoteFilters: QuoteFilters): List { val q = database.find(Quotation::class.java) .where() .ge("quoteDate", commonFilters.fromDate) .le("quoteDate", commonFilters.toDate) - .ge("validTill",quoteFilters.validAfter) + .ge("validTill", quoteFilters.validAfter) .le("validTill", quoteFilters.validBefore) .ge("totalAmount", quoteFilters.totalAmountExceeds) .le("totalAmount", quoteFilters.totalAmountLessThan) - .ilike("quoteNum", "%" + quoteFilters.quoteNumLike + "%") + .ilike("quoteNum", "%" + quoteFilters.quoteNumLike + "%") applyFromToHelper(q, commonFilters.fromDate, commonFilters.toDate, "quoteDate") applyVendorHelper(q, commonFilters.vendor) applySortHelper(q, commonFilters.sortBy, commonFilters.sortAsc) return q.findList() } -fun searchVendors(commonFilters: CommonFilters, vendorFilters: VendorFilters) : List { + +fun searchVendors(commonFilters: CommonFilters, vendorFilters: VendorFilters): List { val q = database.find(Vendor::class.java) .where() .ge("rating", vendorFilters.ratingExceeds) @@ -109,11 +122,12 @@ fun searchVendors(commonFilters: CommonFilters, vendorFilters: VendorFilters) : applySortHelper(q, commonFilters.sortBy, commonFilters.sortAsc) return q.findList() } -fun searchDocs(commonFilters: CommonFilters, documentFilters: DocumentFilters) : List { + +fun searchDocs(commonFilters: CommonFilters, documentFilters: DocumentFilters): List { val q = database.find(Document::class.java) .where() .apply { - if(documentFilters.typeOfDoc != DocType.ALL){ + if (documentFilters.typeOfDoc != DocType.ALL) { this.eq("docType", documentFilters.typeOfDoc) } } @@ -122,7 +136,8 @@ fun searchDocs(commonFilters: CommonFilters, documentFilters: DocumentFilters) : applyVendorHelper(q, commonFilters.vendor) return q.findList() } -fun searchPos(commonFilters: CommonFilters, poFilters: POFilters?) : List { + +fun searchPos(commonFilters: CommonFilters, poFilters: POFilters?): List { val poFilters = poFilters ?: POFilters() val q = database.find(PurchaseOrder::class.java) .where() @@ -137,7 +152,8 @@ fun searchPos(commonFilters: CommonFilters, poFilters: POFilters?) : List { + +fun searchRFQ(commonFilters: CommonFilters, rfqFilters: RFQFilters): List { val q = database.find(ReqForQuote::class.java) .where() .ge("validTill", rfqFilters.validAfter) From 9a60105ed348fb160af7e1c3cd7e1c28db4624c8 Mon Sep 17 00:00:00 2001 From: arsalan Date: Wed, 21 Feb 2024 17:22:45 +0530 Subject: [PATCH 07/12] add vendor module --- .gitignore | 9 +- excel/Pos.xls | Bin 0 -> 5120 bytes excel/Products.xls | Bin 0 -> 5120 bytes excel/Quotes.xls | Bin 0 -> 14848 bytes excel/VendorList.xls | Bin 0 -> 7168 bytes src/main/kotlin/com/restapi/Main.kt | 3 + .../com/restapi/controllers/Entities.kt | 65 +++- .../kotlin/com/restapi/controllers/Excel.kt | 277 ++++++++++++------ .../kotlin/com/restapi/controllers/Filters.kt | 24 +- src/main/kotlin/com/restapi/domain/models.kt | 41 ++- 10 files changed, 299 insertions(+), 120 deletions(-) create mode 100644 excel/Pos.xls create mode 100644 excel/Products.xls create mode 100644 excel/Quotes.xls create mode 100644 excel/VendorList.xls diff --git a/.gitignore b/.gitignore index 64eadf0..acb5b73 100644 --- a/.gitignore +++ b/.gitignore @@ -43,4 +43,11 @@ bin/ application.yaml initial-data.sql app.yaml -*.env.json \ No newline at end of file +*.env.json + +### API Logs ### +api.log +api.2024* + +### Excel FIles ### +./excel \ No newline at end of file diff --git a/excel/Pos.xls b/excel/Pos.xls new file mode 100644 index 0000000000000000000000000000000000000000..63ee1540bb8d9f64d4d4914bfb8270b81a2d95a9 GIT binary patch literal 5120 zcmeHKOKcle6utBDFKH6zLkoeXgWW*lxNTZMR752(T!$|!aiK_y;Gb>h0fTGX0ypn{EpZC@*j%8ELHKV zkwH^bL2c7Tp2|O64pK;QKR2*G_VA#gZM{<(Jc-e5x>Y69Y4ZJ?5Gm9}oC|3OBoCBP>?lF4I)H1;cYZhpkyD`j|HQbxf34E8kU$v==}9vF*B`G%XE z^ai{a2g3>9fNpPhOsA_D*6X(^jw+(xnh3{sSvMHx*%$b)Zo}R<&tyCM-Ej8W&i-b` z6<&7R#f|5fjKlA4gNu*uf~R-EQ@h}?wm2s^g3s$naP%ndymjM}s#Cn7HM#C>ghk!g z&_&(fh=`gRBp9D|DvOpeQ?J&{TCrL&q&;roC#*`L zY8&UwvW0ut(XxetZLO@}qR!dXLVdAjJW{}I?J8`Hw)sl2X5{SRq7@~YshgErv33z= za~Py#WXsihrG`6v&a%rZhFK{X4_7ONA`ia;hPmkz<0z+aFmR?|mCGh#dDbc|74eOy zVX<5_7Hvy@k86Dr{%7W==cZ)mQ!u>;a(@#CT9oSW00a6Nbp!PjBJ%@k&N$@F6sOO- zu0}SXbEG>}&M{=+iRAJ;g3=|<^8WSCum*nN!Q} zjH;Y7@w@X!Md=~N*hMSG2S_W%Sz0T`jQ!Yk5j~lS5lKzK<-%h~O@+qZrKUk+zf#ko zu}7)#rNnWTS{NG7g480=kQF#u6dK1-w#A@fK{#3mG@en})(MTXN!FNC57;CBM65WX zoL3^2$)7S3QGJN)p#kA6RBAdjj zTqI*oM@obj^85$qAUFMH%Q7v!!2^AOpCxpSs0H9vP1arU^Yh;xs)q@<;vJFhJ1 z7mfr|6|r`axPv&{8!udXG%I~DcQ`7jk|_5 z;>BI_xPS1rV5)iC2Ui`WmAi)Z;&JEI>2c?S){8RFgua8j9^kGAxa$G#y5P?LVK`=b zfV=K-UwT6@)jjU-HXNjtyS~l+JFL?!1U^R}(wg`^sP@sPyrC$=52qZ)_wf9nI46tP NJiDa(((tc8{{R@$%31&b literal 0 HcmV?d00001 diff --git a/excel/Products.xls b/excel/Products.xls new file mode 100644 index 0000000000000000000000000000000000000000..118f9e0367a506a984efd133d874637a7808e1c9 GIT binary patch literal 5120 zcmeHKOK%%h6ux7RAE8YqkJ6Sv)2W?6;<&BzLWHO!DNvP4Nvnhc5=CYbPo2n)9Zl?1 zUE%VOSb&7YmQC5Q;UOVdP@!gnDpUys3nbX2`~xJAShO|Ycduvsh!Y_YNR-^sxp&UF z=YHqh_qpGG)3JH=lkQuhAx#LsxLa-!!5X<%^Do+k@PVi7Zn<1$760+OoBl&1Femc( z3c?gmiyTTvT;^2%>9k)2G`G8T>thE5KkN1?h38@25gD-{{mAUls(DqX@Ok#>M{}*M z(y#YymHi(j+`D%`EOiV(0K`2X0);`8@1}cq1h{8;j&n~ooBtNb?*nnWaLcxW+CT;f zSAggMb%MG;`#|@D_Ja<94uT#4b%P!RJp?)g>H!@FnV=(}2q+5b1@(a*20a4m2MvH? zpg~X^bQE+9bR4w1Hvj&*Yzbo)g8}h<`_0fa#*};i7FNW^`i5K=KZCy@R(T#+&YG3A za^}C1PD&pvjcfCS%-@5g4eN;#ochSSWd4z?y{0r#v!u0Y7aspI`WQ4Alf2-Yl6r5; zJRCe)vB17A?z_%7T%!#yr&;Ql8h@qEj{I zCMT-~M{zLVDDVurtzDayrqXP+-KIRMg!rwD;qcORlXA|!l>h2h>@4R@Hq+luPSj@l z_p)5$vh$KVo`Y%}es?Qe`M@^v_%`y`Hu9FHat1ikpEnWU=waM>*Ufi*x@a%?%Pc!e zL0NW|bXj(lLb4PkA1~PaJ+%zXd34t56$@{+b$&D!WF9F`%sgmegGS;a+-+S z;(d)57%w=ijb~D@JZr7kxLBXE*A|`S)xvT-M6P&lT)k%Dm`UE0^qiCWSlN%B8bK%YizY&OAE@1LKMD1R9>U)-rZB z+bhJmqGOwu6q$87fOd>JQSSQOC>20J%UCQ%*-%2y~aqijbnenRP>WMHH&(01`f>&?&x zcvOi!K88XnQHSXYd~cQ4&R*mx1W>$!I=B`PNQK4i4}SS>X5rjqQp#geJ}C27rKAKM zH}zqi;;Ir?P_v=CVb^O?`*oRL6%nAPK>U0nuEpUm)8?dGYT`UJkvdsRi?Sye^Q z>kxFbsv_tf0!PA-fj{vA5`j+u#nA_@O2rX@&jR`o@DMn9hI}eeD<~28Xiyvx4tg9B z_>dq%&_m#e8}f0%HX(_?XNKa4zz2uoh`^@@5kejUXUUMy5o+Yy(cvz}e>i@JBJh~nr+*C4AF9f6DLseNeSD+1nNRc#o1+FK~H^T0c-P zs~4H$<@YFc@})kNN!ka;$zIZ$q3l=IrS1P~4$tB@bT(4}vUIl4i9X*-XB(aEbe^KK zgU(JmyXfquGoq7*0M$!pAD#Vl4$%2WbPm!vMCUM_BXo|^IYuYi`or;mD+29p^b~U~ z>ia$4ZM{g(2+#g4l~LcwzDb`-{g}?@)E(%ddT?0XtJdTHmE%EXs5XJ&0sj04vUHQ4 zV4+@5pZ)y#b-wzB_M|Jfn!1~w`@pwm&yj~xP3q~)7W;jkKWF%}n?9S=zi^o!vZX@G z{SNux|I`=EFxH|j9_&{4ek&K=06rb2jmhjNeWk85GdD9^oSiM-$e&-b-}95%DS9l_ ziL8aLKKod0=Xu{HrYA&w%(|?WMIDr-YUZg&$7vr~lXg6<3aYHs4Kz@QEs@DCaXx?E zWM@`pi08)A)(vW*sPbwN1^rTm*cBzuhBUco3s7Ej7cRI4H`KB!c@5gq zwoOx%n|0;x@ld7If83{VB*)ztc07Hy|I%J~Z#$mkN&fFqbanB{(Y^9)9es+I5V24U#qF?QB%PV(5?+@uOO$nwf=z4{v65T`F4Ho!+E zH_Mx4s`Zl;^jb{SqG>XfO+l)ZtLw%p}<HN97#( zoTiJWb}Ic~wf<6dZ~vf1)`L%cvP5kV$j<)u;rYhCEWK7XJ`@a5Er;l(>QSS5o9z0F zjyK)w_O06X%hDafI7h8i)=4lM>l;)p?q+*C)!sT?AZZeMg?b6m(U)Qj*XpaaLs=&( z(Y|X`Gkl;2>4Q7hKBwh{Gs%TB^1|8V!r2e9EaK|UPHiXNt;aR$3+IpS?Cn=!K)@0! zXLf3PwT5$*^`1-WJx5)PLloCu-LCCXMSoUDo%d-M)TWLofK*bwP3fOg`Vi^sN0fe= z(ou@yw<&#w(j3+IkCZ-6=}#&BBBiUOs-IB$7nEM2nEa5^FHyQiog_<7{!5f%HLq8F zJ?dY(zT5gH<*7>5kr}2>eW1hP_{5x2kI+u3i`Pq?^tnSTf2^H)dDYZIyubdZUwrT3 z7q4Ep!S({%m-+Lr*m6uh_L!#umeyG6FX_sgS-W5OG<*Lwe|}lbQ0+T(;$KD;n~HRA zIPP7rX_I<_u28KR>_q79_!BW}%aCa3=%hCIXo}c|D$+IzO<<$&1U3+-%hIC>Y=~jn zj~+!}Lp0KU^k@Pbo>SUS@51E0;l9&;*rlayh*jE#U0m9R2&Qe=<)v*j1qC+j0@HqY z%4r*RiD?^ljcFTpk!c%Lnzmt=nYLlqnYLjUnzoIfV4FC>HhF?=DrNf(_b$B)R!ZlZ zXkici>0E|#P@c{;Qx2Nbxh&A%7v8Vy2%}|6LZH8hR@wP#iPiXJ#F>Qw8 z8c}pLEuLw_??K?*9MCo=v^PJhW82KM&^u_GNe2}?!r%iiW9ZQ5`1B5hmr+1rS~ zvA1#DEqj}bdqV58W4w-3Y+7m$*xLj4c4nV8wY3ZO_JAF~zuQXcHH zNe*$JOK8$@Z)eTS8*j`mkyugO+)0OE?+DmCJoXJ{?-1-A zg1tkqcToK<61p{L#!$T?zX=GtOYYA=$f_9ruh#bP4vZfW6CO|M>-7!tbkHqOW!_dm*7o$GwZ$ zmrdK4=Nvm$PMXxRV|60gu>x><#|-E6-W{-Gl-K34ZUQ?-VmC&13-)fo-W|lfTd5@q}LUVQ;6~-ujqcmqbGEkzkJk_Q+#D%j^-eub9|j?H8%lB!|9QN@&t? zkC@%gEtvl!yq4zKpeJF!_p`ToZt4lxdzigqTI&()Jpp@<$F9f79%jex5>Ekp-AK`9 z*yO0Xu$+k?eg!Gkt=+FJSNU*mYm+6YPD0y-%?B1?+u-9jiRY-XE~z7bMBv z&+K+?>KE+&0eip4USYlW3-*4&-Y?ku1NMHwj(xLZ#}5;l)UIa+5_VXik^!Na0l_{H zun&0bI_?94eL%1e2=;-1eSq0d8@*y5Bk z@5f#^vGBcPKOFI!AYGf^SFs=VY0`Zad*Vo0cJw*tJs7YL2JC}^eNeE|-$zhw_P{!J z&|}wqbx^PmintF7_Q4?TgUoKnNbDaS`%u6>6tE8o%?t_lp@4nJV^v?sU+0Rmo z(9AHipG$JkjH5|wW|-MGjW>4M&U++a$FJ5}1(tn;+3k8}M6i!|>^;mr;;|2K+(!ia zh+rS#xLfv-AnqfA9d7{~`)I&E8nBOwxQ_~U{E%(+uGvRDcCGhO!9FV3M+N(6z&>+mC!kVj2sWx#~u6eWm6twq+N@RGrL`jjWfHWN$Y)_**|F7#(v$gPXz1} z0s92A+j(_D#C^hJFL2x^9J|@CPH@~U`-EVh5bP5{+$RJ(-Yz)y$$)(_VOJ|U?vsLj zQm{`3?2{h5*88MjpA_tqLNk*A`y{hJVB(H<9gck}V4n)ur-Wvv1pAc7KF)E+ADYThX~+{=7bea-v#hWelV!|yvW#UT9-AG%80@O~g| z!yAsY4evS9HoV(N+wg`XZNqzpv<>_7v<*Amv<>^sv<-XAv<|rZ9`8^+e#!4}DKF$5avQKkAvFy`9KbaQn(5+*~uc5j}+I0~Ag3VbF=^19nx>e`=xX*a(SD1aq zV{hX=J|p`0jOgPtf_)}npJ8^p{zU(ZsITj%G@G!i8LgSwgni45t+RrCR>XbQW7nFQ z_1N_qZdSy7R>Xal*)JzFY0b#OsEeLi5H7wi~U zBXz|*rG*tc`8yL zHFvs{u*b8yuP!C*H&=Dsmze!y=H8bC`;y1Lz;R#l*!BCgC83!mp_wIS|C59!-B*{G z{bAEK=2OR>57_eod!E_t+>{sW`G7qiu;&GPUa;o{dp?MJUa(`{kJKaPP74Y9T@!cw z1&toxZ!YS%7nt3S?*+kL2-piA`vPmG!0h%tW`Wu5d&~l}Kbp{_<6dC)t8^WG1?v;X zz8tXQ?|vlvve5goU|;sw&#-2eJ$C*6cv-M73-)Efz8u7TS+HXr6{&0HPKyD1F=0Qx zrsG~@cC00E??u60bnII%FniHszr=Ab3e6OSW{S-ISVEJIdy&~6H*I6R7pd#UdnI6B zN!a60Y4#Ptz9QIH9J|_L_7#u4huK#I`-)&+VfH5y8pnRql*RiryC%T8G*V9*@6~{P zHDF&A?5l!()nnIt#Z`}8&rPd>eO0ipGW$~rO~Sr)mDyK0?v}m8>`xo-QovqH*sW$t zLhmKPUh>!#$GzmS>vd#Fu$KgTiP@h?XcBg%pIM37KTg-7SFH0R^{nwO2khm5z0B-( zj4TWGvSYui^24eh&D6951J literal 0 HcmV?d00001 diff --git a/excel/VendorList.xls b/excel/VendorList.xls new file mode 100644 index 0000000000000000000000000000000000000000..98fc001d364307c6d92769071d28720724bb90b3 GIT binary patch literal 7168 zcmeI0O>7&-8HPVn)W7AWWhZIe#Mw%5BFU0N>R)jkla^$Mjwmq{8>fy_WhJg8#uRCg z6l3Sms%Z-}Km)YsrH5X8?4>^_&>k8TG1^0b258Y93iM?6+(Z9S6iLJNwRj-^?@L%+BoUSHC=R=hhF7-<3Vb8EKJ!?RH9AAU_nim#Cn8cb8dy%5r3V zeEbhZAS-43YGTX0l#o{BW^j~0^!`C<4f)+|njiP^^ydprE~E8|T$5GBaqT`{2N(59 z*tAcMgRPo#!;p6#XwLh8RUC^CaJC=-5uB|!`OLTD?7-QHvkPZ8&OO@ ztf=tRBmbzneovLYtu3WjHbaL)SD*fA|1>N_Lh@obq3qsL*FJSUjB7}KtbBf_a^muU zybJr?FMQow##$v=DLBRdNWt60$KkbcB61wJSdsc3@9Q7#?~knvo*D4(2Tw#E!>}B0 zDt#&I=3fq)*chQtHcU>(n(BZ=H7D^z+k0)AYtn`jG9)pP6*e$r`$V1`PZ^YBNyy?2N*w?UyhVc7tNTrd7@W6SiiM%g=h`b5gS8!sp zT`ZqQ(~HiQizL0Ao<~I&mvi>w_SULf!D^e#=PPctiuE|_)C#2yY`(MQQq5Vb+4SmZ z$oVa&P(0kw>GEo!=%U?tW6?$<@zJqy)P_cIhi(15Q`&Hf<%)}KeofaL$1d-zt|iuP zzJ7YGyag4b*Tm%1^h^vDj-r}Z%bO+DW!8ieRG9{|Q-Jl2o3AI}PhVJ%!P?#0a&)7p z0->LCi<^Z;gQIZDyX%SV`fHxkIGmiKdqX>+ar9w!(=C;pfZG_{HZ}{1O10*>O(4hH zpH}MIE}U=$`zSiPQLSmgs&q#!)8zz;ygDYqRd-AIawQ%|^IO#|w;l&G{o@!O1Zj=o zug4K=FJg&$-1DA7kEdZ>FO-~{tcfWIFmCD=wU7tnrljpvK+8nk57`Xb-Eg*R&K9}V zjjlr9>pHMuYw6cv$6-A-IgwB-Sa{+w5a!Ey=NdNbs#D5W9Pq=!`=d!5fv&mL8s;LJ z00sq55Hd;d!oDH0v6-ovsj2DF$yki8qazse)NFQXdFevVo?Xgjma@rQYH86PNG;B# zl7n_8n|dLco3|HI=~Qlh4&jbXC6me7^u)yU$Y zIUpld$`>3vQ?JFZ?93QK#jd7Gb*EU!U#!*;s)7;lch;-GFKmUdYWMN?s8k<{_hI=NEIZ7*W4WGM7zek_##Oxo4Bvu12bu#9p}kjUrfw>d5qOwJIvL6d5mDt?gKSj^hk+l6~eeNrdoxe7)`BOpcqH3 zB2bK=R(xA$?6hiwV$`&1hhn_6>VRUTsMwMPCSQf17#&>}hGJZ_YJp-zw2DA67A=@5 zA+*f?sw1Jx+mOS!Xw?oy3#~eE&sb2gcb1xGT9E)tqgO@(tTUb>0cW{3GL7!1U z0?r&u`n|GNMew*$Bsggl37#;D1XLtw4G`#Fw<>}sjWr1dj0zHPwp#dD(|&D=V8|#E zoHB|8!$y&SiUe%|0v&@kMKEHlNpRYzAOW8ci{EZ)yxJ9kKS$b|=0Up}g+>_(s7TNr zAnRIq> ziK=Jesdv6bV+Kev5Ve&sY!=q0h@3_x(K+?v)>L0avr1 WDUU}{5BF9ae9hp&hx^0+Q~hs>ECw) { get("quotes/{id}", VendorCtrl::getQuotes, Roles(Role.Explicit("ROLE_QUOTE_VIEW", "ROLE_QUOTE_CREATE", "ROLE_VENDOR_VIEW"))) get("pos/{id}", VendorCtrl::getPos, Roles(Role.Explicit("ROLE_PO_VIEW", "ROLE_PO_CREATE`"))) put("/rate/{id}/{rating}", VendorCtrl::rate, Roles(Role.Explicit("ROLE_VENDOR_CREATE"))) + put("/{id}", VendorCtrl::update, Roles(Role.Explicit("ROLE_VENDOR_CREATE"))) } path("/po") { get("/next", PurchaseOrderCtrl::getNextNum, Roles(Role.Explicit("ROLE_PO_CREATE"))) @@ -126,6 +127,7 @@ fun main(args: Array) { post("/batch", PurchaseOrderCtrl::createBatch, Roles(Role.Explicit("ROLE_PO_CREATE"))) post("/getAll", PurchaseOrderCtrl::getAll, Roles(Role.Explicit("ROLE_PO_CREATE", "ROLE_PO_VIEW", "ROLE_VENDOR_CREATE"))) get("/{id}", PurchaseOrderCtrl::get, Roles(Role.Explicit("ROLE_PO_CREATE", "ROLE_PO_VIEW", "ROLE_QUOTE_CREATE"))) + put("/{id}", PurchaseOrderCtrl::update, Roles(Role.Explicit("ROLE_PO_CREATE"))) put("/approve/{id}", PurchaseOrderCtrl::approve, Roles(Role.Explicit())) put("/reject/{id}", PurchaseOrderCtrl::reject, Roles(Role.Explicit())) get("/refQuote/{id}", PurchaseOrderCtrl::quoteReference, Roles(Role.Explicit("ROLE_PO_CREATE"))) @@ -136,6 +138,7 @@ fun main(args: Array) { post("/batch", QuotationCtrl::createBatch, Roles(Role.Explicit("ROLE_QUOTE_CREATE"))) post("/getAll", QuotationCtrl::getAll, Roles(Role.Explicit("ROLE_QUOTE_CREATE", "ROLE_QUOTE_VIEW"))) get("/{id}", QuotationCtrl::get, Roles(Role.Explicit("ROLE_QUOTE_VIEW", "ROLE_QUOTE_CREATE"))) + put("/{id}", QuotationCtrl::update, Roles(Role.Explicit("ROLE_QUOTE_CREATE"))) delete("/{id}", QuotationCtrl::delete, Roles(Role.Explicit("ROLE_QUOTE_CREATE"))) } path("/product") { diff --git a/src/main/kotlin/com/restapi/controllers/Entities.kt b/src/main/kotlin/com/restapi/controllers/Entities.kt index 0e6ddf7..e1262b0 100644 --- a/src/main/kotlin/com/restapi/controllers/Entities.kt +++ b/src/main/kotlin/com/restapi/controllers/Entities.kt @@ -14,6 +14,7 @@ import io.ebean.CallableSql import io.ebean.RawSqlBuilder import io.javalin.http.* import org.slf4j.LoggerFactory +import java.io.FileInputStream import java.sql.Types import java.time.LocalDate import java.time.LocalDateTime @@ -396,7 +397,14 @@ object PurchaseOrderCtrl { fun getAll(ctx: Context) { val filters = ctx.bodyAsClass() val pos = searchPos(filters.common, filters.poFilters) - ctx.json(pos).status(HttpStatus.OK) + val excel = ctx.queryParam("excel") + if(excel != null){ + exportPos(pos) + val inputStream = FileInputStream("./excel/Pos.xls") + ctx.result(inputStream).status(HttpStatus.OK) + }else{ + ctx.json(pos).status(HttpStatus.OK) + } } fun create(ctx: Context) { @@ -450,13 +458,16 @@ object PurchaseOrderCtrl { ?: throw NotFoundResponse("reference quotation not found for po $id") ctx.json(quote) } + fun update(ctx: Context) { - val id = ctx.pathParam("id") + val id = ctx.pathParam("id").toLong() val po = database.find(PurchaseOrder::class.java, id) ?: throw NotFoundResponse("po not found for $id") val updatedPo = ctx.bodyAsClass() po.patchValues(updatedPo) po.update() + ctx.json(po).status(HttpStatus.OK) } + fun delete(ctx: Context) { val id = ctx.pathParam("id") val po = database.find(PurchaseOrder::class.java, id) ?: throw NotFoundResponse("no po found with id $id") @@ -487,8 +498,15 @@ object ProductCtrl { val productList = Session.database.find(Product::class.java) .findList() .sortedBy { it.name } + val excel = ctx.queryParam("excel") + if(excel != null){ + exportProds(productList) + val inputStream = FileInputStream("./excel/Products.xls") + ctx.result(inputStream).status(HttpStatus.OK) - ctx.json(productList) + }else{ + ctx.json(productList) + } } fun create(ctx: Context) { @@ -496,12 +514,14 @@ object ProductCtrl { database.save(product) ctx.json(product).status(HttpStatus.CREATED) } + fun delete(ctx: Context) { val id = ctx.pathParam("id") val prod = database.find(Product::class.java, id) ?: throw NotFoundResponse("no product found with id $id") database.delete(prod) ctx.status(HttpStatus.OK) } + fun patch(ctx: Context) { val id = ctx.pathParam("id") val patchValues = ctx.bodyAsClass>() @@ -520,11 +540,12 @@ object ProductCtrl { } fun update(ctx: Context) { - val id = ctx.pathParam("id") + val id = ctx.pathParam("id").toLong() val product = database.find(Product::class.java, id) ?: throw NotFoundResponse("product not found for $id") val updatedProduct = ctx.bodyAsClass() product.patchValues(updatedProduct) product.update() + ctx.json(product).status(HttpStatus.OK) } @@ -573,8 +594,15 @@ object QuotationCtrl { fun getAll(ctx: Context) { val filters = ctx.bodyAsClass() + val excel: String? = ctx.queryParam("excel") val quotes = searchQuotes(filters.common, filters.quoteFilters) - ctx.json(quotes).status(HttpStatus.OK) + if (excel != null) { + exportQuotations(quotes) + val inputStream = FileInputStream("./excel/Quotes.xls") + ctx.result(inputStream).status(HttpStatus.OK) + } else { + ctx.json(quotes).status(HttpStatus.OK) + } } fun create(ctx: Context) { @@ -599,18 +627,21 @@ object QuotationCtrl { } ctx.result("Quotes batch created").status(HttpStatus.CREATED) } + fun delete(ctx: Context) { val id = ctx.pathParam("id") val quote = database.find(Quotation::class.java, id) ?: throw NotFoundResponse("no quote found with id $id") database.delete(quote) ctx.status(HttpStatus.OK) } + fun update(ctx: Context) { - val id = ctx.pathParam("id") + val id = ctx.pathParam("id").toLong() val quote = database.find(Quotation::class.java, id) ?: throw NotFoundResponse("quote not found for $id") val updatedQuote = ctx.bodyAsClass() quote.patchValues(updatedQuote) quote.update() + ctx.json(quote).status(HttpStatus.OK) } } @@ -632,12 +663,14 @@ object DocumentCtrl { fun print(ctx: Context) { //would be handled in the frontend ?? } + fun delete(ctx: Context) { val id = ctx.pathParam("id") val doc = database.find(Document::class.java, id) ?: throw NotFoundResponse("no document found with id $id") database.delete(doc) ctx.status(HttpStatus.OK) } + fun getWithRefId(ctx: Context) { //fetches a particular doc (po, quote) with ref id val refId = ctx.pathParam("refId") @@ -655,8 +688,8 @@ object DocumentCtrl { object VendorCtrl { val logger = LoggerFactory.getLogger("Vendor") fun get(ctx: Context) { - val id = ctx.pathParam("id") - val vendor =database.find(Vendor::class.java, id) ?: throw NotFoundResponse("no vendor found with id $id") + val id = ctx.pathParam("id").toLong() + val vendor = database.find(Vendor::class.java, id) ?: throw NotFoundResponse("no vendor found with id $id") ctx.status(HttpStatus.OK) ctx.json(vendor) } @@ -666,9 +699,15 @@ object VendorCtrl { fun getAll(ctx: Context) { val filters = ctx.bodyAsClass() logger.info("filters = {}", filters) - val pos = searchVendors(filters.common, filters.vendorFilters) - ctx.status(HttpStatus.OK) - ctx.json(pos) + val excel: String? = ctx.queryParam("excel") + val vendors = searchVendors(filters.common, filters.vendorFilters) + if (excel !== null) { + exportVendors(vendors) + val inputStream = FileInputStream("./excel/VendorList.xls") + ctx.result(inputStream).status(HttpStatus.OK) + } else { + ctx.json(vendors).status(HttpStatus.OK) + } } fun createBatch(ctx: Context) { @@ -684,12 +723,14 @@ object VendorCtrl { } fun update(ctx: Context) { - val id = ctx.pathParam("id") + val id = ctx.pathParam("id").toLong() val vendor = database.find(Vendor::class.java, id) ?: throw NotFoundResponse("vendor not found for $id") val updatedVendor = ctx.bodyAsClass() vendor.patchValues(updatedVendor) vendor.update() + ctx.json(vendor).status(HttpStatus.OK) } + fun delete(ctx: Context) { val id = ctx.pathParam("id") val vendor = database.find(Vendor::class.java, id) ?: throw NotFoundResponse("no vendor found with id $id") diff --git a/src/main/kotlin/com/restapi/controllers/Excel.kt b/src/main/kotlin/com/restapi/controllers/Excel.kt index 833cbd0..292e051 100644 --- a/src/main/kotlin/com/restapi/controllers/Excel.kt +++ b/src/main/kotlin/com/restapi/controllers/Excel.kt @@ -1,4 +1,5 @@ package com.restapi.controllers + import com.google.gson.Gson import com.restapi.domain.* import com.restapi.domain.Document @@ -25,7 +26,7 @@ import java.time.LocalDate import java.time.ZoneId import java.util.* -fun createHeaderRow(cols :List, sh :HSSFSheet, wb: Workbook) { +fun createHeaderRow(cols: List, sh: HSSFSheet, wb: Workbook) { val boldFont = wb.createFont() boldFont.bold = true val style = wb.createCellStyle() @@ -33,13 +34,14 @@ fun createHeaderRow(cols :List, sh :HSSFSheet, wb: Workbook) { style.locked = true sh.createRow(0).apply { - cols.forEachIndexed{index, value -> + cols.forEachIndexed { index, value -> val cell = createCell(index) cell.setCellValue(value) cell.setCellStyle(style) } } } + fun String.parseDate(format: String): Date? { val locale = Locale.getDefault() return try { @@ -48,227 +50,310 @@ fun String.parseDate(format: String): Date? { null } } -fun dateFromCellHelper(cell: Cell): LocalDate?{ - val date = when(cell.cellType){ + +fun dateFromCellHelper(cell: Cell): LocalDate? { + val date = when (cell.cellType) { CellType.STRING -> cell.stringCellValue.parseDate("yyyy-MM-dd") CellType.NUMERIC -> { if (DateUtil.isCellDateFormatted(cell)) { cell.getDateCellValue() - } else{ + } else { null } } + else -> null } return date?.toInstant()?.atZone(ZoneId.systemDefault())?.toLocalDate() } + fun stringFromCellHelper(cell: Cell): String { - val string = when(cell.cellType){ + val string = when (cell.cellType) { CellType.NUMERIC -> cell.numericCellValue.toString() CellType.STRING -> cell.stringCellValue else -> "" } return string } + fun doubleFromCellHelper(cell: Cell): Double { - val double = when(cell.cellType){ + val double = when (cell.cellType) { CellType.NUMERIC -> cell.numericCellValue CellType.STRING -> cell.stringCellValue.toDoubleOrNull() else -> 0.0 } - return double?:0.0 + return double ?: 0.0 } -fun longIntFromCellHelper(cell : Cell) :Long { - val long = when(cell.cellType){ +fun longIntFromCellHelper(cell: Cell): Long { + val long = when (cell.cellType) { CellType.NUMERIC -> cell.numericCellValue.toLong() CellType.STRING -> cell.stringCellValue.toLong() else -> 0 } return long } + enum class FileType { QUOTES, POS, VENDORS, PRODS, DOCS } + enum class EnumFor { UOM, DocType } -fun saveExcelFileLocally(fileName :String, wb: Workbook){ - val out = FileOutputStream(fileName) +fun saveExcelFileLocally(fileName: String, wb: Workbook) { + val path = "./excel/" + val out = FileOutputStream(path + fileName) wb.use { it.write(out) } out.close() } -fun TemplateExcelFile(fileType: FileType){ - when(fileType){ + +fun TemplateExcelFile(fileType: FileType) { + when (fileType) { FileType.QUOTES -> { - val headers : List = listOf("Quotation Number", "Date", "Open Till", "Product Id", "Product Name", "Product Unit Price", "Quantity", "Vendor Name", "Vendor Address", "RFQ Number", "Total Amount", "Terms and Conditions") + val headers: List = listOf( + "Quotation Number", + "Date", + "Open Till", + "Product Id", + "Product Name", + "Product Unit Price", + "Quantity", + "Vendor Name", + "Vendor Address", + "RFQ Number", + "Total Amount", + "Terms and Conditions" + ) val wb = HSSFWorkbook() val sh = wb.createSheet() createHeaderRow(headers, sh, wb) saveExcelFileLocally("Quotes_Template.xls", wb) } + FileType.POS -> { - val headers : List = listOf("Number", "Date", "Open Till", "Reference Quotation Number", "Vendor Name", "Vendor Address", "Product Id", "Product Name", "Unit Price", "Quantity", "Total Amount", "Terms and Conditions") + val headers: List = listOf( + "Number", + "Date", + "Open Till", + "Reference Quotation Number", + "Vendor Name", + "Vendor Address", + "Product Id", + "Product Name", + "Unit Price", + "Quantity", + "Total Amount", + "Terms and Conditions" + ) val wb = HSSFWorkbook() val sh = wb.createSheet() createHeaderRow(headers, sh, wb) saveExcelFileLocally("Purchase_Order_Template.xls", wb) } + FileType.VENDORS -> { - val headers : List = listOf("Name", "MSME", "GST Number", "Address", "Rating", "Contact Name", "Contact Email", "Contact Mobile") + val headers: List = listOf( + "Name", + "MSME", + "GST Number", + "Address", + "Rating", + "Contact Name", + "Contact Email", + "Contact Mobile" + ) val wb = HSSFWorkbook() val sh = wb.createSheet() createHeaderRow(headers, sh, wb) saveExcelFileLocally("Vendors_Template.xls", wb) } + FileType.PRODS -> { - val headers : List = listOf("Id", "Name", "Description", "HSN Code", "UOM") + val headers: List = listOf("Id", "Name", "Description", "HSN Code", "UOM") val wb = HSSFWorkbook() val sh = wb.createSheet() createHeaderRow(headers, sh, wb) val r0 = CellRangeAddressList(0, 1000, 4, 4) - val dv0 = HSSFDataValidation(r0, DVConstraint.createExplicitListConstraint(arrayOf("LTR", "MTR", "NOS", "ALL"))).apply { + val dv0 = HSSFDataValidation( + r0, + DVConstraint.createExplicitListConstraint(arrayOf("LTR", "MTR", "NOS", "ALL")) + ).apply { suppressDropDownArrow = true } sh.addValidationData(dv0) saveExcelFileLocally("Products_Template.xls", wb) } + FileType.DOCS -> { } } } -fun ExportQuotations(quotes :List) { + +fun exportQuotations(quotes: List) { val wb = HSSFWorkbook() val sh = wb.createSheet() - val headers : List = listOf("Quotation Number", "Date", "Open Till", "Product Id", "Product Name", "Product Unit Price", "Quantity", "Vendor Name", "Vendor Address", "RFQ Number", "Total AMount", "Terms and Conditions") + val headers: List = listOf( + "Quotation Number", + "Date", + "Open Till", + "Product Id", + "Product Name", + "Product Unit Price", + "Quantity", + "Vendor Name", + "Vendor Address", + "RFQ Number", + "Total AMount", + "Terms and Conditions" + ) createHeaderRow(headers, sh, wb) - val totalCols = headers.size var rowCnt = 1 - for(quote in quotes){ + for (quote in quotes) { val prodCnt = quote.products.size - for (j in 0..prodCnt - 1){ + for (j in 0..){ +fun exportVendors(vendors: List) { val wb = HSSFWorkbook() val sh = wb.createSheet() - val headers : List = listOf("Name", "MSME", "GST Number", "Address", "Rating", "Contact Name", "Contact Email", "Contact Mobile") + val headers: List = + listOf("No.", "Name", "MSME", "GST Number", "Address", "Rating", "Contact Name", "Contact Email", "Contact Mobile") createHeaderRow(headers, sh, wb) val totalCols = headers.size var rowCnt = 1 - for (vendor in vendors){ + for (vendor in vendors) { val contactCnt = vendor.contacts.size - for (j in 0..contactCnt - 1){ + for (j in 0..){ +fun exportProds(prods: List) { val wb = HSSFWorkbook() val sh = wb.createSheet() - val headers : List = listOf("Id", "Name", "Description", "HSN Code", "UOM") + val headers: List = listOf("Id", "Name", "Description", "HSN Code", "UOM") createHeaderRow(headers, sh, wb) - val totalCols = headers.size var rowCnt = 1 - for (prod in prods){ + for (prod in prods) { val row = sh.createRow(rowCnt++) var i = 0 - row.createCell(i++).setCellValue(prod.id.toString()) - row.createCell(i++).setCellValue(prod.name) - row.createCell(i++).setCellValue(prod.description) - row.createCell(i++).setCellValue(prod.hsnCode) - row.createCell(i++).setCellValue(prod.uom?.name) + row.createCell(i++).setCellValue(prod.id.toString()) + row.createCell(i++).setCellValue(prod.name) + row.createCell(i++).setCellValue(prod.description) + row.createCell(i++).setCellValue(prod.hsnCode) + row.createCell(i++).setCellValue(prod.uom?.name) } + saveExcelFileLocally("Products.xls", wb) } -fun ExportPos(pos :List){ + +fun exportPos(pos: List) { val wb = HSSFWorkbook() val sh = wb.createSheet() - val headers : List = listOf("Number", "Date", "Open Till", "Reference Quotation Number", "Vendor Name", "Vendor Address", "Product Id", "Product Name", "Unit Price", "Quantity", "Total Amount", "Terms and Conditions") + val headers: List = listOf( + "Number", + "Date", + "Open Till", + "Reference Quotation Number", + "Vendor Name", + "Vendor Address", + "Product Id", + "Product Name", + "Unit Price", + "Quantity", + "Total Amount", + "Terms and Conditions" + ) createHeaderRow(headers, sh, wb) - val totalCols = headers.size var rowCnt = 1 - for(po in pos){ + for (po in pos) { val prodCnt = po.products.size - for (j in 0..prodCnt - 1){ + for (j in 0.. { //Quote Number, ProductName, Product Quantity, Total Amount, RFQ Number, Quote Date, Valid Till, TNC[], Documents[] - val quotesMap : MutableMap = mutableMapOf() - val quotesList : List = mutableListOf() + val quotesMap: MutableMap = mutableMapOf() + val quotesList: List = mutableListOf() sh.rowIterator().forEach { row -> - if(row == null){ + if (row == null) { //reached eof return@forEach } @@ -288,7 +373,7 @@ fun ImportFromExcel(fileType: FileType, filePath : String) { if (quotesMap.containsKey(quoteNumber)) { //duplicated row quotesMap.get(quoteNumber)?.products?.add(prod) - }else { + } else { val v = Vendor() v.apply { name = vendorName @@ -309,17 +394,18 @@ fun ImportFromExcel(fileType: FileType, filePath : String) { } } //docs, tncs - // println("$quotesMap") + // println("$quotesMap") // quotesMap.forEach { (k, v) -> // println("$v") // } } + FileType.POS -> { //poNum, poDate, validTill, refQuoteNum, prodName, prodQuantity, totalAmount, products, vendorName, vendorGst, vendorAddress, tnc[]. docs[] - val PoMap : MutableMap = mutableMapOf() + val PoMap: MutableMap = mutableMapOf() sh.rowIterator().forEach { row -> - if(row == null) return@forEach + if (row == null) return@forEach val poNum = stringFromCellHelper(row.getCell(0)) val poDate = dateFromCellHelper(row.getCell(1)) val refQuoteNum = stringFromCellHelper(row.getCell(2)) @@ -332,11 +418,11 @@ fun ImportFromExcel(fileType: FileType, filePath : String) { val totalPoAmount = doubleFromCellHelper(row.getCell(9)) //tncs, docs - val prod = POProducts("", prodName, 0.0, prodQuantity,"") - if(PoMap.containsKey(poNum)){ + val prod = POProducts("", prodName, 0.0, prodQuantity, "") + if (PoMap.containsKey(poNum)) { //repeated row PoMap.get(poNum)?.products?.add(prod) - }else{ + } else { val vendor = Vendor() vendor.name = vendorName vendor.address = vendorAddress @@ -350,15 +436,16 @@ fun ImportFromExcel(fileType: FileType, filePath : String) { } } } + FileType.VENDORS -> { sh.rowIterator().forEach { row -> //name, msme, gstNum, addresss, rating, contacts - if(row == null) return@forEach + if (row == null) return@forEach val name = stringFromCellHelper(row.getCell(0)) val msme = stringFromCellHelper(row.getCell(1)) val gstNum = stringFromCellHelper(row.getCell(2)) val address = stringFromCellHelper(row.getCell(3)) - val rating = doubleFromCellHelper(row.getCell(4)) + val rating = doubleFromCellHelper(row.getCell(4)) //vendor object val vendor = Vendor() @@ -369,9 +456,10 @@ fun ImportFromExcel(fileType: FileType, filePath : String) { vendor.rating = rating } } + FileType.PRODS -> { sh.rowIterator().forEach { row -> - if(row == null) return@forEach + if (row == null) return@forEach //id, name, description, hsnCode, uom val prodId = longIntFromCellHelper(row.getCell(0)) val prodName = stringFromCellHelper(row.getCell(1)) @@ -385,7 +473,7 @@ fun ImportFromExcel(fileType: FileType, filePath : String) { prod.name = prodName prod.description = prodDesc prod.hsnCode = prodHsnCode - prod.uom = when(prodUom) { + prod.uom = when (prodUom) { "nos" -> UOM.NOS "ltr" -> UOM.LTR "mtr" -> UOM.MTR @@ -393,6 +481,7 @@ fun ImportFromExcel(fileType: FileType, filePath : String) { } } } + FileType.DOCS -> { sh.rowIterator().forEach { row -> //Document Name, Document Type, RefID, url @@ -405,7 +494,7 @@ fun ImportFromExcel(fileType: FileType, filePath : String) { //new doc object val doc = Document() doc.name = docName - doc.typeOfDoc = when(docType) { + doc.typeOfDoc = when (docType) { "quote" -> DocType.QUOTE "po" -> DocType.PO "invoice" -> DocType.INVOICE diff --git a/src/main/kotlin/com/restapi/controllers/Filters.kt b/src/main/kotlin/com/restapi/controllers/Filters.kt index 7745f7f..a329843 100644 --- a/src/main/kotlin/com/restapi/controllers/Filters.kt +++ b/src/main/kotlin/com/restapi/controllers/Filters.kt @@ -14,8 +14,8 @@ const val RATING_MIN = 0.0 //common filters would be used by most of the handlers //require a list of vendor ids to be passed data class CommonFilters( - val fromDate: LocalDate = baseDate, - val toDate: LocalDate = maxDate, + val from: LocalDate = baseDate, + val to: LocalDate = maxDate, val vendor: List? = null, val sortAsc: Boolean = true, val sortBy: String = IGNORE @@ -97,14 +97,14 @@ fun applyCommonFilters(q: io.ebean.ExpressionList, commonFilters: CommonF fun searchQuotes(commonFilters: CommonFilters, quoteFilters: QuoteFilters): List { val q = database.find(Quotation::class.java) .where() - .ge("quoteDate", commonFilters.fromDate) - .le("quoteDate", commonFilters.toDate) + .ge("quoteDate", commonFilters.from) + .le("quoteDate", commonFilters.to) .ge("validTill", quoteFilters.validAfter) .le("validTill", quoteFilters.validBefore) .ge("totalAmount", quoteFilters.totalAmountExceeds) .le("totalAmount", quoteFilters.totalAmountLessThan) .ilike("quoteNum", "%" + quoteFilters.quoteNumLike + "%") - applyFromToHelper(q, commonFilters.fromDate, commonFilters.toDate, "quoteDate") + applyFromToHelper(q, commonFilters.from, commonFilters.to, "quoteDate") applyVendorHelper(q, commonFilters.vendor) applySortHelper(q, commonFilters.sortBy, commonFilters.sortAsc) return q.findList() @@ -123,6 +123,18 @@ fun searchVendors(commonFilters: CommonFilters, vendorFilters: VendorFilters): L return q.findList() } +fun searchProducts(commonFilters: CommonFilters, productFilters: ProductFilters) : List { + val q = database.find(Product::class.java) + .where() + .ilike("name", "%" + productFilters.nameLike + "%") + .ilike("hsnCode", "%" + productFilters.hsnLike + "%") + + if(productFilters.uom != UOM.ALL){ + q.eq("uom", productFilters.uom) + } + applySortHelper(q, commonFilters.sortBy, commonFilters.sortAsc) + return q.findList() +} fun searchDocs(commonFilters: CommonFilters, documentFilters: DocumentFilters): List { val q = database.find(Document::class.java) .where() @@ -147,7 +159,7 @@ fun searchPos(commonFilters: CommonFilters, poFilters: POFilters?): List = mutableListOf() @@ -306,8 +325,16 @@ open class Product : BaseTenantModel() { @Entity open class Quotation : BaseTenantModel() { - fun patchValues(updatedQuote : Quotation) { - + fun patchValues(updatedQuote: Quotation) { + this.quoteDate = updatedQuote.quoteDate + this.vendorQuoteNum = updatedQuote.vendorQuoteNum + this.validTill = updatedQuote.validTill + this.reqForQuoteNum = updatedQuote.reqForQuoteNum + this.tnc = updatedQuote.tnc + this.products = updatedQuote.products + this.vendor = updatedQuote.vendor + this.documents = updatedQuote.documents + this.totalAmount = updatedQuote.totalAmount } @DbJsonB From 9633983decff08164d7a72d6bcca025ca2c18e4a Mon Sep 17 00:00:00 2001 From: arsalan Date: Wed, 28 Feb 2024 14:40:14 +0530 Subject: [PATCH 08/12] fixes --- excel/VendorList.xls | Bin 7168 -> 7680 bytes .../com/restapi/controllers/Entities.kt | 17 +++++++++++++---- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/excel/VendorList.xls b/excel/VendorList.xls index 98fc001d364307c6d92769071d28720724bb90b3..254a07c0150107e0988127d7882bcd39960266c8 100644 GIT binary patch delta 957 zcmb7>KX21O6u_UIG$}15PN}F6%dsGYLgP!^IF^v8NnD7Uq#?0V`X|68b(@GZt{fMs z3#pixkidL^egs73t}G0UEFkd(*cf0y@EoT{2No=y@BQw*C;jf;QTFK8+aIF%bKVm| zzdc!uz7EU6%MZX-$@85rAgSjhjlfk}(6| z*9HwiHBF_J#f+NOM%C(7faPMLvZ7Z_QYf27wQQKAQZ3YV(-@Fqp;R!9{3I52JNr+V z2}$!MfBo&t)?f)9pmn5xqv~gxLP-= zq;^=g7icP}B=DCZu1#>Ka)PES392O1qZ1{mCFnp&QaU=MY1hUaUHp&ke>CT9nqLkMx3 sCw&DA$$y3T8HL~#;v~B~)85kH6 zHWzXGvhZ*+FoZaUI4bxC`?^lP!EX}F0ukV4U?@o}Npt`addc~@ObiT$X8a5cM&^!= zj?N)Q=0@g$hEd_%Q0)P!MaB7fd<+Z)UAdUd?n3?#1 zELI?f0f;;sP$UwrnjOfCg7Y|lJQpZW07&yQM8kQEKwcP}#{}fTOc7vUjsbFG;F8Er z5I}N*hy%z80t_H0#KKjBoDc`+ft(Nz7ytkO diff --git a/src/main/kotlin/com/restapi/controllers/Entities.kt b/src/main/kotlin/com/restapi/controllers/Entities.kt index e1262b0..49b072d 100644 --- a/src/main/kotlin/com/restapi/controllers/Entities.kt +++ b/src/main/kotlin/com/restapi/controllers/Entities.kt @@ -409,6 +409,11 @@ object PurchaseOrderCtrl { fun create(ctx: Context) { val po = ctx.bodyAsClass() + val prods = po.products + if(prods.isEmpty()){ + ctx.json(mapOf("error" to "empty product list")).status(HttpStatus.BAD_REQUEST) + return + } database.save(po) ctx.json(po).status(HttpStatus.CREATED) } @@ -489,13 +494,11 @@ object ProductCtrl { .eq("sys_pk", id.toLong()) .findOne() ?: throw NotFoundResponse("Product not found for $id") - println("Product found") - println(product) ctx.json(product).status(HttpStatus.OK) } fun getAll(ctx: Context) { - val productList = Session.database.find(Product::class.java) + val productList = database.find(Product::class.java) .findList() .sortedBy { it.name } val excel = ctx.queryParam("excel") @@ -505,7 +508,7 @@ object ProductCtrl { ctx.result(inputStream).status(HttpStatus.OK) }else{ - ctx.json(productList) + ctx.json(productList).status(HttpStatus.OK) } } @@ -607,6 +610,12 @@ object QuotationCtrl { fun create(ctx: Context) { val quote = ctx.bodyAsClass() + //validation + val prods = quote.products + if(prods.isEmpty()){ + ctx.json(mapOf("error" to "empty product list")).status(HttpStatus.BAD_REQUEST) + return + } database.save(quote) ctx.json(quote).status(HttpStatus.CREATED) } From bd46d5ae52c92f95f8d05980b920b2d16ec4d40d Mon Sep 17 00:00:00 2001 From: arsalan Date: Wed, 28 Feb 2024 15:48:19 +0530 Subject: [PATCH 09/12] fix prod api --- src/main/kotlin/com/restapi/controllers/Entities.kt | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/main/kotlin/com/restapi/controllers/Entities.kt b/src/main/kotlin/com/restapi/controllers/Entities.kt index 49b072d..84388b2 100644 --- a/src/main/kotlin/com/restapi/controllers/Entities.kt +++ b/src/main/kotlin/com/restapi/controllers/Entities.kt @@ -496,19 +496,18 @@ object ProductCtrl { ?: throw NotFoundResponse("Product not found for $id") ctx.json(product).status(HttpStatus.OK) } - +data class PF(val common: CommonFilters, val productFilters: ProductFilters) fun getAll(ctx: Context) { - val productList = database.find(Product::class.java) - .findList() - .sortedBy { it.name } + val filters = ctx.bodyAsClass() + val prods = searchProducts(filters.common, filters.productFilters) val excel = ctx.queryParam("excel") if(excel != null){ - exportProds(productList) + exportProds(prods) val inputStream = FileInputStream("./excel/Products.xls") ctx.result(inputStream).status(HttpStatus.OK) }else{ - ctx.json(productList).status(HttpStatus.OK) + ctx.json(prods).status(HttpStatus.OK) } } From f8263e8a359141db7172e8a1aa1d0665abc45983 Mon Sep 17 00:00:00 2001 From: arsalan Date: Thu, 29 Feb 2024 11:06:03 +0530 Subject: [PATCH 10/12] add conf --- app_conf.yaml | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 app_conf.yaml diff --git a/app_conf.yaml b/app_conf.yaml new file mode 100644 index 0000000..72c1c97 --- /dev/null +++ b/app_conf.yaml @@ -0,0 +1,61 @@ +#DO Not edit this file, copy to your HOME Directory and then rename it to app.yaml and then edit it +app: + db: + pass: password + url: jdbc:postgresql://10.10.10.211/arsalan_rmc_module_app + user: arsalan + name: arsalan_rmc_module_app + run_migration: 'true' + cors: + enabled: 'true' + hosts: www.readymixerp.com,app.readymixerp.com + port: '9001' + cache: + redis_uri: redis://10.10.10.112:6379/ + iam: + url: https://auth.readymixerp.com + realm: rmc-dev + client_redirect_uri: http://localhost:9001/auth/code + client: rmc + scripts: + path: /Users/gowthaman.b/IdeaProjects/rmc_modules_api/src/main/resources/scripts + security: + private_key: |- + -----BEGIN PRIVATE KEY----- + MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQD4ba8OhlyB9MUx + MFmT8c9sOKqXOG6ZM6qLxr5SnY1au47rYsHXt8Hb+tTUxpkf+5bndaZYGVgQ1mtw + eEVj3qZq9A+FnxxwZ9uIIdbOUPvsZLzNYnK3bFFRsmWMf30gDs6ZdS63b2tnXXE0 + aoItwVguElUKVXKUymS0VlBB0ZLCYTlD6Q4sDm7HGXJZj5kVNVbBCBe42yLx8Y1F + TyNL8nPSS+SAdLUaPJ/6j+741+exAIOc0rSBJOMF0XNOwBZ85EuOiPa0e1sUz0qj + VfmZyeRFxkSWJBnqum1jrVFp55bMb37DYtZa0aFIcPdDfY42frDlPLcI4zzRwCn3 + ggHL/nL9AgMBAAECggEAJ85sxu8zl8/l4EsG3M8EdVWidrGgUyRgDElFCiLcWVta + prqVJIt5YNYRJU5J5Jc2fRGxHPEOrJVW84IUsvskVQM/ZiHyd3ZvdaGKdFZYpO5t + VvGSlR53l0IhGxal24L+isCn7X+ec5pu6b8JQJX4RbBConHCTDdz/yDMzQcXiiqj + ezzSovZ1Xy/2dn7sOTFtEZi47d3AhBnjh8Xqk3Dc9UChooxuIU6WEbqWFxEkbzJS + sXIv9xADVDqFqjHGv6Tk1W+y7y8M2EHosJfhO0LmWFL7nUdw0WSJV+UqQxHrUSJs + SnYHkKRTYl2ljpjkuECp/YqUqdlNq/5T5jBE6cyopwKBgQD6+XGZfssdAqfnaEK2 + nHdUAdklUFAFQpSmwIUwTZEHDC/CD+ErVjfbEfZ2mFOvWAIMwLmiLFuDT7E5sHaT + K4A2DQ8KyU3iJkH4nhxdYepLc7MSYElkn6fHNrXcJ9vPACmrtoa9rVW/LpAjsRq6 + fDxLo12/+EmFvpZ0oEAIQXk6ZwKBgQD9ZzBgPapI8m7cjcdojqq0dJ2M5Sw7Bx5n + VFOC3H4Cx0xWTdwwZ9CZQ4v/XiiHiUGzwhfkNJ2x3DdpUCkPDD8o3cFXPRW4GsjD + kv/D0kL/JJAesG9XB9yMTMBoe2yGMudDVc7SYgUI2YXhmHYkpcjSzM0DftLL2Z47 + GY1h385Q+wKBgGTRxe/Kfp+lzHtqZ7ph+pG1uFyD+dFTINIn7pkr38G8BIdpx6OY + HBIWEjMsGBoNOa2T0j6yoQSMA/7Pw6J1TCjqcAt+OJpLkh7krTJaPjuXO+163qDc + fhLKCJ5rKKLsRtEjHtedhR+q/d5IrBsUA0jDVMrkW+ytVlV9dpuaaa+rAoGASON8 + m8JBD/iEAPbbK+0VlxCQHO3ymgwDJ8+usc6AhIYVJCIDOv0xmFRAmbTYzZuihXVH + 8AFedsGUQrunA8gPBs86hMByVeGGbBMFdKsvUDqRJfK0JAGD4+tT0PnnjnZn5Qty + kTtWnWQMSYbUPNhe+pukQOQi+DXheLhx3XxF2S8CgYEAopLjGIR/xeuV7QkGJfCO + d2wEJROBPd3pbDlR4fLDO8RCw3irFYQgQd9WgGJY5KgyfjKLHkK7DMQKn+/yfUp5 + UKeesBDXATpyQQrpfoKIhhZKtYphOwvIzugtLsd5sza++sjC9RwkRmYr0rzlHdUl + vtr3fru0Bzven2MeiQnqmCM= + -----END PRIVATE KEY----- + public_key: |- + -----BEGIN PUBLIC KEY----- + MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA+G2vDoZcgfTFMTBZk/HP + bDiqlzhumTOqi8a+Up2NWruO62LB17fB2/rU1MaZH/uW53WmWBlYENZrcHhFY96m + avQPhZ8ccGfbiCHWzlD77GS8zWJyt2xRUbJljH99IA7OmXUut29rZ11xNGqCLcFY + LhJVClVylMpktFZQQdGSwmE5Q+kOLA5uxxlyWY+ZFTVWwQgXuNsi8fGNRU8jS/Jz + 0kvkgHS1Gjyf+o/u+NfnsQCDnNK0gSTjBdFzTsAWfORLjoj2tHtbFM9Ko1X5mcnk + RcZEliQZ6rptY61RaeeWzG9+w2LWWtGhSHD3Q32ONn6w5Ty3COM80cAp94IBy/5y + /QIDAQAB + -----END PUBLIC KEY----- \ No newline at end of file From d475d3828b96f837868d1e0e67e1c2e1d009174f Mon Sep 17 00:00:00 2001 From: arsalan Date: Fri, 1 Mar 2024 18:12:17 +0530 Subject: [PATCH 11/12] Add inventory --- api.http | 5 + src/main/kotlin/com/restapi/Main.kt | 90 +++++++++++-- .../com/restapi/controllers/Entities.kt | 121 ++++++++++++++++-- .../kotlin/com/restapi/controllers/Excel.kt | 79 ++++++++++++ .../kotlin/com/restapi/controllers/Filters.kt | 57 ++++++++- .../kotlin/com/restapi/domain/migration.kt | 2 +- src/main/kotlin/com/restapi/domain/models.kt | 68 +++++++++- .../dbmigration/1.10__dropsFor_1.7.sql | 2 + .../dbmigration/1.11__dropsFor_1.8.sql | 3 + src/main/resources/dbmigration/1.6.sql | 64 +++++++++ src/main/resources/dbmigration/1.7.sql | 2 + src/main/resources/dbmigration/1.8.sql | 4 + .../dbmigration/1.9__dropsFor_1.5.sql | 2 + .../model/1.10__dropsFor_1.7.model.xml | 6 + .../model/1.11__dropsFor_1.8.model.xml | 7 + .../resources/dbmigration/model/1.6.model.xml | 58 +++++++++ .../resources/dbmigration/model/1.7.model.xml | 11 ++ .../resources/dbmigration/model/1.8.model.xml | 16 +++ .../model/1.9__dropsFor_1.5.model.xml | 6 + 19 files changed, 578 insertions(+), 25 deletions(-) create mode 100644 src/main/resources/dbmigration/1.10__dropsFor_1.7.sql create mode 100644 src/main/resources/dbmigration/1.11__dropsFor_1.8.sql create mode 100644 src/main/resources/dbmigration/1.6.sql create mode 100644 src/main/resources/dbmigration/1.7.sql create mode 100644 src/main/resources/dbmigration/1.8.sql create mode 100644 src/main/resources/dbmigration/1.9__dropsFor_1.5.sql create mode 100644 src/main/resources/dbmigration/model/1.10__dropsFor_1.7.model.xml create mode 100644 src/main/resources/dbmigration/model/1.11__dropsFor_1.8.model.xml create mode 100644 src/main/resources/dbmigration/model/1.6.model.xml create mode 100644 src/main/resources/dbmigration/model/1.7.model.xml create mode 100644 src/main/resources/dbmigration/model/1.8.model.xml create mode 100644 src/main/resources/dbmigration/model/1.9__dropsFor_1.5.model.xml diff --git a/api.http b/api.http index 88f5c2d..1e9aa29 100644 --- a/api.http +++ b/api.http @@ -380,3 +380,8 @@ Authorization: {{auth-token}} GET http://localhost:9001/api/vendor/quote/next Content-Type: application/json Authorization: {{auth-token}} + +### GET NEXT INCOMING SEW NUMBER +GET http://localhost:9001/api/vendor/incoming/next +Content-Type: application/json +Authorization: {{auth-token}} diff --git a/src/main/kotlin/com/restapi/Main.kt b/src/main/kotlin/com/restapi/Main.kt index 0b7dfef..0710df2 100644 --- a/src/main/kotlin/com/restapi/Main.kt +++ b/src/main/kotlin/com/restapi/Main.kt @@ -115,18 +115,64 @@ fun main(args: Array) { post("", VendorCtrl::create, Roles(Role.Explicit("ROLE_VENDOR_CREATE"))) post("/batch", VendorCtrl::createBatch, Roles(Role.Explicit("ROLE_VENDOR_CREATE"))) get("/{id}", VendorCtrl::get, Roles(Role.Explicit("ROLE_VENDOR_VIEW", "ROLE_VENDOR_CREATE"))) - post("/getAll", VendorCtrl::getAll, Roles(Role.Explicit("ROLE_VENDOR_VIEW", "ROLE_VENDOR_CREATE"))) - get("quotes/{id}", VendorCtrl::getQuotes, Roles(Role.Explicit("ROLE_QUOTE_VIEW", "ROLE_QUOTE_CREATE", "ROLE_VENDOR_VIEW"))) + post( + "/getAll", + VendorCtrl::getAll, + Roles(Role.Explicit("ROLE_VENDOR_VIEW", "ROLE_VENDOR_CREATE")) + ) + get( + "quotes/{id}", + VendorCtrl::getQuotes, + Roles(Role.Explicit("ROLE_QUOTE_VIEW", "ROLE_QUOTE_CREATE", "ROLE_VENDOR_VIEW")) + ) get("pos/{id}", VendorCtrl::getPos, Roles(Role.Explicit("ROLE_PO_VIEW", "ROLE_PO_CREATE`"))) put("/rate/{id}/{rating}", VendorCtrl::rate, Roles(Role.Explicit("ROLE_VENDOR_CREATE"))) put("/{id}", VendorCtrl::update, Roles(Role.Explicit("ROLE_VENDOR_CREATE"))) } + path("/incoming") { + post("", IncomingInventoryCtrl::create, Roles(Role.Explicit("ROLE_INVENTORY_CREATE"))) + get("/next", IncomingInventoryCtrl::getNextNum, Roles(Role.Explicit("ROLE_INVENTORY_CREATE"))) + get( + "/{id}", + IncomingInventoryCtrl::get, + Roles(Role.Explicit("ROLE_INVENTORY_VIEW", "ROLE_INVENTORY_CREATE")) + ) + put("/{id}", IncomingInventoryCtrl::update, Roles(Role.Explicit("ROLE_INVENTORY_CREATE"))) + post( + "/getAll", + IncomingInventoryCtrl::getAll, + Roles(Role.Explicit("ROLE_INVENTORY_CREATE", "ROLE_INVENTORY_VIEW")) + ) + } + path("/outgoing") { + post("", OutgoingInventoryCtrl::create, Roles(Role.Explicit("ROLE_INVENTORY_CREATE"))) + get("/next", OutgoingInventoryCtrl::getNextNum, Roles(Role.Explicit("ROLE_INVENTORY_CREATE"))) + get( + "/{id}", + OutgoingInventoryCtrl::get, + Roles(Role.Explicit("ROLE_INVENTORY_VIEW", "ROLE_INVENTORY_CREATE")) + ) + put("/{id}", OutgoingInventoryCtrl::update, Roles(Role.Explicit("ROLE_INVENTORY_CREATE"))) + post( + "/getAll", + OutgoingInventoryCtrl::getAll, + Roles(Role.Explicit("ROLE_INVENTORY_CREATE", "ROLE_INVENTORY_VIEW")) + ) + } path("/po") { get("/next", PurchaseOrderCtrl::getNextNum, Roles(Role.Explicit("ROLE_PO_CREATE"))) post("", PurchaseOrderCtrl::create, Roles(Role.Explicit("ROLE_PO_CREATE"))) post("/batch", PurchaseOrderCtrl::createBatch, Roles(Role.Explicit("ROLE_PO_CREATE"))) - post("/getAll", PurchaseOrderCtrl::getAll, Roles(Role.Explicit("ROLE_PO_CREATE", "ROLE_PO_VIEW", "ROLE_VENDOR_CREATE"))) - get("/{id}", PurchaseOrderCtrl::get, Roles(Role.Explicit("ROLE_PO_CREATE", "ROLE_PO_VIEW", "ROLE_QUOTE_CREATE"))) + post( + "/getAll", + PurchaseOrderCtrl::getAll, + Roles(Role.Explicit("ROLE_PO_CREATE", "ROLE_PO_VIEW", "ROLE_VENDOR_CREATE")) + ) + get( + "/{id}", + PurchaseOrderCtrl::get, + Roles(Role.Explicit("ROLE_PO_CREATE", "ROLE_PO_VIEW", "ROLE_QUOTE_CREATE")) + ) put("/{id}", PurchaseOrderCtrl::update, Roles(Role.Explicit("ROLE_PO_CREATE"))) put("/approve/{id}", PurchaseOrderCtrl::approve, Roles(Role.Explicit())) put("/reject/{id}", PurchaseOrderCtrl::reject, Roles(Role.Explicit())) @@ -136,7 +182,11 @@ fun main(args: Array) { get("/next", QuotationCtrl::getNextNum, Roles(Role.Explicit("ROLE_QUOTE_CREATE"))) post("", QuotationCtrl::create, Roles(Role.Explicit("ROLE_QUOTE_CREATE"))) post("/batch", QuotationCtrl::createBatch, Roles(Role.Explicit("ROLE_QUOTE_CREATE"))) - post("/getAll", QuotationCtrl::getAll, Roles(Role.Explicit("ROLE_QUOTE_CREATE", "ROLE_QUOTE_VIEW"))) + post( + "/getAll", + QuotationCtrl::getAll, + Roles(Role.Explicit("ROLE_QUOTE_CREATE", "ROLE_QUOTE_VIEW")) + ) get("/{id}", QuotationCtrl::get, Roles(Role.Explicit("ROLE_QUOTE_VIEW", "ROLE_QUOTE_CREATE"))) put("/{id}", QuotationCtrl::update, Roles(Role.Explicit("ROLE_QUOTE_CREATE"))) delete("/{id}", QuotationCtrl::delete, Roles(Role.Explicit("ROLE_QUOTE_CREATE"))) @@ -152,15 +202,35 @@ fun main(args: Array) { path("/doc") { post("", DocumentCtrl::create, Roles(Role.Explicit("ROLE_DOC_CREATE"))) //why type and refid are clubbed ?? - get("/{type}/{refId}", DocumentCtrl::getWithRefId, Roles(Role.Explicit("ROLE_DOC_VIEW", "ROLE_PRODUCT_CREATE"))) + get( + "/{type}/{refId}", + DocumentCtrl::getWithRefId, + Roles(Role.Explicit("ROLE_DOC_VIEW", "ROLE_PRODUCT_CREATE")) + ) get("/{id}", DocumentCtrl::get, Roles(Role.Explicit("ROLE_DOC_VIEW", "ROLE_PRODUCT_CREATE"))) - get("/print/{id}", DocumentCtrl::print, Roles(Role.Explicit("ROLE_DOC_CREATE", "ROLE_DOC_VIEW"))) + get( + "/print/{id}", + DocumentCtrl::print, + Roles(Role.Explicit("ROLE_DOC_CREATE", "ROLE_DOC_VIEW")) + ) delete("/{id}", DocumentCtrl::delete, Roles(Role.Explicit("ROLE_DOC_CREATE"))) } path("/reqForQuote") { - post("", RequestForQuote::create, Roles(Role.Explicit("ROLE_QUOTE_CREATE", "ROLE_PO_CREATE", "ROLE_RFQ_CREATE"))) - get("/{id}", RequestForQuote::get, Roles(Role.Explicit("ROLE_RFQ_CREATE", "ROLE_RFQ_VIEW", "ROLE_QUOTE_VIEW", "ROLE_PO_VIEW"))) - put("/{id}", RequestForQuote::update, Roles(Role.Explicit("ROLE_QUOTE_CREATE", "ROLE_PO_CREATE", "ROLE_RFQ_CREATE"))) + post( + "", + RequestForQuote::create, + Roles(Role.Explicit("ROLE_QUOTE_CREATE", "ROLE_PO_CREATE", "ROLE_RFQ_CREATE")) + ) + get( + "/{id}", + RequestForQuote::get, + Roles(Role.Explicit("ROLE_RFQ_CREATE", "ROLE_RFQ_VIEW", "ROLE_QUOTE_VIEW", "ROLE_PO_VIEW")) + ) + put( + "/{id}", + RequestForQuote::update, + Roles(Role.Explicit("ROLE_QUOTE_CREATE", "ROLE_PO_CREATE", "ROLE_RFQ_CREATE")) + ) } } post("/script/database/{name}", Entities::executeStoredProcedure, Roles(adminRole, Role.DbOps)) diff --git a/src/main/kotlin/com/restapi/controllers/Entities.kt b/src/main/kotlin/com/restapi/controllers/Entities.kt index 84388b2..b22c399 100644 --- a/src/main/kotlin/com/restapi/controllers/Entities.kt +++ b/src/main/kotlin/com/restapi/controllers/Entities.kt @@ -397,12 +397,12 @@ object PurchaseOrderCtrl { fun getAll(ctx: Context) { val filters = ctx.bodyAsClass() val pos = searchPos(filters.common, filters.poFilters) - val excel = ctx.queryParam("excel") - if(excel != null){ + val excel = ctx.queryParam("excel") + if (excel != null) { exportPos(pos) val inputStream = FileInputStream("./excel/Pos.xls") ctx.result(inputStream).status(HttpStatus.OK) - }else{ + } else { ctx.json(pos).status(HttpStatus.OK) } } @@ -410,7 +410,7 @@ object PurchaseOrderCtrl { fun create(ctx: Context) { val po = ctx.bodyAsClass() val prods = po.products - if(prods.isEmpty()){ + if (prods.isEmpty()) { ctx.json(mapOf("error" to "empty product list")).status(HttpStatus.BAD_REQUEST) return } @@ -496,17 +496,19 @@ object ProductCtrl { ?: throw NotFoundResponse("Product not found for $id") ctx.json(product).status(HttpStatus.OK) } -data class PF(val common: CommonFilters, val productFilters: ProductFilters) + + data class PF(val common: CommonFilters, val productFilters: ProductFilters) + fun getAll(ctx: Context) { val filters = ctx.bodyAsClass() val prods = searchProducts(filters.common, filters.productFilters) val excel = ctx.queryParam("excel") - if(excel != null){ + if (excel != null) { exportProds(prods) val inputStream = FileInputStream("./excel/Products.xls") ctx.result(inputStream).status(HttpStatus.OK) - }else{ + } else { ctx.json(prods).status(HttpStatus.OK) } } @@ -611,7 +613,7 @@ object QuotationCtrl { val quote = ctx.bodyAsClass() //validation val prods = quote.products - if(prods.isEmpty()){ + if (prods.isEmpty()) { ctx.json(mapOf("error" to "empty product list")).status(HttpStatus.BAD_REQUEST) return } @@ -800,4 +802,105 @@ object RequestForQuote { //shuld we compare the new body fields with preexisting ones and prepare a sql query to update those fields?? } -} \ No newline at end of file +} + +object IncomingInventoryCtrl { + fun create(ctx: Context) { + val ticket = ctx.bodyAsClass() + database.save(ticket) + ctx.json(ticket).status(HttpStatus.CREATED) + } + + fun update(ctx: Context) { + val id = ctx.pathParam("id").toLong() + val ticket = + database.find(IncomingInventory::class.java, id) ?: throw NotFoundResponse("quote not found for $id") + val updatedTicket = ctx.bodyAsClass() + ticket.patchValues(updatedTicket) + ticket.update() + ctx.json(ticket).status(HttpStatus.OK) + } + + fun get(ctx: Context) { + val id = ctx.pathParam("id").toLong() + val ticket = database.find(IncomingInventory::class.java, id) + ?: throw NotFoundResponse("No incoming inventory ticket found with id $id") + ctx.json(ticket).status(HttpStatus.OK) + } + + data class IIF(val common: CommonFilters, val incomingInventoryFilters: IncomingInventoryFilters) + + fun getAll(ctx: Context) { + val filters = ctx.bodyAsClass() + val tickets = searchIncomingInventory(filters.common, filters.incomingInventoryFilters) + val excel = ctx.queryParam("excel") + if (excel !== null) { + exportIncomingInventory(tickets) + val inputStream = FileInputStream("./excel/IncomingInventory.xls") + ctx.result(inputStream).status(HttpStatus.OK) + } else { + ctx.json(tickets).status(HttpStatus.OK) + } + } + + fun getNextNum(ctx: Context) { + val prefix = "MRN/" + val cnt = database.find(IncomingInventory::class.java) + .findCount() + .toString() + .padStart(6, '0') + val seq = SequenceNumber(prefix + cnt) + ctx.json(seq).status(HttpStatus.OK) + } +} + +object OutgoingInventoryCtrl { + fun create(ctx: Context) { + val ticket = ctx.bodyAsClass() + database.save(ticket) + ctx.json(ticket).status(HttpStatus.CREATED) + } + + fun update(ctx: Context) { + val id = ctx.pathParam("id").toLong() + val ticket = + database.find(OutgoingInventory::class.java, id) ?: throw NotFoundResponse("quote not found for $id") + val updatedTicket = ctx.bodyAsClass() + ticket.patchValues(updatedTicket) + ticket.update() + ctx.json(ticket).status(HttpStatus.OK) + } + + fun get(ctx: Context) { + val id = ctx.pathParam("id").toLong() + val ticket = database.find(OutgoingInventory::class.java, id) + ?: throw NotFoundResponse("No incoming inventory ticket found with id $id") + ctx.json(ticket).status(HttpStatus.OK) + } + + data class OIF(val common: CommonFilters, val outgoingInventoryFilters: OutgoingInventoryFilters) + + fun getAll(ctx: Context) { + val filters = ctx.bodyAsClass() + val tickets = searchOutgoingInventory(filters.common, filters.outgoingInventoryFilters) + val excel = ctx.queryParam("excel") + if (excel !== null) { + exportOutgoingInventory(tickets) + val inputStream = FileInputStream("./excel/OutgoingInventory.xls") + ctx.result(inputStream).status(HttpStatus.OK) + } else { + ctx.json(tickets).status(HttpStatus.OK) + } + } + + fun getNextNum(ctx: Context) { + println("inside next num") + val prefix = "MDN/" + val cnt = database.find(OutgoingInventory::class.java) + .findCount() + .toString() + .padStart(6, '0') + val seq = SequenceNumber(prefix + cnt) + ctx.json(seq).status(HttpStatus.OK) + } +} diff --git a/src/main/kotlin/com/restapi/controllers/Excel.kt b/src/main/kotlin/com/restapi/controllers/Excel.kt index 292e051..b518e40 100644 --- a/src/main/kotlin/com/restapi/controllers/Excel.kt +++ b/src/main/kotlin/com/restapi/controllers/Excel.kt @@ -338,6 +338,85 @@ fun exportPos(pos: List) { saveExcelFileLocally("Pos.xls", wb) } +fun exportIncomingInventory(tickets : List) { + val wb = HSSFWorkbook() + val sh = wb.createSheet() + + val headers: List = listOf( + "MRN", + "Date", + "Vendor Name", + "Vendor Bill Number", + "Vendor Bill Amount", + "Product Id", + "Product Name", + "Unit Price", + "Quantity", + ) + createHeaderRow(headers, sh, wb) + + var rowCnt = 1 + for (ticket in tickets) { + val prodCnt = ticket.products?.size + + for (j in 0..) { + val wb = HSSFWorkbook() + val sh = wb.createSheet() + + val headers: List = listOf( + "MDN", + "Date", + "Out Mode", + "Purpose", + "Product Id", + "Product Name", + "Unit Price", + "Quantity", + ) + createHeaderRow(headers, sh, wb) + + var rowCnt = 1 + for (ticket in tickets) { + val prodCnt = ticket.products?.size + + for (j in 0.. applyVendorHelper(q: io.ebean.ExpressionList, vids: List?) { if (vids.isNullOrEmpty()) return // q.apply { @@ -123,18 +138,19 @@ fun searchVendors(commonFilters: CommonFilters, vendorFilters: VendorFilters): L return q.findList() } -fun searchProducts(commonFilters: CommonFilters, productFilters: ProductFilters) : List { +fun searchProducts(commonFilters: CommonFilters, productFilters: ProductFilters): List { val q = database.find(Product::class.java) .where() .ilike("name", "%" + productFilters.nameLike + "%") .ilike("hsnCode", "%" + productFilters.hsnLike + "%") - if(productFilters.uom != UOM.ALL){ + if (productFilters.uom != UOM.ALL) { q.eq("uom", productFilters.uom) } applySortHelper(q, commonFilters.sortBy, commonFilters.sortAsc) return q.findList() } + fun searchDocs(commonFilters: CommonFilters, documentFilters: DocumentFilters): List { val q = database.find(Document::class.java) .where() @@ -173,5 +189,40 @@ fun searchRFQ(commonFilters: CommonFilters, rfqFilters: RFQFilters): List { + val q = database.find(IncomingInventory::class.java) + .where() + .ge("vendorBillAmount", incomingInventoryFilters.vendorBillAmountExceeds) + .le("vendorBillAmount", incomingInventoryFilters.vendorBillAmountLessThan) + .ilike("mrn", "%" + incomingInventoryFilters.mrnLike + "%") + .ilike("vehicle", "%" + incomingInventoryFilters.vehicleLike + "%") + applyFromToHelper(q, commonFilters.from, commonFilters.to, "date") + applyVendorHelper(q, commonFilters.vendor) + applySortHelper(q, commonFilters.sortBy, commonFilters.sortAsc) + return q.findList() +} + +fun searchOutgoingInventory( + commonFilters: CommonFilters, + outgoingInventoryFilters: OutgoingInventoryFilters +): List { + val q = database.find(OutgoingInventory::class.java) + .where() + .ilike("mdn", "%" + outgoingInventoryFilters.mdnLike + "%") + .ilike("purpose", "%" + outgoingInventoryFilters.purposeLike + "%") + // .ilike("person", "%" + outgoingInventoryFilters.personLike + "%") + //.ilike("vehicle", "%" + outgoingInventoryFilters.vehicleLike + "%") + if (outgoingInventoryFilters.outMode != OutMode.ALL) { + q.eq("outMode", outgoingInventoryFilters.outMode) + } + applyFromToHelper(q, commonFilters.from, commonFilters.to, "date") + applySortHelper(q, commonFilters.sortBy, commonFilters.sortAsc) + return q.findList() } \ No newline at end of file diff --git a/src/main/kotlin/com/restapi/domain/migration.kt b/src/main/kotlin/com/restapi/domain/migration.kt index f3806de..b3362e6 100644 --- a/src/main/kotlin/com/restapi/domain/migration.kt +++ b/src/main/kotlin/com/restapi/domain/migration.kt @@ -8,7 +8,7 @@ object DBMigration { private fun create(){ val dbMigration: DbMigration = DbMigration.create() dbMigration.setPlatform(Platform.POSTGRES) - + //dbMigration.setGeneratePendingDrop("1.8") dbMigration.generateMigration() } diff --git a/src/main/kotlin/com/restapi/domain/models.kt b/src/main/kotlin/com/restapi/domain/models.kt index 209295f..83860d8 100644 --- a/src/main/kotlin/com/restapi/domain/models.kt +++ b/src/main/kotlin/com/restapi/domain/models.kt @@ -305,6 +305,10 @@ enum class UOM { NOS, LTR, MTR, ALL } +enum class TypeOfProduct { + RAW_MATERIAL +} + @Entity open class Product : BaseTenantModel() { fun patchValues(updatedProduct: Product) { @@ -321,6 +325,11 @@ open class Product : BaseTenantModel() { @Enumerated(EnumType.STRING) var uom: UOM? = null + + @Enumerated(EnumType.STRING) + var type: TypeOfProduct? = null + + } @Entity @@ -355,6 +364,8 @@ open class Quotation : BaseTenantModel() { @DbArray var documents: List? = arrayListOf() + + var taxesIncluded: Boolean ?= null } enum class DocType { @@ -387,10 +398,63 @@ open class ReqForQuote : BaseTenantModel() { @Enumerated(EnumType.STRING) var status: RFQStatus? = null - // @DbArray -// var docs :List? = null @DbJsonB var products: List? = null var reqForQuoteNum: String? = null var openTill: LocalDate? = null +} + +@Entity +open class IncomingInventory : BaseTenantModel() { + fun patchValues(updated: IncomingInventory) { + this.date = updated.date + this.vendorBillNum = updated.vendorBillNum + this.vendorBillAmount = updated.vendorBillAmount + this.vehicle = updated.vehicle + this.products = updated.products + this.vendor = updated.vendor + } + + var mrn: String? = null + var date: LocalDate? = null + var vendorBillNum: String? = null + var vendorBillAmount: Double = 0.0 + var vehicle: String = "" + + @DbJsonB + var products: List? = null + + @ManyToOne + var vendor: Vendor? = null +} + + +enum class OutMode { + PERSON, VEHICLE, ALL +} + +@Entity +open class OutgoingInventory : BaseTenantModel() { + fun patchValues(updated: OutgoingInventory) { + this.date = updated.date + this.products = updated.products + this.purpose = updated.purpose + this.outMode = updated.outMode + this.person = updated.person + this.vehicle = updated.vehicle + + } + + var mdn: String? = null + var date: LocalDate? = null + + @DbJsonB + var products: List? = null + var purpose: String? = null + + @Enumerated(EnumType.STRING) + var outMode: OutMode? = null + + var person: String? = null + var vehicle: String? = null } \ No newline at end of file diff --git a/src/main/resources/dbmigration/1.10__dropsFor_1.7.sql b/src/main/resources/dbmigration/1.10__dropsFor_1.7.sql new file mode 100644 index 0000000..7bb2646 --- /dev/null +++ b/src/main/resources/dbmigration/1.10__dropsFor_1.7.sql @@ -0,0 +1,2 @@ +-- apply alter tables +alter table incoming_inventory drop column vendor_bil_num; diff --git a/src/main/resources/dbmigration/1.11__dropsFor_1.8.sql b/src/main/resources/dbmigration/1.11__dropsFor_1.8.sql new file mode 100644 index 0000000..f1e840c --- /dev/null +++ b/src/main/resources/dbmigration/1.11__dropsFor_1.8.sql @@ -0,0 +1,3 @@ +-- apply alter tables +alter table incoming_inventory drop column mdn; +alter table outgoing_inventory drop column mrn; diff --git a/src/main/resources/dbmigration/1.6.sql b/src/main/resources/dbmigration/1.6.sql new file mode 100644 index 0000000..a2a1b46 --- /dev/null +++ b/src/main/resources/dbmigration/1.6.sql @@ -0,0 +1,64 @@ +-- apply changes +create table incoming_inventory ( + sys_pk bigint generated by default as identity not null, + deleted_on timestamp, + current_approval_level integer default 0 not null, + required_approval_levels integer default 0 not null, + date date, + vendor_bill_amount float not null, + vendor_sys_pk bigint, + deleted boolean default false not null, + version integer default 1 not null, + created_at timestamp default 'now()' not null, + modified_at timestamp default 'now()' not null, + deleted_by varchar(255), + approval_status varchar(8) default 'APPROVED' not null, + tags varchar[] default '{}' not null, + comments jsonb default '[]' not null, + tenant_id varchar(255) not null, + mdn varchar(255) not null, + vendor_bil_num varchar(255) not null, + vehicle varchar(255) not null, + products jsonb, + created_by varchar(255) not null, + modified_by varchar(255) not null, + constraint ck_incoming_inventory_approval_status check ( approval_status in ('PENDING','APPROVED','REJECTED')), + constraint pk_incoming_inventory primary key (sys_pk) +); + +create table outgoing_inventory ( + sys_pk bigint generated by default as identity not null, + deleted_on timestamp, + current_approval_level integer default 0 not null, + required_approval_levels integer default 0 not null, + date date, + deleted boolean default false not null, + version integer default 1 not null, + created_at timestamp default 'now()' not null, + modified_at timestamp default 'now()' not null, + deleted_by varchar(255), + approval_status varchar(8) default 'APPROVED' not null, + tags varchar[] default '{}' not null, + comments jsonb default '[]' not null, + tenant_id varchar(255) not null, + mrn varchar(255) not null, + purpose varchar(255), + out_mode varchar(7), + person varchar(255), + vehicle varchar(255), + created_by varchar(255) not null, + modified_by varchar(255) not null, + constraint ck_outgoing_inventory_approval_status check ( approval_status in ('PENDING','APPROVED','REJECTED')), + constraint ck_outgoing_inventory_out_mode check ( out_mode in ('PERSON','VEHICLE','ALL')), + constraint pk_outgoing_inventory primary key (sys_pk) +); + +-- apply alter tables +alter table product add column if not exists type varchar(12); +alter table quotation add column if not exists taxes_included boolean; +-- apply post alter +alter table product add constraint ck_product_type check ( type in ('RAW_MATERIAL')); +-- foreign keys and indices +create index ix_incoming_inventory_vendor_sys_pk on incoming_inventory (vendor_sys_pk); +alter table incoming_inventory add constraint fk_incoming_inventory_vendor_sys_pk foreign key (vendor_sys_pk) references vendor (sys_pk) on delete restrict on update restrict; + diff --git a/src/main/resources/dbmigration/1.7.sql b/src/main/resources/dbmigration/1.7.sql new file mode 100644 index 0000000..7c3df62 --- /dev/null +++ b/src/main/resources/dbmigration/1.7.sql @@ -0,0 +1,2 @@ +-- apply alter tables +alter table incoming_inventory add column if not exists vendor_bill_num varchar(255); diff --git a/src/main/resources/dbmigration/1.8.sql b/src/main/resources/dbmigration/1.8.sql new file mode 100644 index 0000000..1028a42 --- /dev/null +++ b/src/main/resources/dbmigration/1.8.sql @@ -0,0 +1,4 @@ +-- apply alter tables +alter table incoming_inventory add column if not exists mrn varchar(255); +alter table outgoing_inventory add column if not exists mdn varchar(255); +alter table outgoing_inventory add column if not exists products jsonb; diff --git a/src/main/resources/dbmigration/1.9__dropsFor_1.5.sql b/src/main/resources/dbmigration/1.9__dropsFor_1.5.sql new file mode 100644 index 0000000..bb4df97 --- /dev/null +++ b/src/main/resources/dbmigration/1.9__dropsFor_1.5.sql @@ -0,0 +1,2 @@ +-- apply alter tables +alter table document drop column ref_id; diff --git a/src/main/resources/dbmigration/model/1.10__dropsFor_1.7.model.xml b/src/main/resources/dbmigration/model/1.10__dropsFor_1.7.model.xml new file mode 100644 index 0000000..9f340d4 --- /dev/null +++ b/src/main/resources/dbmigration/model/1.10__dropsFor_1.7.model.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/src/main/resources/dbmigration/model/1.11__dropsFor_1.8.model.xml b/src/main/resources/dbmigration/model/1.11__dropsFor_1.8.model.xml new file mode 100644 index 0000000..3641709 --- /dev/null +++ b/src/main/resources/dbmigration/model/1.11__dropsFor_1.8.model.xml @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/src/main/resources/dbmigration/model/1.6.model.xml b/src/main/resources/dbmigration/model/1.6.model.xml new file mode 100644 index 0000000..bf11a71 --- /dev/null +++ b/src/main/resources/dbmigration/model/1.6.model.xml @@ -0,0 +1,58 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/main/resources/dbmigration/model/1.7.model.xml b/src/main/resources/dbmigration/model/1.7.model.xml new file mode 100644 index 0000000..d6a6659 --- /dev/null +++ b/src/main/resources/dbmigration/model/1.7.model.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/src/main/resources/dbmigration/model/1.8.model.xml b/src/main/resources/dbmigration/model/1.8.model.xml new file mode 100644 index 0000000..205ce77 --- /dev/null +++ b/src/main/resources/dbmigration/model/1.8.model.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/main/resources/dbmigration/model/1.9__dropsFor_1.5.model.xml b/src/main/resources/dbmigration/model/1.9__dropsFor_1.5.model.xml new file mode 100644 index 0000000..40c91db --- /dev/null +++ b/src/main/resources/dbmigration/model/1.9__dropsFor_1.5.model.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file From 51444567213f8e04feb8fba26777c6192a16c5e2 Mon Sep 17 00:00:00 2001 From: arsalan Date: Tue, 5 Mar 2024 10:11:02 +0530 Subject: [PATCH 12/12] fixes --- excel/IncomingInventory.xls | Bin 0 -> 4608 bytes excel/OutgoingInventory.xls | Bin 0 -> 4608 bytes excel/Products.xls | Bin 5120 -> 7168 bytes 3 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 excel/IncomingInventory.xls create mode 100644 excel/OutgoingInventory.xls diff --git a/excel/IncomingInventory.xls b/excel/IncomingInventory.xls new file mode 100644 index 0000000000000000000000000000000000000000..a232475eeced44a213e229070b24c29ff4377b55 GIT binary patch literal 4608 zcmeHKO=w(I6h80Go1d5_lb_mZY?J3C(PT2(iMCKoYbHfO!G;)V6|IghnV}6yCNj>5 zb)n-Qh<^xOxN*_C6U3j5E?R1`b5T%qA-GB{xD*5h(YE9Fo%>#9CV#l8V9kA;d*Au) zx#ygB?%#Ree$&2u=JT$LvZ{W@F=VoWmcxtkJ(K|t>4ul_KJP_vA)z= z^slD1*#8mX-n{~1>mUGO5chl(L~N^E-x1)RILkojm zVm%STsgJr->rb`!oRLJ&39HpQcF+0V{g7Zz@|c}bxp%ZqXx)n1k}q}4kBSUq<$ewM z>Pzo&OQ3{htT^M%U6YP;biZb!+v$QiY@I}3qBqsso6Zi73 zKKEq3h>ID*9t%Y7OgHEN3pM=`%?{L$O1iZnNw-1%pri!zRBy<5-e8MP)tMU|tr^@aL$asNU@$tc=?_)2 zwQGhQUMY{8^=Q73 zTPV8Y-h3W+sm~pnnVWOR%kxwD;wo@#exY0_;Z~j~F67G7CHKJ`uI7ND7W5q{%#_@T z;>>g&*Z9L_uTYvPodgcUd(td>;rel}T=M4OPC7jdNAE^(CiC8O3Ge%H;*S-Mm*>1< z{iuC#*S`p|&z1A|2B^9V^25+_w4ATvpo&QuikK~2Li+;RKG-^o7MjG|IBjyad~U-^fuHvWE?!R+x4_=gN@4{{rcVEsfp37;z`Aaw0=dA3S@%P zkBPsLyaVIBGIn2pn}7&H=~oH5@M%E_%a7 zz%k;6i-N;E`&5KEGW7VT%|7D3kojUj^8==-OPK*B)G9+%^l9Y?|k>% z^WFb@=KJsZH!goZbd9#8DYEEhyN99y+z5PAlE{S4*v)pk%~kx3&%N{?nt?f5!OtUy zN>oSLpi8`ze>)wdh@poY+8?`kuu#|PQ3lU~y+KPfFa22BrB(N;0WvrFxgXuFwxgPV zd(Hm~;j?=K!ljL&M<9IWV-Uvn((OG1d}jF`=QFu={o}y+nBD=|2iXtlh4euZ5Ih0Y z4;g?ALJmOggdBt%g4_kU8!`mB2XZguFk~2V1mZyMgQOs7$OvQ^Qri41$ivvV-@v~8%6ohy zkRmkQSag^Fk%}wa{SL>lJp?)&ozzGwolB?lmCV$b{>}{BN3bk7L>fWu^K-T83qcbH zD}*zqO&-dJd_aYpQHt}K3)_S}DZ@u7OL?LS6J#CTBVQd8Ju~I2sRvW&Pi3rF0Yi>5 z^Z+*uw#qu4CRrzBf1GlJbqW%xo`<-&Qvtd{p+h)9<8(AYs9S4Jzp2o6+HJ^HMf67- z)3KS>9L9O|1^-=F?2hwFcC+6JXRqDtZ)e=#ZMT{9e2%Mm_)}MCJhKCy+X2t+fcJF8 zIlz(ryhRkZ<9PGdocB$ek}a#vWq&Iw)Jhn3@XF+|^^=f!!Pd7bhW~ExgC0lMb zF0QQB@Z^>oE7j(L=bWnI-POvhdx7iD))zge+*n-T)=xLxy0_?E0uHZ7^PG;s)ib3h zPn~$G1RAfl>Y*RUF!s5cyTIR*Fqp2t)LeEO!FCfEPq{RA=JaeEH%^?IXu{9_wtg+e>TuKj v!fge(M~XjTh9)rZ#}FpHjNjwt0DZwrLq*Q~bQnG39wPbsQ6^m>|6cwV(!Yvq literal 0 HcmV?d00001 diff --git a/excel/Products.xls b/excel/Products.xls index 118f9e0367a506a984efd133d874637a7808e1c9..dd861219c45286dd50808563aae0aaad61767bec 100644 GIT binary patch literal 7168 zcmeHMU2Ggz6+XLO|D=gM{%MmYY0{~k(AaUy?(C0u8`8vSiJedR06>Rh^Leno{<3Y&|<#t%*>tH^(MRk z5~X)DbMJTVIp00^+;i{DIKTeY$lW)-f9M_QD5s=H{;{)1`XcgJq%FgO{+%6)f|~sh zeNg^~BCsem{F-9RN2Q9oF0V#c`Cqp8OK&WgZd-ob$1=zls(c)y*JVR)sUI8nvFhG6 zDseMD{phaME{y~J_@Q>$|108Jyoaj?0Z8EL#l=0}k81$e9$XLL+KX!+F6w_!-air8 zGk}AP4Ai95K9{1Mj;*hEc02J2aWH+w@P%v|yd019_gejYX#-!<{)34w#XX^5MvUfpsvZ zZ>qzFc6a4L4gX(v5Drt`vMJ~4tNbrP$NlA8$!_}hl9RQY{`*-TW7?S##Pg&Vhrb6M zfqe2F^67iXr|u!&(^bv~oci-+Jm3-oc;>xje?6X%;q9Is)+5_}T90lgv>w~;*IKqk z>j$@ccV5zi<4ZV>5_~pdcP_1$O3ma~@d%CK_nny5i38Yh{%Iob%JIZ&&~fC;zPN-Dv;{-BmIcewR;kh~;e2tc&DwgYZogcw zRhy-15e+!_O0B+uw}6If!3ut7(iv74-7ObS5BReN#oOiTnvLhf8hTQWlfopOH0U>K z%}Tk7cZXZ<>IPYvz98GHkpgVZVH3+X)Q=9d?)A->g`U1!j_n2>Nr&??LnGU*vO zd%esMz3eucSe@$^<}zvcUYNr)Uwh@CC6AoSybGcHSP{v7TGZ|=+TLWyP4^txsQ4V3r@draySzRx!ZeZ*j z)+n3KB6UKs?XJ1yDl}&@xoj?V{*tk+r%L z7+}tGlMzU#oGko=yK^-r9vW-4O=P+H=_J7ll{8}LWSFgsZnapujimD$b}`(Wn35-i z0R}0cI8GWZPs)IMt&)SCRY1pPy|h(oR)bcxi9M0xPSr>tWazFo;R%Pwl#1ng^VJ>s z6poD+Am6utg8F&Xd@=h5suk3KL;Z8q*D=gKkbevH7V1IJ{{r<*)Q92C4^V#^^(d0= zPpChGdKRTH zkMKCdp92Qu-EaT-Hw(9}oLN!%l*&)){qri>hE7n9y|D7^~ zXqSv0cj|GhP8pVFmki6YOU7t)+G1ID$+$+Hdf5NFWXzXNJtW&M8DrI{XLXS=f}MIJ zU1ZoTyY$Ao$hgX#d|dTT+5RrF16^bfcaa_JBEzF?*BE$L-X(jai|j~;>^e5fLpc_z<8N5HrW?ivuxdJk$fkY>CDDV3z=*oTFI! zh3=s!Lma)9`s(#X8RCY4o>}^BPpuwsTYBnvhz!gh50QbHLmzq!17~C5=V|e^$Ksy` z)h3}nFk{G&fR%;sGmjx*7#INy-*TQ-uQD)GXw$0<%n=Wff!RSHdJO}k7BVnGmcHQA zrmu~Go`(#5hJlf`ggHi=eq~^Gd5CdfUU`TN%qS0WEtpG0Tp>%CMINFb%pVVth3Aup z$nvN`WU+n36Tp(k3?j?8L1dXQh%CnpBFk|f@yxK~Lk5xMaf8Tm!XUCt8Wi<~r;LS< zLC@>G8kds>k!9K-vOHl>G%h@sEP2xJ+ovq}XwyjWNn-J1(??`U85H$}nP`dQ_YEpb z+90xI3?d5=^JLJhGPBo`tgkhs3^{|y5JYxJ^JK>KMQ6iYxA@hn9$U&%Fo-N6q8}lO z&W3x$lBayTVP!dG5LrS*mJmf*xVJ3%h;KKdET;`3ONhu4q9_aZq$N-LcB9I|M=Udy ze`&GgtU+X%H7Lr$9c;-tzi&)go-v3l&l*IQAl75LKDOV-op0f9(cb9%9Jl1WL1YOL zSwa-`g(rq3bG{u1#fs zET1%pEFmIGh@vbJI g*H6bs<%fM3R`(lgmLnLi$7}MHfd%9IyZ)o?pDI@P6aWAK delta 905 zcmY+Cy-wUf6oqGOuRYiX8(6Xs{vp8fw;-S(N~CB(qNgNHK%%4pi2{l&sUsnh`vQnJ zfaDnvN)tsXBE+L0)|@jVHel=1%<;WG^KPhwNeaTZw>C5`E7y6i~RF1u4S@Z($ zS0dUkFpa(krl(mHMSyq-gdhUu$9(Wtf7{NDhN6*}pxS81qyuCi2c4h`bb~VJ0k1#> z^nyO{8uWt!FbIagFc<-&U<{0dH(&xxf+4q$&Rk=;JA8TZIU8avUGJEq6u?^CuQx?jVS(b%A1TTIF{{LWOE`PsVX|Qa} zFWGz+&?zp!QaZ(a7FBy8GPzBD$L(OoLOaDRvgA(DfyH-<4r~KDge`}tflrz34W>nQ z6YLVFXu*DQiWck~T0|`iV;$H{%rY+=j6F8H%*CEN80)aZ01KDdMs$kjU`sm1O|Utg eq6OR3Dc%Gd_8(5Vhl>4F8}?mOtyjMG?>+)MB4uI#