Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: introduce package command #761

Closed
wants to merge 13 commits into from
Closed

feat: introduce package command #761

wants to merge 13 commits into from

Conversation

artemrys
Copy link
Member

@artemrys artemrys commented May 9, 2023

No description provided.

artemrys and others added 13 commits May 2, 2023 19:34
* refactor: generate data/ui/* files instead of including them automatically

This commit has failing smoke tests, but the changes are minor.

* feat: update UCC UI to v1.25.0

* test: fixing test failures

* test: fixing smoke tests

* chore: remove dead code

* chore: downgrade charset-normalizer to 3.0.1 to make FOSSA happy
This PR gives `global_config.GlobalConfig` class ability to check if OAuth is configured in the `global_config` file.
* refactor: move get_os_path out to utils

* refactor: get rid of PARENT_DIR in build

* refactor: move recursive_overwrite to utils

* refactor: move app_manifest read logic to a separate function
* refactor: alert code

* test: fix smoke test

* refactor: clean up some code

* refactor: simplify alert generation code

* refactor: alert actions HTML generation

* refactor: remove some dead code in alert actions .conf generation

* refactor: remove dead code from alert actions Python files generation

* refactor: move all alert building to a separate module

* refactor: simplified normalize function for alert actions

* test: add tests for modular_alert_builder.builder

* chore: raise coverage bar to 65
From now on, we are not going to support comments in app.manifest file.
* feat: app.manifest is being validated now according to the docs

Docs link: https://dev.splunk.com/enterprise/reference/packagingtoolkit/pkgtoolkitappmanifest/#JSON-schema-200

`schemaVersion`, `targetWorkloads` and `supportedDeployments` keys are now being validated.

* test: fix smoke tests
* fix: don't sort yaml as part of the dump

sometimes developers prefer a certain, non alphabetic structure to their definition. generally, we
should not modify the globalConfig during the build in my opinion. It is unexpected by the developer

* test: adjust test_dump_yaml_config

---------

Co-authored-by: Artem Rys <rysartem@gmail.com>
* refacfor: import_declare_test is not a variable anymore

* refactor: get rid of global_config_post_processor

* refactor: simplify global_config_builder_schema.py

* test: cover get_j2_env function
* feat: initial implementation of dashboard

* test: rename one of the test folders with add-on

* test: adjust smoke tests

* feat: enable dashboard in init by default

* docs: initial documentation for dashboard

* feat: use new functions from solnlib

* feat: add a panel for events ingested by sourcetype

* feat: add dashboard row with errors in the add-on

* test: increase fail_under to 75

* test: rename one test

* chore: rollback fail_under to 70
Base automatically changed from release/v5.27.0 to main May 17, 2023 07:27
@artemrys
Copy link
Member Author

See #846

@artemrys artemrys closed this Sep 26, 2023
@artemrys artemrys deleted the feat/package-command branch September 26, 2023 15:08
@github-actions github-actions bot locked and limited conversation to collaborators Sep 26, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants