Subversion Repositories SmartDukaan

Rev

Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
37260 53 m amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/ Hot deals API: fix /fofo 500 when subCategoryId omitted (primitive int + required=false cannot bind null; defaultValue 0, same in GuestController); /fofo/hotDeals/categories facet endpoint for filter chips; hotDeal listing honors explicit categoryId only (cross-category default); enrichment pills - constant names with hd-yes/hd-no + hd-good/hd-off state classes, not-activated is the green state  
37259 53 m amit /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/solr/ Hot deals Solr: category filter on hot-deal listings applied only when caller sends categoryId explicitly (page chips); getHotDealCategoryFacet - categoryId_i facet over curated deal models for the filter chips  
37258 11 h 58 m amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Schedule syncHotDealFlags daily 00:20 (ScheduledSkeleton) + --syncHotDealFlags CLI arg: completes r37255 - without the skeleton trigger the tag_listing.hot_deals mirror never runs, so deal windows would not start/expire in Solr  
37257 12 h 49 m amit /trunk/profitmandi-web/ chore: restore full svn:ignore list (accidentally replaced) + graphify-out  
37256 12 h 50 m amit /trunk/profitmandi-fofo/src/main/ feat: hot-deals admin — all-brands searchable/paginated table

- /hotDeals/all replaces per-brand /hotDeals table: server-side search (model/
brand), 20/page with prev/next, Brand column, newest window first
- /hotDeals/slots: active-slot usage per brand (n / 15) for the add form
- jsVersion 394
 
37255 12 h 50 m amit /trunk/profitmandi-cron/ feat: syncHotDealFlags cron entry + dev mail outbox recipient

- syncHotDealFlags: daily mirror of model_hot_deal windows into
tag_listing.hot_deals via ModelHotDealService
- dev.properties: mail.outbox.dev.recipient (required by MailOutboxService
in non-prod)
- restore full svn:ignore list (accidentally replaced) + graphify-out
 
37254 12 h 51 m amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ feat: hot-deals admin search/pagination + tag_listing.hot_deals write-through and daily sync

- searchAllWithCatalog/countSearchAll: all-brands deal listing joined with
Catalog (brandName transient), server-side search on model/brand, paginated
- add/removeDeal write through to tag_listing.hot_deals (Solr hot_deal_b
source) and publish a re-index event (prod-gated in TagListingChangeListener)
- syncHotDealFlags: daily reconcile of date-windowed model_hot_deal into
tag_listing.hot_deals so deal windows start/expire on time
 
37253 12 h 51 m amit /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/solr/ fix: drop category gate on solr query when curated hot-deal catalogIds are given

Hot-deal listings are cross-category (phones/accessories/LEDs); the curated
catalogId filter is the scope, so categoryId_i must not also constrain it.
 
37252 12 h 58 m ranu /trunk/profitmandi-dao/src/main/resources/EDM Design/ png images commited for edm  
37251 13 h 16 m amit /trunk/profitmandi-fofo/src/main/resources/META-INF/ config: point prod new.solr.url at static0 private IP (192.168.138.45)

Matches profitmandi-web; avoids public routing to 172.105.58.16 from prod
(3ms vs WAN round-trip per solr query). Verified reachable from the prod
fofo server.
 
37250 13 h 16 m amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/ perf: speed up /partner/listing by batching partner-level data and parallelizing solr calls

- Fetch stock snapshot, favourites, web offers, combo models, CIS, items,
cashback and price circular once per request (union of all listings'
catalogs/items) instead of once per listing
- Precompute slab-payout/scheme-offer alignment once per catalog so shared
PriceCircularItemModelNew instances are not mutated twice
- Fan per-listing solr queries out on a bounded thread pool; brand exclusion
resolved once on the request thread (Hibernate session is thread-bound)
- Drop per-doc info logs (full stock map, label dumps, solrtype)
 
37249 13 h 24 m vikas /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/ Null check for email  
37248 13 h 32 m vikas /trunk/ Updated Escalation Level  
37247 17 h 24 m amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/ Hot deal surfacing: HotDealEnrichmentService attaches hotDealTags (condition/activated/warranty/fin-mapped/affordability pills, No values hidden) to fofo listing, favourites and partnerdeals responses; /fofo hotDeal=true now sources from model_hot_deal actives via Solr catalogId filter  
37246 17 h 34 m amit /trunk/profitmandi-fofo/src/main/ Hot deals admin: five mandatory attribute inputs (no defaults) on add + inline row edit, table columns, updateDeal params; jsVersion 393  
37245 17 h 34 m amit /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/solr/ SolrService: getSolrDocs overload with hotDealCatalogIds - restrict parents to active model_hot_deal models instead of legacy hot_deal_b child flag  
37244 17 h 34 m amit /trunk/profitmandi-dao/src/ Hot deal attributes: five mandatory fields (warranty_months 0-12, item_condition NEW/OPEN_BOX/REFURBISHED, activated, finance_mapping, affordability) on model_hot_deal - entity+enum+attributes holder, service validation (no defaults), addDeal/updateDeal signatures, selectActiveByCatalogItemIds/selectAllActive repo queries, hotDealTags on FofoCatalogResponse, DDL script, tests (14 green)  
37243 1 d 9 h ranu /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ state head should be l4 and l5  
37242 1 d 9 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/repository/catalog/ Reject non-18% GST rates for TV categories (14202/14203) in addStateGstRates - GST 2.0 makes all TVs 18% regardless of screen size; guards item-loader sheets and Taxation CSV upload from re-introducing 28%  
37241 1 d 15 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/transaction/ Harden cancelMarginDnIrns: per-DN REQUIRES_NEW transaction (NIC cancel is irreversible; later failures must not roll back earlier cancelled flags) and treat NIC already-cancelled as success so re-runs converge DB to NIC state  

Show All