Details
-
Type: Task
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: Mercury
-
Fix Version/s: Mercury
-
Component/s: Business Location Service
-
Labels:None
-
Sprint:Sprint 7, Sprint 8, Sprint 9
-
Epic Link:
Description
BusinessLocationServiceBD.java
Currently it's hard-coded to two distributions.
public ISearchEngineLocationTarget getSearchEngineLocationTarget(int aBusinessLocationID, Distribution aDistribution) {
ISearchEngineLocationTarget ret = null;
switch (aDistribution)
{ case YahooJapan: ret = theBusinessLocationDAO.getYahooJapanLocationTargetByLocationID(aBusinessLocationID); break; case Google: ret = theBusinessLocationDAO.getGoogleLocationTargetByLocationID(aBusinessLocationID); break; default: throw new UnsupportedOperationException("Attempt to look up location target for unsupported distribution [" + aDistribution + "]"); } if (ret == null) {
LOG.info("No target found for BL [{}], distribution [{}]", aBusinessLocationID, aDistribution);
ret = new GoogleLocationTarget();
}
return ret;
}
Attachments
Issue Links
- blocks
-
AML-471 Subscriber user can include Bing distribution for campaign deployment
- Closed