Skip to content

Commit a39564c

Browse files
authored
Sleep SDK PREP (#3249) (#3255)
1 parent 9af0c96 commit a39564c

File tree

6 files changed

+28
-22
lines changed

6 files changed

+28
-22
lines changed

plugins/sleep/.CHECKSUM

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"spec": "2e2d4084062066fa1302b47589b99920",
3-
"manifest": "aabc2fef42c3aea504fe593138342e2d",
4-
"setup": "f938e45357d369573ca3b86d487ca2b6",
2+
"spec": "c177757c5575b9b315f122aeae1e68bb",
3+
"manifest": "7e0f5048dfb00f2a1b275993d9ace37e",
4+
"setup": "ba1e085e51951b27e225e6e4a59268fc",
55
"schemas": [
66
{
77
"identifier": "sleep/schema.py",

plugins/sleep/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM --platform=linux/amd64 rapid7/insightconnect-python-3-slim-plugin:6.1.3
1+
FROM --platform=linux/amd64 rapid7/insightconnect-python-3-slim-plugin:6.2.5
22

33
LABEL organization=rapid7
44
LABEL sdk=python
@@ -12,7 +12,7 @@ RUN if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
1212

1313
ADD . /python/src
1414

15-
RUN python setup.py build && python setup.py install
15+
RUN pip install .
1616

1717
# User to run plugin code. The two supported users are: root, nobody
1818
USER nobody

plugins/sleep/bin/komand_sleep

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ from sys import argv
66

77
Name = "Sleep"
88
Vendor = "rapid7"
9-
Version = "1.0.3"
9+
Version = "1.0.4"
1010
Description = "Sleep allows Rapid7 InsightConnect users to suspend workflow execution for a specified period of time. Popular uses are to avoid rate limiting by a service or to wait for processing by a service to complete"
1111

1212

plugins/sleep/help.md

+1
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ Example output:
7373

7474
# Version History
7575

76+
* 1.0.4 - Updated SDK to the latest version (6.2.5)
7677
* 1.0.3 - Initial updates for fedramp compliance | Updated SDK to the latest version
7778
* 1.0.2 - Use input and output constants | Change docker image from `komand/python-pypy3-plugin:2` to `komand/python-3-37-slim-plugin:3` to reduce plugin image size | Add interval input validation
7879
* 1.0.1 - New spec and help.md format for the Extension Library

plugins/sleep/plugin.spec.yaml

+20-15
Original file line numberDiff line numberDiff line change
@@ -6,39 +6,44 @@ title: Sleep
66
vendor: rapid7
77
support: community
88
status: []
9-
description: "Sleep allows Rapid7 InsightConnect users to suspend workflow execution for a specified period of time. Popular uses are to avoid rate limiting by a service or to wait for processing by a service to complete"
10-
version: 1.0.3
9+
description: Sleep allows Rapid7 InsightConnect users to suspend workflow execution
10+
for a specified period of time. Popular uses are to avoid rate limiting by a service
11+
or to wait for processing by a service to complete
12+
version: 1.0.4
1113
connection_version: 1
12-
supported_versions: ["2024-10-09"]
14+
supported_versions: ['2024-10-09']
1315
fedramp_ready: true
1416
resources:
1517
source_url: https://github.com/rapid7/insightconnect-plugins/tree/master/plugins/sleep
1618
license_url: https://github.com/rapid7/insightconnect-plugins/blob/master/LICENSE
1719
tags:
18-
- sleep
19-
- delay
20+
- sleep
21+
- delay
2022
hub_tags:
2123
use_cases: [data_utility]
2224
keywords: [sleep, delay]
2325
features: []
2426
enable_cache: false
2527
sdk:
2628
type: slim
27-
version: 6.1.3
29+
version: 6.2.5
2830
user: nobody
2931
key_features:
30-
- Suspend workflow execution for a given number of seconds
32+
- Suspend workflow execution for a given number of seconds
3133
version_history:
32-
- "1.0.3 - Initial updates for fedramp compliance | Updated SDK to the latest version"
33-
- "1.0.2 - Use input and output constants | Change docker image from `komand/python-pypy3-plugin:2` to `komand/python-3-37-slim-plugin:3` to reduce plugin image size | Add interval input validation"
34-
- "1.0.1 - New spec and help.md format for the Extension Library"
35-
- "1.0.0 - Update to v2 Python plugin architecture | Support web server mode"
36-
- "0.1.1 - SSL bug fix in SDK"
37-
- "0.1.0 - Initial plugin"
34+
- 1.0.4 - Updated SDK to the latest version (6.2.5)
35+
- 1.0.3 - Initial updates for fedramp compliance | Updated SDK to the latest version
36+
- 1.0.2 - Use input and output constants | Change docker image from `komand/python-pypy3-plugin:2`
37+
to `komand/python-3-37-slim-plugin:3` to reduce plugin image size | Add interval
38+
input validation
39+
- 1.0.1 - New spec and help.md format for the Extension Library
40+
- 1.0.0 - Update to v2 Python plugin architecture | Support web server mode
41+
- 0.1.1 - SSL bug fix in SDK
42+
- 0.1.0 - Initial plugin
3843
links:
39-
- "[Python Time Sleep](https://docs.python.org/3/library/time.html#time.sleep)"
44+
- '[Python Time Sleep](https://docs.python.org/3/library/time.html#time.sleep)'
4045
references:
41-
- "[Python Time Sleep](https://docs.python.org/3/library/time.html#time.sleep)"
46+
- '[Python Time Sleep](https://docs.python.org/3/library/time.html#time.sleep)'
4247
actions:
4348
sleep:
4449
title: Sleep

plugins/sleep/setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44

55
setup(name="sleep-rapid7-plugin",
6-
version="1.0.3",
6+
version="1.0.4",
77
description="Sleep allows Rapid7 InsightConnect users to suspend workflow execution for a specified period of time. Popular uses are to avoid rate limiting by a service or to wait for processing by a service to complete",
88
author="rapid7",
99
author_email="",

0 commit comments

Comments
 (0)