-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #84 from SEKOIA-IO/fix/scripts
fix: Various fixes in scripts
- Loading branch information
Showing
9 changed files
with
1,174 additions
and
279 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
sekoia_automation/scripts/new_module/template/hooks/post_gen_project.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/bin/bash | ||
poetry lock |
2 changes: 1 addition & 1 deletion
2
sekoia_automation/scripts/new_module/template/{{cookiecutter.module_dir}}/main.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
tests/expectations/sample_module/connector_sample_connector.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"name": "Sample Connector", | ||
"description": "My Sample Connector Description", | ||
"uuid": "4721e6af-a6b0-5785-9860-b33d0f218435", | ||
"docker_parameters": "SampleConnector", | ||
"arguments": { | ||
"title": "DefaultConnectorConfiguration", | ||
"type": "object", | ||
"properties": { | ||
"intake_server": { | ||
"title": "Intake Server", | ||
"default": "https://intake.sekoia.io", | ||
"type": "string" | ||
}, | ||
"intake_key": { | ||
"title": "Intake Key", | ||
"type": "string" | ||
} | ||
}, | ||
"required": [ | ||
"intake_key" | ||
] | ||
}, | ||
"results": {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters