public List create()

in src/main/java/com/epam/digital/data/platform/generator/factory/impl/PartialUpdateServiceScopeFactory.java [39:54]


  public List<UpdateServiceScope> create(Context context) {
    return partialUpdateProvider.findAll().stream()
        .map(upd -> {
          var table = findTable(upd.getTableName(), context);

          var scope = new UpdateServiceScope();
          scope.setClassName(getSchemaName(table, upd.getName()) + "UpdateService");
          scope.setSchemaName(getSchemaName(table, upd.getName()));
          scope.setPkName(getPkName(table));
          scope.setPkType(getPkTypeName(table));
          scope.setRequestType(
              "update-" + toHyphenTableName(table) + "-" + toHyphenTableName(upd.getName()));
          return scope;
        })
        .collect(toList());
  }