Skip to content

Code re-structure #44

@edro15

Description

@edro15

Use classes to create interfaces to Splunk Cloud and S3 instead of a list of functions (utils.py). Each class should define an object defining APIs, wrappers for AppInspect and ACS API calls, etc. In this way, in deploy.py an object such as ES could be created and its functions called at need.

This would make code more readable and modular

An idea:

deploy.py
modules/
  - splunkcloud.py   # providing logic to interact with Splunk Cloud
  - aws_s3.py  # providing logic to interact with AWS S3

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions