Skip to content
Merged

0.3.9 #2150

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
f34f57d
- TurFileAttributes
alegauss Sep 7, 2024
5dcb04c
- OCR: Metadata and Title
alegauss Sep 7, 2024
1154f8e
Rename local variables to match camelCase. Remove () in (filter) -> ...
gLeirbag Sep 10, 2024
224af1c
Merge pull request #2127 from openturing/sonar/sprinklr/body-filter
alegauss Sep 10, 2024
02f71d6
- aem-app with export
alegauss Sep 12, 2024
a9e3a79
Merge branch '0.3.9' of https://github.com/openturing/turing into 0.3.9
alegauss Sep 12, 2024
c62e7b1
- .gitignore files
alegauss Sep 12, 2024
f8b9a70
- AEM: Export persistence
alegauss Sep 14, 2024
0ed58a1
Bump the react group in /turing-react with 7 updates
dependabot[bot] Sep 16, 2024
77edadf
Bump the java group with 3 updates
dependabot[bot] Sep 16, 2024
df6db4d
Bump the angular group in /turing-ui with 17 updates
dependabot[bot] Sep 16, 2024
7b89ba6
- OCR: URL
alegauss Sep 16, 2024
3d55e80
Update TurClientOcrSample.java
alegauss Sep 16, 2024
e245db2
Merge pull request #2132 from openturing/dependabot/npm_and_yarn/turi…
alegauss Sep 16, 2024
fcbc59c
Update pom.xml
alegauss Sep 16, 2024
e8c1971
Merge pull request #2131 from openturing/dependabot/maven/0.3.9/java-…
alegauss Sep 17, 2024
1eedf9e
Merge pull request #2130 from openturing/dependabot/npm_and_yarn/turi…
alegauss Sep 17, 2024
c5c4ce7
- UI: typescript 5.5.4
alegauss Sep 17, 2024
fa8f91c
Merge branch '0.3.9' into feature/ocr-metadata
alegauss Sep 17, 2024
fd54598
- Ocr: Code Smells
alegauss Sep 17, 2024
511e15d
- OCR Client: Timeout
alegauss Sep 17, 2024
9cb50a3
- OCR: Reused HttpClient Pooling
alegauss Sep 17, 2024
f5a42c4
- OCR Sample: Parameters
alegauss Sep 17, 2024
b095d13
- OCR: isValidUrl
alegauss Sep 17, 2024
608d383
- OCR: TurFileAttributes Builder
alegauss Sep 17, 2024
212ed8a
Merge pull request #2134 from openturing/feature/ocr-metadata
alegauss Sep 17, 2024
9ed8d03
add comments to various files
gLeirbag Sep 10, 2024
9ad9349
creates FileAsset and FileAssetsExtractor class
gLeirbag Sep 16, 2024
dd912b5
minor refactor in TurSprinklrProcess
gLeirbag Sep 16, 2024
abc1185
- Connector and removed sonar duplicated configuration
alegauss Sep 17, 2024
df59fda
updates FileAssetsExtractor to use last ocr API.
gLeirbag Sep 17, 2024
6b79a53
change attributeName and add comments
gLeirbag Sep 17, 2024
60f0ba0
- Connector was fixed
alegauss Sep 17, 2024
dbc3937
refactors FileExtractor logic to use TurFileAttributes.
gLeirbag Sep 17, 2024
ab6f28e
Merge pull request #2136 from openturing/sprinklr/asset
alegauss Sep 19, 2024
1f39284
- OCR: isValidUrl fixed URL and better validation of file
alegauss Sep 19, 2024
d9a4219
- OCR: DublinCore.MODIFIED
alegauss Sep 19, 2024
c067507
- Sprinklr: Alter Logs in Asset Extractor
gLeirbag Sep 20, 2024
9de481c
- New Asset Cache, file-attachment test, improve error treatment
gLeirbag Sep 20, 2024
1badddd
Bump the react group in /turing-react with 2 updates
dependabot[bot] Sep 23, 2024
2f0ce44
Bump the java group with 6 updates
dependabot[bot] Sep 23, 2024
299a782
Bump the angular group in /turing-ui with 16 updates
dependabot[bot] Sep 23, 2024
e8fbb6d
- App: TurSNFieldName
alegauss Sep 23, 2024
afcbbe2
- SNFieldNames
alegauss Sep 23, 2024
6145778
- Merge 0.3.9 into asset-refactor
gLeirbag Sep 23, 2024
e4756a7
Merge pull request #2144 from openturing/dependabot/npm_and_yarn/turi…
alegauss Sep 24, 2024
df70b37
Merge pull request #2145 from openturing/dependabot/maven/0.3.9/java-…
alegauss Sep 24, 2024
9004e18
Merge pull request #2146 from openturing/dependabot/npm_and_yarn/turi…
alegauss Sep 24, 2024
8628780
Merge pull request #2148 from openturing/sprinklr/asset-refactor
alegauss Sep 24, 2024
9feb8a1
dependabot ignores apache nutch updates
alegauss Sep 24, 2024
1cb8633
- dependabot ignores typescript
alegauss Sep 24, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ updates:
interval: "weekly"
target-branch: "0.3.9"
open-pull-requests-limit: 15
ignore:
- dependency-name: "org.apache.nutch:nutch"
groups:
java:
applies-to: version-updates
Expand All @@ -23,6 +25,8 @@ updates:
interval: "weekly"
target-branch: "0.3.9"
open-pull-requests-limit: 15
ignore:
- dependency-name: "typescript"
groups:
angular:
applies-to: version-updates
Expand Down
8 changes: 0 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,3 @@ hs_err_pid*

.flattened-pom.xml
dependency-reduced-pom.xml
/turing-aem/aem-web-indexer/src/main/resources/customer/
/turing-aem/aem-web-indexer/store/db/
/turing-aem/aem-web-indexer/store/logs/
/turing-web-crawler/wc-app/store/
/turing-web-crawler/wc-commons/target/
/turing-sprinklr/store/
/turing-sprinklr/sprinklr-commons/target/
/turing-sprinklr/sprinklr-java-sdk/target/
4 changes: 2 additions & 2 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Viglet Team <opensource@viglet.com>
:organization: Viglet Turing
:toclevels: 5
:toc-title: Table of Content
:viglet-version: 0.3.7
:viglet-version: 0.3.9

[preface]
image:https://img.shields.io/badge/Download-Release%20{viglet-version}-blue?style=for-the-badge&logo=Java[link="https://viglet.com/turing/download/"]
Expand Down Expand Up @@ -33,7 +33,7 @@ To run Turing ES, just execute the following lines:
# Turing App
mvn -Dmaven.repo.local=D:\repo spring-boot:run -pl turing-app -Dskip.npm
# New Turing ES UI using Angular 12 and Primer CSS.
# New Turing ES UI using Angular 18 and Primer CSS.
cd turing-ui
Expand Down
11 changes: 6 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<revision>0.3.9</revision>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<spring-boot.version>3.3.3</spring-boot.version>
<spring-boot.version>3.3.4</spring-boot.version>
<sonar.organization>viglet-turing</sonar.organization>
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
</properties>
Expand Down Expand Up @@ -74,15 +74,16 @@
<module>turing-commons</module>
<module>turing-spring</module>
<module>turing-java-sdk</module>
<module>turing-cms</module>
<module>turing-java-proxy</module>
<module>turing-connector</module>
<module>turing-filesystem</module>
<module>turing-db</module>
<module>turing-nutch</module>
<module>turing-cms</module>
<module>turing-wem</module>
<module>turing-aem</module>
<module>turing-web-crawler</module>
<module>turing-sprinklr</module>
<module>turing-java-proxy</module>
<module>turing-app</module>
</modules>
</profile>
Expand Down Expand Up @@ -157,7 +158,7 @@
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.16.1</version>
<version>2.17.0</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
Expand Down Expand Up @@ -202,7 +203,7 @@
<dependency>
<groupId>org.apache.httpcomponents.client5</groupId>
<artifactId>httpclient5</artifactId>
<version>5.3.1</version>
<version>5.4</version>
</dependency>
<dependency>
<groupId>com.jayway.jsonpath</groupId>
Expand Down
2 changes: 1 addition & 1 deletion system.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
java.runtime.version=17
java.runtime.version=21
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,6 @@ out/

### VS Code ###
.vscode/
/src/main/java/com/viglet/turing/connector/aem/indexer/onstartup/customer/
/store/
/export/
/export/
13 changes: 11 additions & 2 deletions turing-aem/aem-web-indexer/pom.xml → turing-aem/aem-app/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,23 @@
<version>${revision}</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>aem-web-indexer</artifactId>
<artifactId>aem-app</artifactId>
<version>${revision}</version>
<name>Turing AEM - Connector</name>
<description>Turing AEM Web Indexer Connector</description>
<properties>
<spring-boot.version>3.3.3</spring-boot.version>
<spring-boot.version>3.3.4</spring-boot.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>21</java.version>
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>
</properties>
<dependencies>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
Expand Down Expand Up @@ -68,6 +72,11 @@
<artifactId>cms-mapping</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.viglet.turing</groupId>
<artifactId>turing-spring</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
<dependencyManagement>
<dependencies>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,22 @@
package com.viglet.turing.connector.aem.indexer;
/*
*
* Copyright (C) 2016-2024 the original author or authors.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

package com.viglet.turing.connector.aem;

import com.fasterxml.jackson.databind.Module;
import com.fasterxml.jackson.datatype.hibernate5.jakarta.Hibernate5JakartaModule;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,22 @@
package com.viglet.turing.connector.aem.indexer;
/*
*
* Copyright (C) 2016-2024 the original author or authors.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

package com.viglet.turing.connector.aem;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
Expand All @@ -14,13 +32,13 @@
import com.viglet.turing.connector.aem.commons.TurAemCommonsUtils;
import com.viglet.turing.connector.aem.commons.context.TurAemLocalePathContext;
import com.viglet.turing.connector.aem.commons.context.TurAemSourceContext;
import com.viglet.turing.connector.aem.indexer.persistence.model.TurAemIndexing;
import com.viglet.turing.connector.aem.indexer.persistence.model.TurAemSource;
import com.viglet.turing.connector.aem.indexer.persistence.model.TurAemSystem;
import com.viglet.turing.connector.aem.indexer.persistence.repository.TurAemConfigVarRepository;
import com.viglet.turing.connector.aem.indexer.persistence.repository.TurAemIndexingRepository;
import com.viglet.turing.connector.aem.indexer.persistence.repository.TurAemSourceLocalePathRepository;
import com.viglet.turing.connector.aem.indexer.persistence.repository.TurAemSystemRepository;
import com.viglet.turing.connector.aem.persistence.model.TurAemIndexing;
import com.viglet.turing.connector.aem.persistence.model.TurAemSource;
import com.viglet.turing.connector.aem.persistence.model.TurAemSystem;
import com.viglet.turing.connector.aem.persistence.repository.TurAemConfigVarRepository;
import com.viglet.turing.connector.aem.persistence.repository.TurAemIndexingRepository;
import com.viglet.turing.connector.aem.persistence.repository.TurAemSourceLocalePathRepository;
import com.viglet.turing.connector.aem.persistence.repository.TurAemSystemRepository;
import com.viglet.turing.connector.cms.beans.TurCmsTargetAttrValueMap;
import com.viglet.turing.connector.cms.mappers.TurCmsContentDefinitionProcess;
import com.viglet.turing.connector.cms.mappers.TurCmsModel;
Expand Down Expand Up @@ -110,14 +128,9 @@ public TurAemSourceContext getTurAemSourceContext(TurAemSource turAemSource) {
return TurAemSourceContext.builder()
.group(turAemSource.getGroup())
.contentType(turAemSource.getContentType())
.defaultLocale(turAemSource.getDefaultLocale())
.rootPath(turAemSource.getRootPath())
.url(turAemSource.getUrl())
.siteName(turAemSource.getSiteName())
.subType(turAemSource.getSubType())
.turSNSite(turAemSource.getTurSNSite())
.oncePattern(turAemSource.getOncePattern())
.providerName(turAemSource.getProviderName())
.password(turAemSource.getPassword())
.urlPrefix(turAemSource.getUrlPrefix())
.username(turAemSource.getUsername())
Expand All @@ -131,7 +144,6 @@ public void run(TurAemSource turAemSource) {
log.info("This is the first time, waiting next schedule.");
} else {
log.info("Starting indexing");
turCmsContentDefinitionProcess = new TurCmsContentDefinitionProcess(turAemSource.getMappingJson());
getNodesFromJson();
deIndexObject();
updateSystemOnce();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,26 @@
package com.viglet.turing.connector.aem.indexer;
/*
*
* Copyright (C) 2016-2024 the original author or authors.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

package com.viglet.turing.connector.aem;

import com.google.inject.Inject;
import com.viglet.turing.connector.aem.commons.TurAemCommonsUtils;
import com.viglet.turing.connector.aem.indexer.persistence.repository.TurAemSourceRepository;
import com.viglet.turing.connector.aem.persistence.repository.TurAemSourceRepository;
import lombok.extern.slf4j.Slf4j;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,25 @@
package com.viglet.turing.connector.aem.indexer.api;
/*
*
* Copyright (C) 2016-2024 the original author or authors.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

package com.viglet.turing.connector.aem.api;

import com.google.inject.Inject;
import com.viglet.turing.connector.aem.indexer.persistence.repository.TurAemIndexingRepository;
import com.viglet.turing.connector.aem.persistence.repository.TurAemIndexingRepository;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.bind.annotation.GetMapping;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,27 @@
package com.viglet.turing.connector.aem.indexer.api;
/*
*
* Copyright (C) 2016-2024 the original author or authors.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

package com.viglet.turing.connector.aem.api;

import com.google.inject.Inject;
import com.viglet.turing.connector.aem.indexer.persistence.model.TurAemSource;
import com.viglet.turing.connector.aem.indexer.persistence.repository.TurAemSourceLocalePathRepository;
import com.viglet.turing.connector.aem.indexer.persistence.repository.TurAemSourceRepository;
import com.viglet.turing.connector.aem.persistence.model.TurAemSource;
import com.viglet.turing.connector.aem.persistence.repository.TurAemSourceLocalePathRepository;
import com.viglet.turing.connector.aem.persistence.repository.TurAemSourceRepository;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.transaction.annotation.Transactional;
Expand Down Expand Up @@ -59,14 +77,7 @@ public TurAemSource turAemSourceUpdate(@PathVariable String id, @RequestBody Tur
turAemSourceEdit.setUrl(turAemSource.getUrl());
turAemSourceEdit.setUsername(turAemSource.getUsername());
turAemSourceEdit.setPassword(turAemSource.getPassword());
turAemSourceEdit.setTurSNSite(turAemSource.getTurSNSite());
turAemSourceEdit.setSiteName(turAemSource.getSiteName());
turAemSourceEdit.setUrlPrefix(turAemSource.getUrlPrefix());
turAemSourceEdit.setContentType(turAemSource.getContentType());
turAemSourceEdit.setSubType(turAemSource.getSubType());
turAemSourceEdit.setDefaultLocale(turAemSource.getDefaultLocale());
turAemSourceEdit.setMappingJson(turAemSource.getMappingJson());
turAemSourceEdit.setProviderName(turAemSource.getProviderName());
turAemSourceEdit.setOncePattern(turAemSource.getOncePattern());
turAemSourceEdit.setRootPath(turAemSource.getRootPath());
turAemSourceEdit.setLocalePaths(turAemSource.getLocalePaths()
Expand Down
Loading
Loading