├── .gitattributes ├── .github ├── dependabot.yml ├── generate-email.sh └── workflows │ ├── build.yaml │ ├── codeql-analysis.yaml │ └── merge-dependabot.yaml ├── .gitignore ├── .mvn ├── jvm.config └── wrapper │ └── maven-wrapper.properties ├── LICENSE.txt ├── NOTICE.txt ├── README.md ├── RELEASE-NOTES.md ├── checkstyle-header.txt ├── checkstyle-import-control.xml ├── checkstyle-suppressions.xml ├── checkstyle.xml ├── findbugs-exclude-filter.xml ├── log4j-audit-distribution ├── pom.xml └── src │ └── assembly │ ├── bin.xml │ └── src.xml ├── log4j-audit ├── log4j-audit-api │ ├── pom.xml │ ├── src │ │ ├── main │ │ │ └── java │ │ │ │ └── org │ │ │ │ └── apache │ │ │ │ └── logging │ │ │ │ └── log4j │ │ │ │ └── audit │ │ │ │ ├── AbstractEventLogger.java │ │ │ │ ├── ActivityLogger.java │ │ │ │ ├── AuditEvent.java │ │ │ │ ├── AuditExceptionHandler.java │ │ │ │ ├── AuditLogger.java │ │ │ │ ├── AuditMessage.java │ │ │ │ ├── LogEventFactory.java │ │ │ │ ├── annotation │ │ │ │ ├── Chained.java │ │ │ │ ├── ChainedSupplier.java │ │ │ │ ├── ClientServer.java │ │ │ │ ├── Constraint.java │ │ │ │ ├── Constraints.java │ │ │ │ ├── EventName.java │ │ │ │ ├── HeaderPrefix.java │ │ │ │ ├── Local.java │ │ │ │ ├── MaxLength.java │ │ │ │ ├── RequestContext.java │ │ │ │ ├── RequestContextConstraints.java │ │ │ │ └── Required.java │ │ │ │ ├── catalog │ │ │ │ ├── CatalogManager.java │ │ │ │ └── CatalogManagerImpl.java │ │ │ │ ├── dto │ │ │ │ └── AuditDto.java │ │ │ │ ├── exception │ │ │ │ ├── AuditException.java │ │ │ │ └── ConstraintValidationException.java │ │ │ │ ├── generator │ │ │ │ ├── AccessorDefinition.java │ │ │ │ ├── ClassGenerator.java │ │ │ │ ├── Constants.java │ │ │ │ ├── ConstructorDefinition.java │ │ │ │ ├── InterfacesGenerator.java │ │ │ │ ├── MethodDefinition.java │ │ │ │ ├── Parameter.java │ │ │ │ └── VariableDefinition.java │ │ │ │ ├── layout │ │ │ │ └── AuditLayout.java │ │ │ │ ├── request │ │ │ │ ├── ChainedMapping.java │ │ │ │ ├── ClientServerMapping.java │ │ │ │ ├── LocalMapping.java │ │ │ │ ├── RequestContextMapping.java │ │ │ │ ├── RequestContextMappings.java │ │ │ │ └── Scope.java │ │ │ │ ├── rest │ │ │ │ ├── ElapsedUtil.java │ │ │ │ ├── RequestContextFilter.java │ │ │ │ ├── RequestContextHandlerInterceptor.java │ │ │ │ └── RequestContextHeaderInterceptor.java │ │ │ │ └── util │ │ │ │ ├── JsonObjectMapperFactory.java │ │ │ │ ├── NamingUtils.java │ │ │ │ └── StringUtil.java │ │ ├── site │ │ │ ├── markdown │ │ │ │ └── index.md │ │ │ └── site.xml │ │ └── test │ │ │ ├── java │ │ │ └── org │ │ │ │ └── apache │ │ │ │ └── logging │ │ │ │ └── log4j │ │ │ │ └── audit │ │ │ │ ├── AuditLoggerTest.java │ │ │ │ ├── BaseEventTest.java │ │ │ │ ├── LogoutTest.java │ │ │ │ ├── RequestContext.java │ │ │ │ ├── RequestContextTest.java │ │ │ │ ├── TransferTest.java │ │ │ │ ├── catalog │ │ │ │ ├── CatalogManagerTest.java │ │ │ │ └── StringCatalogReader.java │ │ │ │ ├── event │ │ │ │ ├── Logout.java │ │ │ │ └── Transfer.java │ │ │ │ ├── generator │ │ │ │ └── TestInterfacesGenerator.java │ │ │ │ └── util │ │ │ │ └── NamingUtilsTest.java │ │ │ └── resources │ │ │ ├── basicCatalog.json │ │ │ ├── catalog.zip │ │ │ ├── interfacesGenerator.properties │ │ │ ├── interfacesGeneratorContext.xml │ │ │ └── log4j2-test.xml │ └── testCatalog.json ├── log4j-audit-maven-plugin │ ├── pom.xml │ └── src │ │ ├── it │ │ ├── default-generate │ │ │ ├── pom.xml │ │ │ ├── src │ │ │ │ └── main │ │ │ │ │ └── resources │ │ │ │ │ └── catalog.json │ │ │ └── verify.groovy │ │ └── settings.xml │ │ ├── main │ │ ├── java │ │ │ └── org │ │ │ │ └── apache │ │ │ │ └── logging │ │ │ │ └── log4j │ │ │ │ └── audit │ │ │ │ └── plugin │ │ │ │ └── AuditMojo.java │ │ └── resources │ │ │ └── log4j2.xml │ │ └── site │ │ ├── markdown │ │ └── index.md │ │ └── site.xml ├── log4j-audit-war │ ├── pom.xml │ └── src │ │ ├── main │ │ ├── java │ │ │ └── org │ │ │ │ └── apache │ │ │ │ └── logging │ │ │ │ └── log4j │ │ │ │ └── audit │ │ │ │ └── service │ │ │ │ ├── catalog │ │ │ │ ├── AuditCatalogManager.java │ │ │ │ └── AuditManager.java │ │ │ │ ├── config │ │ │ │ ├── ApplicationConfiguration.java │ │ │ │ ├── ConfigurationService.java │ │ │ │ ├── SwaggerConfig.java │ │ │ │ ├── WebAppInitializer.java │ │ │ │ └── WebMvcAppContext.java │ │ │ │ ├── controller │ │ │ │ ├── AuditController.java │ │ │ │ ├── CatalogController.java │ │ │ │ └── RestResponseEntityExceptionHandler.java │ │ │ │ └── security │ │ │ │ └── LocalAuthorizationInterceptor.java │ │ └── resources │ │ │ ├── log4j2.xml │ │ │ └── sql │ │ │ ├── hsql │ │ │ └── schema.sql │ │ │ └── postgresql │ │ │ └── schema.sql │ │ ├── site │ │ ├── markdown │ │ │ └── index.md │ │ └── site.xml │ │ └── test │ │ ├── java │ │ └── org │ │ │ └── apache │ │ │ └── logging │ │ │ └── log4j │ │ │ └── audit │ │ │ └── service │ │ │ └── CatalogTest.java │ │ └── resources │ │ ├── catalog.json │ │ ├── log4j2-test.xml │ │ └── sql │ │ ├── afterTestRun.sql │ │ ├── beforeTestRun.sql.sav │ │ └── schema.sql └── pom.xml ├── log4j-catalog ├── log4j-catalog-api │ ├── pom.xml │ └── src │ │ ├── main │ │ └── java │ │ │ └── org │ │ │ └── apache │ │ │ └── logging │ │ │ └── log4j │ │ │ └── catalog │ │ │ └── api │ │ │ ├── Attribute.java │ │ │ ├── CatalogData.java │ │ │ ├── CatalogReader.java │ │ │ ├── CatalogWriter.java │ │ │ ├── Category.java │ │ │ ├── Constraint.java │ │ │ ├── ConstraintType.java │ │ │ ├── DataType.java │ │ │ ├── Event.java │ │ │ ├── EventAttribute.java │ │ │ ├── ListResponse.java │ │ │ ├── Product.java │ │ │ ├── Type.java │ │ │ ├── Versions.java │ │ │ ├── annotation │ │ │ ├── ConditionOnPropertyExists.java │ │ │ ├── JdbcUrl.java │ │ │ ├── JdbcUrlCondition.java │ │ │ └── PropertyExistsCondition.java │ │ │ ├── constant │ │ │ └── Constants.java │ │ │ ├── dao │ │ │ ├── AbstractCatalogReader.java │ │ │ ├── CatalogDao.java │ │ │ ├── ClassPathCatalogReader.java │ │ │ ├── FileCatalogReader.java │ │ │ └── JsonCatalogReader.java │ │ │ ├── exception │ │ │ ├── CatalogException.java │ │ │ ├── CatalogModificationException.java │ │ │ ├── CatalogNotFoundException.java │ │ │ ├── CatalogReadException.java │ │ │ ├── ConstraintCreationException.java │ │ │ └── NameNotFoundException.java │ │ │ ├── package-info.java │ │ │ ├── plugins │ │ │ ├── CaseInsensitiveEnumConstraint.java │ │ │ ├── ConstraintPlugins.java │ │ │ ├── ConstraintTypeDeserializer.java │ │ │ ├── ConstraintTypeSerializer.java │ │ │ ├── EnumConstraint.java │ │ │ ├── MaxLengthConstraint.java │ │ │ ├── MaxValueConstraint.java │ │ │ ├── MinLengthConstraint.java │ │ │ ├── MinValueConstraint.java │ │ │ └── PatternConstraint.java │ │ │ └── util │ │ │ ├── CatalogEventFilter.java │ │ │ ├── ProfileUtil.java │ │ │ └── StringUtils.java │ │ └── site │ │ ├── markdown │ │ └── index.md │ │ └── site.xml ├── log4j-catalog-editor │ ├── pom.xml │ └── src │ │ ├── main │ │ ├── java │ │ │ └── org │ │ │ │ └── apache │ │ │ │ └── logging │ │ │ │ └── log4j │ │ │ │ └── catalog │ │ │ │ ├── AuditCatalogEditor.java │ │ │ │ ├── config │ │ │ │ ├── ConfigurationService.java │ │ │ │ ├── JsonObjectMapperFactory.java │ │ │ │ ├── SwaggerConfig.java │ │ │ │ ├── WebAppInitializer.java │ │ │ │ └── WebMvcAppContext.java │ │ │ │ ├── controller │ │ │ │ ├── AttributeController.java │ │ │ │ ├── CatalogController.java │ │ │ │ ├── CategoryController.java │ │ │ │ ├── ConstraintController.java │ │ │ │ ├── EventController.java │ │ │ │ ├── ProductController.java │ │ │ │ └── RestResponseEntityExceptionHandler.java │ │ │ │ ├── interceptor │ │ │ │ └── RequestContextHeaderInterceptor.java │ │ │ │ ├── security │ │ │ │ └── LocalAuthorizationInterceptor.java │ │ │ │ └── service │ │ │ │ └── CatalogInitializer.java │ │ └── resources │ │ │ ├── application.properties │ │ │ ├── log4j2.xml │ │ │ ├── sql │ │ │ └── hsql │ │ │ │ └── schema.sql │ │ │ ├── static │ │ │ ├── css │ │ │ │ └── app.css │ │ │ ├── images │ │ │ │ ├── ajax-loader.gif │ │ │ │ ├── attributes.png │ │ │ │ └── constraint.png │ │ │ └── js │ │ │ │ ├── app.js │ │ │ │ ├── attributes.js │ │ │ │ ├── categories.js │ │ │ │ ├── events.js │ │ │ │ ├── jquery-1.12.4.min.js │ │ │ │ ├── jquery-2.2.4.min.js │ │ │ │ ├── jquery-3.2.1.min.js │ │ │ │ ├── jquery_ui │ │ │ │ ├── AUTHORS.txt │ │ │ │ ├── LICENSE.txt │ │ │ │ ├── external │ │ │ │ │ └── jquery │ │ │ │ │ │ └── jquery.js │ │ │ │ ├── images │ │ │ │ │ ├── ui-icons_444444_256x240.png │ │ │ │ │ ├── ui-icons_555555_256x240.png │ │ │ │ │ ├── ui-icons_777620_256x240.png │ │ │ │ │ ├── ui-icons_777777_256x240.png │ │ │ │ │ ├── ui-icons_cc0000_256x240.png │ │ │ │ │ └── ui-icons_ffffff_256x240.png │ │ │ │ ├── index.html │ │ │ │ ├── jquery-ui.css │ │ │ │ ├── jquery-ui.js │ │ │ │ ├── jquery-ui.min.css │ │ │ │ ├── jquery-ui.min.js │ │ │ │ ├── jquery-ui.structure.css │ │ │ │ ├── jquery-ui.structure.min.css │ │ │ │ ├── jquery-ui.theme.css │ │ │ │ ├── jquery-ui.theme.min.css │ │ │ │ └── package.json │ │ │ │ ├── jtable │ │ │ │ ├── extensions │ │ │ │ │ ├── jquery.jtable.aspnetpagemethods.js │ │ │ │ │ └── jquery.jtable.aspnetpagemethods.min.js │ │ │ │ ├── external │ │ │ │ │ ├── json2.js │ │ │ │ │ └── json2.min.js │ │ │ │ ├── jquery.jtable.js │ │ │ │ ├── jquery.jtable.min.js │ │ │ │ ├── localization │ │ │ │ │ ├── jquery.jtable.bd.js │ │ │ │ │ ├── jquery.jtable.ca.js │ │ │ │ │ ├── jquery.jtable.cz.js │ │ │ │ │ ├── jquery.jtable.de.js │ │ │ │ │ ├── jquery.jtable.es.js │ │ │ │ │ ├── jquery.jtable.fa.js │ │ │ │ │ ├── jquery.jtable.fr.js │ │ │ │ │ ├── jquery.jtable.hr.js │ │ │ │ │ ├── jquery.jtable.hu.js │ │ │ │ │ ├── jquery.jtable.id.js │ │ │ │ │ ├── jquery.jtable.it.js │ │ │ │ │ ├── jquery.jtable.lt.js │ │ │ │ │ ├── jquery.jtable.nl-NL.js │ │ │ │ │ ├── jquery.jtable.no.js │ │ │ │ │ ├── jquery.jtable.pl.js │ │ │ │ │ ├── jquery.jtable.pt-BR.js │ │ │ │ │ ├── jquery.jtable.pt-PT.js │ │ │ │ │ ├── jquery.jtable.ro.js │ │ │ │ │ ├── jquery.jtable.ru.js │ │ │ │ │ ├── jquery.jtable.se.js │ │ │ │ │ ├── jquery.jtable.tr.js │ │ │ │ │ ├── jquery.jtable.vi.js │ │ │ │ │ └── jquery.jtable.zh-CN.js │ │ │ │ └── themes │ │ │ │ │ ├── basic │ │ │ │ │ ├── close.png │ │ │ │ │ ├── column-asc.png │ │ │ │ │ ├── column-desc.png │ │ │ │ │ ├── column-sortable.png │ │ │ │ │ ├── delete.png │ │ │ │ │ ├── edit.png │ │ │ │ │ ├── jtable_basic.css │ │ │ │ │ ├── jtable_basic.less │ │ │ │ │ └── jtable_basic.min.css │ │ │ │ │ ├── jqueryui │ │ │ │ │ ├── add.png │ │ │ │ │ ├── bg-thead.png │ │ │ │ │ ├── close.png │ │ │ │ │ ├── column-asc.png │ │ │ │ │ ├── column-desc.png │ │ │ │ │ ├── column-sortable.png │ │ │ │ │ ├── delete.png │ │ │ │ │ ├── edit.png │ │ │ │ │ ├── jtable_jqueryui.css │ │ │ │ │ ├── jtable_jqueryui.less │ │ │ │ │ ├── jtable_jqueryui.min.css │ │ │ │ │ └── loading.gif │ │ │ │ │ ├── jtable_theme_base.less │ │ │ │ │ ├── lightcolor │ │ │ │ │ ├── add.png │ │ │ │ │ ├── bg-thead.png │ │ │ │ │ ├── blue │ │ │ │ │ │ ├── jtable.css │ │ │ │ │ │ ├── jtable.less │ │ │ │ │ │ ├── jtable.min.css │ │ │ │ │ │ └── loading.gif │ │ │ │ │ ├── close.png │ │ │ │ │ ├── column-asc.png │ │ │ │ │ ├── column-desc.png │ │ │ │ │ ├── column-sortable.png │ │ │ │ │ ├── delete.png │ │ │ │ │ ├── edit.png │ │ │ │ │ ├── gray │ │ │ │ │ │ ├── jtable.css │ │ │ │ │ │ ├── jtable.less │ │ │ │ │ │ ├── jtable.min.css │ │ │ │ │ │ └── loading.gif │ │ │ │ │ ├── green │ │ │ │ │ │ ├── jtable.css │ │ │ │ │ │ ├── jtable.less │ │ │ │ │ │ ├── jtable.min.css │ │ │ │ │ │ └── loading.gif │ │ │ │ │ ├── jtable_lightcolor_base.less │ │ │ │ │ ├── orange │ │ │ │ │ │ ├── jtable.css │ │ │ │ │ │ ├── jtable.less │ │ │ │ │ │ ├── jtable.min.css │ │ │ │ │ │ └── loading.gif │ │ │ │ │ └── red │ │ │ │ │ │ ├── jtable.css │ │ │ │ │ │ ├── jtable.less │ │ │ │ │ │ ├── jtable.min.css │ │ │ │ │ │ └── loading.gif │ │ │ │ │ └── metro │ │ │ │ │ ├── add.png │ │ │ │ │ ├── blue │ │ │ │ │ ├── jtable.css │ │ │ │ │ ├── jtable.less │ │ │ │ │ ├── jtable.min.css │ │ │ │ │ └── loading.gif │ │ │ │ │ ├── brown │ │ │ │ │ ├── jtable.css │ │ │ │ │ ├── jtable.less │ │ │ │ │ ├── jtable.min.css │ │ │ │ │ └── loading.gif │ │ │ │ │ ├── close.png │ │ │ │ │ ├── column-asc.png │ │ │ │ │ ├── column-desc.png │ │ │ │ │ ├── column-sortable.png │ │ │ │ │ ├── crimson │ │ │ │ │ ├── jtable.css │ │ │ │ │ ├── jtable.less │ │ │ │ │ ├── jtable.min.css │ │ │ │ │ └── loading.gif │ │ │ │ │ ├── darkgray │ │ │ │ │ ├── jtable.css │ │ │ │ │ ├── jtable.less │ │ │ │ │ ├── jtable.min.css │ │ │ │ │ └── loading.gif │ │ │ │ │ ├── darkorange │ │ │ │ │ ├── jtable.css │ │ │ │ │ ├── jtable.less │ │ │ │ │ ├── jtable.min.css │ │ │ │ │ └── loading.gif │ │ │ │ │ ├── delete.png │ │ │ │ │ ├── edit.png │ │ │ │ │ ├── green │ │ │ │ │ ├── jtable.css │ │ │ │ │ ├── jtable.less │ │ │ │ │ ├── jtable.min.css │ │ │ │ │ └── loading.gif │ │ │ │ │ ├── jtable_metro_base.css │ │ │ │ │ ├── jtable_metro_base.less │ │ │ │ │ ├── jtable_metro_base.min.css │ │ │ │ │ ├── lightgray │ │ │ │ │ ├── jtable.css │ │ │ │ │ ├── jtable.less │ │ │ │ │ ├── jtable.min.css │ │ │ │ │ └── loading.gif │ │ │ │ │ ├── pink │ │ │ │ │ ├── jtable.css │ │ │ │ │ ├── jtable.less │ │ │ │ │ ├── jtable.min.css │ │ │ │ │ └── loading.gif │ │ │ │ │ ├── purple │ │ │ │ │ ├── jtable.css │ │ │ │ │ ├── jtable.less │ │ │ │ │ ├── jtable.min.css │ │ │ │ │ └── loading.gif │ │ │ │ │ └── red │ │ │ │ │ ├── jtable.css │ │ │ │ │ ├── jtable.less │ │ │ │ │ ├── jtable.min.css │ │ │ │ │ └── loading.gif │ │ │ │ └── products.js │ │ │ └── templates │ │ │ ├── attributes.html │ │ │ ├── categories.html │ │ │ ├── events.html │ │ │ ├── products.html │ │ │ └── template.html │ │ └── site │ │ ├── markdown │ │ └── index.md │ │ └── site.xml ├── log4j-catalog-git │ ├── pom.xml │ └── src │ │ ├── main │ │ └── java │ │ │ └── org │ │ │ └── apache │ │ │ └── logging │ │ │ └── log4j │ │ │ └── catalog │ │ │ └── git │ │ │ ├── config │ │ │ ├── ServiceConfig.java │ │ │ └── package-info.java │ │ │ ├── dao │ │ │ ├── GitCatalogDao.java │ │ │ └── package-info.java │ │ │ └── package-info.java │ │ ├── site │ │ ├── markdown │ │ │ └── index.md │ │ └── site.xml │ │ └── test │ │ ├── java │ │ └── org │ │ │ └── apache │ │ │ └── logging │ │ │ └── log4j │ │ │ └── catalog │ │ │ └── git │ │ │ ├── CatalogTest.java │ │ │ └── config │ │ │ └── ApplicationConfiguration.java │ │ └── resources │ │ └── log4j2.xml ├── log4j-catalog-jpa │ ├── pom.xml │ └── src │ │ ├── main │ │ └── java │ │ │ └── org │ │ │ └── apache │ │ │ └── logging │ │ │ └── log4j │ │ │ └── catalog │ │ │ └── jpa │ │ │ ├── config │ │ │ ├── DataSourceConfig.java │ │ │ ├── EclipseLinkConfig.java │ │ │ ├── HibernateConfig.java │ │ │ ├── HsqldbDataSourceConfig.java │ │ │ ├── PostgresqlDataSourceConfig.java │ │ │ └── package-info.java │ │ │ ├── converter │ │ │ ├── AttributeConverter.java │ │ │ ├── AttributeModelConverter.java │ │ │ ├── BooleanToStringConverter.java │ │ │ ├── CategoryConverter.java │ │ │ ├── CategoryModelConverter.java │ │ │ ├── DataTypeConverter.java │ │ │ ├── DateTimeConverter.java │ │ │ ├── EventConverter.java │ │ │ ├── EventModelConverter.java │ │ │ ├── ProductConverter.java │ │ │ ├── ProductModelConverter.java │ │ │ └── package-info.java │ │ │ ├── dao │ │ │ ├── AttributeRepository.java │ │ │ ├── BaseRepository.java │ │ │ ├── CatalogRepository.java │ │ │ ├── CategoryRepository.java │ │ │ ├── ConstraintRepository.java │ │ │ ├── EventRepository.java │ │ │ ├── PagingAndSortingRepository.java │ │ │ ├── ProductRepository.java │ │ │ └── package-info.java │ │ │ ├── model │ │ │ ├── AttributeModel.java │ │ │ ├── CatalogModel.java │ │ │ ├── CategoryModel.java │ │ │ ├── ConstraintModel.java │ │ │ ├── EventAttributeModel.java │ │ │ ├── EventModel.java │ │ │ ├── ProductModel.java │ │ │ └── package-info.java │ │ │ ├── package-info.java │ │ │ └── service │ │ │ ├── AbstractPagingAndSortingService.java │ │ │ ├── AttributeService.java │ │ │ ├── AttributeServiceImpl.java │ │ │ ├── CatalogService.java │ │ │ ├── CatalogServiceImpl.java │ │ │ ├── CategoryService.java │ │ │ ├── CategoryServiceImpl.java │ │ │ ├── ConstraintService.java │ │ │ ├── ConstraintServiceImpl.java │ │ │ ├── EventService.java │ │ │ ├── EventServiceImpl.java │ │ │ ├── ProductService.java │ │ │ └── ProductServiceImpl.java │ │ ├── site │ │ ├── markdown │ │ │ └── index.md │ │ └── site.xml │ │ └── test │ │ ├── java │ │ └── org │ │ │ └── apache │ │ │ └── logging │ │ │ └── log4j │ │ │ └── catalog │ │ │ └── jpa │ │ │ ├── CatalogTest.java │ │ │ └── config │ │ │ └── ApplicationConfiguration.java │ │ └── resources │ │ ├── log4j2.xml │ │ └── sql │ │ └── hsql │ │ ├── afterTestRun.sql │ │ ├── beforeTestRun.sql │ │ └── schema.sql └── pom.xml ├── mvnw ├── mvnw.cmd ├── pom.xml └── src ├── changelog └── .1.x.x │ ├── update_apache_logging_parent.xml │ ├── update_com_ethlo_persistence_tools_eclipselink_maven_plugin.xml │ ├── update_com_fasterxml_jackson_core_jackson_databind.xml │ ├── update_com_google_guava_guava.xml │ ├── update_com_google_jimfs_jimfs.xml │ ├── update_commons_beanutils_commons_beanutils.xml │ ├── update_commons_codec_commons_codec.xml │ ├── update_commons_io_commons_io.xml │ ├── update_commons_logging_commons_logging.xml │ ├── update_commons_validator_commons_validator.xml │ ├── update_io_springfox_springfox_swagger2.xml │ ├── update_io_swagger_swagger_annotations.xml │ ├── update_javax_cache_cache_api.xml │ ├── update_javax_javaee_api.xml │ ├── update_javax_servlet_javax_servlet_api.xml │ ├── update_junit_junit.xml │ ├── update_net_sf_jopt_simple_jopt_simple.xml │ ├── update_nz_net_ultraq_thymeleaf_thymeleaf_layout_dialect.xml │ ├── update_org_apache_commons_commons_lang3.xml │ ├── update_org_apache_httpcomponents_httpclient.xml │ ├── update_org_apache_logging_log4j_log4j_core.xml │ ├── update_org_apache_logging_logging_parent.xml │ ├── update_org_apache_maven_maven_artifact.xml │ ├── update_org_apache_maven_maven_model.xml │ ├── update_org_apache_maven_maven_plugin_api.xml │ ├── update_org_apache_maven_plugin_tools_maven_plugin_annotations.xml │ ├── update_org_apache_maven_plugin_tools_maven_plugin_tools_api.xml │ ├── update_org_apache_maven_wagon_wagon_ssh.xml │ ├── update_org_aspectj_aspectjweaver.xml │ ├── update_org_checkerframework_checker_qual.xml │ ├── update_org_codehaus_plexus_plexus_utils.xml │ ├── update_org_easymock_easymock.xml │ ├── update_org_eclipse_jgit_org_eclipse_jgit.xml │ ├── update_org_eclipse_jgit_org_eclipse_jgit_ssh_jsch.xml │ ├── update_org_eclipse_persistence_org_eclipse_persistence_jpa.xml │ ├── update_org_hibernate_hibernate_core.xml │ ├── update_org_hsqldb_hsqldb.xml │ ├── update_org_json_json.xml │ ├── update_org_mockito_mockito_core.xml │ ├── update_org_modelmapper_extensions_modelmapper_jackson.xml │ ├── update_org_modelmapper_extensions_modelmapper_spring.xml │ ├── update_org_modelmapper_modelmapper.xml │ ├── update_org_postgresql_postgresql.xml │ ├── update_org_springframework_boot_spring_boot_dependencies.xml │ └── upgrade_spring-framework-bom.xml ├── changes ├── announcement.vm └── changes.xml └── site ├── markdown ├── build.md ├── catalog.md.vm ├── changelog.md ├── download.md.vm ├── index.md.vm ├── javadoc.md ├── requestContext.md.vm └── sample.md.vm ├── resources ├── css │ ├── bootstrap.css │ ├── bootstrap.min.css │ └── site.css ├── images │ ├── IntelliJ-IDEA-logo.png │ ├── YourKitLogo.png │ ├── attributes.png │ ├── collapsed.gif │ ├── events.png │ ├── expanded.gif │ ├── logo.png │ ├── ls-logo.jpg │ ├── maven-feather.png │ └── request-context.png ├── img │ ├── glyphicons-halflings-white.png │ └── glyphicons-halflings.png ├── js │ ├── bootstrap.js │ ├── bootstrap.min.js │ ├── jquery.js │ ├── jquery.min.js │ ├── prettify.js │ ├── prettify.min.js │ └── site.js └── pdf-config.xml ├── site.vm ├── site.xml └── xdoc ├── gettingStarted.xml.vm ├── guidelines.xml └── javastyle.xml /.gitattributes: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | 16 | # All text files with LF line endings 17 | * text=auto eol=lf 18 | # Maven Wrapper cmd script 19 | /mvnw.cmd eol=crlf 20 | # Maven Wrapper need LF line endings 21 | /.mvn/wrapper/maven-wrapper.properties eol=lf 22 | -------------------------------------------------------------------------------- /.github/workflows/codeql-analysis.yaml: -------------------------------------------------------------------------------- 1 | # 2 | # Licensed to the Apache Software Foundation (ASF) under one or more 3 | # contributor license agreements. See the NOTICE file distributed with 4 | # this work for additional information regarding copyright ownership. 5 | # The ASF licenses this file to you under the Apache License, Version 2.0 6 | # (the "License"); you may not use this file except in compliance with 7 | # the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | # 17 | 18 | name: codeql-analysis 19 | 20 | on: 21 | push: 22 | branches: [ "master" ] 23 | pull_request: 24 | branches: [ "master" ] 25 | schedule: 26 | - cron: '32 12 * * 5' 27 | 28 | permissions: read-all 29 | 30 | jobs: 31 | 32 | analyze: 33 | uses: apache/logging-parent/.github/workflows/codeql-analysis-reusable.yaml@rel/11.0.0 34 | # Permissions required to publish Security Alerts 35 | permissions: 36 | actions: read 37 | contents: read 38 | security-events: write 39 | -------------------------------------------------------------------------------- /.github/workflows/merge-dependabot.yaml: -------------------------------------------------------------------------------- 1 | # 2 | # Licensed to the Apache Software Foundation (ASF) under one or more 3 | # contributor license agreements. See the NOTICE file distributed with 4 | # this work for additional information regarding copyright ownership. 5 | # The ASF licenses this file to you under the Apache License, Version 2.0 6 | # (the "License"); you may not use this file except in compliance with 7 | # the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | # 17 | 18 | name: merge-dependabot 19 | 20 | on: 21 | pull_request_target: 22 | paths-ignore: 23 | - "**.adoc" 24 | - "**.md" 25 | - "**.txt" 26 | 27 | permissions: read-all 28 | 29 | jobs: 30 | 31 | build: 32 | if: github.repository == 'apache/logging-log4j-audit' && github.event_name == 'pull_request_target' && github.actor == 'dependabot[bot]' 33 | uses: apache/logging-parent/.github/workflows/build-reusable.yaml@rel/11.0.0 34 | 35 | merge-dependabot: 36 | needs: build 37 | uses: apache/logging-parent/.github/workflows/merge-dependabot-reusable.yaml@rel/11.0.0 38 | permissions: 39 | contents: write # to push changelog commits 40 | pull-requests: write # to close the PR 41 | secrets: 42 | GPG_SECRET_KEY: ${{ secrets.LOGGING_GPG_SECRET_KEY }} # to sign commits 43 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | 16 | # Intellij 17 | .idea/ 18 | *.ipr 19 | *.iml 20 | *.iws 21 | out/ 22 | /classes 23 | 24 | # Eclipse 25 | .metadata 26 | .settings/ 27 | .loadpath 28 | .classpath 29 | .project 30 | 31 | # Maven 32 | target/ 33 | /.mvn/wrapper/maven-wrapper.jar 34 | .flattened-pom.xml 35 | -------------------------------------------------------------------------------- /.mvn/jvm.config: -------------------------------------------------------------------------------- 1 | --add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED 2 | --add-exports jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED 3 | --add-exports jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED 4 | --add-exports jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED 5 | --add-exports jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED 6 | --add-exports jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED 7 | --add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED 8 | --add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED 9 | --add-opens jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED 10 | --add-opens jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED 11 | -------------------------------------------------------------------------------- /.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.0/apache-maven-3.9.0-bin.zip 18 | wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar 19 | -------------------------------------------------------------------------------- /NOTICE.txt: -------------------------------------------------------------------------------- 1 | Apache Log4j Audit 2 | Copyright 2017 Apache Software Foundation 3 | 4 | This product includes software developed at 5 | The Apache Software Foundation (http://www.apache.org/). 6 | 7 | -------------------------------------------------------------------------------- /checkstyle-header.txt: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache license, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the license for the specific language governing permissions and 15 | * limitations under the license. 16 | */ 17 | -------------------------------------------------------------------------------- /checkstyle-import-control.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /checkstyle-suppressions.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /findbugs-exclude-filter.xml: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /log4j-audit/log4j-audit-api/src/main/java/org/apache/logging/log4j/audit/AuditEvent.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to you under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | package org.apache.logging.log4j.audit; 18 | 19 | /** 20 | * Interface that is extended by generated classes. 21 | */ 22 | public interface AuditEvent { 23 | 24 | /** 25 | * Log the event. 26 | */ 27 | void logEvent(); 28 | 29 | /** 30 | * Set the exception handler to use. The default exception handler will throw an AuditException wrapping the 31 | * exception that occurred. If null is passed in then the exception will be ignored. 32 | * @param exceptionHandler The exception handler. 33 | */ 34 | void setAuditExceptionHandler(AuditExceptionHandler exceptionHandler); 35 | 36 | /** 37 | * Added to the event after the operation has completed. Identifies whether it was successful or not. 38 | * @param status The completion status. 39 | */ 40 | void setCompletionStatus(String status); 41 | } 42 | -------------------------------------------------------------------------------- /log4j-audit/log4j-audit-api/src/main/java/org/apache/logging/log4j/audit/AuditExceptionHandler.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to you under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | package org.apache.logging.log4j.audit; 18 | 19 | import org.apache.logging.log4j.message.StructuredDataMessage; 20 | 21 | /** 22 | * Handles any exceptions that may occur while logging the audit event. 23 | */ 24 | public interface AuditExceptionHandler { 25 | 26 | /** 27 | * Handles Exceptions that occur while audit logging. If a RuntimeException is thrown it will percolate 28 | * back to the application. 29 | * @param message The message being loggeed. 30 | * @param ex The Throwable. 31 | */ 32 | void handleException(StructuredDataMessage message, Throwable ex); 33 | } 34 | -------------------------------------------------------------------------------- /log4j-audit/log4j-audit-api/src/main/java/org/apache/logging/log4j/audit/annotation/Chained.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to you under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | package org.apache.logging.log4j.audit.annotation; 18 | 19 | import java.lang.annotation.ElementType; 20 | import java.lang.annotation.Retention; 21 | import java.lang.annotation.RetentionPolicy; 22 | import java.lang.annotation.Target; 23 | 24 | @Target(ElementType.FIELD) 25 | @Retention(RetentionPolicy.RUNTIME) 26 | public @interface Chained { 27 | 28 | String fieldName(); 29 | 30 | String chainedFieldName(); 31 | } 32 | -------------------------------------------------------------------------------- /log4j-audit/log4j-audit-api/src/main/java/org/apache/logging/log4j/audit/annotation/ChainedSupplier.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to you under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | package org.apache.logging.log4j.audit.annotation; 18 | 19 | import java.lang.annotation.ElementType; 20 | import java.lang.annotation.Retention; 21 | import java.lang.annotation.RetentionPolicy; 22 | import java.lang.annotation.Target; 23 | 24 | @Target(ElementType.FIELD) 25 | @Retention(RetentionPolicy.RUNTIME) 26 | public @interface ChainedSupplier { 27 | 28 | String value(); 29 | } 30 | -------------------------------------------------------------------------------- /log4j-audit/log4j-audit-api/src/main/java/org/apache/logging/log4j/audit/annotation/ClientServer.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to you under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | package org.apache.logging.log4j.audit.annotation; 18 | 19 | import java.lang.annotation.ElementType; 20 | import java.lang.annotation.Retention; 21 | import java.lang.annotation.RetentionPolicy; 22 | import java.lang.annotation.Target; 23 | 24 | @Target(ElementType.FIELD) 25 | @Retention(RetentionPolicy.RUNTIME) 26 | public @interface ClientServer {} 27 | -------------------------------------------------------------------------------- /log4j-audit/log4j-audit-api/src/main/java/org/apache/logging/log4j/audit/annotation/Constraint.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to you under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | package org.apache.logging.log4j.audit.annotation; 18 | 19 | import java.lang.annotation.ElementType; 20 | import java.lang.annotation.Repeatable; 21 | import java.lang.annotation.Retention; 22 | import java.lang.annotation.RetentionPolicy; 23 | import java.lang.annotation.Target; 24 | 25 | @Target(ElementType.METHOD) 26 | @Retention(RetentionPolicy.RUNTIME) 27 | @Repeatable(Constraints.class) 28 | public @interface Constraint { 29 | 30 | String constraintType(); 31 | 32 | String constraintValue(); 33 | } 34 | -------------------------------------------------------------------------------- /log4j-audit/log4j-audit-api/src/main/java/org/apache/logging/log4j/audit/annotation/Constraints.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to you under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | package org.apache.logging.log4j.audit.annotation; 18 | 19 | import java.lang.annotation.ElementType; 20 | import java.lang.annotation.Retention; 21 | import java.lang.annotation.RetentionPolicy; 22 | import java.lang.annotation.Target; 23 | 24 | /** 25 | * Container for Constraints. 26 | */ 27 | @Target(ElementType.METHOD) 28 | @Retention(RetentionPolicy.RUNTIME) 29 | public @interface Constraints { 30 | Constraint[] value(); 31 | } 32 | -------------------------------------------------------------------------------- /log4j-audit/log4j-audit-api/src/main/java/org/apache/logging/log4j/audit/annotation/EventName.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to you under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | package org.apache.logging.log4j.audit.annotation; 18 | 19 | import java.lang.annotation.ElementType; 20 | import java.lang.annotation.Retention; 21 | import java.lang.annotation.RetentionPolicy; 22 | import java.lang.annotation.Target; 23 | 24 | /** 25 | * Allows overriding the default naming algorithm. 26 | */ 27 | @Target(ElementType.TYPE) 28 | @Retention(RetentionPolicy.RUNTIME) 29 | public @interface EventName { 30 | String value(); 31 | } 32 | -------------------------------------------------------------------------------- /log4j-audit/log4j-audit-api/src/main/java/org/apache/logging/log4j/audit/annotation/HeaderPrefix.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to you under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | package org.apache.logging.log4j.audit.annotation; 18 | 19 | import java.lang.annotation.ElementType; 20 | import java.lang.annotation.Retention; 21 | import java.lang.annotation.RetentionPolicy; 22 | import java.lang.annotation.Target; 23 | 24 | @Target(ElementType.TYPE) 25 | @Retention(RetentionPolicy.RUNTIME) 26 | public @interface HeaderPrefix { 27 | 28 | String value() default "request-context-"; 29 | } 30 | -------------------------------------------------------------------------------- /log4j-audit/log4j-audit-api/src/main/java/org/apache/logging/log4j/audit/annotation/Local.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to you under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | package org.apache.logging.log4j.audit.annotation; 18 | 19 | import java.lang.annotation.ElementType; 20 | import java.lang.annotation.Retention; 21 | import java.lang.annotation.RetentionPolicy; 22 | import java.lang.annotation.Target; 23 | 24 | @Target(ElementType.FIELD) 25 | @Retention(RetentionPolicy.RUNTIME) 26 | public @interface Local {} 27 | -------------------------------------------------------------------------------- /log4j-audit/log4j-audit-api/src/main/java/org/apache/logging/log4j/audit/annotation/MaxLength.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to you under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | package org.apache.logging.log4j.audit.annotation; 18 | 19 | import java.lang.annotation.ElementType; 20 | import java.lang.annotation.Retention; 21 | import java.lang.annotation.RetentionPolicy; 22 | import java.lang.annotation.Target; 23 | 24 | /** 25 | * Records the maximum length of dynamic attribute names. 26 | */ 27 | @Target(ElementType.TYPE) 28 | @Retention(RetentionPolicy.RUNTIME) 29 | public @interface MaxLength { 30 | int value(); 31 | } 32 | -------------------------------------------------------------------------------- /log4j-audit/log4j-audit-api/src/main/java/org/apache/logging/log4j/audit/annotation/RequestContext.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to you under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | package org.apache.logging.log4j.audit.annotation; 18 | 19 | import java.lang.annotation.ElementType; 20 | import java.lang.annotation.Repeatable; 21 | import java.lang.annotation.Retention; 22 | import java.lang.annotation.RetentionPolicy; 23 | import java.lang.annotation.Target; 24 | 25 | /** 26 | * 27 | */ 28 | @Target(ElementType.TYPE) 29 | @Retention(RetentionPolicy.RUNTIME) 30 | @Repeatable(RequestContextConstraints.class) 31 | public @interface RequestContext { 32 | 33 | String key(); 34 | 35 | boolean required() default false; 36 | 37 | /** 38 | * The Constraints that apply to this key for the associated event. 39 | * @return 40 | */ 41 | Constraint[] constraints() default {}; 42 | } 43 | -------------------------------------------------------------------------------- /log4j-audit/log4j-audit-api/src/main/java/org/apache/logging/log4j/audit/annotation/RequestContextConstraints.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to you under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | package org.apache.logging.log4j.audit.annotation; 18 | 19 | import java.lang.annotation.ElementType; 20 | import java.lang.annotation.Retention; 21 | import java.lang.annotation.RetentionPolicy; 22 | import java.lang.annotation.Target; 23 | 24 | /** 25 | * Container for RequestContextMapping constraints. 26 | */ 27 | @Target(ElementType.TYPE) 28 | @Retention(RetentionPolicy.RUNTIME) 29 | public @interface RequestContextConstraints { 30 | RequestContext[] value(); 31 | } 32 | -------------------------------------------------------------------------------- /log4j-audit/log4j-audit-api/src/main/java/org/apache/logging/log4j/audit/annotation/Required.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to you under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | package org.apache.logging.log4j.audit.annotation; 18 | 19 | import java.lang.annotation.ElementType; 20 | import java.lang.annotation.Retention; 21 | import java.lang.annotation.RetentionPolicy; 22 | import java.lang.annotation.Target; 23 | 24 | /** 25 | * Marks an attribute as being required in the audit event. 26 | */ 27 | @Target(ElementType.METHOD) 28 | @Retention(RetentionPolicy.RUNTIME) 29 | public @interface Required {} 30 | -------------------------------------------------------------------------------- /log4j-audit/log4j-audit-api/src/main/java/org/apache/logging/log4j/audit/exception/AuditException.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to you under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | package org.apache.logging.log4j.audit.exception; 18 | 19 | /** 20 | * 21 | */ 22 | public class AuditException extends RuntimeException { 23 | 24 | private static final long serialVersionUID = -5254085965679589585L; 25 | 26 | public AuditException(String message) { 27 | super(message); 28 | } 29 | 30 | public AuditException(Throwable e) { 31 | super(e); 32 | } 33 | 34 | public AuditException(String message, Throwable e) { 35 | super(message, e); 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /log4j-audit/log4j-audit-api/src/main/java/org/apache/logging/log4j/audit/exception/ConstraintValidationException.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to you under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | package org.apache.logging.log4j.audit.exception; 18 | 19 | /** 20 | * 21 | */ 22 | public class ConstraintValidationException extends AuditException { 23 | 24 | private static final long serialVersionUID = 2142398619256674767L; 25 | 26 | public ConstraintValidationException(String msg) { 27 | super(msg); 28 | } 29 | 30 | public ConstraintValidationException(Throwable t) { 31 | super(t); 32 | } 33 | 34 | public ConstraintValidationException(String msg, Throwable t) { 35 | super(msg, t); 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /log4j-audit/log4j-audit-api/src/main/java/org/apache/logging/log4j/audit/generator/Constants.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to you under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | package org.apache.logging.log4j.audit.generator; 18 | 19 | /** 20 | * 21 | */ 22 | public class Constants { 23 | 24 | public static final String PUBLIC = "public"; 25 | } 26 | -------------------------------------------------------------------------------- /log4j-audit/log4j-audit-api/src/main/java/org/apache/logging/log4j/audit/layout/AuditLayout.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to you under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | package org.apache.logging.log4j.audit.layout; 18 | 19 | public class AuditLayout {} 20 | -------------------------------------------------------------------------------- /log4j-audit/log4j-audit-api/src/main/java/org/apache/logging/log4j/audit/request/ChainedMapping.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to you under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | package org.apache.logging.log4j.audit.request; 18 | 19 | import java.util.function.Supplier; 20 | 21 | /** 22 | * Represents the mapping of a RequestContextMapping variable that is propagated from the client to the server with 23 | * as a new variable name. 24 | */ 25 | public class ChainedMapping extends RequestContextMapping { 26 | Supplier supplier; 27 | 28 | public ChainedMapping(String fieldName, String chainedFieldName, Supplier localValueSupplier) { 29 | super(fieldName, Scope.CHAIN, chainedFieldName); 30 | this.supplier = localValueSupplier; 31 | } 32 | 33 | public Supplier getSupplier() { 34 | return supplier; 35 | } 36 | 37 | public void setSupplier(Supplier supplier) { 38 | this.supplier = supplier; 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /log4j-audit/log4j-audit-api/src/main/java/org/apache/logging/log4j/audit/request/ClientServerMapping.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to you under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | package org.apache.logging.log4j.audit.request; 18 | 19 | /** 20 | * Represents the mapping of a RequestContextMapping variable that should be propogated from client to server. 21 | */ 22 | public class ClientServerMapping extends RequestContextMapping { 23 | public ClientServerMapping(String fieldName) { 24 | super(fieldName, Scope.CLIENT_SERVER, fieldName); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /log4j-audit/log4j-audit-api/src/main/java/org/apache/logging/log4j/audit/request/LocalMapping.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to you under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | package org.apache.logging.log4j.audit.request; 18 | 19 | /** 20 | * Represents the Mapping for a RequestContextMapping variable that only exists in the local application. 21 | */ 22 | public class LocalMapping extends RequestContextMapping { 23 | public LocalMapping(String fieldName) { 24 | super(fieldName, Scope.LOCAL_ONLY, null); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /log4j-audit/log4j-audit-api/src/main/java/org/apache/logging/log4j/audit/request/Scope.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to you under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | package org.apache.logging.log4j.audit.request; 18 | 19 | public enum Scope { 20 | CLIENT_SERVER, 21 | LOCAL_ONLY, 22 | CHAIN 23 | } 24 | -------------------------------------------------------------------------------- /log4j-audit/log4j-audit-api/src/main/java/org/apache/logging/log4j/audit/util/StringUtil.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to you under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | package org.apache.logging.log4j.audit.util; 18 | 19 | public class StringUtil { 20 | 21 | public static String filterContent(String content, String name, String type) { 22 | return content.replaceAll("@name", name).replace("@type", type); 23 | } 24 | 25 | public static void main(String[] args) { 26 | String input = "co_nf.No."; 27 | String alphaAndDigits = input.replaceAll("[^a-zA-Z0-9_]+", ""); 28 | System.out.println(alphaAndDigits); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /log4j-audit/log4j-audit-api/src/site/markdown/index.md: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | # Log4j Audit API 20 | 21 | The Log4j Audit API provides the event interfaces that applications should use when logging audit events. 22 | 23 | ## Requirements 24 | 25 | Log4j Audit requires Java 8. -------------------------------------------------------------------------------- /log4j-audit/log4j-audit-api/src/test/java/org/apache/logging/log4j/audit/event/Logout.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to you under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | package org.apache.logging.log4j.audit.event; 18 | 19 | import org.apache.logging.log4j.audit.AuditEvent; 20 | import org.apache.logging.log4j.audit.annotation.EventName; 21 | 22 | @EventName("Logout") 23 | public interface Logout extends AuditEvent {} 24 | -------------------------------------------------------------------------------- /log4j-audit/log4j-audit-api/src/test/resources/basicCatalog.json: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache license, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the license for the specific language governing permissions and 15 | * limitations under the license. 16 | */ 17 | { 18 | "events" : [ { 19 | "name" : "login" 20 | } ] 21 | } -------------------------------------------------------------------------------- /log4j-audit/log4j-audit-api/src/test/resources/catalog.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/logging-log4j-audit/f56a72d86fc77d7ad78447458a72d85554f0fb4f/log4j-audit/log4j-audit-api/src/test/resources/catalog.zip -------------------------------------------------------------------------------- /log4j-audit/log4j-audit-api/src/test/resources/interfacesGenerator.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Licensed to the Apache Software Foundation (ASF) under one or more 3 | # contributor license agreements. See the NOTICE file distributed with 4 | # this work for additional information regarding copyright ownership. 5 | # The ASF licenses this file to you under the Apache License, Version 2.0 6 | # (the "License"); you may not use this file except in compliance with 7 | # the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | # 17 | ## 18 | -------------------------------------------------------------------------------- /log4j-audit/log4j-audit-api/src/test/resources/log4j2-test.xml: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /log4j-audit/log4j-audit-maven-plugin/src/it/default-generate/verify.groovy: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to You under the Apache license, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the license for the specific language governing permissions and 15 | * limitations under the license. 16 | */ 17 | File touchFile = new File( basedir, "target/generated-sources/log4j-audit/org/apache/logging/log4j/audit/it/BillPay.java" ); 18 | 19 | assert touchFile.isFile() 20 | -------------------------------------------------------------------------------- /log4j-audit/log4j-audit-maven-plugin/src/main/resources/log4j2.xml: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /log4j-audit/log4j-audit-war/src/main/java/org/apache/logging/log4j/audit/service/catalog/AuditManager.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to you under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | package org.apache.logging.log4j.audit.service.catalog; 18 | 19 | import org.apache.logging.log4j.audit.catalog.CatalogManager; 20 | import org.apache.logging.log4j.catalog.api.Attribute; 21 | import org.apache.logging.log4j.catalog.api.Event; 22 | import org.apache.logging.log4j.catalog.jpa.model.EventModel; 23 | 24 | public interface AuditManager extends CatalogManager { 25 | 26 | EventModel saveEvent(Event event); 27 | 28 | void saveAttribute(Attribute attribute); 29 | } 30 | -------------------------------------------------------------------------------- /log4j-audit/log4j-audit-war/src/main/java/org/apache/logging/log4j/audit/service/config/ApplicationConfiguration.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to you under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | package org.apache.logging.log4j.audit.service.config; 18 | 19 | import org.springframework.context.annotation.Configuration; 20 | 21 | @Configuration 22 | public class ApplicationConfiguration {} 23 | -------------------------------------------------------------------------------- /log4j-audit/log4j-audit-war/src/main/java/org/apache/logging/log4j/audit/service/config/ConfigurationService.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to you under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | package org.apache.logging.log4j.audit.service.config; 18 | 19 | import org.springframework.beans.factory.annotation.Value; 20 | import org.springframework.stereotype.Service; 21 | 22 | /** 23 | * 24 | */ 25 | @Service 26 | public class ConfigurationService { 27 | @Value("${auditServiceAuthToken:LabAuditService}") 28 | private String auditServiceAuthToken; 29 | 30 | public String getAuditServiceAuthToken() { 31 | return auditServiceAuthToken; 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /log4j-audit/log4j-audit-war/src/site/markdown/index.md: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | # Log4j Audit Service 20 | 21 | The Log4j Audit Service WAR that allows remote applications to perform audit logging and to manage dynamic 22 | catalog entries. The generated war requires customization as shown in the 23 | [sample project](https://github.com/apache/logging-log4j-audit-sample/tree/master/audit-service-war). Once 24 | that war is deployed navigating to http://localhost:8081/AuditService/swagger-ui.html in a web browser 25 | will show the REST endpoints that may be accessed. 26 | 27 | ## Requirements 28 | 29 | Log4j Audit requires Java 8. -------------------------------------------------------------------------------- /log4j-audit/log4j-audit-war/src/test/resources/sql/afterTestRun.sql: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2001-2005 The Apache Software Foundation. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | DELETE FROM PRODUCT_EVENTS; 17 | DELETE FROM CATEGORY_EVENTS; 18 | DELETE FROM EVENT_ATTRIBUTES; 19 | DELETE FROM CATALOG_PRODUCT; 20 | DELETE FROM CATALOG_CATEGORY; 21 | DELETE FROM CATALOG_EVENT; 22 | DELETE FROM ATTRIBUTE_CONSTRAINT; 23 | DELETE FROM ATTRIBUTE_EXAMPLES; 24 | DELETE FROM EVENT_ATTRIBUTE; 25 | -------------------------------------------------------------------------------- /log4j-audit/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 4.0.0 20 | 21 | org.apache.logging.log4j 22 | log4j-audit-parent 23 | 1.0.2-SNAPSHOT 24 | 25 | log4j-audit 26 | pom 27 | Log4j Audit 28 | 29 | log4j-audit-api 30 | log4j-audit-war 31 | log4j-audit-maven-plugin 32 | 33 | 34 | ${basedir}/.. 35 | 36 | 37 | -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-api/src/main/java/org/apache/logging/log4j/catalog/api/CatalogWriter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to you under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | package org.apache.logging.log4j.catalog.api; 18 | 19 | public interface CatalogWriter { 20 | void write(CatalogData catalogData); 21 | } 22 | -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-api/src/main/java/org/apache/logging/log4j/catalog/api/ListResponse.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to you under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | package org.apache.logging.log4j.catalog.api; 18 | 19 | import java.util.List; 20 | 21 | /** 22 | * 23 | */ 24 | public class ListResponse { 25 | 26 | private String result; 27 | private List data; 28 | 29 | public String getResult() { 30 | return result; 31 | } 32 | 33 | public void setResult(String result) { 34 | this.result = result; 35 | } 36 | 37 | public List getData() { 38 | return data; 39 | } 40 | 41 | public void setData(List data) { 42 | this.data = data; 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-api/src/main/java/org/apache/logging/log4j/catalog/api/Type.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to you under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | package org.apache.logging.log4j.catalog.api; 18 | 19 | /** 20 | * Definition of an EventDto type. 21 | */ 22 | public class Type { 23 | 24 | private String typeName; 25 | } 26 | -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-api/src/main/java/org/apache/logging/log4j/catalog/api/Versions.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to you under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | package org.apache.logging.log4j.catalog.api; 18 | 19 | public final class Versions { 20 | 21 | private static final String TYPE = "application"; 22 | private static final String SUB_TYPE = "vnd.apache.logging.log4j.audit+json"; 23 | private static final String VERSION_KEY = "version"; 24 | private static final String VERSION_1 = "1.0"; 25 | 26 | public static final String V1_0 = TYPE + "/" + SUB_TYPE + "; " + VERSION_KEY + "=\"" + VERSION_1 + "\""; 27 | 28 | private Versions() {} 29 | } 30 | -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-api/src/main/java/org/apache/logging/log4j/catalog/api/annotation/ConditionOnPropertyExists.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to you under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | package org.apache.logging.log4j.catalog.api.annotation; 18 | 19 | import java.lang.annotation.ElementType; 20 | import java.lang.annotation.Retention; 21 | import java.lang.annotation.RetentionPolicy; 22 | import java.lang.annotation.Target; 23 | import org.springframework.context.annotation.Conditional; 24 | 25 | /** 26 | * Prevents a bean from being created unless a property exists. 27 | */ 28 | @Retention(RetentionPolicy.RUNTIME) 29 | @Target({ElementType.TYPE, ElementType.METHOD}) 30 | @Conditional(value = PropertyExistsCondition.class) 31 | public @interface ConditionOnPropertyExists { 32 | /** 33 | * The name of the property to test for existence. 34 | * @return The property name. 35 | */ 36 | String value(); 37 | } 38 | -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-api/src/main/java/org/apache/logging/log4j/catalog/api/annotation/JdbcUrl.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to you under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | package org.apache.logging.log4j.catalog.api.annotation; 18 | 19 | import java.lang.annotation.ElementType; 20 | import java.lang.annotation.Retention; 21 | import java.lang.annotation.RetentionPolicy; 22 | import java.lang.annotation.Target; 23 | import org.springframework.context.annotation.Conditional; 24 | 25 | /** 26 | * Loads a DataSource based on the JDBC URL. 27 | */ 28 | @Retention(RetentionPolicy.RUNTIME) 29 | @Target({ElementType.TYPE, ElementType.METHOD}) 30 | @Conditional(value = JdbcUrlCondition.class) 31 | public @interface JdbcUrl { 32 | /** 33 | * The name of the property to test for existence. 34 | * @return The property name. 35 | */ 36 | String value(); 37 | } 38 | -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-api/src/main/java/org/apache/logging/log4j/catalog/api/constant/Constants.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to you under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | package org.apache.logging.log4j.catalog.api.constant; 18 | 19 | /** 20 | * Contains constants used in Log4j-Catalog. 21 | */ 22 | public final class Constants { 23 | 24 | private Constants() {} 25 | 26 | public static final String DEFAULT_CATALOG = "DEFAULT"; 27 | } 28 | -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-api/src/main/java/org/apache/logging/log4j/catalog/api/exception/CatalogException.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to you under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | package org.apache.logging.log4j.catalog.api.exception; 18 | 19 | /** 20 | * 21 | */ 22 | public class CatalogException extends RuntimeException { 23 | 24 | private static final long serialVersionUID = 413784416933702749L; 25 | 26 | public CatalogException() { 27 | super(); 28 | } 29 | 30 | public CatalogException(String msg) { 31 | super(msg); 32 | } 33 | 34 | public CatalogException(Throwable t) { 35 | super(t); 36 | } 37 | 38 | public CatalogException(String msg, Throwable t) { 39 | super(msg, t); 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-api/src/main/java/org/apache/logging/log4j/catalog/api/exception/CatalogModificationException.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to you under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | package org.apache.logging.log4j.catalog.api.exception; 18 | 19 | /** 20 | * 21 | */ 22 | public class CatalogModificationException extends CatalogException { 23 | 24 | private static final long serialVersionUID = 1999555060428715446L; 25 | 26 | public CatalogModificationException() { 27 | super(); 28 | } 29 | 30 | public CatalogModificationException(String msg) { 31 | super(msg); 32 | } 33 | 34 | public CatalogModificationException(Throwable t) { 35 | super(t); 36 | } 37 | 38 | public CatalogModificationException(String msg, Throwable t) { 39 | super(msg, t); 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-api/src/main/java/org/apache/logging/log4j/catalog/api/exception/CatalogNotFoundException.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to you under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | package org.apache.logging.log4j.catalog.api.exception; 18 | 19 | /** 20 | * 21 | */ 22 | public class CatalogNotFoundException extends CatalogException { 23 | 24 | private static final long serialVersionUID = 413784416933702749L; 25 | 26 | public CatalogNotFoundException() { 27 | super(); 28 | } 29 | 30 | public CatalogNotFoundException(String msg) { 31 | super(msg); 32 | } 33 | 34 | public CatalogNotFoundException(Throwable t) { 35 | super(t); 36 | } 37 | 38 | public CatalogNotFoundException(String msg, Throwable t) { 39 | super(msg, t); 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-api/src/main/java/org/apache/logging/log4j/catalog/api/exception/CatalogReadException.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to you under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | package org.apache.logging.log4j.catalog.api.exception; 18 | 19 | /** 20 | * 21 | */ 22 | public class CatalogReadException extends CatalogException { 23 | 24 | private static final long serialVersionUID = -373722489224872918L; 25 | 26 | public CatalogReadException() { 27 | super(); 28 | } 29 | 30 | public CatalogReadException(String msg) { 31 | super(msg); 32 | } 33 | 34 | public CatalogReadException(Throwable t) { 35 | super(t); 36 | } 37 | 38 | public CatalogReadException(String msg, Throwable t) { 39 | super(msg, t); 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-api/src/main/java/org/apache/logging/log4j/catalog/api/exception/ConstraintCreationException.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to you under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | package org.apache.logging.log4j.catalog.api.exception; 18 | 19 | /** 20 | * 21 | */ 22 | public class ConstraintCreationException extends RuntimeException { 23 | 24 | private static final long serialVersionUID = 2142398619256674767L; 25 | 26 | public ConstraintCreationException() { 27 | super(); 28 | } 29 | 30 | public ConstraintCreationException(String msg) { 31 | super(msg); 32 | } 33 | 34 | public ConstraintCreationException(Throwable t) { 35 | super(t); 36 | } 37 | 38 | public ConstraintCreationException(String msg, Throwable t) { 39 | super(msg, t); 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-api/src/main/java/org/apache/logging/log4j/catalog/api/exception/NameNotFoundException.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to you under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | package org.apache.logging.log4j.catalog.api.exception; 18 | 19 | /** 20 | * 21 | */ 22 | public class NameNotFoundException extends RuntimeException { 23 | 24 | private static final long serialVersionUID = -792734057485544367L; 25 | 26 | public NameNotFoundException() { 27 | super(); 28 | } 29 | 30 | public NameNotFoundException(String msg) { 31 | super(msg); 32 | } 33 | 34 | public NameNotFoundException(Throwable t) { 35 | super(t); 36 | } 37 | 38 | public NameNotFoundException(String msg, Throwable t) { 39 | super(msg, t); 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-api/src/main/java/org/apache/logging/log4j/catalog/api/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2001-2005 The Apache Software Foundation. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | /** 17 | * Catalog API. 18 | */ 19 | package org.apache.logging.log4j.catalog.api; 20 | -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-api/src/main/java/org/apache/logging/log4j/catalog/api/util/StringUtils.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to you under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | package org.apache.logging.log4j.catalog.api.util; 18 | 19 | /** 20 | * 21 | */ 22 | public final class StringUtils { 23 | 24 | private StringUtils() {} 25 | 26 | public static final boolean isBlank(String value) { 27 | return value == null || value.length() == 0; 28 | } 29 | 30 | public static void appendNewline(StringBuilder builder) { 31 | if (builder.length() > 0) { 32 | builder.append("\n"); 33 | } 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-api/src/site/markdown/index.md: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | # Log4j Audit Catalog API 20 | 21 | The Log4j Audit Catalog API provides the interfaces and classes used to access the Log4j Audit catalog. 22 | 23 | ## Requirements 24 | 25 | Log4j Audit requires Java 8. -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/java/org/apache/logging/log4j/catalog/config/ConfigurationService.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to you under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | package org.apache.logging.log4j.catalog.config; 18 | 19 | import org.springframework.beans.factory.annotation.Value; 20 | import org.springframework.stereotype.Service; 21 | 22 | @Service 23 | public class ConfigurationService { 24 | 25 | @Value("${catalogServiceAuthToken:cbade18f-437a-412c-b0c5-9e246ee23ca6}") 26 | private String catalogServiceAuthToken; 27 | 28 | public String getCatalogServiceAuthToken() { 29 | return catalogServiceAuthToken; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Licensed to the Apache Software Foundation (ASF) under one or more 3 | # contributor license agreements. See the NOTICE file distributed with 4 | # this work for additional information regarding copyright ownership. 5 | # The ASF licenses this file to you under the Apache License, Version 2.0 6 | # (the "License"); you may not use this file except in compliance with 7 | # the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | # 17 | 18 | spring.thymeleaf.cache=false 19 | spring.thymeleaf.enabled=true 20 | spring.thymeleaf.prefix=classpath:/templates/ 21 | spring.thymeleaf.suffix=.html 22 | 23 | spring.application.name=Log4j Catalog Editor 24 | -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/images/ajax-loader.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/logging-log4j-audit/f56a72d86fc77d7ad78447458a72d85554f0fb4f/log4j-catalog/log4j-catalog-editor/src/main/resources/static/images/ajax-loader.gif -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/images/attributes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/logging-log4j-audit/f56a72d86fc77d7ad78447458a72d85554f0fb4f/log4j-catalog/log4j-catalog-editor/src/main/resources/static/images/attributes.png -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/images/constraint.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/logging-log4j-audit/f56a72d86fc77d7ad78447458a72d85554f0fb4f/log4j-catalog/log4j-catalog-editor/src/main/resources/static/images/constraint.png -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jquery_ui/images/ui-icons_444444_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/logging-log4j-audit/f56a72d86fc77d7ad78447458a72d85554f0fb4f/log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jquery_ui/images/ui-icons_444444_256x240.png -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jquery_ui/images/ui-icons_555555_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/logging-log4j-audit/f56a72d86fc77d7ad78447458a72d85554f0fb4f/log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jquery_ui/images/ui-icons_555555_256x240.png -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jquery_ui/images/ui-icons_777620_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/logging-log4j-audit/f56a72d86fc77d7ad78447458a72d85554f0fb4f/log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jquery_ui/images/ui-icons_777620_256x240.png -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jquery_ui/images/ui-icons_777777_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/logging-log4j-audit/f56a72d86fc77d7ad78447458a72d85554f0fb4f/log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jquery_ui/images/ui-icons_777777_256x240.png -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jquery_ui/images/ui-icons_cc0000_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/logging-log4j-audit/f56a72d86fc77d7ad78447458a72d85554f0fb4f/log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jquery_ui/images/ui-icons_cc0000_256x240.png -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jquery_ui/images/ui-icons_ffffff_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/logging-log4j-audit/f56a72d86fc77d7ad78447458a72d85554f0fb4f/log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jquery_ui/images/ui-icons_ffffff_256x240.png -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/extensions/jquery.jtable.aspnetpagemethods.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/logging-log4j-audit/f56a72d86fc77d7ad78447458a72d85554f0fb4f/log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/extensions/jquery.jtable.aspnetpagemethods.min.js -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/localization/jquery.jtable.bd.js: -------------------------------------------------------------------------------- 1 | /* 2 | jTable localization file for 'Bengali' language. 3 | Author: Abu Naim Mohammad Nazmul Huda 4 | */ 5 | (function ($) { 6 | 7 | $.extend(true, $.hik.jtable.prototype.options.messages, { 8 | serverCommunicationError: 'সার্ভারে যোগাযোগ ত্রুটি', 9 | loadingMessage: 'বার্তা বোঝাই করা হচ্ছে', 10 | noDataAvailable: 'কোন তথ্য পাওযা যাচ্ছে না', 11 | addNewRecord: 'নতুন তথ্য যোগ করুন', 12 | editRecord: 'তথ্য সম্পাদন/সংশোধন করুন', 13 | areYouSure: 'আপনি কি নিশ্চিত?', 14 | deleteConfirmation: 'মুছে ফেলা নিশ্চিতকরণ', 15 | save: 'রক্ষা করা', 16 | saving: 'রক্ষা করা হচ্ছে', 17 | cancel: 'বাতিল করা', 18 | deleteText: 'পাঠ মুছে দিন', 19 | deleting: 'মুছে ফেলা হচ্ছে', 20 | error: 'ভুল', 21 | close: 'ঘনিষ্ঠ', 22 | cannotLoadOptionsFor: 'বিকল্প বোঝাই করা যাবে না', 23 | pagingInfo: 'পত্রাঙ্ক তথ্য', 24 | canNotDeletedRecords: 'তথ্য মুছে ফেলা যাবে না', 25 | deleteProggress: 'অগ্রগতি মুছে ফেলা', 26 | pageSizeChangeLabel: 'পাতার আয়তন পরিবর্তন মোড়ক', 27 | gotoPageLabel: 'পাতা মোড়কে যান' 28 | }); 29 | 30 | })(jQuery); 31 | -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/localization/jquery.jtable.ca.js: -------------------------------------------------------------------------------- 1 | /* 2 | jTable localization file for 'Catalan' language. 3 | Author: Manel Zaera 4 | */ 5 | (function ($) { 6 | 7 | $.extend(true, $.hik.jtable.prototype.options.messages, { 8 | serverCommunicationError: 'Ha hagut un error en la comunicació amb el servidor.', 9 | loadingMessage: 'Carregant registres...', 10 | noDataAvailable: 'No hi ha dades disponibles', 11 | addNewRecord: 'Crea un nou registre', 12 | editRecord: 'Edita registre', 13 | areYouSure: 'Esteu segur?', 14 | deleteConfirmation: 'El registre s\'eliminarà. Esteu segur?', 15 | save: 'Desa', 16 | saving: 'Desant', 17 | cancel: 'Cancel·a', 18 | deleteText: 'Elimina', 19 | deleting: 'Eliminant', 20 | error: 'Error', 21 | close: 'Tanca', 22 | cannotLoadOptionsFor: 'No es poden carregar les opcions per al camp {0}', 23 | pagingInfo: 'Visualitzant registres {0} a {1} de {2}', 24 | canNotDeletedRecords: 'No es pot(den) eliminar registre(s) {0} de {1}', 25 | deleteProggress: 'Eliminant {0} de {1} registres...', 26 | pageSizeChangeLabel: 'Registres per pàgina', 27 | gotoPageLabel: 'Ves a la pàgina' 28 | }); 29 | 30 | })(jQuery); 31 | -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/localization/jquery.jtable.cz.js: -------------------------------------------------------------------------------- 1 | /* 2 | jTable localization file for 'Czech' language. 3 | Author: Jakub Stajner 4 | */ 5 | (function ($) { 6 | 7 | $.extend(true, $.hik.jtable.prototype.options.messages, { 8 | serverCommunicationError: 'Chyba připojení k serveru.', 9 | loadingMessage: 'Načítám...', 10 | noDataAvailable: 'Žádné záznamy', 11 | addNewRecord: 'Přidat nový záznam', 12 | editRecord: 'Upravit', 13 | areYouSure: 'Jsi si jistý?', 14 | deleteConfirmation: 'Opravdu smazat?', 15 | save: 'Uložit', 16 | saving: 'Ukládám...', 17 | cancel: 'Zrušit', 18 | deleteText: 'Smazat', 19 | deleting: 'Mažu...', 20 | error: 'Chyba', 21 | close: 'Zavřít', 22 | cannotLoadOptionsFor: 'Nastavení pro {0} nelze načíst', 23 | pagingInfo: 'Zobrazeno {0} - {1} z {2}', 24 | canNotDeletedRecords: '{0} z {1} záznamů nemohlo být odstraněno!', 25 | deleteProggress: 'Odstraňuje se {0} z {1} ...', 26 | pageSizeChangeLabel: 'Záznamů na stránku', 27 | gotoPageLabel: 'Jdi na stránku' 28 | }); 29 | 30 | })(jQuery); 31 | -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/localization/jquery.jtable.de.js: -------------------------------------------------------------------------------- 1 | /* 2 | jTable localization file for 'German' language. 3 | Author: Max Grass 4 | */ 5 | (function ($) { 6 | 7 | $.extend(true, $.hik.jtable.prototype.options.messages, { 8 | serverCommunicationError: 'Bei der Verbindung mit dem Server ist ein Fehler aufgetreten.', 9 | loadingMessage: 'Wird geladen...', 10 | noDataAvailable: 'Keine Einträge', 11 | addNewRecord: 'Neuen Eintrag hinzufügen', 12 | editRecord: 'Bearbeiten', 13 | areYouSure: 'Sicher?', 14 | deleteConfirmation: 'Eintrag wirklich löschen?', 15 | save: 'Speichern', 16 | saving: 'Wird gespeichert...', 17 | cancel: 'Abbrechen', 18 | deleteText: 'Löschen', 19 | deleting: 'Wird gelöscht...', 20 | error: 'Fehler', 21 | close: 'Schließen', 22 | cannotLoadOptionsFor: 'Die Einstellungen für {0} konnten nicht geladen werden', 23 | pagingInfo: '{0} - {1} von {2} wird angezeigt', 24 | canNotDeletedRecords: '{0} von {1} Einträge konnten nicht gelöscht werden!', 25 | deleteProggress: '{0} von {1} wird gelöscht...', 26 | pageSizeChangeLabel: 'Anzahl der Einträge', 27 | gotoPageLabel: 'Auf der Seite' 28 | }); 29 | 30 | })(jQuery); 31 | -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/localization/jquery.jtable.es.js: -------------------------------------------------------------------------------- 1 | /* 2 | jTable localization file for 'Spanish' language. 3 | Author: Guillermo Bisheimer 4 | */ 5 | (function ($) { 6 | 7 | $.extend(true, $.hik.jtable.prototype.options.messages, { 8 | serverCommunicationError: 'Ocurrió un error en la comunicación con el servidor.', 9 | loadingMessage: 'Cargando registros...', 10 | noDataAvailable: 'No hay datos disponibles!', 11 | addNewRecord: 'Crear nuevo registro', 12 | editRecord: 'Editar registro', 13 | areYouSure: '¿Está seguro?', 14 | deleteConfirmation: 'El registro será eliminado. ¿Está seguro?', 15 | save: 'Guardar', 16 | saving: 'Guardando', 17 | cancel: 'Cancelar', 18 | deleteText: 'Eliminar', 19 | deleting: 'Eliminando', 20 | error: 'Error', 21 | close: 'Cerrar', 22 | cannotLoadOptionsFor: 'No se pueden cargar las opciones para el campo {0}', 23 | pagingInfo: 'Mostrando registros {0} a {1} de {2}', 24 | canNotDeletedRecords: 'No se puede borrar registro(s) {0} de {1}!', 25 | deleteProggress: 'Eliminando {0} de {1} registros, procesando...', 26 | pageSizeChangeLabel: 'Registros por página', 27 | gotoPageLabel: 'Ir a página' 28 | }); 29 | 30 | })(jQuery); 31 | -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/localization/jquery.jtable.fa.js: -------------------------------------------------------------------------------- 1 | /* 2 | jTable localization file for 'Persian (Farsi)' language. 3 | Author: Ehsan Chavoshi 4 | */ 5 | (function ($) { 6 | 7 | $.extend(true, $.hik.jtable.prototype.options.messages, { 8 | serverCommunicationError: 'خطا در برقراری ارتباط با سرور!', 9 | loadingMessage: 'بارگزاری اطلاعات ...', 10 | noDataAvailable: 'هیچ داده ای موجود نیست!!', 11 | addNewRecord: 'رکورد جدید' 12 | editRecord: 'ویرایش' 13 | areYouSure: 'آیا اطمینان دارید ؟', 14 | deleteConfirmation: 'این از حذف این رکورد اطمینان دارید ؟', 15 | save: 'ذخیره', 16 | saving: 'در حال ذخیره', 17 | cancel: 'انصراف', 18 | deleteText: 'حذف', 19 | deleting: 'در حال حذف', 20 | error: 'خطا', 21 | close: 'بستن', 22 | cannotLoadOptionsFor: 'امکان بارگذاری انتخابها نیست برای فیلد {0}' 23 | pagingInfo: 'نمایش {0}-{1} از {2}', 24 | canNotDeletedRecords: 'نمیتوان {0} از {1} رکورد را حذف کرد!', 25 | deleteProggress: 'حذف {0} از {1} رکورد,در حال پردازش ...' 26 | pageSizeChangeLabel: 'تعداد خطوط', 27 | gotoPageLabel: 'برو به صفحه' 28 | }); 29 | 30 | })(jQuery); 31 | -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/localization/jquery.jtable.fr.js: -------------------------------------------------------------------------------- 1 | /* 2 | jTable localization file for 'French' language. 3 | Author: Guillaume Vernet 4 | */ 5 | (function ($) { 6 | 7 | $.extend(true, $.hik.jtable.prototype.options.messages, { 8 | serverCommunicationError: 'Erreur de communication avec le serveur.', 9 | loadingMessage: 'Chargement des données...', 10 | noDataAvailable: 'Aucune donnée !', 11 | addNewRecord: 'Ajouter', 12 | editRecord: 'Editer', 13 | areYouSure: 'Etes-vous sûr ?', 14 | deleteConfirmation: 'Cet enregistrement sera supprimé. Continuer ?', 15 | save: 'Sauvegarder', 16 | saving: 'Sauvegarde en cours...', 17 | cancel: 'Annuler', 18 | deleteText: 'Supprimer', 19 | deleting: 'Supression en cours...', 20 | error: 'Erreur', 21 | close: 'Fermer', 22 | cannotLoadOptionsFor: 'Impossible de charger les données du champ {0}', 23 | pagingInfo: 'Afficher {0} à {1} de {2}', 24 | canNotDeletedRecords: 'Impossible de supprimer {0} sur {1} enregistrement(s)!', 25 | deleteProggress: 'Supression {0} sur {1} enregistrement(s), en cours d\'exécution...', 26 | pageSizeChangeLabel: 'Nombre d\'enregistrement', 27 | gotoPageLabel: 'Aller à la page' 28 | }); 29 | 30 | })(jQuery); 31 | -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/localization/jquery.jtable.hr.js: -------------------------------------------------------------------------------- 1 | /* 2 | jTable localization file for 'Croatian' language. 3 | Author: Nikola Novak 4 | */ 5 | (function ($) { 6 | 7 | $.extend(true, $.hik.jtable.prototype.options.messages, { 8 | serverCommunicationError: 'Greška prilikom komunikacije sa serverom.', 9 | loadingMessage: 'Učitavanje zapisa...', 10 | noDataAvailable: 'Nema dostupnih podataka', 11 | addNewRecord: 'Dodaj zapis', 12 | editRecord: 'Izmijeni zapis', 13 | areYouSure: 'Jeste li sigurni?', 14 | deleteConfirmation: 'Jeste li sigurni da želite obrisati ovaj zapis?', 15 | save: 'Spremi', 16 | saving: 'Spremanje', 17 | cancel: 'Odustani', 18 | deleteText: 'Obriši', 19 | deleting: 'Brisanje', 20 | error: 'Greška', 21 | close: 'Zatvori', 22 | cannotLoadOptionsFor: 'Ne mogu se učitati opcije za polje {0}', 23 | pagingInfo: 'Prikazuje se {0}-{1} od {2}', 24 | pageSizeChangeLabel: 'Broj zapisa', 25 | gotoPageLabel: 'Idi na stranicu', 26 | canNotDeletedRecords: 'Nije bilo moguće obrisati {0} od {1} zapisa!', 27 | deleteProggress: 'Obrisano {0} od {1} zapisa, u tijeku...' 28 | }); 29 | 30 | })(jQuery); -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/localization/jquery.jtable.hu.js: -------------------------------------------------------------------------------- 1 | /* 2 | jTable localization file for 'Hungarian' language. 3 | Author: Erik Berman 4 | */ 5 | (function ($) { 6 | 7 | $.extend(true, $.hik.jtable.prototype.options.messages, { 8 | serverCommunicationError: 'Adatbázis hiba', 9 | loadingMessage: 'Adatok betöltése...', 10 | noDataAvailable: 'Nincs elérhető adat!', 11 | addNewRecord: '+ Új hozzáadása', 12 | editRecord: 'Módosít', 13 | areYouSure: 'Biztos benne?', 14 | deleteConfirmation: 'Az adat véglegesen törlődik. Biztos benne?', 15 | save: 'Mentés', 16 | saving: 'Mentés', 17 | cancel: 'Mégse', 18 | deleteText: 'Töröl', 19 | deleting: 'Törlés', 20 | error: 'Hiba', 21 | close: 'Bezár', 22 | cannotLoadOptionsFor: '{0} mező opciói nem elérhetőek!', 23 | pagingInfo: 'Megjelenítve: {0} - {1} / Összesen: {2}', 24 | canNotDeletedRecords: '{1} tételből {0} nem törölhető!', 25 | deleteProggress: '{1} tételből {0} törölve, feldolgozás...', 26 | pageSizeChangeLabel: 'Row count', //New. Must be localized. 27 | gotoPageLabel: 'Go to page' //New. Must be localized. 28 | }); 29 | 30 | })(jQuery); 31 | -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/localization/jquery.jtable.id.js: -------------------------------------------------------------------------------- 1 | /* 2 | jTable localization file for 'Bahasa (Indonesian)' language. 3 | Author: Heribertus Kristianto 4 | Author: Willy Sudiarto Raharjo 5 | */ 6 | (function ($) { 7 | 8 | $.extend(true, $.hik.jtable.prototype.options.messages, { 9 | serverCommunicationError: 'Gagal terhubung ke server.', 10 | loadingMessage: 'Proses membaca data...', 11 | noDataAvailable: 'Data tidak tersedia', 12 | addNewRecord: 'Tambah Data Baru', 13 | editRecord: 'Ubah data', 14 | areYouSure: 'Apakah Anda yakin?', 15 | deleteConfirmation: 'Data akan dihapus, apakah Anda yakin?', 16 | save: 'Simpan', 17 | saving: 'Menyimpan...', 18 | cancel: 'Batal', 19 | deleteText: 'Hapus', 20 | deleting: 'Menghapus...', 21 | error: 'Kesalahan', 22 | close: 'Tutup', 23 | cannotLoadOptionsFor: 'Tidak dapat membaca opsi untuk kolom {0}', 24 | pagingInfo: 'Menampilkan {0}-{1} dari {2}', 25 | canNotDeletedRecords: 'Gagal menghapus {0} dari {1} data!', 26 | deleteProggress: 'Menghapus {0} dari {1} data, memproses...', 27 | pageSizeChangeLabel: 'Jumlah data', 28 | gotoPageLabel: 'Ke halaman' 29 | }); 30 | 31 | })(jQuery); 32 | -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/localization/jquery.jtable.it.js: -------------------------------------------------------------------------------- 1 | /* 2 | jTable localization file for 'Italian' language. 3 | Author: Mauro Rulli 4 | */ 5 | (function ($) { 6 | 7 | $.extend(true, $.hik.jtable.prototype.options.messages, { 8 | serverCommunicationError: 'Si è verificato un errore di comunicazione con il server.', 9 | loadingMessage: 'Caricamento dei record...', 10 | noDataAvailable: 'Non ci sono dati disponibili!', 11 | addNewRecord: '+ Crea un nuovo record', 12 | editRecord: 'Modifica record', 13 | areYouSure: 'Sei sicuro?', 14 | deleteConfirmation: 'Il record verrà eliminato. Sei sicuro?', 15 | save: 'Salva', 16 | saving: 'Salvataggio', 17 | cancel: 'Annulla', 18 | deleteText: 'Elimina', 19 | deleting: 'Eliminazione', 20 | error: 'Errore', 21 | close: 'Chiudi', 22 | cannotLoadOptionsFor: 'Opzioni non disponibili per il campo {0}', 23 | pagingInfo: 'Visualizzazione record da {0} a {1} su {2}', 24 | canNotDeletedRecords: 'Impossibile eliminare il record {0} di {1}!', 25 | deleteProggress: 'Eliminazione di {0} di {1} record in corso...', 26 | pageSizeChangeLabel: 'Righe per pagina', 27 | gotoPageLabel: 'Vai alla pagina' 28 | }); 29 | 30 | })(jQuery); -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/localization/jquery.jtable.lt.js: -------------------------------------------------------------------------------- 1 | /* 2 | jTable localization file for 'Lithuanian' language. 3 | Author: Vygandas Šimkus 4 | */ 5 | (function ($) { 6 | 7 | $.extend(true, $.hik.jtable.prototype.options.messages, { 8 | serverCommunicationError: 'Klaida bandant susisiekti su serveriu.', 9 | loadingMessage: 'Informacija kraunama...', 10 | noDataAvailable: 'Nėra duomenų!', 11 | addNewRecord: '+ Pridėti naują', 12 | editRecord: 'Redaguoti', 13 | areYouSure: 'Ar tikrai?', 14 | deleteConfirmation: 'Įrašas bus ištrintas. Ar tęsti?', 15 | save: 'Išsaugoti', 16 | saving: 'Saugojama', 17 | cancel: 'Atšaukti', 18 | deleteText: 'Ištrinti', 19 | deleting: 'Trinama', 20 | error: 'Klaida', 21 | close: 'Uždaryti', 22 | cannotLoadOptionsFor: 'Nepavyko užkrauti "{0}" pasirinkimo!', 23 | pagingInfo: '{0}-{1} iš {2}', 24 | canNotDeletedRecords: 'Nepavyko pašalinti {0} iš {1} įrašų!', 25 | deleteProggress: 'Šalinamas {0} iš {1} įrašų, prašome palaukti...', 26 | pageSizeChangeLabel: 'Row count', //New. Must be localized. 27 | gotoPageLabel: 'Go to page' //New. Must be localized. 28 | }); 29 | 30 | })(jQuery); -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/localization/jquery.jtable.nl-NL.js: -------------------------------------------------------------------------------- 1 | /* 2 | jTable localization file for 'Dutch - The Netherlands' language. 3 | Author: Bert Janssen 4 | */ 5 | (function ($) { 6 | 7 | $.extend(true, $.hik.jtable.prototype.options.messages, { 8 | serverCommunicationError: 'Fout bij het communiceren met de server', 9 | loadingMessage: 'Laden...', 10 | noDataAvailable: 'Geen gegevens beschikbaar!', 11 | addNewRecord: '+ Toevoegen', 12 | editRecord: 'Bewerken', 13 | areYouSure: 'Weet u het zeker?', 14 | deleteConfirmation: 'Gegevens verwijderen?', 15 | save: 'Opslaan', 16 | saving: 'Gegevens opslaan', 17 | cancel: 'Annuleren', 18 | deleteText: 'Wissen', 19 | deleting: 'Gegevens wissen', 20 | error: 'Er is een fout opgetreden!', 21 | close: 'Sluiten', 22 | cannotLoadOptionsFor: 'Kan de instellingen voor {0} niet laden', 23 | pagingInfo: 'Pagina {0} tot {1} van {2}', 24 | canNotDeletedRecords: 'Kan gegevens {0} van {1} niet wissen!', 25 | deleteProggress: 'Gegevens {0} van {1} wissen...', 26 | pageSizeChangeLabel: 'Row count', //New. Must be localized. 27 | gotoPageLabel: 'Go to page' //New. Must be localized. 28 | }); 29 | 30 | })(jQuery); 31 | -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/localization/jquery.jtable.no.js: -------------------------------------------------------------------------------- 1 | /* 2 | jTable localization file for 'Norwegian' language. 3 | Author: Tobias Flatin 4 | */ 5 | (function ($) { 6 | 7 | $.extend(true, $.hik.jtable.prototype.options.messages, { 8 | serverCommunicationError: 'En feil oppsto i kommunikasjonen med serveren.', 9 | loadingMessage: 'Laster...', 10 | noDataAvailable: 'Ingen data', 11 | addNewRecord: 'Legg til ny post', 12 | editRecord: 'Rediger post', 13 | areYouSure: 'Er du sikker?', 14 | deleteConfirmation: 'Denne posten kommer å slettes. Er du sikker?', 15 | save: 'Lagre', 16 | saving: 'Lagrer...', 17 | cancel: 'Avbryt', 18 | deleteText: 'Slett', 19 | deleting: 'Sletter...', 20 | error: 'Feil', 21 | close: 'Lukk', 22 | cannotLoadOptionsFor: 'Kan ikke laste alternativ for felt {0}', 23 | pagingInfo: 'Visar {0} - {1} av {2}', 24 | canNotDeletedRecords: 'Kan ikke slette {0} av {1} poster!', 25 | deleteProggress: 'Slettet {0} av {1} poster, bearbeider...', 26 | pageSizeChangeLabel: 'Antall poster per side', 27 | gotoPageLabel: 'Gå till side' 28 | }); 29 | 30 | })(jQuery); -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/localization/jquery.jtable.pl.js: -------------------------------------------------------------------------------- 1 | /* 2 | jTable localization file for 'Polish' language. 3 | Author: Grzegorz Zbucki 4 | */ 5 | (function ($) { 6 | 7 | $.extend(true, $.hik.jtable.prototype.options.messages, { 8 | serverCommunicationError: 'Wystąpił błąd komunikacji z serwerem.', 9 | loadingMessage: 'Ładowanie...', 10 | noDataAvailable: 'Brak rekordów!', 11 | addNewRecord: '+ Dodaj nowy wpis', 12 | editRecord: 'Edytuj', 13 | areYouSure: 'Czy jesteś tego pewien?', 14 | deleteConfirmation: 'Ten wpis zostanie usunięty. Kontynuować?', 15 | save: 'Zapisz', 16 | saving: 'Zapisywanie', 17 | cancel: 'Anuluj', 18 | deleteText: 'Usuń', 19 | deleting: 'Usuwanie', 20 | error: 'Błąd', 21 | close: 'Zamknij', 22 | cannotLoadOptionsFor: 'Nie można wczytać opcji dla pola {0}!', 23 | pagingInfo: 'Wyświetlanie od {0} do {1} z {2} rekordów', 24 | canNotDeletedRecords: 'Nie można usunąć {0} z {1} rekordów!', 25 | deleteProggress: 'Usunięto {0} z {1} rekordów, Trwa usuwanie...', 26 | pageSizeChangeLabel: 'Liczba rekordów', 27 | gotoPageLabel: 'Idź do strony' 28 | }); 29 | 30 | })(jQuery); 31 | -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/localization/jquery.jtable.pt-BR.js: -------------------------------------------------------------------------------- 1 | /* 2 | jTable localization file for 'Portuguese - Brazilian' language. 3 | Authors: Renato Bigliazzi, Paulo Soriano 4 | */ 5 | (function ($) { 6 | 7 | $.extend(true, $.hik.jtable.prototype.options.messages, { 8 | serverCommunicationError: 'Erro ao tentar conexão com o servidor.', 9 | loadingMessage: 'Carregando registros...', 10 | noDataAvailable: 'Não existem dados a serem exibidos no momento!', 11 | addNewRecord: '+ Adicionar novo registro', 12 | editRecord: 'Editar registro', 13 | areYouSure: 'Você tem certeza ?', 14 | deleteConfirmation: 'Este registro será excluído. Confirmar ?', 15 | save: 'Salvar', 16 | saving: 'Salvando...', 17 | cancel: 'Cancelar', 18 | deleteText: 'Excluir', 19 | deleting: 'Excluindo...', 20 | error: 'Erro', 21 | close: 'Fechar', 22 | cannotLoadOptionsFor: 'Não foi possível carregar opções para o campo {0}!', 23 | pagingInfo: 'Exibindo registros {0} a {1} de {2}', 24 | canNotDeletedRecords: 'Não foi possível excluir registro(s) {0} de {1}!', 25 | deleteProggress: 'Excluindo {0} de {1} registros, processando...', 26 | pageSizeChangeLabel: 'Linhas', 27 | gotoPageLabel: 'Ir para página' 28 | }); 29 | 30 | })(jQuery); 31 | -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/localization/jquery.jtable.pt-PT.js: -------------------------------------------------------------------------------- 1 | /* 2 | jTable localization file for 'Portuguese - Portugal' language. 3 | */ 4 | (function ($) { 5 | 6 | $.extend(true, $.hik.jtable.prototype.options.messages, { 7 | serverCommunicationError: 'Erro na ligação ao servidor.', 8 | loadingMessage: 'A ler dados ...', 9 | noDataAvailable: 'Não existem dados!', 10 | addNewRecord: 'Novo', 11 | editRecord: 'Editar', 12 | areYouSure: 'Tem a certeza?', 13 | deleteConfirmation: 'Confirma eliminação?', 14 | save: 'Salvar', 15 | saving: 'A salvar ...', 16 | cancel: 'Cancelar', 17 | deleteText: 'Eliminar', 18 | deleting: 'A eliminar ...', 19 | error: 'Erro', 20 | close: 'Fechar', 21 | cannotLoadOptionsFor: 'Não foi possivel carregar opções para o campo {0}!', 22 | pagingInfo: 'Registos {0} a {1} de {2}', 23 | canNotDeletedRecords: 'Não foi possível eliminar o(s) registo(s) {0} de {1}!', 24 | deleteProggress: 'A eliminar {0} de {1} registos ...', 25 | pageSizeChangeLabel: 'Linhas', 26 | gotoPageLabel: 'Ir para a página' 27 | }); 28 | 29 | })(jQuery); 30 | -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/localization/jquery.jtable.ro.js: -------------------------------------------------------------------------------- 1 | /* 2 | jTable localization file for 'Romanian' language. 3 | Author: Cristian CIOFU 4 | */ 5 | (function ($) { 6 | 7 | $.extend(true, $.hik.jtable.prototype.options.messages, { 8 | serverCommunicationError: 'Eroare la comunicarea cu serverul.', 9 | loadingMessage: 'Încãrcare date...', 10 | noDataAvailable: 'Nu existã înregistrãri !', 11 | addNewRecord: 'Adauga', 12 | editRecord: 'Editare', 13 | areYouSure: 'Sunteti sigur ?', 14 | deleteConfirmation: 'Înregistrarea va fi ştearsã. Continuaţi ?', 15 | save: 'Salveaza', 16 | saving: 'Salvare in curs...', 17 | cancel: 'Anuleaza', 18 | deleteText: 'Sterge', 19 | deleting: 'Stergere in curs...', 20 | error: 'Eroare', 21 | close: 'Inchide', 22 | cannotLoadOptionsFor: 'Imposibil de încãrcat datele câmpului {0}', 23 | pagingInfo: 'Înregistrarile {0} - {1} din {2}', 24 | canNotDeletedRecords: 'Imposibil de şters {0} din {1} înregistrãri!', 25 | deleteProggress: 'Ştergere: {0} din {1} înregistrãri, în curs de execuţie...', 26 | pageSizeChangeLabel: 'Numãr de înregistrãri', 27 | gotoPageLabel: 'Mergi la pagina' 28 | }); 29 | 30 | })(jQuery); 31 | -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/localization/jquery.jtable.ru.js: -------------------------------------------------------------------------------- 1 | /* 2 | jTable localization file for 'Russian' language. 3 | Author: Stanislav Reznikov 4 | Updated: Andrei Lukovenko 5 | */ 6 | (function ($) { 7 | 8 | $.extend(true, $.hik.jtable.prototype.options.messages, { 9 | serverCommunicationError: 'Ошибка связи с сервером.', 10 | loadingMessage: 'Загрузка...', 11 | noDataAvailable: 'Данные отсутствуют', 12 | addNewRecord: 'Добавить', 13 | editRecord: 'Изменить', 14 | areYouSure: 'Вы уверены?', 15 | deleteConfirmation: 'Удалить запись?', 16 | save: 'Сохранить', 17 | saving: 'Сохранение...', 18 | cancel: 'Отмена', 19 | deleteText: 'Удалить', 20 | deleting: 'Удаление...', 21 | error: 'Ошибка', 22 | close: 'Закрыть', 23 | cannotLoadOptionsFor: 'Невозможно загрузить варианты для поля {0}', 24 | pagingInfo: 'Записи с {0} по {1} из {2}', 25 | canNotDeletedRecords: 'Невозможно удалить записи: {0} из {1}!', 26 | deleteProggress: 'Удаление {0} из {1} записей...', 27 | pageSizeChangeLabel: 'Строк', 28 | gotoPageLabel: 'На страницу' 29 | }); 30 | 31 | })(jQuery); 32 | -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/localization/jquery.jtable.se.js: -------------------------------------------------------------------------------- 1 | /* 2 | jTable localization file for 'Swedish' language. 3 | Author: Mikael Holgersson 4 | */ 5 | (function ($) { 6 | 7 | $.extend(true, $.hik.jtable.prototype.options.messages, { 8 | serverCommunicationError: 'Ett fel uppstod i kommunikationen med servern.', 9 | loadingMessage: 'Laddar...', 10 | noDataAvailable: 'Data saknas', 11 | addNewRecord: 'Lägg till ny post', 12 | editRecord: 'Redigera post', 13 | areYouSure: 'Är du säker?', 14 | deleteConfirmation: 'Denna posten kommer att raderas. Är du säker?', 15 | save: 'Spara', 16 | saving: 'Sparar...', 17 | cancel: 'Avbryt', 18 | deleteText: 'Radera', 19 | deleting: 'Raderar...', 20 | error: 'Fel', 21 | close: 'Stäng', 22 | cannotLoadOptionsFor: 'Kan inte ladda alternativ för fält {0}', 23 | pagingInfo: 'Visar {0} - {1} av {2}', 24 | canNotDeletedRecords: 'Kan inte radera {0} av {1} poster!', 25 | deleteProggress: 'Raderat {0} av {1} poster, bearbetar...', 26 | pageSizeChangeLabel: 'Antal poster per sida', 27 | gotoPageLabel: 'Gå till sida' 28 | }); 29 | 30 | })(jQuery); 31 | -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/localization/jquery.jtable.tr.js: -------------------------------------------------------------------------------- 1 | /* 2 | jTable localization file for 'Turkish' language. 3 | Author: Halil İbrahim Kalkan 4 | */ 5 | (function ($) { 6 | 7 | $.extend(true, $.hik.jtable.prototype.options.messages, { 8 | serverCommunicationError: 'Sunucu ile iletişim kurulurken bir hata oluştu.', 9 | loadingMessage: 'Kayıtlar yükleniyor...', 10 | noDataAvailable: 'Hiç kayıt bulunmamaktadır!', 11 | addNewRecord: 'Yeni kayıt ekle', 12 | editRecord: 'Kayıt düzenle', 13 | areYouSure: 'Emin misiniz?', 14 | deleteConfirmation: 'Bu kayıt silinecektir. Emin misiniz?', 15 | save: 'Kaydet', 16 | saving: 'Kaydediyor', 17 | cancel: 'İptal', 18 | deleteText: 'Sil', 19 | deleting: 'Siliyor', 20 | error: 'Hata', 21 | close: 'Kapat', 22 | cannotLoadOptionsFor: '{0} alanı için seçenekler yüklenemedi!', 23 | pagingInfo: 'Görterilen: {0}-{1}, Toplam: {2}', 24 | canNotDeletedRecords: '{1} kayıttan {0} adedi silinemedi!', 25 | deleteProggress: '{1} kayıttan {0} adedi silindi, devam ediliyor...', 26 | pageSizeChangeLabel: 'Satır sayısı', 27 | gotoPageLabel: 'Sayfaya git' 28 | }); 29 | 30 | })(jQuery); -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/localization/jquery.jtable.vi.js: -------------------------------------------------------------------------------- 1 | /* 2 | jTable localization file for 'Vietnamese' language. 3 | Author: Lê Hoàng Hiếu 4 | */ 5 | (function ($) { 6 | $.extend(true, $.hik.jtable.prototype.options.messages, { 7 | serverCommunicationError: 'Có lỗi khi giao tiếp với máy chủ.', 8 | loadingMessage: 'Đang tải dữ liệu...', 9 | noDataAvailable: 'Không có dữ liệu!', 10 | addNewRecord: '+ Thêm dữ liệu', 11 | editRecord: 'Chỉnh sửa', 12 | areYouSure: 'Bạn có chắc không?', 13 | deleteConfirmation: 'Dữ liệu này sẽ bị xóa! Bạn có chắc không?', 14 | save: 'Lưu', 15 | saving: 'Đang lưu', 16 | cancel: 'Hủy', 17 | deleteText: 'Xóa', 18 | deleting: 'Đang xóa', 19 | error: 'Lỗi', 20 | close: 'Đóng', 21 | cannotLoadOptionsFor: 'Không thể tải các tùy chọn cho trường {0}!', 22 | pagingInfo: 'Hiện từ {0} đến {1} của {2} bản ghi', 23 | canNotDeletedRecords: 'Không thể xóa {0} bản ghi của {1} bản ghi!', 24 | deleteProggress: 'Đã xóa được {0} của {1} bản ghi. Đang xử lý...', 25 | pageSizeChangeLabel: 'Số bản ghi', //New. Must be localized. 26 | gotoPageLabel: 'Tới trang' //New. Must be localized. 27 | }); 28 | })(jQuery); 29 | -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/localization/jquery.jtable.zh-CN.js: -------------------------------------------------------------------------------- 1 | /* 2 | jTable localization file for 'Chinese' language. 3 | Author: monkeycraps 4 | */ 5 | (function ($) { 6 | 7 | $.extend(true, $.hik.jtable.prototype.options.messages, { 8 | serverCommunicationError: '服务器请求错误。', 9 | loadingMessage: '加载中...', 10 | noDataAvailable: '没有数据!', 11 | addNewRecord: '+ 新建', 12 | editRecord: '编辑', 13 | areYouSure: '确定?', 14 | deleteConfirmation: '确定删除这行数据?', 15 | save: '保存', 16 | saving: '保存中', 17 | cancel: '取消', 18 | deleteText: '删除', 19 | deleting: '删除中', 20 | error: '错误', 21 | close: '关闭', 22 | cannotLoadOptionsFor: '无法加载对象属性 {0}', 23 | pagingInfo: '显示 {0} 至 {1} 共 {2}', 24 | canNotDeletedRecords: '删除失败 {0} 至 {1}!', 25 | deleteProggress: '正在删除 {0} 至 {1} 记录, 进心中...', 26 | pageSizeChangeLabel: 'Row count', //New. Must be localized. 27 | gotoPageLabel: 'Go to page' //New. Must be localized. 28 | }); 29 | 30 | })(jQuery); 31 | -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/basic/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/logging-log4j-audit/f56a72d86fc77d7ad78447458a72d85554f0fb4f/log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/basic/close.png -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/basic/column-asc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/logging-log4j-audit/f56a72d86fc77d7ad78447458a72d85554f0fb4f/log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/basic/column-asc.png -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/basic/column-desc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/logging-log4j-audit/f56a72d86fc77d7ad78447458a72d85554f0fb4f/log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/basic/column-desc.png -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/basic/column-sortable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/logging-log4j-audit/f56a72d86fc77d7ad78447458a72d85554f0fb4f/log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/basic/column-sortable.png -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/basic/delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/logging-log4j-audit/f56a72d86fc77d7ad78447458a72d85554f0fb4f/log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/basic/delete.png -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/basic/edit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/logging-log4j-audit/f56a72d86fc77d7ad78447458a72d85554f0fb4f/log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/basic/edit.png -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/jqueryui/add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/logging-log4j-audit/f56a72d86fc77d7ad78447458a72d85554f0fb4f/log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/jqueryui/add.png -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/jqueryui/bg-thead.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/logging-log4j-audit/f56a72d86fc77d7ad78447458a72d85554f0fb4f/log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/jqueryui/bg-thead.png -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/jqueryui/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/logging-log4j-audit/f56a72d86fc77d7ad78447458a72d85554f0fb4f/log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/jqueryui/close.png -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/jqueryui/column-asc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/logging-log4j-audit/f56a72d86fc77d7ad78447458a72d85554f0fb4f/log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/jqueryui/column-asc.png -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/jqueryui/column-desc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/logging-log4j-audit/f56a72d86fc77d7ad78447458a72d85554f0fb4f/log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/jqueryui/column-desc.png -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/jqueryui/column-sortable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/logging-log4j-audit/f56a72d86fc77d7ad78447458a72d85554f0fb4f/log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/jqueryui/column-sortable.png -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/jqueryui/delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/logging-log4j-audit/f56a72d86fc77d7ad78447458a72d85554f0fb4f/log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/jqueryui/delete.png -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/jqueryui/edit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/logging-log4j-audit/f56a72d86fc77d7ad78447458a72d85554f0fb4f/log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/jqueryui/edit.png -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/jqueryui/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/logging-log4j-audit/f56a72d86fc77d7ad78447458a72d85554f0fb4f/log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/jqueryui/loading.gif -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/lightcolor/add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/logging-log4j-audit/f56a72d86fc77d7ad78447458a72d85554f0fb4f/log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/lightcolor/add.png -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/lightcolor/bg-thead.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/logging-log4j-audit/f56a72d86fc77d7ad78447458a72d85554f0fb4f/log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/lightcolor/bg-thead.png -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/lightcolor/blue/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/logging-log4j-audit/f56a72d86fc77d7ad78447458a72d85554f0fb4f/log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/lightcolor/blue/loading.gif -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/lightcolor/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/logging-log4j-audit/f56a72d86fc77d7ad78447458a72d85554f0fb4f/log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/lightcolor/close.png -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/lightcolor/column-asc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/logging-log4j-audit/f56a72d86fc77d7ad78447458a72d85554f0fb4f/log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/lightcolor/column-asc.png -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/lightcolor/column-desc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/logging-log4j-audit/f56a72d86fc77d7ad78447458a72d85554f0fb4f/log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/lightcolor/column-desc.png -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/lightcolor/column-sortable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/logging-log4j-audit/f56a72d86fc77d7ad78447458a72d85554f0fb4f/log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/lightcolor/column-sortable.png -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/lightcolor/delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/logging-log4j-audit/f56a72d86fc77d7ad78447458a72d85554f0fb4f/log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/lightcolor/delete.png -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/lightcolor/edit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/logging-log4j-audit/f56a72d86fc77d7ad78447458a72d85554f0fb4f/log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/lightcolor/edit.png -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/lightcolor/gray/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/logging-log4j-audit/f56a72d86fc77d7ad78447458a72d85554f0fb4f/log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/lightcolor/gray/loading.gif -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/lightcolor/green/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/logging-log4j-audit/f56a72d86fc77d7ad78447458a72d85554f0fb4f/log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/lightcolor/green/loading.gif -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/lightcolor/orange/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/logging-log4j-audit/f56a72d86fc77d7ad78447458a72d85554f0fb4f/log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/lightcolor/orange/loading.gif -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/lightcolor/red/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/logging-log4j-audit/f56a72d86fc77d7ad78447458a72d85554f0fb4f/log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/lightcolor/red/loading.gif -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/metro/add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/logging-log4j-audit/f56a72d86fc77d7ad78447458a72d85554f0fb4f/log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/metro/add.png -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/metro/blue/jtable.less: -------------------------------------------------------------------------------- 1 | /* jTable metro style theme - Blue 2 | * Created by Halil İbrahim Kalkan 3 | * http://www.jtable.org 4 | */ 5 | 6 | @import "../jtable_metro_base.less"; 7 | 8 | @theme-folder: 'blue'; 9 | @main-theme-color: #2D89EF; 10 | 11 | .jtable_metro_base(@theme-folder, @main-theme-color); -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/metro/blue/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/logging-log4j-audit/f56a72d86fc77d7ad78447458a72d85554f0fb4f/log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/metro/blue/loading.gif -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/metro/brown/jtable.less: -------------------------------------------------------------------------------- 1 | /* jTable metro style theme - Brown 2 | * Created by Halil İbrahim Kalkan 3 | * http://www.jtable.org 4 | */ 5 | 6 | @import "../jtable_metro_base.less"; 7 | 8 | @theme-folder:'brown'; 9 | @main-theme-color: #835a2c; 10 | 11 | .jtable_metro_base(@theme-folder, @main-theme-color); -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/metro/brown/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/logging-log4j-audit/f56a72d86fc77d7ad78447458a72d85554f0fb4f/log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/metro/brown/loading.gif -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/metro/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/logging-log4j-audit/f56a72d86fc77d7ad78447458a72d85554f0fb4f/log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/metro/close.png -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/metro/column-asc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/logging-log4j-audit/f56a72d86fc77d7ad78447458a72d85554f0fb4f/log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/metro/column-asc.png -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/metro/column-desc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/logging-log4j-audit/f56a72d86fc77d7ad78447458a72d85554f0fb4f/log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/metro/column-desc.png -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/metro/column-sortable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/logging-log4j-audit/f56a72d86fc77d7ad78447458a72d85554f0fb4f/log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/metro/column-sortable.png -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/metro/crimson/jtable.less: -------------------------------------------------------------------------------- 1 | /* jTable metro style theme - Crimson 2 | * Created by Halil İbrahim Kalkan 3 | * http://www.jtable.org 4 | */ 5 | 6 | @import "../jtable_metro_base.less"; 7 | 8 | @theme-folder:'crimson'; 9 | @main-theme-color: #c30000; 10 | 11 | .jtable_metro_base(@theme-folder, @main-theme-color); -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/metro/crimson/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/logging-log4j-audit/f56a72d86fc77d7ad78447458a72d85554f0fb4f/log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/metro/crimson/loading.gif -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/metro/darkgray/jtable.less: -------------------------------------------------------------------------------- 1 | /* jTable metro style theme - Dark gray 2 | * Created by Halil İbrahim Kalkan 3 | * http://www.jtable.org 4 | */ 5 | 6 | @import "../jtable_metro_base.less"; 7 | 8 | @theme-folder:'darkgray'; 9 | @main-theme-color: #454545; 10 | 11 | .jtable_metro_base(@theme-folder, @main-theme-color); -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/metro/darkgray/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/logging-log4j-audit/f56a72d86fc77d7ad78447458a72d85554f0fb4f/log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/metro/darkgray/loading.gif -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/metro/darkorange/jtable.less: -------------------------------------------------------------------------------- 1 | /* jTable metro style theme - Dark orange 2 | * Created by Halil İbrahim Kalkan 3 | * http://www.jtable.org 4 | */ 5 | 6 | @import "../jtable_metro_base.less"; 7 | 8 | @theme-folder:'darkorange'; 9 | @main-theme-color: #da532c; 10 | 11 | .jtable_metro_base(@theme-folder, @main-theme-color); -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/metro/darkorange/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/logging-log4j-audit/f56a72d86fc77d7ad78447458a72d85554f0fb4f/log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/metro/darkorange/loading.gif -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/metro/delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/logging-log4j-audit/f56a72d86fc77d7ad78447458a72d85554f0fb4f/log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/metro/delete.png -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/metro/edit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/logging-log4j-audit/f56a72d86fc77d7ad78447458a72d85554f0fb4f/log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/metro/edit.png -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/metro/green/jtable.less: -------------------------------------------------------------------------------- 1 | /* jTable metro style theme - Green 2 | * Created by Halil İbrahim Kalkan 3 | * http://www.jtable.org 4 | */ 5 | 6 | @import "../jtable_metro_base.less"; 7 | 8 | @theme-folder:'green'; 9 | @main-theme-color: #00a300; 10 | 11 | .jtable_metro_base(@theme-folder, @main-theme-color); -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/metro/green/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/logging-log4j-audit/f56a72d86fc77d7ad78447458a72d85554f0fb4f/log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/metro/green/loading.gif -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/metro/lightgray/jtable.less: -------------------------------------------------------------------------------- 1 | /* jTable metro style theme - Light gray 2 | * Created by Halil İbrahim Kalkan 3 | * http://www.jtable.org 4 | */ 5 | 6 | @import "../jtable_metro_base.less"; 7 | 8 | @theme-folder:'lightgray'; 9 | @main-theme-color: #707070; 10 | 11 | .jtable_metro_base(@theme-folder, @main-theme-color); -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/metro/lightgray/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/logging-log4j-audit/f56a72d86fc77d7ad78447458a72d85554f0fb4f/log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/metro/lightgray/loading.gif -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/metro/pink/jtable.less: -------------------------------------------------------------------------------- 1 | /* jTable metro style theme - Pink 2 | * Created by Halil İbrahim Kalkan 3 | * http://www.jtable.org 4 | */ 5 | 6 | @import "../jtable_metro_base.less"; 7 | 8 | @theme-folder:'pink'; 9 | @main-theme-color: #9f00a7; 10 | 11 | .jtable_metro_base(@theme-folder, @main-theme-color); -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/metro/pink/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/logging-log4j-audit/f56a72d86fc77d7ad78447458a72d85554f0fb4f/log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/metro/pink/loading.gif -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/metro/purple/jtable.less: -------------------------------------------------------------------------------- 1 | /* jTable metro style theme - Purple 2 | * Created by Halil İbrahim Kalkan 3 | * http://www.jtable.org 4 | */ 5 | 6 | @import "../jtable_metro_base.less"; 7 | 8 | @theme-folder:'purple'; 9 | @main-theme-color: #603cba; 10 | 11 | .jtable_metro_base(@theme-folder, @main-theme-color); -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/metro/purple/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/logging-log4j-audit/f56a72d86fc77d7ad78447458a72d85554f0fb4f/log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/metro/purple/loading.gif -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/metro/red/jtable.less: -------------------------------------------------------------------------------- 1 | /* jTable metro style theme - Red 2 | * Created by Halil İbrahim Kalkan 3 | * http://www.jtable.org 4 | */ 5 | 6 | @import "../jtable_metro_base.less"; 7 | 8 | @theme-folder:'red'; 9 | @main-theme-color: #e51400; 10 | 11 | .jtable_metro_base(@theme-folder, @main-theme-color); -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/metro/red/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/logging-log4j-audit/f56a72d86fc77d7ad78447458a72d85554f0fb4f/log4j-catalog/log4j-catalog-editor/src/main/resources/static/js/jtable/themes/metro/red/loading.gif -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/main/resources/templates/template.html: -------------------------------------------------------------------------------- 1 | 17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 31 |
32 | 33 |
34 |
35 | Copyright © 2017 The Apache Software Foundation. All Rights Reserved. 36 |
37 |
38 |
39 | 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-editor/src/site/markdown/index.md: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | # Log4j Audit Catalog Editor 20 | 21 | The Log4j Audit Catalog Editor module generates the web application used to edit the Log4j Audit Catalog. 22 | 23 | ## Requirements 24 | 25 | Log4j Audit requires Java 8. -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-git/src/main/java/org/apache/logging/log4j/catalog/git/config/ServiceConfig.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to you under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | package org.apache.logging.log4j.catalog.git.config; 18 | 19 | import org.springframework.context.annotation.Configuration; 20 | 21 | @Configuration 22 | public class ServiceConfig {} 23 | -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-git/src/main/java/org/apache/logging/log4j/catalog/git/config/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2001-2005 The Apache Software Foundation. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | /** 17 | * Git configuration classes. 18 | */ 19 | package org.apache.logging.log4j.catalog.git.config; 20 | -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-git/src/main/java/org/apache/logging/log4j/catalog/git/dao/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2001-2005 The Apache Software Foundation. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | /** 17 | * DAOs to access the Catalog in GIT. 18 | */ 19 | package org.apache.logging.log4j.catalog.git.dao; 20 | -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-git/src/main/java/org/apache/logging/log4j/catalog/git/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2001-2005 The Apache Software Foundation. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | /** 17 | * Catalog storage and retrieval in GIT. 18 | */ 19 | package org.apache.logging.log4j.catalog.git; 20 | -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-git/src/site/markdown/index.md: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | # Log4j Audit Catalog Git DAO 20 | 21 | This module provides the DAO used to retrieve and store the JSON catalog in a Git repository. 22 | 23 | ## Requirements 24 | 25 | Log4j Audit requires Java 8. -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-jpa/src/main/java/org/apache/logging/log4j/catalog/jpa/config/DataSourceConfig.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to you under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | package org.apache.logging.log4j.catalog.jpa.config; 18 | 19 | import javax.sql.DataSource; 20 | 21 | /** 22 | * Create the DataSource. 23 | */ 24 | public interface DataSourceConfig { 25 | 26 | DataSource dataSource(); 27 | } 28 | -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-jpa/src/main/java/org/apache/logging/log4j/catalog/jpa/config/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2001-2005 The Apache Software Foundation. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | /** 17 | * Configuration for JPA access to catalog. 18 | */ 19 | package org.apache.logging.log4j.catalog.jpa.config; 20 | -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-jpa/src/main/java/org/apache/logging/log4j/catalog/jpa/converter/DataTypeConverter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to you under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | package org.apache.logging.log4j.catalog.jpa.converter; 18 | 19 | import javax.persistence.AttributeConverter; 20 | import javax.persistence.Converter; 21 | import org.apache.logging.log4j.catalog.api.DataType; 22 | 23 | /** 24 | * Converter to convert between a DataType and a String. 25 | */ 26 | @Converter(autoApply = true) 27 | public class DataTypeConverter implements AttributeConverter { 28 | @Override 29 | public String convertToDatabaseColumn(DataType value) { 30 | return value != null ? value.getTypeName() : null; 31 | } 32 | 33 | @Override 34 | public DataType convertToEntityAttribute(String value) { 35 | return DataType.fromName(value); 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-jpa/src/main/java/org/apache/logging/log4j/catalog/jpa/converter/DateTimeConverter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to you under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | package org.apache.logging.log4j.catalog.jpa.converter; 18 | 19 | import java.sql.Timestamp; 20 | import java.time.LocalDateTime; 21 | import javax.persistence.AttributeConverter; 22 | import javax.persistence.Converter; 23 | 24 | /** 25 | * Utility class to convert LocalDate to DB timestamp and vice versa. 26 | */ 27 | @Converter(autoApply = true) 28 | public class DateTimeConverter implements AttributeConverter { 29 | 30 | @Override 31 | public Timestamp convertToDatabaseColumn(LocalDateTime localDateTime) { 32 | return localDateTime == null ? null : Timestamp.valueOf(localDateTime); 33 | } 34 | 35 | @Override 36 | public LocalDateTime convertToEntityAttribute(Timestamp timestamp) { 37 | return timestamp == null ? null : timestamp.toLocalDateTime(); 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-jpa/src/main/java/org/apache/logging/log4j/catalog/jpa/converter/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2001-2005 The Apache Software Foundation. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | /** 17 | * Catalog converters. 18 | */ 19 | package org.apache.logging.log4j.catalog.jpa.converter; 20 | -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-jpa/src/main/java/org/apache/logging/log4j/catalog/jpa/dao/AttributeRepository.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to you under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | package org.apache.logging.log4j.catalog.jpa.dao; 18 | 19 | import org.apache.logging.log4j.catalog.jpa.model.AttributeModel; 20 | 21 | public interface AttributeRepository extends PagingAndSortingRepository {} 22 | -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-jpa/src/main/java/org/apache/logging/log4j/catalog/jpa/dao/CatalogRepository.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to you under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | package org.apache.logging.log4j.catalog.jpa.dao; 18 | 19 | import org.apache.logging.log4j.catalog.jpa.model.CatalogModel; 20 | 21 | public interface CatalogRepository extends BaseRepository {} 22 | -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-jpa/src/main/java/org/apache/logging/log4j/catalog/jpa/dao/CategoryRepository.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to you under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | package org.apache.logging.log4j.catalog.jpa.dao; 18 | 19 | import java.util.Optional; 20 | import org.apache.logging.log4j.catalog.jpa.model.CategoryModel; 21 | 22 | public interface CategoryRepository extends PagingAndSortingRepository { 23 | Optional findByName(String name); 24 | } 25 | -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-jpa/src/main/java/org/apache/logging/log4j/catalog/jpa/dao/ConstraintRepository.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to you under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | package org.apache.logging.log4j.catalog.jpa.dao; 18 | 19 | import org.apache.logging.log4j.catalog.jpa.model.ConstraintModel; 20 | 21 | public interface ConstraintRepository extends BaseRepository {} 22 | -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-jpa/src/main/java/org/apache/logging/log4j/catalog/jpa/dao/EventRepository.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to you under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | package org.apache.logging.log4j.catalog.jpa.dao; 18 | 19 | import org.apache.logging.log4j.catalog.jpa.model.EventModel; 20 | 21 | public interface EventRepository extends PagingAndSortingRepository {} 22 | -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-jpa/src/main/java/org/apache/logging/log4j/catalog/jpa/dao/PagingAndSortingRepository.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to you under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | package org.apache.logging.log4j.catalog.jpa.dao; 18 | 19 | import java.io.Serializable; 20 | import java.util.List; 21 | import java.util.Optional; 22 | import org.springframework.data.domain.Page; 23 | import org.springframework.data.domain.Pageable; 24 | import org.springframework.data.domain.Sort; 25 | import org.springframework.data.repository.NoRepositoryBean; 26 | 27 | @NoRepositoryBean 28 | public interface PagingAndSortingRepository extends BaseRepository { 29 | 30 | Iterable findAll(Sort sort); 31 | 32 | Page findAll(Pageable pageable); 33 | 34 | List findByCatalogId(String catalogId); 35 | 36 | Page findByCatalogId(String catalogId, Pageable pageable); 37 | 38 | Optional findByCatalogIdAndName(String catalogId, String name); 39 | } 40 | -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-jpa/src/main/java/org/apache/logging/log4j/catalog/jpa/dao/ProductRepository.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to you under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | package org.apache.logging.log4j.catalog.jpa.dao; 18 | 19 | import org.apache.logging.log4j.catalog.jpa.model.ProductModel; 20 | 21 | public interface ProductRepository extends PagingAndSortingRepository {} 22 | -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-jpa/src/main/java/org/apache/logging/log4j/catalog/jpa/dao/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2001-2005 The Apache Software Foundation. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | /** 17 | * Catalog data access objects. 18 | */ 19 | package org.apache.logging.log4j.catalog.jpa.dao; 20 | -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-jpa/src/main/java/org/apache/logging/log4j/catalog/jpa/model/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2001-2005 The Apache Software Foundation. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | /** 17 | * Catalog model objects. 18 | */ 19 | package org.apache.logging.log4j.catalog.jpa.model; 20 | -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-jpa/src/main/java/org/apache/logging/log4j/catalog/jpa/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2001-2005 The Apache Software Foundation. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | /** 17 | * Support storing the catalog using JPA. 18 | */ 19 | package org.apache.logging.log4j.catalog.jpa; 20 | -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-jpa/src/main/java/org/apache/logging/log4j/catalog/jpa/service/CatalogService.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to you under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | package org.apache.logging.log4j.catalog.jpa.service; 18 | 19 | import org.apache.logging.log4j.catalog.api.CatalogData; 20 | import org.apache.logging.log4j.catalog.jpa.model.CatalogModel; 21 | 22 | /** 23 | * Catalog Service methods. 24 | */ 25 | public interface CatalogService { 26 | CatalogData getCatalogData(); 27 | 28 | CatalogModel getCatalogModel(); 29 | 30 | void saveCatalog(CatalogModel catalogModel); 31 | } 32 | -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-jpa/src/main/java/org/apache/logging/log4j/catalog/jpa/service/ConstraintService.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to you under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | package org.apache.logging.log4j.catalog.jpa.service; 18 | 19 | import java.util.List; 20 | import java.util.Optional; 21 | import java.util.Set; 22 | import org.apache.logging.log4j.catalog.jpa.model.ConstraintModel; 23 | 24 | /** 25 | * 26 | */ 27 | public interface ConstraintService { 28 | Set getConstraintTypes(); 29 | 30 | List getConstraints(); 31 | 32 | Optional getConstraint(Long constraintId); 33 | 34 | ConstraintModel saveConstraint(ConstraintModel constraint); 35 | 36 | void deleteConstraint(Long constraintId); 37 | } 38 | -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-jpa/src/main/java/org/apache/logging/log4j/catalog/jpa/service/ProductService.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to you under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | package org.apache.logging.log4j.catalog.jpa.service; 18 | 19 | import java.util.List; 20 | import java.util.Optional; 21 | import org.apache.logging.log4j.catalog.jpa.model.ProductModel; 22 | 23 | public interface ProductService { 24 | List getProducts(int startPage, int itemsPerPage, String sortColumn, String direction); 25 | 26 | List getProducts( 27 | String catalogId, int startPage, int itemsPerPage, String sortColumn, String direction); 28 | 29 | List getProducts(); 30 | 31 | List getProducts(String catalogId); 32 | 33 | Optional getProduct(Long productId); 34 | 35 | Optional getProduct(String catalogId, String name); 36 | 37 | ProductModel saveProduct(ProductModel product); 38 | 39 | void deleteProduct(Long productId); 40 | } 41 | -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-jpa/src/test/java/org/apache/logging/log4j/catalog/jpa/config/ApplicationConfiguration.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one or more 3 | * contributor license agreements. See the NOTICE file distributed with 4 | * this work for additional information regarding copyright ownership. 5 | * The ASF licenses this file to you under the Apache License, Version 2.0 6 | * (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | package org.apache.logging.log4j.catalog.jpa.config; 18 | 19 | import org.apache.logging.log4j.catalog.jpa.service.CatalogService; 20 | import org.apache.logging.log4j.catalog.jpa.service.CatalogServiceImpl; 21 | import org.springframework.context.annotation.Bean; 22 | import org.springframework.context.annotation.ComponentScan; 23 | import org.springframework.context.annotation.Configuration; 24 | import org.springframework.context.annotation.Import; 25 | 26 | @Configuration 27 | @ComponentScan(basePackages = {"org.apache.logging.log4j.catalog"}) 28 | @Import(HibernateConfig.class) 29 | public class ApplicationConfiguration { 30 | @Bean 31 | public CatalogService catalogService() { 32 | return new CatalogServiceImpl(); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /log4j-catalog/log4j-catalog-jpa/src/test/resources/sql/hsql/afterTestRun.sql: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2001-2005 The Apache Software Foundation. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | DELETE FROM PRODUCT_EVENTS; 17 | DELETE FROM CATEGORY_EVENTS; 18 | DELETE FROM EVENT_ATTRIBUTES; 19 | DELETE FROM CATALOG_PRODUCT; 20 | DELETE FROM CATALOG_CATEGORY; 21 | DELETE FROM CATALOG_EVENT; 22 | DELETE FROM ATTRIBUTE_CONSTRAINT; 23 | DELETE FROM ATTRIBUTE_EXAMPLES; 24 | DELETE FROM EVENT_ATTRIBUTE; 25 | -------------------------------------------------------------------------------- /src/changelog/.1.x.x/update_apache_logging_parent.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | Update `apache/logging-parent` to version `` 8 | 9 | -------------------------------------------------------------------------------- /src/changelog/.1.x.x/update_com_ethlo_persistence_tools_eclipselink_maven_plugin.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | Update `com.ethlo.persistence.tools:eclipselink-maven-plugin` to version `2.7.9.1` 7 | 8 | -------------------------------------------------------------------------------- /src/changelog/.1.x.x/update_com_fasterxml_jackson_core_jackson_databind.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | Update `com.fasterxml.jackson.core:jackson-databind` to version `2.12.7.1` 9 | 10 | -------------------------------------------------------------------------------- /src/changelog/.1.x.x/update_com_google_guava_guava.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | Update `com.google.guava:guava` to version `33.1.0-jre` 8 | 9 | -------------------------------------------------------------------------------- /src/changelog/.1.x.x/update_com_google_jimfs_jimfs.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | Update `com.google.jimfs:jimfs` to version `1.3.0` 8 | 9 | -------------------------------------------------------------------------------- /src/changelog/.1.x.x/update_commons_beanutils_commons_beanutils.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | Update `commons-beanutils:commons-beanutils` to version `1.9.4` 8 | 9 | -------------------------------------------------------------------------------- /src/changelog/.1.x.x/update_commons_codec_commons_codec.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | Update `commons-codec:commons-codec` to version `1.16.1` 8 | 9 | -------------------------------------------------------------------------------- /src/changelog/.1.x.x/update_commons_io_commons_io.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | Update `commons-io:commons-io` to version `2.16.1` 8 | 9 | -------------------------------------------------------------------------------- /src/changelog/.1.x.x/update_commons_logging_commons_logging.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | Update `commons-logging:commons-logging` to version `1.3.1` 8 | 9 | -------------------------------------------------------------------------------- /src/changelog/.1.x.x/update_commons_validator_commons_validator.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | Update `commons-validator:commons-validator` to version `1.8.0` 8 | 9 | -------------------------------------------------------------------------------- /src/changelog/.1.x.x/update_io_springfox_springfox_swagger2.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | Update `io.springfox:springfox-swagger2` to version `2.10.5` 8 | 9 | -------------------------------------------------------------------------------- /src/changelog/.1.x.x/update_io_swagger_swagger_annotations.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | Update `io.swagger:swagger-annotations` to version `1.6.14` 8 | 9 | -------------------------------------------------------------------------------- /src/changelog/.1.x.x/update_javax_cache_cache_api.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | Update `javax.cache:cache-api` to version `1.1.1` 8 | 9 | -------------------------------------------------------------------------------- /src/changelog/.1.x.x/update_javax_javaee_api.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | Update `javax:javaee-api` to version `8.0.1` 8 | 9 | -------------------------------------------------------------------------------- /src/changelog/.1.x.x/update_javax_servlet_javax_servlet_api.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | Update `javax.servlet:javax.servlet-api` to version `4.0.1` 8 | 9 | -------------------------------------------------------------------------------- /src/changelog/.1.x.x/update_junit_junit.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | Update `junit:junit` to version `4.13.2` 9 | 10 | -------------------------------------------------------------------------------- /src/changelog/.1.x.x/update_net_sf_jopt_simple_jopt_simple.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | Update `net.sf.jopt-simple:jopt-simple` to version `5.0.4` 8 | 9 | -------------------------------------------------------------------------------- /src/changelog/.1.x.x/update_nz_net_ultraq_thymeleaf_thymeleaf_layout_dialect.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | Update `nz.net.ultraq.thymeleaf:thymeleaf-layout-dialect` to version `3.3.0` 8 | 9 | -------------------------------------------------------------------------------- /src/changelog/.1.x.x/update_org_apache_commons_commons_lang3.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | Update `org.apache.commons:commons-lang3` to version `3.14.0` 8 | 9 | -------------------------------------------------------------------------------- /src/changelog/.1.x.x/update_org_apache_httpcomponents_httpclient.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | Update `org.apache.httpcomponents:httpclient` to version `4.5.14` 8 | 9 | -------------------------------------------------------------------------------- /src/changelog/.1.x.x/update_org_apache_logging_log4j_log4j_core.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | Update `org.apache.logging.log4j:log4j-core` to version `2.17.1` 9 | 10 | -------------------------------------------------------------------------------- /src/changelog/.1.x.x/update_org_apache_logging_logging_parent.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | Update `org.apache.logging:logging-parent` to version `10.6.0` 8 | 9 | -------------------------------------------------------------------------------- /src/changelog/.1.x.x/update_org_apache_maven_maven_artifact.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | Update `org.apache.maven:maven-artifact` to version `3.9.6` 8 | 9 | -------------------------------------------------------------------------------- /src/changelog/.1.x.x/update_org_apache_maven_maven_model.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | Update `org.apache.maven:maven-model` to version `3.9.6` 8 | 9 | -------------------------------------------------------------------------------- /src/changelog/.1.x.x/update_org_apache_maven_maven_plugin_api.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | Update `org.apache.maven:maven-plugin-api` to version `3.9.6` 8 | 9 | -------------------------------------------------------------------------------- /src/changelog/.1.x.x/update_org_apache_maven_plugin_tools_maven_plugin_annotations.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | Update `org.apache.maven.plugin-tools:maven-plugin-annotations` to version `3.11.0` 8 | 9 | -------------------------------------------------------------------------------- /src/changelog/.1.x.x/update_org_apache_maven_plugin_tools_maven_plugin_tools_api.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | Update `org.apache.maven.plugin-tools:maven-plugin-tools-api` to version `3.11.0` 8 | 9 | -------------------------------------------------------------------------------- /src/changelog/.1.x.x/update_org_apache_maven_wagon_wagon_ssh.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | Update `org.apache.maven.wagon:wagon-ssh` to version `3.5.3` 8 | 9 | -------------------------------------------------------------------------------- /src/changelog/.1.x.x/update_org_aspectj_aspectjweaver.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | Update `org.aspectj:aspectjweaver` to version `1.9.22` 8 | 9 | -------------------------------------------------------------------------------- /src/changelog/.1.x.x/update_org_checkerframework_checker_qual.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | Update `org.checkerframework:checker-qual` to version `3.42.0` 8 | 9 | -------------------------------------------------------------------------------- /src/changelog/.1.x.x/update_org_codehaus_plexus_plexus_utils.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | Update `org.codehaus.plexus:plexus-utils` to version `4.0.1` 8 | 9 | -------------------------------------------------------------------------------- /src/changelog/.1.x.x/update_org_easymock_easymock.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | Update `org.easymock:easymock` to version `5.2.0` 8 | 9 | -------------------------------------------------------------------------------- /src/changelog/.1.x.x/update_org_eclipse_jgit_org_eclipse_jgit.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | Update `org.eclipse.jgit:org.eclipse.jgit` to version `6.9.0.202403050737-r` 8 | 9 | -------------------------------------------------------------------------------- /src/changelog/.1.x.x/update_org_eclipse_jgit_org_eclipse_jgit_ssh_jsch.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | Update `org.eclipse.jgit:org.eclipse.jgit.ssh.jsch` to version `6.7.0.202309050840-r` 8 | 9 | -------------------------------------------------------------------------------- /src/changelog/.1.x.x/update_org_eclipse_persistence_org_eclipse_persistence_jpa.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | Update `org.eclipse.persistence:org.eclipse.persistence.jpa` to version `2.7.14` 8 | 9 | -------------------------------------------------------------------------------- /src/changelog/.1.x.x/update_org_hibernate_hibernate_core.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | Update `org.hibernate:hibernate-core` to version `5.6.15.Final` 9 | 10 | -------------------------------------------------------------------------------- /src/changelog/.1.x.x/update_org_hsqldb_hsqldb.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | Update `org.hsqldb:hsqldb` to version `2.7.2` 8 | 9 | -------------------------------------------------------------------------------- /src/changelog/.1.x.x/update_org_json_json.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | Update `org.json:json` to version `20240303` 8 | 9 | -------------------------------------------------------------------------------- /src/changelog/.1.x.x/update_org_mockito_mockito_core.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | Update `org.mockito:mockito-core` to version `5.11.0` 8 | 9 | -------------------------------------------------------------------------------- /src/changelog/.1.x.x/update_org_modelmapper_extensions_modelmapper_jackson.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | Update `org.modelmapper.extensions:modelmapper-jackson` to version `3.2.0` 8 | 9 | -------------------------------------------------------------------------------- /src/changelog/.1.x.x/update_org_modelmapper_extensions_modelmapper_spring.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | Update `org.modelmapper.extensions:modelmapper-spring` to version `3.2.0` 8 | 9 | -------------------------------------------------------------------------------- /src/changelog/.1.x.x/update_org_modelmapper_modelmapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | Update `org.modelmapper:modelmapper` to version `3.2.0` 8 | 9 | -------------------------------------------------------------------------------- /src/changelog/.1.x.x/update_org_postgresql_postgresql.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | Update `org.postgresql:postgresql` to version `42.7.3` 8 | 9 | -------------------------------------------------------------------------------- /src/changelog/.1.x.x/update_org_springframework_boot_spring_boot_dependencies.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | Update `org.springframework.boot:spring-boot-dependencies` to version `2.7.18` 8 | 9 | -------------------------------------------------------------------------------- /src/changelog/.1.x.x/upgrade_spring-framework-bom.xml: -------------------------------------------------------------------------------- 1 | 2 | 18 | 22 | 23 | 24 | Upgrade Spring Framework to version 5.3.30 and Spring Boot to version 2.7.17. 25 | 26 | 27 | -------------------------------------------------------------------------------- /src/site/markdown/changelog.md: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | # Release Changelog 20 | 21 | [JIRA-generated changelog](jira-report.html) 22 | 23 | [Manual change log](changes-report.html) 24 | 25 | -------------------------------------------------------------------------------- /src/site/resources/images/IntelliJ-IDEA-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/logging-log4j-audit/f56a72d86fc77d7ad78447458a72d85554f0fb4f/src/site/resources/images/IntelliJ-IDEA-logo.png -------------------------------------------------------------------------------- /src/site/resources/images/YourKitLogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/logging-log4j-audit/f56a72d86fc77d7ad78447458a72d85554f0fb4f/src/site/resources/images/YourKitLogo.png -------------------------------------------------------------------------------- /src/site/resources/images/attributes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/logging-log4j-audit/f56a72d86fc77d7ad78447458a72d85554f0fb4f/src/site/resources/images/attributes.png -------------------------------------------------------------------------------- /src/site/resources/images/collapsed.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/logging-log4j-audit/f56a72d86fc77d7ad78447458a72d85554f0fb4f/src/site/resources/images/collapsed.gif -------------------------------------------------------------------------------- /src/site/resources/images/events.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/logging-log4j-audit/f56a72d86fc77d7ad78447458a72d85554f0fb4f/src/site/resources/images/events.png -------------------------------------------------------------------------------- /src/site/resources/images/expanded.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/logging-log4j-audit/f56a72d86fc77d7ad78447458a72d85554f0fb4f/src/site/resources/images/expanded.gif -------------------------------------------------------------------------------- /src/site/resources/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/logging-log4j-audit/f56a72d86fc77d7ad78447458a72d85554f0fb4f/src/site/resources/images/logo.png -------------------------------------------------------------------------------- /src/site/resources/images/ls-logo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/logging-log4j-audit/f56a72d86fc77d7ad78447458a72d85554f0fb4f/src/site/resources/images/ls-logo.jpg -------------------------------------------------------------------------------- /src/site/resources/images/maven-feather.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/logging-log4j-audit/f56a72d86fc77d7ad78447458a72d85554f0fb4f/src/site/resources/images/maven-feather.png -------------------------------------------------------------------------------- /src/site/resources/images/request-context.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/logging-log4j-audit/f56a72d86fc77d7ad78447458a72d85554f0fb4f/src/site/resources/images/request-context.png -------------------------------------------------------------------------------- /src/site/resources/img/glyphicons-halflings-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/logging-log4j-audit/f56a72d86fc77d7ad78447458a72d85554f0fb4f/src/site/resources/img/glyphicons-halflings-white.png -------------------------------------------------------------------------------- /src/site/resources/img/glyphicons-halflings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/logging-log4j-audit/f56a72d86fc77d7ad78447458a72d85554f0fb4f/src/site/resources/img/glyphicons-halflings.png --------------------------------------------------------------------------------