Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
bc3a4d9
fix:pagination logic overwrite and unsafe error body parsing
edro15 Mar 9, 2026
8ae821c
fix:reduntant loop, indexing without safety
edro15 Mar 9, 2026
c841255
fix:mixed checkpoint value formats
edro15 Mar 9, 2026
3c7682a
style:removed duplicate option,renamed variable
edro15 Mar 16, 2026
929549f
chore:added missing import
edro15 Mar 16, 2026
98ca797
syle:added default modular input log messages
edro15 Mar 16, 2026
3badc09
fix:handled None returned values
edro15 Mar 16, 2026
2226ea8
fix:prevent IndexError in case of empty responses
edro15 Mar 16, 2026
b546be2
refactor:aligned data dumping args among inputs
edro15 Mar 16, 2026
a228482
tests(deps):removed py2 support on import
edro15 Mar 16, 2026
099f433
tests(deps):removed py2 support on import
edro15 Mar 16, 2026
2355932
tests:updated None assertion as per PEP8
edro15 Mar 16, 2026
ae20d46
fix:added missing variable assignment
edro15 Mar 16, 2026
a73d40f
refactor(audit_query):removed undefined start_date input item
edro15 Mar 16, 2026
5890ecf
ci:updated gh actions to latest releases
edro15 Mar 16, 2026
91afb97
ci(tests):removed tests in 9.2.5,improved sleep with readiness poll
edro15 Mar 16, 2026
0fd706e
ops(makefile):prevented execution in a separate shell
edro15 Mar 16, 2026
4f1ab50
ci(tests):updated gh action test-reporter to latest release
edro15 Mar 16, 2026
3cdbe38
ops(makefile):prevented execution in a separate shell
edro15 Mar 17, 2026
d9b1914
fix:imported missing libraries, fixed checkpoint formatting
edro15 Mar 17, 2026
0ff6652
tests:added scheme to splunk connection, skip index clean
edro15 Mar 17, 2026
aa35f82
tests:edited search params, removed timeout
edro15 Mar 17, 2026
f3c7f4d
refactor:removed usage of dateutil for calculating dates
edro15 Mar 17, 2026
a996448
style:added ref for allowed statuses
edro15 Apr 9, 2026
4d2b5ee
fix:prevent TypeError: 'NoneType'
edro15 Apr 9, 2026
1f3afc1
[FDSE-3233]: Add proxy support (#43)
ahoang-splunk Jun 8, 2026
4da41b7
fix:proxy configuration reset
edro15 Jun 8, 2026
8d07ae3
docs:added proxy configuration info
edro15 Jun 8, 2026
29f5882
feat:added download events from url when available
edro15 Jun 9, 2026
e5520a9
feat:handled the exceed 31 days interval API error
edro15 Jun 9, 2026
aafb732
docs:updated documentation accordingly
edro15 Jun 9, 2026
eecb90a
ci(tests):bumped action test-reporter to latest version
edro15 Jun 9, 2026
e629956
ci(tests):bumped action test-reporter to latest version
edro15 Jun 9, 2026
bf7d4dd
style:enhanced log messages
edro15 Jun 9, 2026
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
16 changes: 9 additions & 7 deletions .github/workflows/build-appinspect.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@ jobs:
app_name: ${{ steps.app.outputs.name }}
app_version: ${{ steps.app.outputs.version }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version: 3.9
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down Expand Up @@ -55,7 +56,7 @@ jobs:
ucc-gen package --path output/${{ steps.app.outputs.name }}
shell: bash

- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v6
with:
name: ${{ steps.app.outputs.name }}-${{ steps.app.outputs.version }}
path: ${{ steps.app.outputs.name }}*.tar.gz
Expand All @@ -73,19 +74,20 @@ jobs:
- "private_classic"
- "private_victoria"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version: 3.9
- uses: actions/download-artifact@v4
cache: 'pip'
- uses: actions/download-artifact@v5
with:
name: ${{ needs.build.outputs.app_name }}-${{ needs.build.outputs.app_version }}
path: dist
- uses: splunk/appinspect-cli-action@v2.10
with:
app_path: dist/${{ needs.build.outputs.app_name }}-${{ needs.build.outputs.app_version }}.tar.gz
included_tags: ${{ matrix.tags }}
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v6
with:
name: appinspect_result_${{ matrix.tags }}
path: appinspect_result.json
5 changes: 3 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@ jobs:
contents: write
pages: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version: 3.12
cache: 'pip'
- run: pip install mkdocs==1.6.0 mkdocs-material==9.5.32 mkdocs-print-site-plugin==2.6.0
- run: mkdocs gh-deploy --force
11 changes: 6 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,11 @@ jobs:
artifact_name: ${{ steps.artifact.outputs.name }}
ta_version: ${{ steps.app.outputs.version }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down Expand Up @@ -64,7 +65,7 @@ jobs:
run: |
echo "name=${{ steps.app.outputs.name }}-${{ steps.app.outputs.version }}-py${{ matrix.python-version }}" >> $GITHUB_OUTPUT

- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v6
with:
name: ${{ steps.artifact.outputs.name }}
path: ${{ steps.app.outputs.name }}*.tar.gz
Expand All @@ -74,8 +75,8 @@ jobs:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
- uses: actions/checkout@v6
- uses: actions/download-artifact@v5
with:
name: ${{ needs.build.outputs.artifact_name }}
path: dist
Expand Down
31 changes: 20 additions & 11 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
paths:
- package/bin/**
- package/lib/requirements.txt
- tests/**

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -22,10 +23,11 @@ jobs:
matrix:
version: [10.2.0]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version: 3.9
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down Expand Up @@ -79,7 +81,10 @@ jobs:
-p 8089:8089 \
splunk/splunk:${{ matrix.version }}
# Wait for splunk to be up and running (~2min)
sleep 150
for i in {1..60}; do
docker logs splunk 2>&1 | grep -q "Ansible playbook complete" && break
sleep 5
done
value=$(docker exec splunk printenv GENESYSCLOUD_HOST)
echo "GENESYSCLOUD_HOST=$value" >> $GITHUB_ENV

Expand Down Expand Up @@ -135,12 +140,12 @@ jobs:

- name: Upload Mockoon logs
if: always()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: mockoon-logs-${{ matrix.version }}
path: logs/mockoon-${{ matrix.version }}.log

- uses: dorny/test-reporter@v2
- uses: dorny/test-reporter@v3
if: always()
with:
name: Tests Results
Expand All @@ -154,12 +159,13 @@ jobs:
strategy:
fail-fast: false
matrix:
version: [9.4.1, 9.3.3, 9.2.5]
version: [9.4.1, 9.3.3]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version: 3.9
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down Expand Up @@ -212,7 +218,10 @@ jobs:
-p 8089:8089 \
splunk/splunk:${{ matrix.version }}
# Wait for splunk to be up and running (~2min)
sleep 150
for i in {1..60}; do
docker logs splunk 2>&1 | grep -q "Ansible playbook complete" && break
sleep 5
done
value=$(docker exec splunk printenv GENESYSCLOUD_HOST)
echo "GENESYSCLOUD_HOST=$value" >> $GITHUB_ENV

Expand Down Expand Up @@ -263,12 +272,12 @@ jobs:

- name: Upload Mockoon logs
if: always()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: mockoon-logs-${{ matrix.version }}
path: logs/mockoon-${{ matrix.version }}.log

- uses: dorny/test-reporter@v2
- uses: dorny/test-reporter@v3
if: always()
with:
name: Tests Results
Expand Down
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ venv:
python3 -m venv .venv

build: venv
source .venv/bin/activate;
source .venv/bin/activate && \
ucc-gen build --ta-version=$(APP_VERSION)

run:
Expand All @@ -21,20 +21,20 @@ package: build
ucc-gen package --path output/$(APP_NAME) -o dist

install-docs: venv
source .venv/bin/activate;
source .venv/bin/activate && \
pip install mkdocs==1.6.0 mkdocs-material==9.5.32 mkdocs-print-site-plugin==2.6.0

run-docs: install-docs
mkdocs serve

install-tests: venv
source .venv/bin/activate;
source .venv/bin/activate && \
pip install pytest==6.2.4 splunk-sdk

run-tests: install-tests
cd tests && \
export GENESYSCLOUD_HOST="http://localhost:3004" && python -m pytest integration/*

run-functional-tests: install-tests
cd tests;
python -m pytest tests/modinput_functional/*
cd tests && \
python -m pytest modinput_functional/*
2 changes: 1 addition & 1 deletion docs/ConfigureAnalyticsInputs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,6 @@ Each attribute in the following table corresponds to a field in Splunk Web.
|`interval` |Interval (seconds) |Rerun the input after the defined value, in seconds. The default value is <code>300</code>.|
| `direction` |Direction |The direction of the communication.
| `media_types` |Media Type(s) |The session media type(s).
| `start_date` |Start Date |Date from which start collecting data. The default value is 7 days ago from now. Format: `YYYY-MM-DD`.
| `start_date` |Start Date |Date from which start collecting data. The default value is 7 days from now. Format: `YYYY-MM-DD`.

Direction and Media Type(s) possible values are taken from [Genesys Cloud Specs](https://developer.genesys.cloud/analyticsdatamanagement/analytics/aggregate/conversation-query#dimensions).
2 changes: 2 additions & 0 deletions docs/ConfigureOperationalInputs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ index = <value>
interval = <value>
poll_interval_seconds = <value>
max_poll_attempts = <value>
start_date = <value>

```

Expand All @@ -75,3 +76,4 @@ Each attribute in the following table corresponds to a field in Splunk Web.
|`interval` |Interval (seconds) |Rerun the input after the defined value, in seconds. The default value is <code>300</code>.|
|`max_poll_attempts` |Max Poll Attempts |Maximum number of status checks (polls) performed for an audit query transaction before giving up. The default value is <code>10</code>, to be increased for long-running queries.|
|`poll_interval_seconds` |Poll Interval (seconds) |Seconds to wait between each status check of the audit query `transaction_id`. Lower values give quicker response but perform more API calls; higher values reduce rate-limit pressure. The default value is <code>2</code>.|
| `start_date` |Start Date |Date from which start collecting data. The default value is 7 days from now. Format: `YYYY-MM-DD`.
12 changes: 12 additions & 0 deletions docs/ProxyConfiguration/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Configure Proxy for the Genesys Cloud Add-on for Splunk

Perform the following steps to configure a Proxy for the Genesys Cloud Add-on for Splunk.

1. On the Splunk Web home page, click **Genesys Cloud Add-on for Splunk** in the left navigation bar.
2. Click **Configuration** in the app navigation bar.
3. Click the **Proxy** tab.
4. Select the **Enable** box to enable the proxy connection and fill in the fields required for your proxy.
5. Click **Save**.

To disable your proxy, uncheck the
**Enable** box.
Loading
Loading