SYMBOL INDEX (521 symbols across 103 files) FILE: account-service/src/main/java/com/piggymetrics/account/AccountApplication.java class AccountApplication (line 11) | @SpringBootApplication method main (line 19) | public static void main(String[] args) { FILE: account-service/src/main/java/com/piggymetrics/account/client/AuthServiceClient.java type AuthServiceClient (line 9) | @FeignClient(name = "auth-service") method createUser (line 12) | @RequestMapping(method = RequestMethod.POST, value = "/uaa/users", con... FILE: account-service/src/main/java/com/piggymetrics/account/client/StatisticsServiceClient.java type StatisticsServiceClient (line 10) | @FeignClient(name = "statistics-service", fallback = StatisticsServiceCl... method updateStatistics (line 13) | @RequestMapping(method = RequestMethod.PUT, value = "/statistics/{acco... FILE: account-service/src/main/java/com/piggymetrics/account/client/StatisticsServiceClientFallback.java class StatisticsServiceClientFallback (line 11) | @Component method updateStatistics (line 14) | @Override FILE: account-service/src/main/java/com/piggymetrics/account/config/ResourceServerConfig.java class ResourceServerConfig (line 22) | @Configuration method ResourceServerConfig (line 28) | @Autowired method clientCredentialsResourceDetails (line 33) | @Bean method oauth2FeignRequestInterceptor (line 39) | @Bean method clientCredentialsRestTemplate (line 44) | @Bean method tokenServices (line 49) | @Bean method configure (line 54) | @Override FILE: account-service/src/main/java/com/piggymetrics/account/controller/AccountController.java class AccountController (line 13) | @RestController method getAccountByName (line 19) | @PreAuthorize("#oauth2.hasScope('server') or #name.equals('demo')") method getCurrentAccount (line 25) | @RequestMapping(path = "/current", method = RequestMethod.GET) method saveCurrentAccount (line 30) | @RequestMapping(path = "/current", method = RequestMethod.PUT) method createNewAccount (line 35) | @RequestMapping(path = "/", method = RequestMethod.POST) FILE: account-service/src/main/java/com/piggymetrics/account/controller/ErrorHandler.java class ErrorHandler (line 10) | @ControllerAdvice method processValidationError (line 17) | @ExceptionHandler(IllegalArgumentException.class) FILE: account-service/src/main/java/com/piggymetrics/account/domain/Account.java class Account (line 13) | @Document(collection = "accounts") method getName (line 35) | public String getName() { method setName (line 39) | public void setName(String name) { method getLastSeen (line 43) | public Date getLastSeen() { method setLastSeen (line 47) | public void setLastSeen(Date lastSeen) { method getIncomes (line 51) | public List getIncomes() { method setIncomes (line 55) | public void setIncomes(List incomes) { method getExpenses (line 59) | public List getExpenses() { method setExpenses (line 63) | public void setExpenses(List expenses) { method getSaving (line 67) | public Saving getSaving() { method setSaving (line 71) | public void setSaving(Saving saving) { method getNote (line 75) | public String getNote() { method setNote (line 79) | public void setNote(String note) { FILE: account-service/src/main/java/com/piggymetrics/account/domain/Currency.java type Currency (line 3) | public enum Currency { method getDefault (line 7) | public static Currency getDefault() { FILE: account-service/src/main/java/com/piggymetrics/account/domain/Item.java class Item (line 8) | public class Item { method getTitle (line 26) | public String getTitle() { method setTitle (line 30) | public void setTitle(String title) { method getAmount (line 34) | public BigDecimal getAmount() { method setAmount (line 38) | public void setAmount(BigDecimal amount) { method getCurrency (line 42) | public Currency getCurrency() { method setCurrency (line 46) | public void setCurrency(Currency currency) { method getPeriod (line 50) | public TimePeriod getPeriod() { method setPeriod (line 54) | public void setPeriod(TimePeriod period) { method getIcon (line 58) | public String getIcon() { method setIcon (line 62) | public void setIcon(String icon) { FILE: account-service/src/main/java/com/piggymetrics/account/domain/Saving.java class Saving (line 6) | public class Saving { method getAmount (line 23) | public BigDecimal getAmount() { method setAmount (line 27) | public void setAmount(BigDecimal amount) { method getCurrency (line 31) | public Currency getCurrency() { method setCurrency (line 35) | public void setCurrency(Currency currency) { method getInterest (line 39) | public BigDecimal getInterest() { method setInterest (line 43) | public void setInterest(BigDecimal interest) { method getDeposit (line 47) | public Boolean getDeposit() { method setDeposit (line 51) | public void setDeposit(Boolean deposit) { method getCapitalization (line 55) | public Boolean getCapitalization() { method setCapitalization (line 59) | public void setCapitalization(Boolean capitalization) { FILE: account-service/src/main/java/com/piggymetrics/account/domain/TimePeriod.java type TimePeriod (line 3) | public enum TimePeriod { FILE: account-service/src/main/java/com/piggymetrics/account/domain/User.java class User (line 7) | public class User { method getUsername (line 17) | public String getUsername() { method setUsername (line 21) | public void setUsername(String username) { method getPassword (line 25) | public String getPassword() { method setPassword (line 29) | public void setPassword(String password) { FILE: account-service/src/main/java/com/piggymetrics/account/repository/AccountRepository.java type AccountRepository (line 7) | @Repository method findByName (line 10) | Account findByName(String name); FILE: account-service/src/main/java/com/piggymetrics/account/service/AccountService.java type AccountService (line 6) | public interface AccountService { method findByName (line 14) | Account findByName(String accountName); method create (line 24) | Account create(User user); method saveChanges (line 33) | void saveChanges(String name, Account update); FILE: account-service/src/main/java/com/piggymetrics/account/service/AccountServiceImpl.java class AccountServiceImpl (line 19) | @Service method findByName (line 36) | @Override method create (line 45) | @Override method saveChanges (line 75) | @Override FILE: account-service/src/main/java/com/piggymetrics/account/service/security/CustomUserInfoTokenServices.java class CustomUserInfoTokenServices (line 29) | public class CustomUserInfoTokenServices implements ResourceServerTokenS... method CustomUserInfoTokenServices (line 46) | public CustomUserInfoTokenServices(String userInfoEndpointUrl, String ... method setTokenType (line 51) | public void setTokenType(String tokenType) { method setRestTemplate (line 55) | public void setRestTemplate(OAuth2RestOperations restTemplate) { method setAuthoritiesExtractor (line 59) | public void setAuthoritiesExtractor(AuthoritiesExtractor authoritiesEx... method loadAuthentication (line 63) | @Override method extractAuthentication (line 74) | private OAuth2Authentication extractAuthentication(Map... method getPrincipal (line 85) | private Object getPrincipal(Map map) { method getRequest (line 94) | @SuppressWarnings({ "unchecked" }) method readAccessToken (line 106) | @Override method getMap (line 111) | @SuppressWarnings({ "unchecked" }) FILE: account-service/src/test/java/com/piggymetrics/account/AccountServiceApplicationTests.java class AccountServiceApplicationTests (line 8) | @RunWith(SpringRunner.class) method contextLoads (line 12) | @Test FILE: account-service/src/test/java/com/piggymetrics/account/client/StatisticsServiceClientFallbackTest.java class StatisticsServiceClientFallbackTest (line 18) | @RunWith(SpringRunner.class) method setup (line 29) | @Before method testUpdateStatisticsWithFailFallback (line 34) | @Test FILE: account-service/src/test/java/com/piggymetrics/account/controller/AccountControllerTest.java class AccountControllerTest (line 28) | @RunWith(SpringRunner.class) method setup (line 42) | @Before method shouldGetAccountByName (line 48) | @Test method shouldGetCurrentAccount (line 61) | @Test method shouldSaveCurrentAccount (line 74) | @Test method shouldFailOnValidationTryingToSaveCurrentAccount (line 112) | @Test method shouldRegisterNewAccount (line 124) | @Test method shouldFailOnValidationTryingToRegisterNewAccount (line 137) | @Test FILE: account-service/src/test/java/com/piggymetrics/account/repository/AccountRepositoryTest.java class AccountRepositoryTest (line 20) | @RunWith(SpringRunner.class) method shouldFindAccountByName (line 27) | @Test method getStubAccount (line 40) | private Account getStubAccount() { FILE: account-service/src/test/java/com/piggymetrics/account/service/AccountServiceTest.java class AccountServiceTest (line 20) | public class AccountServiceTest { method setup (line 34) | @Before method shouldFindByName (line 39) | @Test method shouldFailWhenNameIsEmpty (line 51) | @Test(expected = IllegalArgumentException.class) method shouldCreateAccountWithGivenUser (line 56) | @Test method shouldSaveChangesWhenUpdatedAccountGiven (line 76) | @Test method shouldFailWhenNoAccountsExistedWithGivenName (line 140) | @Test(expected = IllegalArgumentException.class) FILE: auth-service/src/main/java/com/piggymetrics/auth/AuthApplication.java class AuthApplication (line 9) | @SpringBootApplication method main (line 15) | public static void main(String[] args) { FILE: auth-service/src/main/java/com/piggymetrics/auth/config/OAuth2AuthorizationConfig.java class OAuth2AuthorizationConfig (line 21) | @Configuration method configure (line 38) | @Override method configure (line 66) | @Override method configure (line 74) | @Override FILE: auth-service/src/main/java/com/piggymetrics/auth/config/WebSecurityConfig.java class WebSecurityConfig (line 16) | @Configuration method configure (line 22) | @Override method configure (line 32) | @Override method authenticationManagerBean (line 38) | @Override FILE: auth-service/src/main/java/com/piggymetrics/auth/controller/UserController.java class UserController (line 15) | @RestController method getUser (line 22) | @RequestMapping(value = "/current", method = RequestMethod.GET) method createUser (line 27) | @PreAuthorize("#oauth2.hasScope('server')") FILE: auth-service/src/main/java/com/piggymetrics/auth/domain/User.java class User (line 10) | @Document(collection = "users") method getPassword (line 18) | @Override method getUsername (line 23) | @Override method getAuthorities (line 28) | @Override method setUsername (line 33) | public void setUsername(String username) { method setPassword (line 37) | public void setPassword(String password) { method isAccountNonExpired (line 41) | @Override method isAccountNonLocked (line 46) | @Override method isCredentialsNonExpired (line 51) | @Override method isEnabled (line 56) | @Override FILE: auth-service/src/main/java/com/piggymetrics/auth/repository/UserRepository.java type UserRepository (line 7) | @Repository FILE: auth-service/src/main/java/com/piggymetrics/auth/service/UserService.java type UserService (line 5) | public interface UserService { method create (line 7) | void create(User user); FILE: auth-service/src/main/java/com/piggymetrics/auth/service/UserServiceImpl.java class UserServiceImpl (line 14) | @Service method create (line 24) | @Override FILE: auth-service/src/main/java/com/piggymetrics/auth/service/security/MongoUserDetailsService.java class MongoUserDetailsService (line 10) | @Service method loadUserByUsername (line 16) | @Override FILE: auth-service/src/test/java/com/piggymetrics/auth/AuthServiceApplicationTests.java class AuthServiceApplicationTests (line 8) | @RunWith(SpringRunner.class) method contextLoads (line 12) | @Test FILE: auth-service/src/test/java/com/piggymetrics/auth/controller/UserControllerTest.java class UserControllerTest (line 24) | @RunWith(SpringRunner.class) method setup (line 38) | @Before method shouldCreateNewUser (line 44) | @Test method shouldFailWhenUserIsNotValid (line 57) | @Test method shouldReturnCurrentUser (line 68) | @Test FILE: auth-service/src/test/java/com/piggymetrics/auth/repository/UserRepositoryTest.java class UserRepositoryTest (line 18) | @RunWith(SpringRunner.class) method shouldSaveAndFindUserByName (line 25) | @Test FILE: auth-service/src/test/java/com/piggymetrics/auth/service/UserServiceTest.java class UserServiceTest (line 15) | public class UserServiceTest { method setup (line 23) | @Before method shouldCreateUser (line 28) | @Test method shouldFailWhenUserAlreadyExists (line 39) | @Test(expected = IllegalArgumentException.class) FILE: auth-service/src/test/java/com/piggymetrics/auth/service/security/MongoUserDetailsServiceTest.java class MongoUserDetailsServiceTest (line 19) | public class MongoUserDetailsServiceTest { method setup (line 27) | @Before method shouldLoadByUsernameWhenUserExists (line 32) | @Test method shouldFailToLoadByUsernameWhenUserNotExists (line 43) | @Test(expected = UsernameNotFoundException.class) FILE: config/src/main/java/com/piggymetrics/config/ConfigApplication.java class ConfigApplication (line 7) | @SpringBootApplication method main (line 11) | public static void main(String[] args) { FILE: config/src/main/java/com/piggymetrics/config/SecurityConfig.java class SecurityConfig (line 10) | @Configuration method configure (line 13) | @Override FILE: gateway/src/main/java/com/piggymetrics/gateway/GatewayApplication.java class GatewayApplication (line 8) | @SpringBootApplication method main (line 13) | public static void main(String[] args) { FILE: gateway/src/main/resources/static/js/dashboard.js function getConverted (line 70) | function getConverted(column) { function initStatisticPage (line 119) | function initStatisticPage() { function separateNumber (line 454) | function separateNumber(val) { function animatecircle (line 465) | function animatecircle(beforevalue, aftervalue, sum, title) { function simpleanimatecircle (line 541) | function simpleanimatecircle(before, after, duration) { function initSavingsSlider (line 635) | function initSavingsSlider() { function drawChartLine (line 732) | function drawChartLine(position) { FILE: gateway/src/main/resources/static/js/launch.js function requestOauthToken (line 12) | function requestOauthToken(username, password) { function getOauthTokenFromStorage (line 40) | function getOauthTokenFromStorage() { function removeOauthTokenFromStorage (line 44) | function removeOauthTokenFromStorage() { function getCurrentAccount (line 52) | function getCurrentAccount() { function showGreetingPage (line 97) | function showGreetingPage(account) { function showLoginForm (line 105) | function showLoginForm() { FILE: gateway/src/main/resources/static/js/lib/extrascripts.js function m (line 31) | function m(b,a,c){void 0===b.selectionStart?(b.focus(),b=b.createTextRan... function B (line 31) | function B(b,a){f.each(a,function(c,d){"function"===typeof d?a[c]=d(b,a,... function p (line 31) | function p(b,a){"string"===typeof b[a]&&(b[a]*=1)} function w (line 31) | function w(b,a){B(b,a);a.oEvent=null;a.tagList="B CAPTION CITE CODE DD D... function h (line 33) | function h(b,a,c){if(a.aSign)for(;-1c&&(0d&&-1=e.d.slice(-1)[0])return 100;for(var n=1,r,i,s;t>=e... function a (line 76) | function a(e,t){for(var n=1,r;t>=e.c[n];)n++;if(e.m)return r=e.c[n-1],n=... function f (line 76) | function f(r){void 0===r&&(r={});"object"!==typeof r&&t("(Format) 'forma... function l (line 76) | function l(t,n){if(!(this instanceof l))throw Error("Link: Don't use Lin... function c (line 76) | function c(e,n){r(n)||t("'step' is not numeric.");e.h[0]=n} function h (line 76) | function h(n,i){("object"!==typeof i||e.isArray(i))&&t("'range' is not a... function p (line 76) | function p(n,r){"number"===typeof r&&(r=[r]);(!e.isArray(r)||!r.length||... function d (line 76) | function d(e,n){e.m=n;"boolean"!==typeof n&&t("'snap' option must be a b... function v (line 76) | function v(e,n){"lower"===n&&1===e.a?e.i=1:"upper"===n&&1===e.a?e.i=2:!0... function m (line 76) | function m(e,n){switch(n){case"horizontal":e.k=0;break;case"vertical":e.... function g (line 76) | function g(e,n){2
").addClass(P[2]),i=["-lower",... function x (line 76) | function x(t,n){n.j&&(n=new l({target:e(n.j).clone().appendTo(t),method:... function T (line 76) | function T(e,t){var n,r=[];for(n=0;n getScheduledNotific... method setScheduledNotifications (line 44) | public void setScheduledNotifications(Map findReadyToNotify(NotificationType type); method save (line 34) | Recipient save(String accountName, Recipient recipient); method markNotified (line 43) | void markNotified(NotificationType type, Recipient recipient); FILE: notification-service/src/main/java/com/piggymetrics/notification/service/RecipientServiceImpl.java class RecipientServiceImpl (line 15) | @Service method findByAccountName (line 23) | @Override method save (line 32) | @Override method findReadyToNotify (line 53) | @Override method markNotified (line 68) | @Override FILE: notification-service/src/test/java/com/piggymetrics/notification/NotificationServiceApplicationTests.java class NotificationServiceApplicationTests (line 8) | @RunWith(SpringRunner.class) method contextLoads (line 12) | @Test FILE: notification-service/src/test/java/com/piggymetrics/notification/controller/RecipientControllerTest.java class RecipientControllerTest (line 29) | @RunWith(SpringRunner.class) method setup (line 43) | @Before method shouldSaveCurrentRecipientSettings (line 49) | @Test method shouldGetCurrentRecipientSettings (line 59) | @Test method getStubRecipient (line 70) | private Recipient getStubRecipient() { FILE: notification-service/src/test/java/com/piggymetrics/notification/repository/RecipientRepositoryTest.java class RecipientRepositoryTest (line 22) | @RunWith(SpringRunner.class) method shouldFindByAccountName (line 29) | @Test method shouldFindReadyForRemindWhenFrequencyIsWeeklyAndLastNotifiedWas8DaysAgo (line 71) | @Test method shouldNotFindReadyForRemindWhenFrequencyIsWeeklyAndLastNotifiedWasYesterday (line 92) | @Test method shouldNotFindReadyForRemindWhenNotificationIsNotActive (line 113) | @Test method shouldNotFindReadyForBackupWhenFrequencyIsQuaterly (line 134) | @Test FILE: notification-service/src/test/java/com/piggymetrics/notification/service/EmailServiceImplTest.java class EmailServiceImplTest (line 25) | public class EmailServiceImplTest { method setup (line 39) | @Before method shouldSendBackupEmail (line 46) | @Test method shouldSendRemindEmail (line 70) | @Test FILE: notification-service/src/test/java/com/piggymetrics/notification/service/NotificationServiceImplTest.java class NotificationServiceImplTest (line 18) | public class NotificationServiceImplTest { method setup (line 32) | @Before method shouldSendBackupNotificationsEvenWhenErrorsOccursForSomeRecipients (line 37) | @Test method shouldSendRemindNotificationsEvenWhenErrorsOccursForSomeRecipients (line 63) | @Test FILE: notification-service/src/test/java/com/piggymetrics/notification/service/RecipientServiceImplTest.java class RecipientServiceImplTest (line 24) | public class RecipientServiceImplTest { method setup (line 32) | @Before method shouldFindByAccountName (line 37) | @Test method shouldFailToFindRecipientWhenAccountNameIsEmpty (line 48) | @Test(expected = IllegalArgumentException.class) method shouldSaveRecipient (line 53) | @Test method shouldFindReadyToNotifyWhenNotificationTypeIsBackup (line 80) | @Test method shouldFindReadyToNotifyWhenNotificationTypeIsRemind (line 89) | @Test method shouldMarkAsNotified (line 98) | @Test FILE: registry/src/main/java/com/piggymetrics/registry/RegistryApplication.java class RegistryApplication (line 7) | @SpringBootApplication method main (line 11) | public static void main(String[] args) { FILE: statistics-service/src/main/java/com/piggymetrics/statistics/StatisticsApplication.java class StatisticsApplication (line 21) | @SpringBootApplication method main (line 28) | public static void main(String[] args) { class CustomConversionsConfig (line 32) | @Configuration method customConversions (line 35) | @Bean FILE: statistics-service/src/main/java/com/piggymetrics/statistics/client/ExchangeRatesClient.java type ExchangeRatesClient (line 10) | @FeignClient(url = "${rates.url}", name = "rates-client", fallback = Exc... method getRates (line 13) | @RequestMapping(method = RequestMethod.GET, value = "/latest") FILE: statistics-service/src/main/java/com/piggymetrics/statistics/client/ExchangeRatesClientFallback.java class ExchangeRatesClientFallback (line 9) | @Component method getRates (line 12) | @Override FILE: statistics-service/src/main/java/com/piggymetrics/statistics/config/ResourceServerConfig.java class ResourceServerConfig (line 15) | @EnableResourceServer method tokenServices (line 21) | @Bean FILE: statistics-service/src/main/java/com/piggymetrics/statistics/controller/StatisticsController.java class StatisticsController (line 14) | @RestController method getCurrentAccountStatistics (line 20) | @RequestMapping(value = "/current", method = RequestMethod.GET) method getStatisticsByAccountName (line 25) | @PreAuthorize("#oauth2.hasScope('server') or #accountName.equals('demo... method saveAccountStatistics (line 31) | @PreAuthorize("#oauth2.hasScope('server')") FILE: statistics-service/src/main/java/com/piggymetrics/statistics/domain/Account.java class Account (line 10) | @Document(collection = "accounts") method getIncomes (line 26) | public List getIncomes() { method setIncomes (line 30) | public void setIncomes(List incomes) { method getExpenses (line 34) | public List getExpenses() { method setExpenses (line 38) | public void setExpenses(List expenses) { method getSaving (line 42) | public Saving getSaving() { method setSaving (line 46) | public void setSaving(Saving saving) { FILE: statistics-service/src/main/java/com/piggymetrics/statistics/domain/Currency.java type Currency (line 3) | public enum Currency { method getBase (line 7) | public static Currency getBase() { FILE: statistics-service/src/main/java/com/piggymetrics/statistics/domain/ExchangeRatesContainer.java class ExchangeRatesContainer (line 9) | @JsonIgnoreProperties(ignoreUnknown = true, value = {"date"}) method getDate (line 18) | public LocalDate getDate() { method setDate (line 22) | public void setDate(LocalDate date) { method getBase (line 26) | public Currency getBase() { method setBase (line 30) | public void setBase(Currency base) { method getRates (line 34) | public Map getRates() { method setRates (line 38) | public void setRates(Map rates) { method toString (line 42) | @Override FILE: statistics-service/src/main/java/com/piggymetrics/statistics/domain/Item.java class Item (line 8) | public class Item { method getTitle (line 23) | public String getTitle() { method setTitle (line 27) | public void setTitle(String title) { method getAmount (line 31) | public BigDecimal getAmount() { method setAmount (line 35) | public void setAmount(BigDecimal amount) { method getCurrency (line 39) | public Currency getCurrency() { method setCurrency (line 43) | public void setCurrency(Currency currency) { method getPeriod (line 47) | public TimePeriod getPeriod() { method setPeriod (line 51) | public void setPeriod(TimePeriod period) { FILE: statistics-service/src/main/java/com/piggymetrics/statistics/domain/Saving.java class Saving (line 6) | public class Saving { method getAmount (line 23) | public BigDecimal getAmount() { method setAmount (line 27) | public void setAmount(BigDecimal amount) { method getCurrency (line 31) | public Currency getCurrency() { method setCurrency (line 35) | public void setCurrency(Currency currency) { method getInterest (line 39) | public BigDecimal getInterest() { method setInterest (line 43) | public void setInterest(BigDecimal interest) { method getDeposit (line 47) | public Boolean getDeposit() { method setDeposit (line 51) | public void setDeposit(Boolean deposit) { method getCapitalization (line 55) | public Boolean getCapitalization() { method setCapitalization (line 59) | public void setCapitalization(Boolean capitalization) { FILE: statistics-service/src/main/java/com/piggymetrics/statistics/domain/TimePeriod.java type TimePeriod (line 5) | public enum TimePeriod { method TimePeriod (line 11) | TimePeriod(double baseRatio) { method getBaseRatio (line 15) | public BigDecimal getBaseRatio() { method getBase (line 19) | public static TimePeriod getBase() { FILE: statistics-service/src/main/java/com/piggymetrics/statistics/domain/timeseries/DataPoint.java class DataPoint (line 15) | @Document(collection = "datapoints") method getId (line 29) | public DataPointId getId() { method setId (line 33) | public void setId(DataPointId id) { method getIncomes (line 37) | public Set getIncomes() { method setIncomes (line 41) | public void setIncomes(Set incomes) { method getExpenses (line 45) | public Set getExpenses() { method setExpenses (line 49) | public void setExpenses(Set expenses) { method getStatistics (line 53) | public Map getStatistics() { method setStatistics (line 57) | public void setStatistics(Map statistics) { method getRates (line 61) | public Map getRates() { method setRates (line 65) | public void setRates(Map rates) { FILE: statistics-service/src/main/java/com/piggymetrics/statistics/domain/timeseries/DataPointId.java class DataPointId (line 6) | public class DataPointId implements Serializable { method DataPointId (line 14) | public DataPointId(String account, Date date) { method getAccount (line 19) | public String getAccount() { method getDate (line 23) | public Date getDate() { method toString (line 27) | @Override FILE: statistics-service/src/main/java/com/piggymetrics/statistics/domain/timeseries/ItemMetric.java class ItemMetric (line 12) | public class ItemMetric { method ItemMetric (line 18) | public ItemMetric(String title, BigDecimal amount) { method getTitle (line 23) | public String getTitle() { method getAmount (line 27) | public BigDecimal getAmount() { method equals (line 31) | @Override method hashCode (line 42) | @Override FILE: statistics-service/src/main/java/com/piggymetrics/statistics/domain/timeseries/StatisticMetric.java type StatisticMetric (line 3) | public enum StatisticMetric { FILE: statistics-service/src/main/java/com/piggymetrics/statistics/repository/DataPointRepository.java type DataPointRepository (line 10) | @Repository method findByIdAccount (line 13) | List findByIdAccount(String account); FILE: statistics-service/src/main/java/com/piggymetrics/statistics/repository/converter/DataPointIdReaderConverter.java class DataPointIdReaderConverter (line 10) | @Component method convert (line 13) | @Override FILE: statistics-service/src/main/java/com/piggymetrics/statistics/repository/converter/DataPointIdWriterConverter.java class DataPointIdWriterConverter (line 9) | @Component method convert (line 14) | @Override FILE: statistics-service/src/main/java/com/piggymetrics/statistics/service/ExchangeRatesService.java type ExchangeRatesService (line 8) | public interface ExchangeRatesService { method getCurrentRates (line 16) | Map getCurrentRates(); method convert (line 26) | BigDecimal convert(Currency from, Currency to, BigDecimal amount); FILE: statistics-service/src/main/java/com/piggymetrics/statistics/service/ExchangeRatesServiceImpl.java class ExchangeRatesServiceImpl (line 18) | @Service method getCurrentRates (line 31) | @Override method convert (line 49) | @Override FILE: statistics-service/src/main/java/com/piggymetrics/statistics/service/StatisticsService.java type StatisticsService (line 8) | public interface StatisticsService { method findByAccountName (line 16) | List findByAccountName(String accountName); method save (line 28) | DataPoint save(String accountName, Account account); FILE: statistics-service/src/main/java/com/piggymetrics/statistics/service/StatisticsServiceImpl.java class StatisticsServiceImpl (line 27) | @Service method findByAccountName (line 41) | @Override method save (line 50) | @Override method createStatisticMetrics (line 80) | private Map createStatisticMetrics(Set... method getPrincipal (line 85) | private Object getPrincipal(Map map) { method getRequest (line 94) | @SuppressWarnings({ "unchecked" }) method readAccessToken (line 106) | @Override method getMap (line 111) | @SuppressWarnings({ "unchecked" }) FILE: statistics-service/src/test/java/com/piggymetrics/statistics/StatisticsServiceApplicationTests.java class StatisticsServiceApplicationTests (line 8) | @RunWith(SpringRunner.class) method contextLoads (line 12) | @Test FILE: statistics-service/src/test/java/com/piggymetrics/statistics/client/ExchangeRatesClientTest.java class ExchangeRatesClientTest (line 16) | @RunWith(SpringRunner.class) method shouldRetrieveExchangeRates (line 23) | @Test method shouldRetrieveExchangeRatesForSpecifiedCurrency (line 37) | @Test FILE: statistics-service/src/test/java/com/piggymetrics/statistics/controller/StatisticsControllerTest.java class StatisticsControllerTest (line 39) | @RunWith(SpringRunner.class) method setup (line 53) | @Before method shouldGetStatisticsByAccountName (line 59) | @Test method shouldGetCurrentAccountStatistics (line 73) | @Test method shouldSaveAccountStatistics (line 87) | @Test FILE: statistics-service/src/test/java/com/piggymetrics/statistics/repository/DataPointRepositoryTest.java class DataPointRepositoryTest (line 21) | @RunWith(SpringRunner.class) method shouldSaveDataPoint (line 28) | @Test method shouldRewriteDataPointWithinADay (line 58) | @Test FILE: statistics-service/src/test/java/com/piggymetrics/statistics/service/ExchangeRatesServiceImplTest.java class ExchangeRatesServiceImplTest (line 20) | public class ExchangeRatesServiceImplTest { method setup (line 28) | @Before method shouldReturnCurrentRatesWhenContainerIsEmptySoFar (line 33) | @Test method shouldNotRequestRatesWhenTodaysContainerAlreadyExists (line 52) | @Test method shouldConvertCurrency (line 72) | @Test method shouldFailToConvertWhenAmountIsNull (line 91) | @Test(expected = IllegalArgumentException.class) FILE: statistics-service/src/test/java/com/piggymetrics/statistics/service/StatisticsServiceImplTest.java class StatisticsServiceImplTest (line 36) | public class StatisticsServiceImplTest { method setup (line 47) | @Before method shouldFindDataPointListByAccountName (line 52) | @Test method shouldFailToFindDataPointWhenAccountNameIsNull (line 61) | @Test(expected = IllegalArgumentException.class) method shouldFailToFindDataPointWhenAccountNameIsEmpty (line 66) | @Test(expected = IllegalArgumentException.class) method shouldSaveDataPoint (line 71) | @Test FILE: turbine-stream-service/src/main/java/com/piggymetrics/turbine/TurbineStreamServiceApplication.java class TurbineStreamServiceApplication (line 8) | @SpringBootApplication method main (line 13) | public static void main(String[] args) { FILE: turbine-stream-service/src/test/java/com/piggymetrics/turbine/TurbineStreamServiceApplicationTests.java class TurbineStreamServiceApplicationTests (line 8) | @RunWith(SpringRunner.class) method contextLoads (line 12) | @Test