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" standalone="yes"?> | |
<filter-config name="LbEdfCorrectedDocumentDateList" operations="LIKE" filter-type="DATE"> | |
<converter> | |
debugger; | |
var format = { | |
selector:"date", | |
datePattern:"dd.MM.yyyy" | |
}; | |
if (toQuery) { |
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
Генерация корневого сертификата: | |
openssl genrsa -des3 -passout pass:qwerty -out RootCA.key.pem 2048; | |
openssl req -x509 -new -nodes -key RootCA.key.pem \ | |
-passin pass:qwerty \ | |
-sha256 -days 1024 -out Root.cert.pem \ | |
-subj "/C=AU/ST=NSW/L=Sydney/O=CompanyName/OU=Company Description/CN=www.company-name.com" | |
Выпускаем сертификат: | |
openssl req -new -sha256 -nodes -out server.csr.pem \ | |
-newkey rsa:2048 -keyout server.key.pem \ |
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
<project> | |
<target name="copy-configs" > | |
<property name="dest" value="/it/azh-gp-uzdo/integration" /> | |
<!--delete dir="${dest}/card"/--> | |
<delete dir="${dest}/lists"/> | |
<delete dir="${dest}/metadata"/> | |
<delete dir="${dest}/reports"/> | |
<delete dir="${dest}/search"/> | |
<delete dir="${dest}/system"/> |
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.brbpm.tnuzdo.utils; | |
import javax.ejb.EJB; | |
import java.lang.annotation.Annotation; | |
import java.lang.reflect.Field; | |
import java.util.Arrays; | |
public class TestUtils { | |
private static void injectEjb(Object instance, Object fieldValue) throws Exception { | |
Class<?> instanceClazz = instance.getClass(); |
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.brbpm.tnuzdo.utils; | |
import ru.blogic20.gp.services.list.api.query.Operation; | |
import ru.blogic20.gp.services.list.api.query.Query; | |
import ru.blogic20.gp.services.list.api.query.QueryCondition; | |
import ru.brbpm.tnuzdo.dto.DateInterval; | |
import java.io.Serializable; | |
import java.util.Collection; | |
import java.util.Date; |
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
FROM ${base} | |
USER root | |
LABEL PROJECT_NAME=${project.artifactId} \ | |
PROJECT=${project.artifactId} | |
#Замена java-8 на java-7-jcp | |
COPY maven/java7-jcp /opt/IBM/WebSphere/AppServer/java |
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.brbpm.tnuzdo.ejb.client; | |
import ru.blogic20.gp.services.list.api.ListModelDefinition; | |
import ru.blogic20.gp.services.list.api.ListRecord; | |
import ru.blogic20.gp.services.list.api.ListResult; | |
import ru.blogic20.gp.services.list.api.ListSearchService; | |
import ru.blogic20.gp.services.list.api.PageMark; | |
import ru.blogic20.gp.services.list.api.SearchServiceException; | |
import ru.blogic20.gp.services.list.api.query.Query; | |
import ru.blogic20.gp.services.utils.streamquery.ListServiceServiceStreamAspect; |
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" ?> | |
<action> | |
<button> | |
<action id="GenerateAndSendIOPNotification" | |
title="Подписать и отправить ИОП уведомления" | |
allowed-roles="Подписать.ИОП" | |
module="uzdo.actions/GenerateAndSendIOPNotification" | |
executeWhen="true"> | |
<parameters> | |
<scalar name="aspects">AfterComplete</scalar> |
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" standalone="yes"?> | |
<parts> | |
<options> | |
<option id="show-linked-documents" title="Показать связанные документы"></option> | |
<option id="download-print-form" title="Выгрузить печатную форму" enable="true"></option> | |
<option id="print-form-with-signature" title="Выгрузить ЮЗЭД с ЭП" enable="eq(this['download-print-form'], true)"></option> | |
<option id="download-edo" title="Выгрузить ЭДО"></option> | |
<option id="reg-filter" type="REGISTRY" title="Выгрузка на основе реестра из УС"></option> | |
<option id="download-registry" title="Сформировать и выгрузить реестр по операции"></option> | |
<option id="download-with-grouping" title="Выгрузить с группировкой по корзинам"></option> |
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.brbpm.tnuzdo.services; | |
import java.util.Collections; | |
import org.junit.Test; | |
import org.junit.runner.RunWith; | |
import org.mockito.InjectMocks; | |
import static org.mockito.Matchers.anyVararg; | |
import static org.mockito.Matchers.eq; | |
import org.mockito.Mock; | |
import org.mockito.Mockito; |
NewerOlder