| Rev |
Age |
Author |
Path |
Log message |
Diff |
| 37305 |
59 d 17 h |
ranu |
/trunk/ |
carry bag for silver at 1 |
|
| 37304 |
59 d 17 h |
ranu |
/trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/v2/controller/ |
v2 version some fixes |
|
| 37298 |
60 d 13 h |
amit |
/trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/ |
Default subCategoryId to 0 on endpoints that declare it required=false
subCategoryId is a primitive int, so a required=false declaration with no
defaultValue makes Spring throw when the param is omitted:
Optional int parameter 'subCategoryId' is present but cannot be translated
into a null value due to being declared as a primitive type.
v1 DealsController and GuestController already default it to 0; their v2
wrappers dropped that, and StoreController never had it on either version. Any
caller omitting the param got a 500 with a message that does not name the
parameter at fault.
Adding the default only removes that failure path — every currently working
caller already sends a value, so no existing behaviour changes. |
|
| 37296 |
60 d 20 h |
amit |
/trunk/profitmandi-web/src/main/resources/ |
external api v2: docs - color removed from all record shapes |
|
| 37293 |
60 d 23 h |
amit |
/trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/v2/controller/fofo/ |
Fix region-ALL (fofoId=0 sentinel) handling on RBM home
active-offers: regionId resolved via rows.get(0).getFofoId(), which is 0 for
region ALL, so selectByRetailerId(0) threw FOFOSTR_1000 'Fofo store not found'
(400) for every region-ALL user. Now filters fofoId>0, picks an active store,
and falls back to the caller's fofoId when a region resolves to nothing.
rbm-regions: dropdown now lists only regions holding an active retailer (with
activePartners count), which drops the ALL pseudo-region; users carrying the
sentinel get every live region as assignedRegionIds instead of an empty set.
rbm-dashboard: expand the sentinel like CsServiceImpl does (row region ->
its partners; region ALL -> all active stores) so the partners tile stops
reporting 0/1. Scope-wide batches limited to stores/targets/purchases/
last-billed; name, wallet and loan lookups now run only over the returned
slice. partners and alerts capped via ?limit (default 50, max 200) with
partnersReturned/totalAlerts/alertsReturned/limit added to summary. Partners
with no target this month rank after those actually missing a target, so the
capped slice is not filled by unset-target stores. |
|
| 37291 |
61 d 23 h |
amit |
/trunk/profitmandi-web/src/main/resources/ |
external api v2: docs - parameters-at-a-glance table, per-endpoint optional/required params, clamp semantics |
|
| 37280 |
62 d 20 h |
amit |
/trunk/profitmandi-web/src/main/resources/ |
external api v2: document addedOn field for new-SKU partial sync |
|
| 37273 |
63 d 0 h |
amit |
/trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/v2/controller/fofo/ |
Apply same idempotent super-catalog mapping save to V2 controller
Keeps V2FofoSuperCatalogController in step with the fofo SuperCatalogController
fix (r37272) so the dormant endpoint cannot violate the new
UNIQUE(catalog_id, super_catalog_id) constraint if it is ever enabled. |
|
| 37269 |
63 d 1 h |
amit |
/trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/services/ |
Hot deals enrichment: Fresh pill (green tick when device unused, greyed cross otherwise) replacing Activated; class hd-fresh |
|
| 37267 |
63 d 16 h |
ranu |
/trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ |
v2 version some fixes |
|
| 37260 |
66 d 7 h |
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 |
|
| 37257 |
66 d 19 h |
amit |
/trunk/profitmandi-web/ |
chore: restore full svn:ignore list (accidentally replaced) + graphify-out |
|
| 37250 |
66 d 20 h |
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 |
66 d 20 h |
vikas |
/trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/ |
Null check for email |
|
| 37247 |
67 d 0 h |
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 |
|
| 37224 |
68 d 18 h |
amit |
/trunk/profitmandi-web/src/main/ |
external api v2: paginated storeMaster endpoint + docs |
|
| 37219 |
68 d 20 h |
amit |
/trunk/profitmandi-web/src/main/resources/ |
external api v2: docs page - categoryMaster, gst, categorySpecs, item fields, paginated stock |
|
| 37207 |
68 d 22 h |
amit |
/trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/external/ |
external api v2: categoryMaster endpoint, client-scoped feeds, itemIds-optional paginated /stock |
|
| 37196 |
69 d 23 h |
ranu |
/trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/filter/ |
v2 version some fixes |
|
| 37195 |
69 d 23 h |
ranu |
/trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/config/ |
ai + brand display mapping fixed |
|