This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"_id": "an-us-en-US-d2595ef183374844a9f544e4df664319", | |
"_score": 0.17883396, | |
"collection": "css-tile_en-us", | |
"allMeta": { | |
"tile": { | |
"product": { | |
"origin": null, | |
"parentCategoryId": "CLOTHES-DRESSES", | |
"includeInSearch": true, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"_id": "an-us-en-US-fb24c06158c84aa4a8ebd4a5b57c874e", | |
"_score": 0.49925175, | |
"collection": "css-tile_en-us", | |
"allMeta": { | |
"tile": { | |
"product": { | |
"origin": null, | |
"parentCategoryId": "CLOTHES-DRESSES", | |
"includeInSearch": true, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"took": 4, | |
"timed_out": false, | |
"_shards": { | |
"total": 5, | |
"successful": 5, | |
"skipped": 0, | |
"failed": 0 | |
}, | |
"hits": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id": "uo-us-perm-markdown-override", | |
"searchType": "tile", | |
"channels": [ | |
"android", | |
"pos", | |
"web", | |
"ios" | |
], | |
"default": false, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"aggregations": { | |
"skus.colorwayNames": { | |
"aggregations": { | |
"skus.colorwayNames_nested": { | |
"aggregations": { | |
"skus.colorwayNames_reverseNested": { | |
"terms": { | |
"field": "skus.colorwayNames", | |
"order": [{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-------------------------------------------------------- | |
-- File created - Friday-July-13-2018 | |
-------------------------------------------------------- | |
-------------------------------------------------------- | |
-- DDL for Table BRAND | |
-------------------------------------------------------- | |
CREATE TABLE "MCPDEV"."BRAND" | |
( "ID" NUMBER(11,0), | |
"NAME" VARCHAR2(20 BYTE) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class PubSubUtil: | |
def __init__( | |
self, | |
logger=getLogger(__name__), | |
): | |
self.logger = logger | |
self.pub_sub_key = "my_key" | |
self.redis = redis.StrictRedis(host="redis", port=6379, db=0) | |
self.pubsub = self.redis.pubsub() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brand_code_to_associated_site = {"uo-us": Sites.UO_UK, "uo-eu": Sites.UO_US, "an-us": Sites.AN_UK, "an-eu": Sites.AN_US} | |
assocated_site = brand_code_to_associated_site.get(site.brand_code) | |
if not assocated_site: | |
return |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"emailAddress": "[email protected]", | |
"subscriptionSource": "Receipt", | |
"gender": "male", | |
"country": "100001" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*jshint jquery:true, browser:true, globalstrict:true, newcap: false, quotmark: single, unused:true, camelcase: true, eqeqeq: true, latedef: true, undef: true, maxlen: 80, indent: 2, trailing: true*/ | |
/*global angular, angularCartApp */ | |
(function() { | |
'use strict'; | |
angular.module('receipt', []) | |
.controller('ReceiptCtrl', ['$rootScope','$scope', '$location', '$cacheFactory', '$window', 'ReceiptData', 'UOHttp', 'Tracking', | |
function($rootScope,$scope, $location, $cacheFactory, $window, ReceiptData, UOHttp, Tracking) { | |
var loadMessaging = function() { |
NewerOlder