Rev 28323 | View as "text/plain" | Blame | Compare with Previous | Last modification | View Log | RSS feed
package com.spice.profitmandi.web.services;import java.util.HashMap;import org.springframework.beans.factory.annotation.Autowired;import org.springframework.beans.factory.annotation.Value;import org.springframework.cache.annotation.Cacheable;import org.springframework.stereotype.Component;import com.spice.profitmandi.common.web.client.RestClient;@Componentpublic class PartnerIndexService {@AutowiredRestClient restClient;@Value("${store.app.url}")String storeAppUrl;@Cacheable(value = "partnerPage", cacheManager = "oneDayCacheManager")public String getPartnerIndexHtml() throws Exception {return restClient.get(storeAppUrl, new HashMap<String, String> (), new HashMap<String, String> ());}}