Skip to content

Commit

Permalink
Merge branch 'integra-tsl-afirma'
Browse files Browse the repository at this point in the history
  • Loading branch information
susmesper committed Feb 22, 2022
2 parents 878d42b + be8f53e commit 4348cf2
Show file tree
Hide file tree
Showing 82 changed files with 22,153 additions and 20,522 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# en.gob.afirma.utils.Base64Coder
BC001 = Error in input parameter.
BC002 = Error encoding data in Base64.
BC003 = Error decoding data in Base64.
BC004 = Error checking if data is Base64 encoded.
# en.gob.afirma.utils.GenericUtils
GU001 = Result (Base64 encoded):
# en.gob.afirma.utils.UtilsFileSystem
UFS001 = bad input parameters.
UFS002 = The file [{0}] does not exist.
UFS003 = An error occurred while reading the file: {0}.
UFS004 = An error has occurred encoding the content of the file in Base 64: {0}.
UFS005 = Resource [{0}] not located in system class loader context.
UFS006 = An error occurred during Base 64 processing of the data.
# en.gob.afirma.afirma5ServiceInvoker.Afirma5ServiceInvokerProperties
ASIP001 = Setting service invocation API properties ...
ASIP002 = Properties obtained \: \ n {0}
ASIP003 = Date of last update of properties file: {0}.
ASIP004 = Error getting the properties of {0}.
ASIP005 = Could not get resource {0}.
ASIP006 = The path to the truststore has been changed. In use \: {0} \ n. New \: {1}.
ASIP007 = The key of the trust store has been changed.
ASIP008 = The truststore has been modified.
ASIP009 = Establishing trust store for secure connections: {0}.
# en.gob.afirma.integraFacade.IntegraFacadeProperties
IFP001 = The properties file could not be found: {0}.
IFP002 = It was not possible to access the properties file: {0}.
# en.gob.afirma.utils.UtilsResources
UR001 = An error occurred while trying to close resource of type [{0}].
UR002 = An error occurred getting the Mime-Type.
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
#es.gob.afirma.utils.Base64Coder
BC001 = Error en el parámetro de entrada.
BC002 = Error codificando los datos en Base64.
BC003 = Error decodificando los datos en Base64.
BC004 = Error comprobando si los datos están codificados en Base64.
#es.gob.afirma.utils.GenericUtils
GU001 = Resultado (codificado en Base64):
#es.gob.afirma.utils.UtilsFileSystem
UFS001 = parámetros de entrada erróneos.
UFS002 = El fichero [{0}] no existe.
UFS003 = Ha ocurrido un error leyendo el fichero: {0}.
UFS004 = Ha ocurrido un error codificando en Base 64 el contenido del fichero: {0}.
UFS005 = Recurso [{0}] no localizado en el contexto del cargador de clases del sistema.
UFS006 = Se ha producido un error durante el procesado en Base 64 de los datos.
#es.gob.afirma.afirma5ServiceInvoker.Afirma5ServiceInvokerProperties
ASIP001 = Estableciendo propiedades del API de invocación de servicios...
ASIP002 = Propiedades obtenidas\:\n{0}
ASIP003 = Fecha última actualizacion fichero de propiedades: {0}.
ASIP004 = Error al obtener las propiedades de {0}.
ASIP005 = No fue posible obtener el recurso {0}.
ASIP006 = Se ha cambiado la ruta al almac\u00E9n de confianza. En uso\: {0}\n. Nuevo\: {1}.
ASIP007 = Se ha cambiado la clave del alamacén de confianza.
ASIP008 = El almacén de confianza ha sido modificado.
ASIP009 = Estableciendo almacen de confianza para conexiones seguras: {0}.
#es.gob.afirma.integraFacade.IntegraFacadeProperties
IFP001 = No se ha encontrado el archivo de propiedades: {0}.
IFP002 = No ha sido posible acceder al archivo de propiedades: {0}.
#es.gob.afirma.utils.UtilsResources
UR001 = Se ha producido un error al tratar de cerrar el recurso de tipo [{0}].
UR002 = Se ha producido un error obteniendo el Mime-Type.
407 changes: 407 additions & 0 deletions Integra-parent/Integra-commons-tsl/messages/tsl_en_US.properties

Large diffs are not rendered by default.

412 changes: 412 additions & 0 deletions Integra-parent/Integra-commons-tsl/messages/tsl_es_ES.properties

Large diffs are not rendered by default.

143 changes: 143 additions & 0 deletions Integra-parent/Integra-commons-tsl/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,143 @@
<?xml version="1.0"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>es.gob.afirma</groupId>
<artifactId>Integra-parent</artifactId>
<version>2.2.2_000</version>
</parent>
<artifactId>Integra-commons-tsl</artifactId>
<name>Integra-commons-tsl</name>
<organization>
<name>Gobierno de España</name>
</organization>
<build>
<resources>
<resource>
<directory></directory>
<includes>
<include>LICENSE.txt</include>
</includes>
<targetPath>${basedir}/target/classes/META-INF</targetPath>
</resource>
<resource>
<directory></directory>
<includes>
<include>messages/*</include>
</includes>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.3.1</version>
<configuration>
<excludes>
<exclude>*.properties</exclude>
<exclude>*.jks</exclude>
<exclude>transformers/**</exclude>
</excludes>
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
</manifest>
</archive>
</configuration>
<executions>
<execution>
<id>jar-integra-commons</id>
<goals>
<goal>jar</goal>
</goals>
<phase>package</phase>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.5</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.opensaml</groupId>
<artifactId>xmltooling</artifactId>
<version>1.3.2-1</version>
<scope>compile</scope>
<exclusions>
<exclusion>
<artifactId>bcprov-jdk15</artifactId>
<groupId>org.bouncycastle</groupId>
</exclusion>
<exclusion>
<artifactId>slf4j-api</artifactId>
<groupId>org.slf4j</groupId>
</exclusion>
<exclusion>
<artifactId>jcl-over-slf4j</artifactId>
<groupId>org.slf4j</groupId>
</exclusion>
<exclusion>
<artifactId>log4j-over-slf4j</artifactId>
<groupId>org.slf4j</groupId>
</exclusion>
<exclusion>
<artifactId>jul-to-slf4j</artifactId>
<groupId>org.slf4j</groupId>
</exclusion>
<exclusion>
<artifactId>joda-time</artifactId>
<groupId>joda-time</groupId>
</exclusion>
<exclusion>
<artifactId>xmlsec</artifactId>
<groupId>org.apache.santuario</groupId>
</exclusion>
<exclusion>
<artifactId>not-yet-commons-ssl</artifactId>
<groupId>ca.juliusdavies</groupId>
</exclusion>
<exclusion>
<artifactId>jcip-annotations</artifactId>
<groupId>net.jcip</groupId>
</exclusion>
<exclusion>
<artifactId>xml-apis</artifactId>
<groupId>xml-apis</groupId>
</exclusion>
<exclusion>
<artifactId>xercesImpl</artifactId>
<groupId>xerces</groupId>
</exclusion>
<exclusion>
<artifactId>xml-resolver</artifactId>
<groupId>xml-resolver</groupId>
</exclusion>
<exclusion>
<artifactId>xalan</artifactId>
<groupId>xalan</groupId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<project.build.jdk>1.8</project.build.jdk>
</properties>
</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,150 @@
// Copyright (C) 2020 MINHAP, Gobierno de España
// This program is licensed and may be used, modified and redistributed under the terms
// of the European Public License (EUPL), either version 1.1 or (at your
// option) any later version as soon as they are approved by the European Commission.
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
// or implied. See the License for the specific language governing permissions and
// more details.
// You should have received a copy of the EUPL1.1 license
// along with this program; if not, you may find it at
// http://joinup.ec.europa.eu/software/page/eupl/licence-eupl

/**
* <b>File:</b><p>es.gob.afirma.i18n.ILogConstantKeys.java.</p>
* <b>Description:</b><p>Interface that defines all the keys of the log messages file.</p>
* <b>Project:</b><p>Library for the integration with the services of @Firma, eVisor and TS@.</p>
* <b>Date:</b><p>24/01/2014.</p>
* @author Gobierno de España.
* @version 1.9, 22/06/2020.
*/
package es.gob.afirma.tsl.i18n;

/**
* <p>Interface that defines all the keys of the log messages file.</p>
* <b>Project:</b><p>Library for the integration with the services of @Firma, eVisor and TS@.</p>
* @version 1.9, 22/06/2020.
*/
public interface ILogConstantKeys {

/**
* Constant attribute that represents the name of the property <code>BC001</code> belonging to the file integra_xx_YY.properties.
*/
String BC_LOG001 = "BC001";

/**
* Constant attribute that represents the name of the property <code>BC002</code> belonging to the file integra_xx_YY.properties.
*/
String BC_LOG002 = "BC002";

/**
* Constant attribute that represents the name of the property <code>BC003</code> belonging to the file integra_xx_YY.properties.
*/
String BC_LOG003 = "BC003";

/**
* Constant attribute that represents the name of the property <code>BC004</code> belonging to the file integra_xx_YY.properties.
*/
String BC_LOG004 = "BC004";
/**
* Constant attribute that represents the name of the property <code>GU001</code> belonging to the file integra_xx_YY.properties.
*/
String GU_LOG001 = "GU001";

/**
* Constant attribute that represents the name of the property <code>UFS001</code> belonging to the file integra_xx_YY.properties.
*/
String UFS_LOG001 = "UFS001";

/**
* Constant attribute that represents the name of the property <code>UFS002</code> belonging to the file integra_xx_YY.properties.
*/
String UFS_LOG002 = "UFS002";

/**
* Constant attribute that represents the name of the property <code>UFS003</code> belonging to the file integra_xx_YY.properties.
*/
String UFS_LOG003 = "UFS003";

/**
* Constant attribute that represents the name of the property <code>UFS004</code> belonging to the file integra_xx_YY.properties.
*/
String UFS_LOG004 = "UFS004";

/**
* Constant attribute that represents the name of the property <code>UFS005</code> belonging to the file integra_xx_YY.properties.
*/
String UFS_LOG005 = "UFS005";

/**
* Constant attribute that represents the name of the property <code>UFS006</code> belonging to the file integra_xx_YY.properties.
*/
String UFS_LOG006 = "UFS006";
/**
* Constant attribute that represents the name of the property <code>ASIP001</code> belonging to the file integra_xx_YY.properties.
*/
String ASIP_LOG001 = "ASIP001";

/**
* Constant attribute that represents the name of the property <code>ASIP002</code> belonging to the file integra_xx_YY.properties.
*/
String ASIP_LOG002 = "ASIP002";

/**
* Constant attribute that represents the name of the property <code>ASIP003</code> belonging to the file integra_xx_YY.properties.
*/
String ASIP_LOG003 = "ASIP003";

/**
* Constant attribute that represents the name of the property <code>ASIP004</code> belonging to the file integra_xx_YY.properties.
*/
String ASIP_LOG004 = "ASIP004";

/**
* Constant attribute that represents the name of the property <code>ASIP005</code> belonging to the file integra_xx_YY.properties.
*/
String ASIP_LOG005 = "ASIP005";

/**
* Constant attribute that represents the name of the property <code>ASIP006</code> belonging to the file integra_xx_YY.properties.
*/
String ASIP_LOG006 = "ASIP006";

/**
* Constant attribute that represents the name of the property <code>ASIP007</code> belonging to the file integra_xx_YY.properties.
*/
String ASIP_LOG007 = "ASIP007";

/**
* Constant attribute that represents the name of the property <code>ASIP008</code> belonging to the file integra_xx_YY.properties.
*/
String ASIP_LOG008 = "ASIP008";

/**
* Constant attribute that represents the name of the property <code>ASIP009</code> belonging to the file integra_xx_YY.properties.
*/
String ASIP_LOG009 = "ASIP009";
/**
* Constant attribute that represents the name of the property <code>IFP001</code> belonging to the file integra_xx_YY.properties.
*/
String IFP_LOG001 = "IFP001";

/**
* Constant attribute that represents the name of the property <code>IFP002</code> belonging to the file integra_xx_YY.properties.
*/
String IFP_LOG002 = "IFP002";

/**
* Constant attribute that represents the name of the property <code>UR001</code> belonging to the file integra_xx_YY.properties.
*/
String UR_LOG001 = "UR001";

/**
* Constant attribute that represents the name of the property <code>UR002</code> belonging to the file integra_xx_YY.properties.
*/
String UR_LOG002 = "UR002";



}
Loading

0 comments on commit 4348cf2

Please sign in to comment.