Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
2eef245
increase release version for next increment
bechte Jun 16, 2023
79dfe64
update documentation
bechte Jun 19, 2023
f2af266
reset version of de.undercouch.download plugin
bechte Jun 19, 2023
44096bd
resolve sonar cloud issues
bechte Jun 19, 2023
be3a679
resolve sonar cloud issues
bechte Jun 21, 2023
9712d86
update documentation
bechte Jun 21, 2023
1a5a4d8
increase usability of backoffice navigation tree
bechte Jun 30, 2023
214c2fe
wrap interceptor with try-catch to avoid errors from replication to s…
bechte Jul 4, 2023
c197cd0
add filter for customer replication service
bechte Jul 5, 2023
37978a5
add configuration parameters for Auth0
bechte Jul 7, 2023
3d9f177
remove user role if customer was disabled or removed from the platform
bechte Jul 7, 2023
20e5ac3
do not use unmodifyable set returned from models
bechte Jul 10, 2023
c30970c
avoid triggering build on all feature branches
bechte Jul 11, 2023
e97be21
remove deprecated API flags from populator
bechte Jul 18, 2023
be3cee8
optimize error messages in log file
bechte Jul 18, 2023
c714040
add missing populator to fill values of report model into data object
bechte Aug 2, 2023
b812ad2
add report download facade for downloading search results as Excel list
bechte Aug 6, 2023
4e9fb42
fix spring bean resoltion for backoffice actions
bechte Aug 11, 2023
f631d97
update README.md
bechte Sep 15, 2023
39eee5b
use fallback urls from window location for backend url
bechte Sep 18, 2023
589caf3
rework token validation to use offline validation instead of online
bechte Oct 2, 2023
2c0bc37
rework code to be backward compatible with previous java versions
bechte Oct 2, 2023
e1f477d
add missing dependency to commerceservice to sapcxreporting extension
bechte Oct 2, 2023
761a81c
add missing dependency to commercefacade to sapcxreporting extension
bechte Oct 2, 2023
ff872b2
update documentation
bechte Oct 2, 2023
9f70d24
fix sonar findings
bechte Oct 3, 2023
1f16462
change download location for artefacts
bechte Oct 3, 2023
b7c0c86
add manual trigger for all github actions
bechte Oct 3, 2023
3f3ed95
rework code to be backward compatible with previous java versions
bechte Oct 3, 2023
f6530b8
always initialize token extractor to avoid null pointer ex
bechte Oct 9, 2023
5dbff37
enable email verification by property
bechte Oct 10, 2023
55a2d10
add property verification before use
bechte Oct 10, 2023
2ccc5d4
add customer metadata mapping to Auth0
bechte Oct 11, 2023
ee809e8
remove username from customer mapping
bechte Oct 11, 2023
7236514
add custom handler for IDP initiated authentication
bechte Oct 13, 2023
720f0db
remove the user from the IdP if it doesnt exist within the system
bechte Oct 19, 2023
2af0975
fix customer replication to update existing customers
bechte Oct 19, 2023
a5ac9a5
improve solr search features
bechte Oct 31, 2023
28045fc
add support for requesting password verification
bechte Nov 12, 2023
c03d5cd
switch system setup runner to project scope with legacy support
bechte Nov 12, 2023
ae682c7
add console storage to git ignore
bechte Nov 13, 2023
b2badd8
reset backoffice configuration after system update
bechte Nov 13, 2023
c95f5ed
fix broken backward compatibility
bechte Nov 13, 2023
b59b6a9
fix broken tests due to missing dependencies
bechte Nov 13, 2023
d9d845a
update cache action in github workflows
bechte Nov 13, 2023
103ec67
add password reset action and customer replication hook
bechte Nov 30, 2023
a8145bb
fix bean configuration
bechte Nov 30, 2023
784279c
update documentation for new version
bechte Dec 1, 2023
fd8afa9
add session handling to simplify execution of code in local views
bechte Dec 8, 2023
0444d26
enhancements for local session handling
bechte Dec 11, 2023
4651889
remove unresolvable stub implementation
bechte Dec 11, 2023
fc70d47
introduce option to send reports only if they have results
bechte Dec 19, 2023
3eaa37d
update external dependencies to latest patch version
bechte Dec 19, 2023
ec27ee4
update versions of SAP Commerce
bechte Dec 19, 2023
d00b2cf
prepare release 4.2.0
bechte Dec 19, 2023
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
7 changes: 5 additions & 2 deletions .github/workflows/backwards-compatibility-java11.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,15 @@ on:
branches: [main, develop]
schedule:
- cron: "0 15 * * 0,3"
workflow_dispatch:

jobs:
compatibility:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
version: ["2105.17", "2011.27", "2005.32"]
version: ["2105.26"]
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
Expand All @@ -32,7 +33,7 @@ jobs:
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: Set up cache for SAP artifacts
uses: actions/cache@v2
uses: actions/cache@v3
with:
key: sap-artifacts-cache-${{ hashFiles('core-customize/manifest.json') }}-${{ matrix.version }}
path: dependencies
Expand All @@ -41,12 +42,14 @@ jobs:
sed -i 's/\"commerceSuiteVersion\": \"[^\"]*\"/\"commerceSuiteVersion\": \"${{ matrix.version }}\"/' core-customize/manifest.json
- name: SAP download config
env:
SAPCX_ARTEFACT_BASEURL: ${{ secrets.SAPCX_ARTEFACT_BASEURL }}
SAPCX_ARTEFACT_USER: ${{ secrets.SAPCX_ARTEFACT_USER }}
SAPCX_ARTEFACT_PASSWORD: ${{ secrets.SAPCX_ARTEFACT_PASSWORD }}
shell: bash
run: |
mkdir -p ${HOME}/.gradle
echo "GRADLE_USER_HOME=${HOME}/.gradle" >> $GITHUB_ENV
echo "SAPCX_ARTEFACT_BASEURL=${SAPCX_ARTEFACT_BASEURL}" >> ${HOME}/.gradle/gradle.properties
echo "SAPCX_ARTEFACT_USER=${SAPCX_ARTEFACT_USER}" >> ${HOME}/.gradle/gradle.properties
echo "SAPCX_ARTEFACT_PASSWORD=${SAPCX_ARTEFACT_PASSWORD}" >> ${HOME}/.gradle/gradle.properties
- name: SAP Commerce environment
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/backwards-compatibility-java17.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,15 @@ on:
branches: [main, develop]
schedule:
- cron: "0 15 * * 0,3"
workflow_dispatch:

jobs:
compatibility:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
version: ["2205.12"]
version: ["2205.20"]
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
Expand All @@ -32,7 +33,7 @@ jobs:
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: Set up cache for SAP artifacts
uses: actions/cache@v2
uses: actions/cache@v3
with:
key: sap-artifacts-cache-${{ hashFiles('core-customize/manifest.json') }}-${{ matrix.version }}
path: dependencies
Expand All @@ -41,12 +42,14 @@ jobs:
sed -i 's/\"commerceSuiteVersion\": \"[^\"]*\"/\"commerceSuiteVersion\": \"${{ matrix.version }}\"/' core-customize/manifest.json
- name: SAP download config
env:
SAPCX_ARTEFACT_BASEURL: ${{ secrets.SAPCX_ARTEFACT_BASEURL }}
SAPCX_ARTEFACT_USER: ${{ secrets.SAPCX_ARTEFACT_USER }}
SAPCX_ARTEFACT_PASSWORD: ${{ secrets.SAPCX_ARTEFACT_PASSWORD }}
shell: bash
run: |
mkdir -p ${HOME}/.gradle
echo "GRADLE_USER_HOME=${HOME}/.gradle" >> $GITHUB_ENV
echo "SAPCX_ARTEFACT_BASEURL=${SAPCX_ARTEFACT_BASEURL}" >> ${HOME}/.gradle/gradle.properties
echo "SAPCX_ARTEFACT_USER=${SAPCX_ARTEFACT_USER}" >> ${HOME}/.gradle/gradle.properties
echo "SAPCX_ARTEFACT_PASSWORD=${SAPCX_ARTEFACT_PASSWORD}" >> ${HOME}/.gradle/gradle.properties
- name: SAP Commerce environment
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/buildandtest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Build and Test

on:
push:
branches: [develop, "feature/**"]
branches: [develop]
paths:
- "core-customize/hybris/bin/custom/sapcxtools/**/*.java"
- "core-customize/hybris/bin/custom/sapcxtools/**/*-beans.xml"
Expand All @@ -13,6 +13,7 @@ on:
branches: [main, develop]
schedule:
- cron: "0 15 * * 0,3"
workflow_dispatch:

jobs:
build-and-test:
Expand All @@ -36,12 +37,14 @@ jobs:
path: dependencies
- name: SAP download config
env:
SAPCX_ARTEFACT_BASEURL: ${{ secrets.SAPCX_ARTEFACT_BASEURL }}
SAPCX_ARTEFACT_USER: ${{ secrets.SAPCX_ARTEFACT_USER }}
SAPCX_ARTEFACT_PASSWORD: ${{ secrets.SAPCX_ARTEFACT_PASSWORD }}
shell: bash
run: |
mkdir -p ${HOME}/.gradle
echo "GRADLE_USER_HOME=${HOME}/.gradle" >> $GITHUB_ENV
echo "SAPCX_ARTEFACT_BASEURL=${SAPCX_ARTEFACT_BASEURL}" >> ${HOME}/.gradle/gradle.properties
echo "SAPCX_ARTEFACT_USER=${SAPCX_ARTEFACT_USER}" >> ${HOME}/.gradle/gradle.properties
echo "SAPCX_ARTEFACT_PASSWORD=${SAPCX_ARTEFACT_PASSWORD}" >> ${HOME}/.gradle/gradle.properties
- name: SAP Commerce environment
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/code-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,9 @@ name: Code Analysis
on:
push:
branches: [develop, "feature/**"]
paths:
- "core-customize/hybris/bin/custom/sapcxtools/**/*.java"
- "core-customize/hybris/bin/custom/sapcxtools/**/*-beans.xml"
- "core-customize/hybris/bin/custom/sapcxtools/**/*-items.xml"
- "core-customize/hybris/bin/custom/sapcxtools/**/extensioninfo.xml"
- "core-customize/hybris/bin/custom/sapcxtools/**/external-dependencies.xml"
pull_request:
branches: [main, develop]
workflow_dispatch:

jobs:
code-analysis:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/dependency-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
- "core-customize/hybris/bin/custom/sapcxtools/**/external-dependencies.xml"
pull_request:
branches: [main, develop]
workflow_dispatch:

jobs:
dependency-check:
Expand All @@ -29,18 +30,20 @@ jobs:
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: Set up cache for SAP artifacts
uses: actions/cache@v2
uses: actions/cache@v3
with:
key: sap-artifacts-cache-${{ hashFiles('core-customize/manifest.json') }}
path: dependencies
- name: SAP download config
env:
SAPCX_ARTEFACT_BASEURL: ${{ secrets.SAPCX_ARTEFACT_BASEURL }}
SAPCX_ARTEFACT_USER: ${{ secrets.SAPCX_ARTEFACT_USER }}
SAPCX_ARTEFACT_PASSWORD: ${{ secrets.SAPCX_ARTEFACT_PASSWORD }}
shell: bash
run: |
mkdir -p ${HOME}/.gradle
echo "GRADLE_USER_HOME=${HOME}/.gradle" >> $GITHUB_ENV
echo "SAPCX_ARTEFACT_BASEURL=${SAPCX_ARTEFACT_BASEURL}" >> ${HOME}/.gradle/gradle.properties
echo "SAPCX_ARTEFACT_USER=${SAPCX_ARTEFACT_USER}" >> ${HOME}/.gradle/gradle.properties
echo "SAPCX_ARTEFACT_PASSWORD=${SAPCX_ARTEFACT_PASSWORD}" >> ${HOME}/.gradle/gradle.properties
- name: SAP Commerce environment
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# IDE & gradle files
build/
build/
consolestorage/
/dependencies
/cloud-extension-pack/
.gradle/
Expand Down
7 changes: 4 additions & 3 deletions core-customize/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,15 @@ repositories {
mavenCentral()
}

if (project.hasProperty("SAPCX_ARTEFACT_USER") && project.hasProperty("SAPCX_ARTEFACT_PASSWORD")) {
if (project.hasProperty("SAPCX_ARTEFACT_BASEURL") && project.hasProperty("SAPCX_ARTEFACT_USER") && project.hasProperty("SAPCX_ARTEFACT_PASSWORD")) {
val BASEURL = project.property("SAPCX_ARTEFACT_BASEURL") as String
val USER = project.property("SAPCX_ARTEFACT_USER") as String
val PASSWORD = project.property("SAPCX_ARTEFACT_PASSWORD") as String
val AUTHORIZATION = Base64.getEncoder().encodeToString((USER + ":" + PASSWORD).toByteArray())

val COMMERCE_VERSION = CCV2.manifest.commerceSuiteVersion
tasks.register<Download>("downloadPlatform") {
src("http://artefacts.sapcx.tools/hybris-commerce-suite/${COMMERCE_VERSION}.zip")
src(BASEURL + "/hybris-commerce-suite/${COMMERCE_VERSION}.zip")
dest(file("${DEPENDENCY_FOLDER}/hybris-commerce-suite-${COMMERCE_VERSION}.zip"))
header("Authorization", "Basic ${AUTHORIZATION}")
overwrite(false)
Expand All @@ -41,7 +42,7 @@ if (project.hasProperty("SAPCX_ARTEFACT_USER") && project.hasProperty("SAPCX_ART
if (CCV2.manifest.extensionPacks.any{"hybris-commerce-integrations".equals(it.name)}) {
val INTEXTPACK_VERSION = CCV2.manifest.extensionPacks.first{"hybris-commerce-integrations".equals(it.name)}.version
tasks.register<Download>("downloadIntExtPack") {
src("http://artefacts.sapcx.tools/hybris-commerce-integrations/${INTEXTPACK_VERSION}.zip")
src(BASEURL + "/hybris-commerce-integrations/${INTEXTPACK_VERSION}.zip")
dest(file("${DEPENDENCY_FOLDER}/hybris-commerce-integrations-${INTEXTPACK_VERSION}.zip"))
header("Authorization", "Basic ${AUTHORIZATION}")
overwrite(false)
Expand Down
Loading