File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44To clean up the database locally there are two options:
55Remove the "database" folder contained in mongodb with the solution stopeed.
66
7- ![ plot] ( ./imgs/mongodb/folderdelete.PNG )
7+ ![ folderdelete] ( https://user-images.githubusercontent.com/101176997/221573975-4058ac7a-e5e5-4f31-8892-2c59dc705f93.PNG )
8+
89
910Use the delete endpoint in swagger which deletes the alerts collection.
1011
@@ -44,6 +45,7 @@ Use the delete endpoint in swagger which deletes the alerts collection.
4445
45463. Create a tunnel with the alerts-api pod using kubectl command:
4647
47- kubectl port-forward svc/alerts-api 8080:80 -n mec-accelerator
48+ kubectl port-forward svc/alerts-api 8080:8080 -n mec-accelerator
4849
49- 4. Clean the alerts collection using the delete endpoint.
50+ 4. Clean the alerts collection using the delete endpoint.
51+ 
You can’t perform that action at this time.
0 commit comments