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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ pip3 install -r requirements.txt
Run mongoDB in docker:

```shell
docker run --rm -d -p 27017:27017 --name example-mongo mongo:4.4.6
docker run --rm -d -p 27017:27017 --name example-mongo mongo:8.3.4
```

To start backend service run:
Expand Down
3 changes: 1 addition & 2 deletions backend/SC4SNMP_UI_backend/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class AuthNotConfiguredException(Exception):
pass


limiter = Limiter(key_func=get_remote_address, default_limits=[])
limiter = Limiter(key_func=get_remote_address, default_limits=[], storage_uri=REDBEAT_URL)


def create_app():
Expand Down Expand Up @@ -135,7 +135,6 @@ def create_app():
CORS(app, origins=cors_origins, supports_credentials=True)

limiter.init_app(app)
limiter.storage_uri = REDBEAT_URL

if REDIS_MODE == "replication":
broker_transport_options = {
Expand Down
14 changes: 7 additions & 7 deletions backend/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
click==8.3.3
click==8.4.2
Flask==3.1.3
Flask-Cors==6.0.5
itsdangerous==2.2.0
Jinja2==3.1.6
MarkupSafe==3.0.3
pymongo==4.6.3
six==1.16.0
Werkzeug==3.1.7
pymongo==4.17.0
six==1.17.0
Werkzeug==3.1.8
pytest~=9.0, >=9.0.3
gunicorn==23.0.0
kubernetes~=26.1.0
gunicorn==26.1.0
kubernetes~=36.0.3
python-dotenv~=1.2, >=1.2.2
PyYAML~=6.0
celery==5.6.3
redis~=8.0
ruamel.yaml===0.17.32
PyJWT~=2.13
argon2-cffi~=23.1
argon2-cffi~=25.1
Flask-Limiter~=3.8
18 changes: 10 additions & 8 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,28 +22,30 @@
"node": "^20.19.0 || ^22.12.0 || >=24.0.0"
},
"dependencies": {
"cors": "^2.8.5"
"axios": "^1.16.0",
"cors": "^2.8.5",
"uuid": "^14.0.0"
},
"resolutions": {
"uuid": "^14.0.0",
"follow-redirects": "^1.16.0",
"axios": "^1.16.0",
"undici": "^6.28.0",
"undici": "^8.10.0",
"tmp": "^0.2.6",
"form-data": "^4.0.6",
"brace-expansion": "^5.0.9",
"yaml": "^2.8.3",
"tar": "^7.5.21",
"js-yaml": "^4.3.1",
"js-yaml": "^5.3.0",
"postcss": "^8.5.23",
"nanoid": "^3.3.17",
"nanoid": "^6.0.1",
"ip-address": "^10.3.1",
"nx": "^22.7.7",
"sigstore": "^4.1.1",
"@sigstore/core": "^3.2.1",
"@sigstore/verify": "^3.1.1",
"sigstore": "^5.0.0",
"@sigstore/core": "^4.0.1",
"@sigstore/verify": "^4.1.2",
"@babel/plugin-transform-modules-systemjs": "^7.29.8",
"fast-uri": "^3.1.5",
"fast-uri": "^4.1.2",
"websocket-driver": "^0.7.5"
}
}
42 changes: 21 additions & 21 deletions frontend/packages/manager/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,54 +20,54 @@
},
"main": "Manager.js",
"dependencies": {
"@splunk/react-ui": "^4.25.0",
"@splunk/react-ui": "^4.47.1",
"@splunk/themes": "^0.11.0",
"axios": "^1.16.0",
"css-loader": "^6.7.1",
"css-loader": "^7.1.4",
"history": "5.3.0",
"qs": "6.15.3",
"scriptjs": "^2.5.9",
"style-loader": "^3.3.1"
"style-loader": "^4.0.0"
},
"devDependencies": {
"@babel/core": "^7.2.0",
"@jest/globals": "^30.3.0",
"@jest/globals": "^30.4.1",
"@splunk/babel-preset": "^4.0.0",
"@splunk/eslint-config": "^4.0.0",
"@splunk/splunk-utils": "^2.3.4",
"@splunk/stylelint-config": "^5.0.0",
"@splunk/stylelint-config": "^5.1.0",
"@splunk/webpack-configs": "^5.0.0",
"@testing-library/dom": "9.3.1",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/dom": "10.4.1",
"@testing-library/jest-dom": "^6.10.0",
"@testing-library/react": "12.1.2",
"@webpack-cli/serve": "^2.0.0",
"@webpack-cli/serve": "^3.0.1",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.0.4",
"chai": "^3.5.0",
"css-loader": "^6.7.1",
"babel-loader": "^10.1.1",
"chai": "^6.2.2",
"css-loader": "^7.1.4",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.8",
"eslint": "^7.14.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-config-prettier": "^6.15.0",
"eslint-import-resolver-webpack": "^0.13.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-react": "^7.21.5",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^4.2.0",
"html-webpack-plugin": "^4.0.0",
"jest": "^30.3.0",
"jest-environment-jsdom": "^30.3.0",
"html-webpack-plugin": "^5.6.8",
"jest": "^30.4.2",
"jest-environment-jsdom": "^30.4.1",
"jest-junit": "^17.0.0",
"querystring-es3": "^0.2.1",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"react-test-renderer": "^16.12.0",
"styled-components": "5.1.1",
"stylelint": "^15.11.0",
"webpack": "^5.0.0",
"webpack-cli": "^5.0.0",
"webpack-dev-server": "^5.2.3",
"stylelint": "^17.14.1",
"webpack": "^5.109.2",
"webpack-cli": "^7.2.2",
"webpack-dev-server": "^6.0.0",
"webpack-merge": "^4.1.3"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion frontend/packages/manager/src/tests/GroupsList.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ describe("GroupsList pagination", () => {
api.get.mockResolvedValueOnce({data: 100});
api.get.mockResolvedValueOnce({data: [{_id: "2", groupName: "group2", groupInInventory: false}]});

const pageTwoButton = screen.getByLabelText("Go to page 2");
const pageTwoButton = screen.getByLabelText("Page 2");
await act(async () => {
fireEvent.click(pageTwoButton);
await sleep(10);
Expand Down
Loading
Loading