This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
buildscript { | |
repositories { | |
maven { | |
url "http://build.wd.orglot.office:8081/nexus/content/repositories/jcenter" | |
} | |
maven { | |
url {"http://build.wd.orglot.office:8081/nexus/content/repositories/fusesource"} | |
} | |
maven { | |
url {"http://build.wd.orglot.office:8081/nexus/content/repositories/central"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Создание процедуры роутинга для для работы с DBF-файлами из системы ФИАС | |
# Author: Dima Koltovich [06.09.2018] | |
# Update: Dima Koltovich [14.09.2018] | |
# USE servicebus_ifd_main; #TODO - изменить эту строку при необходимости | |
DELIMITER $$ | |
DROP PROCEDURE IF EXISTS `add_tt_params_from_json`$$ | |
# Процедура добавления параметров к тасктайпу |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package ru.gamble.servicebus.core.processor.ifd.csv2db; | |
import com.fasterxml.jackson.databind.ObjectMapper; | |
import lombok.extern.slf4j.Slf4j; | |
import org.apache.camel.Exchange; | |
import org.apache.commons.lang3.time.StopWatch; | |
import org.springframework.beans.factory.annotation.Autowired; | |
import org.springframework.core.io.FileSystemResource; | |
import org.springframework.core.io.Resource; | |
import org.springframework.stereotype.Service; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<code_scheme name="GoogleStyle"> | |
<!-- https://github.com/google/google-java-format --> | |
<option name="OTHER_INDENT_OPTIONS"> | |
<value> | |
<option name="INDENT_SIZE" value="2" /> | |
<option name="CONTINUATION_INDENT_SIZE" value="4" /> | |
<option name="TAB_SIZE" value="2" /> | |
<option name="USE_TAB_CHARACTER" value="false" /> | |
<option name="SMART_TABS" value="false" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//https://scalameta.org/scalafmt/docs/configuration.html | |
align=most | |
maxColumn = 120 | |
docstrings = ScalaDoc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package ru.gazprombank.omnichannel.clientservice.configuration | |
import com.fasterxml.jackson.core.JsonGenerator | |
import com.fasterxml.jackson.databind.JsonSerializer | |
import com.fasterxml.jackson.databind.SerializerProvider | |
import com.fasterxml.jackson.databind.annotation.JsonSerialize | |
import org.springframework.http.HttpStatus | |
import org.springframework.web.bind.annotation.ControllerAdvice | |
import org.springframework.web.bind.annotation.ExceptionHandler | |
import org.springframework.web.bind.annotation.ResponseBody |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
В PowerShell, запустив как админ (для IBM MQ): | |
Enable-WindowsOptionalFeature –Online -FeatureName Microsoft-Hyper-V –All -NoRestart | |
bcdedit /set hypervisorlaunchtype auto | |
ЗАПУСК очереди: | |
docker run -e LICENSE=accept -e MQ_QMGR_NAME=QM1 -p 1414:1414 -p 9443:9443 ibmcom/mq | |
ОСТАНОВИТЬ ВСЕ: | |
docker rm -f $(docker ps -a -q) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
abstract class PaymentOrderCommon<AnyChildOfOrderEsbRequest : OrderEsbRequest> { | |
private val esbSystemId = "ESB" | |
private val okStatusValue = "ok" | |
private val absTimeoutErrorCode = "450" | |
private val absTimeoutErrorMessage = "5NT не ответил по таймауту" | |
private val defaultEsbTimeOutErrorCode = "timeOut" | |
private val defaultEsbTimeOutErrorMessage = "Таймаут при обращении в ESB" | |
private val defaultEsbErrorCode = "error" | |
private val defaultEsbErrorMessage = "Ошибка при обращении в ESB" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
plugins { | |
maven | |
`maven-publish` | |
} | |
publishing { | |
val repositoryUrl: String by project | |
val repositoryUser: String by project |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE OR REPLACE FUNCTION clone_schema(source_schema text, dest_schema text) RETURNS void AS | |
$BODY$ | |
DECLARE | |
objeto text; | |
buffer text; | |
BEGIN | |
EXECUTE 'CREATE SCHEMA ' || dest_schema; | |
FOR objeto IN | |
SELECT TABLE_NAME::text FROM information_schema.TABLES WHERE table_schema = source_schema |