Microservice Decomposition Patterns

    Lire plus

    angular

    Presentation

    i18n

      Lire plus

      java-map

      1
      2
      3
      4
      5
      6
      7
      8
      9
      10
      11
      12
      13
      public Map<Bank, List<Account>> findAllGroupByBank() {
      Map<Bank, List<Account>> result = new HashMap<>();

      this.accountService
      .findAll()
      .stream()
      .forEach(a -> result.computeIfAbsent(a.getBank(), this::findAllByBank));
      return result;
      }

      private List<Account> findAllByBank(Bank aBank) {
      return this.accountService.findAll().stream().filter(account -> aBank.equals(account.getBank())).collect(Collectors.toList());
      }

      Lire plus

      es6-babel

      class Product {

      Lire plus

      sql

      Description d’une table

      1
      EXEC sp_help Table1;

      Lire plus

      Robot Framework

      Lire plus

      Domain-driven design and event-driven microservices

      Learning a pathway to evolutionary architecture


      Lire plus

      java-design-chain-of-responsability

      1
      2
      3
      4
      5
      6
      7
      8
      9
      10
      11
      12
      13
      14
      15
      16
      17
      18
      19
      20
      21
      22
      23
      24
      25
      26
      27
      28
      29
      30
      31
      package com.cyrgue.designpatterns.chain;

      public abstract class ConflictChecker {

      protected UserModel anonymousUser;
      protected UserModel registeredUser;

      protected ConflictChecker nextChecker;

      public ConflictChecker(UserModel anonymousUser, UserModel registeredUser) {
      this.anonymousUser = anonymousUser;
      this.registeredUser = registeredUser;
      }

      public void setNextChecker(ConflictChecker nextChecker) {
      this.nextChecker = nextChecker;
      }

      public void check() throws Exception {
      if (this.hasConflict()) {
      process();
      } // Possible d'avoir un else ici - La chaine s'arrete
      if (nextChecker != null) {
      nextChecker.check();
      }
      }

      abstract protected void process() throws Exception;

      abstract protected boolean hasConflict();
      }

      Lire plus

      Equals et Hashcode

      Generality

      Equals et Hashode are used for data structure

      Lire plus

      mongodb

      mongo Shell Quick Reference

      Connect

      mongo --port 28015

      Lire plus