Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
10 changes: 5 additions & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ services:
- "./tests/system/test_apps/reporting_app:/opt/splunk/etc/apps/reporting_app"
- "./tests/system/test_apps/streaming_app:/opt/splunk/etc/apps/streaming_app"
- "./tests/system/test_apps/modularinput_app:/opt/splunk/etc/apps/modularinput_app"
- "./splunklib:/opt/splunk/etc/apps/eventing_app/lib/splunklib"
- "./splunklib:/opt/splunk/etc/apps/generating_app/lib/splunklib"
- "./splunklib:/opt/splunk/etc/apps/reporting_app/lib/splunklib"
- "./splunklib:/opt/splunk/etc/apps/streaming_app/lib/splunklib"
- "./splunklib:/opt/splunk/etc/apps/modularinput_app/lib/splunklib"
- "./splunklib:/opt/splunk/etc/apps/eventing_app/bin/splunklib"
- "./splunklib:/opt/splunk/etc/apps/generating_app/bin/splunklib"
- "./splunklib:/opt/splunk/etc/apps/reporting_app/bin/splunklib"
- "./splunklib:/opt/splunk/etc/apps/streaming_app/bin/splunklib"
- "./splunklib:/opt/splunk/etc/apps/modularinput_app/bin/splunklib"
8 changes: 3 additions & 5 deletions tests/system/test_apps/eventing_app/bin/eventingcsc.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,13 @@
# License for the specific language governing permissions and limitations
# under the License.

import os, sys
import sys

sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..", "lib"))
from splunklib.searchcommands import (
dispatch,
EventingCommand,
Configuration,
EventingCommand,
Option,
validators,
dispatch,
)


Expand Down
7 changes: 3 additions & 4 deletions tests/system/test_apps/generating_app/bin/generatingcsc.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,14 @@
# License for the specific language governing permissions and limitations
# under the License.

import os, sys
import sys
import time

sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..", "lib"))
from splunklib.searchcommands import (
dispatch,
GeneratingCommand,
Configuration,
GeneratingCommand,
Option,
dispatch,
validators,
)

Expand Down
4 changes: 1 addition & 3 deletions tests/system/test_apps/modularinput_app/bin/modularinput.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,9 @@
# under the License.

import sys
import os
from urllib import parse

sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..", "lib"))
from splunklib.modularinput import Scheme, Argument, Script, Event
from splunklib.modularinput import Argument, Event, Scheme, Script


class ModularInput(Script):
Expand Down
7 changes: 3 additions & 4 deletions tests/system/test_apps/reporting_app/bin/reportingcsc.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,13 @@
# License for the specific language governing permissions and limitations
# under the License.

import os, sys
import sys

sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..", "lib"))
from splunklib.searchcommands import (
dispatch,
ReportingCommand,
Configuration,
Option,
ReportingCommand,
dispatch,
validators,
)

Expand Down
9 changes: 3 additions & 6 deletions tests/system/test_apps/streaming_app/bin/streamingcsc.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,12 @@
# License for the specific language governing permissions and limitations
# under the License.

import os, sys
import sys

sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..", "lib"))
from splunklib.searchcommands import (
dispatch,
StreamingCommand,
Configuration,
Option,
validators,
StreamingCommand,
dispatch,
)


Expand Down