Skip to content

Commit 7ac4f59

Browse files
authored
fix(db): drop Cassandra support (#361)
1 parent 7a6da71 commit 7ac4f59

File tree

64 files changed

+94
-3710
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+94
-3710
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ If applicable, add screenshots to help explain your problem.
2626
**Version:**
2727
- Predator: [e.g. 1.0.8]
2828
- Predator-runner [e.g. 1.0.5]
29-
- Database [e.g. cassandra]
29+
- Database [e.g. sqlite]
3030

3131
**Additional context**
3232
Add any other context about the problem here.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ It has a simple, one-click installation, built with support for Kubernetes, DC/O
2222
|-------------------------------- |:------------------:|:---------|
2323
| Distributed Load | :sparkle: |Predator supports an unlimited number of load generators that produce multiple load runners concurrently.
2424
| Rich UI | :sparkle: |Predator offers a rich UI where you can write tests, run them and compare results.
25-
| Reports && Tests Persistence | :sparkle: |Predator provides out-of-the box functionality for persisting data in Cassandra, Postgres, MySQL, MSSQL and SQLITE.
25+
| Reports && Tests Persistence | :sparkle: |Predator provides out-of-the box functionality for persisting data in Postgres, MySQL, MSSQL and SQLITE.
2626
| Real time reports | :sparkle: |Predator aggregates all concurrent runs into a single beautiful report in real time (latency, rps, status codes and more).
2727
| CSV Datasets | :sparkle: |Predator support uploading files like csv to provide dataset for test inputs
2828
| Scheduled runs | :sparkle: |Predator can run recurring tests using cron expressions.

docs/devguide/docs/about.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Predator is a performance platform that can be configured to automatically load
1818

1919
- **One click installation**: Predator can be installed with just one click in Kubernetes and DC/OS, or on any other machine running Docker.
2020

21-
- **Supports 5 Different databases**: Predator provides out-of-the box functionality for persisting data in Cassandra, Postgres, MySQL, MSSQL and SQLITE.
21+
- **Supports 5 Different databases**: Predator provides out-of-the box functionality for persisting data in Postgres, MySQL, MSSQL and SQLITE.
2222

2323
- **Scheduled jobs**: Predator can run recurring tests using cron expressions.
2424

@@ -37,5 +37,3 @@ load engine to fire the requests. The schema for creating tests via the Predator
3737

3838
## Feature Comparison
3939
![Screenshot](images/features.png)
40-
41-

docs/devguide/docs/configuration.md

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,22 +22,14 @@ Below are variables Predator can be configured with.
2222
## Database
2323
| Environment Variable | Description | Configurable from UI/API | Default value |
2424
|---------------------- |--------------------------------------------------------------------------------- |-------------------------- |--------------- |
25-
| DATABASE_TYPE | Database to integrate Predator with [Cassandra, Postgres, MySQL, MSSQL, SQLITE] | x | SQLITE |
25+
| DATABASE_TYPE | Database to integrate Predator with [Postgres, MySQL, MSSQL, SQLITE] | x | SQLITE |
2626
| DATABASE_NAME | Database/Keyspace name | x | |
2727
| DATABASE_ADDRESS | Database address | x | |
2828
| DATABASE_USERNAME | Database username | x | |
2929
| DATABASE_PASSWORD | Database password | x | |
3030

3131
Additional parameters for the following chosen databases:
3232

33-
#### Cassandra
34-
| Environment Variable | Configurable from UI/API | Default value |
35-
|------------------------------ |-------------------------- |---------------- |
36-
| CASSANDRA_REPLICATION_FACTOR | x | 1 |
37-
| CASSANDRA_CONSISTENCY | x | localQuorum |
38-
| CASSANDRA_KEY_SPACE_STRATEGY | x | SimpleStrategy |
39-
| CASSANDRA_LOCAL_DATA_CENTER | x | |
40-
4133
#### SQLITE
4234
| Environment Variable | Description | Configurable from UI/API | Default value |
4335
|---------------------- |------------------ |-------------------------- |--------------- |
@@ -109,4 +101,4 @@ Additional parameters for the following chosen databases:
109101
| SMTP_PASSWORD | smtp_server.password | SMTP password || |
110102
| SMTP_TIMEOUT | smtp_server.timeout | How many milliseconds to wait for the connection to establish to SMTP server || 200 |
111103
| SMTP_SECURE | smtp_server.secure | if true the connection will use TLS when connecting to server. [Nodemailer SMTP options](https://nodemailer.com/smtp/) || false |
112-
| SMTP_REJECT_UNAUTH_CERTS | smtp_server.rejectUnauthCerts | should fail or succeed on unauthorized certificate || false |
104+
| SMTP_REJECT_UNAUTH_CERTS | smtp_server.rejectUnauthCerts | should fail or succeed on unauthorized certificate || false |

docs/devguide/docs/index.html.bk

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -28,28 +28,28 @@
2828
<body>
2929

3030
<!-- Google Analytics -->
31-
<script>
32-
window.ga = window.ga || function() {
33-
(ga.q = ga.q || []).push(arguments)
34-
}
35-
ga.l = +new Date
36-
/* Setup integration and send page view */
37-
ga("create", "UA-40865650-2", "predator-ng.com")
38-
ga("set", "anonymizeIp", true)
39-
ga("send", "pageview")
40-
/* Register handler to log search on blur */
41-
document.addEventListener("DOMContentLoaded", () => {
42-
if (document.forms.search) {
43-
var query = document.forms.search.query
44-
query.addEventListener("blur", function() {
45-
if (this.value) {
46-
var path = document.location.pathname;
47-
ga("send", "pageview", path + "?q=" + this.value)
48-
}
49-
})
50-
}
51-
})
52-
</script>
31+
<script>
32+
window.ga = window.ga || function() {
33+
(ga.q = ga.q || []).push(arguments)
34+
}
35+
ga.l = +new Date
36+
/* Setup integration and send page view */
37+
ga("create", "UA-40865650-2", "predator-ng.com")
38+
ga("set", "anonymizeIp", true)
39+
ga("send", "pageview")
40+
/* Register handler to log search on blur */
41+
document.addEventListener("DOMContentLoaded", () => {
42+
if (document.forms.search) {
43+
var query = document.forms.search.query
44+
query.addEventListener("blur", function() {
45+
if (this.value) {
46+
var path = document.location.pathname;
47+
ga("send", "pageview", path + "?q=" + this.value)
48+
}
49+
})
50+
}
51+
})
52+
</script>
5353
<script async src="https://www.google-analytics.com/analytics.js"></script>
5454
<!-- /Google Analytics -->
5555

@@ -162,7 +162,7 @@
162162
</div>
163163
<div class="card-box mbr-fonts-style">
164164
<h4 class="card-title py-3 display-7">Supports 5 storage backends</h4>
165-
<p class="mbr-text mbr-fonts-style display-7">Predator provides out-of-the box functionality for persisting data in Cassandra, Postgres, MySQL, MSSQL and SQLITE.</p>
165+
<p class="mbr-text mbr-fonts-style display-7">Predator provides out-of-the box functionality for persisting data in Postgres, MySQL, MSSQL and SQLITE.</p>
166166
</div>
167167
</div>
168168
</div>
@@ -273,4 +273,4 @@
273273

274274

275275
</body>
276-
</html>
276+
</html>

docs/devguide/docs/project.mobirise

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@
506506
}
507507
},
508508
"_name": "features5",
509-
"_customHTML": "<section class=\"features5\" group=\"Features\" data-bg-video=\"{{bg.type == 'video' && bg.value.url}}\" mbr-class=\"{'mbr-parallax-background': bg.parallax}\">\n \n <mbr-parameters>\n <!-- Block parameters controls (Blue \"Gear\" panel) -->\n <input type=\"range\" inline title=\"Top\" name=\"paddingTop\" min=\"0\" max=\"9\" step=\"1\" value=\"1\">\n <input type=\"range\" inline title=\"Bottom\" name=\"paddingBottom\" min=\"0\" max=\"9\" step=\"1\" value=\"0\">\n \n <input type=\"checkbox\" title=\"Show Title\" name=\"showTitle\" checked>\n <input type=\"checkbox\" title=\"Show Text\" name=\"showText\" checked>\n <select title=\"Cards\" name=\"cardsAmount\">\n <option value=\"1\">1</option>\n <option value=\"2\">2</option>\n <option value=\"3\">3</option>\n <option value=\"4\" selected>4</option>\n </select>\n\n <fieldset type=\"background\" name=\"bg\" parallax>\n <input type=\"image\" title=\"Background Image\" value=\"../_images/background5.jpg\" parallax>\n <input type=\"color\" title=\"Background Color\" value=\"#ffffff\" selected>\n <input type=\"video\" title=\"Background Video\" value=\"https://www.youtube.com/watch?v=36YgDDJ7XSc\">\n </fieldset>\n <input type=\"checkbox\" title=\"Overlay\" name=\"overlay\" checked condition=\"bg.type !== 'color'\">\n <input type=\"color\" title=\"Overlay Color\" name=\"overlayColor\" value=\"#ffffff\" condition=\"overlay && bg.type !== 'color'\">\n <input type=\"range\" inline title=\"Opacity\" name=\"overlayOpacity\" min=\"0\" max=\"1\" step=\"0.1\" value=\"0.7\" condition=\"overlay && bg.type !== 'color'\">\n <!-- End block parameters -->\n </mbr-parameters>\n\n <div class=\"mbr-overlay\" mbr-if=\"overlay && bg.type!== 'color'\" mbr-style=\"{'opacity': overlayOpacity, 'background-color': overlayColor}\">\n </div>\n <div class=\"container\">\n <div class=\"media-container-row\">\n\n <div class=\"card p-3 col-12 col-md-6\" mbr-class=\"{'col-lg-3': cardsAmount == '4',\n 'col-lg-4': cardsAmount == '3'}\">\n <div class=\"card-img pb-3\">\n <span mbr-icon class=\"mbr-iconfont mbri-cloud\"></span>\n </div>\n <div class=\"card-box\">\n <h4 class=\"card-title py-3 mbr-fonts-style\" mbr-theme-style=\"display-7\" mbr-if=\"showTitle\" data-app-selector=\".card-title, .card-img\">\n Built for the cloud</h4>\n <p class=\"mbr-text mbr-fonts-style\" mbr-theme-style=\"display-7\" mbr-if=\"showText\">Predator is built to take advantage of Kubernetes and DC/OS. It’s integrated with those platforms and is able to manage the load generator lifecycles by itself.</p>\n </div>\n </div>\n\n <div class=\"card p-3 col-12 col-md-6\" mbr-if=\"cardsAmount > 1\" mbr-class=\"{'col-lg-3': cardsAmount == '4',\n 'col-lg-4': cardsAmount == '3'}\">\n <div class=\"card-img pb-3\">\n <span mbr-icon class=\"mbr-iconfont mbri-globe\"></span>\n </div>\n <div class=\"card-box\">\n <h4 class=\"card-title py-3 mbr-fonts-style\" mbr-theme-style=\"display-7\" mbr-if=\"showTitle\" data-app-selector=\".card-title, .card-img\">\n Distributed load</h4>\n <p class=\"mbr-text mbr-fonts-style\" mbr-theme-style=\"display-7\" mbr-if=\"showText\">Predator supports an unlimited number of load generators that produce multiple load runners concurrently. Predator will aggregate the result of those runners in real-time into a beautiful report.</p>\n </div>\n </div>\n\n <div class=\"card p-3 col-12 col-md-6\" mbr-if=\"cardsAmount > 2\" mbr-class=\"{'col-lg-3': cardsAmount == '4',\n 'col-lg-4': cardsAmount == '3'}\">\n <div class=\"card-img pb-3\">\n <span mbr-icon class=\"mbr-iconfont mbri-touch\"></span>\n </div>\n <div class=\"card-box\">\n <h4 class=\"card-title py-3 mbr-fonts-style\" mbr-theme-style=\"display-7\" mbr-if=\"showTitle\" data-app-selector=\".card-title, .card-img\">\n One click installation</h4>\n <p class=\"mbr-text mbr-fonts-style\" mbr-theme-style=\"display-7\" mbr-if=\"showText\">Predator can be installed with just one click in Kubernetes and DC/OS, or on any other machine running Docker.</p>\n </div>\n </div>\n\n <div class=\"card p-3 col-12 col-md-6\" mbr-if=\"cardsAmount > 3\" mbr-class=\"{'col-lg-3': cardsAmount == '4',\n 'col-lg-4': cardsAmount == '3'}\">\n <div class=\"card-img pb-3\">\n <span mbr-icon class=\"mbr-iconfont mobi-mbri-database mobi-mbri\"></span>\n </div>\n <div class=\"card-box mbr-fonts-style\">\n <h4 class=\"card-title py-3\" mbr-theme-style=\"display-7\" mbr-if=\"showTitle\" data-app-selector=\".card-title, .card-img\">Supports 5 storage backends</h4>\n <p class=\"mbr-text mbr-fonts-style\" mbr-theme-style=\"display-7\" mbr-if=\"showText\">Predator provides out-of-the box functionality for persisting data in Cassandra, Postgres, MySQL, MSSQL and SQLITE.</p>\n </div>\n </div>\n </div>\n </div>\n</section>",
509+
"_customHTML": "<section class=\"features5\" group=\"Features\" data-bg-video=\"{{bg.type == 'video' && bg.value.url}}\" mbr-class=\"{'mbr-parallax-background': bg.parallax}\">\n \n <mbr-parameters>\n <!-- Block parameters controls (Blue \"Gear\" panel) -->\n <input type=\"range\" inline title=\"Top\" name=\"paddingTop\" min=\"0\" max=\"9\" step=\"1\" value=\"1\">\n <input type=\"range\" inline title=\"Bottom\" name=\"paddingBottom\" min=\"0\" max=\"9\" step=\"1\" value=\"0\">\n \n <input type=\"checkbox\" title=\"Show Title\" name=\"showTitle\" checked>\n <input type=\"checkbox\" title=\"Show Text\" name=\"showText\" checked>\n <select title=\"Cards\" name=\"cardsAmount\">\n <option value=\"1\">1</option>\n <option value=\"2\">2</option>\n <option value=\"3\">3</option>\n <option value=\"4\" selected>4</option>\n </select>\n\n <fieldset type=\"background\" name=\"bg\" parallax>\n <input type=\"image\" title=\"Background Image\" value=\"../_images/background5.jpg\" parallax>\n <input type=\"color\" title=\"Background Color\" value=\"#ffffff\" selected>\n <input type=\"video\" title=\"Background Video\" value=\"https://www.youtube.com/watch?v=36YgDDJ7XSc\">\n </fieldset>\n <input type=\"checkbox\" title=\"Overlay\" name=\"overlay\" checked condition=\"bg.type !== 'color'\">\n <input type=\"color\" title=\"Overlay Color\" name=\"overlayColor\" value=\"#ffffff\" condition=\"overlay && bg.type !== 'color'\">\n <input type=\"range\" inline title=\"Opacity\" name=\"overlayOpacity\" min=\"0\" max=\"1\" step=\"0.1\" value=\"0.7\" condition=\"overlay && bg.type !== 'color'\">\n <!-- End block parameters -->\n </mbr-parameters>\n\n <div class=\"mbr-overlay\" mbr-if=\"overlay && bg.type!== 'color'\" mbr-style=\"{'opacity': overlayOpacity, 'background-color': overlayColor}\">\n </div>\n <div class=\"container\">\n <div class=\"media-container-row\">\n\n <div class=\"card p-3 col-12 col-md-6\" mbr-class=\"{'col-lg-3': cardsAmount == '4',\n 'col-lg-4': cardsAmount == '3'}\">\n <div class=\"card-img pb-3\">\n <span mbr-icon class=\"mbr-iconfont mbri-cloud\"></span>\n </div>\n <div class=\"card-box\">\n <h4 class=\"card-title py-3 mbr-fonts-style\" mbr-theme-style=\"display-7\" mbr-if=\"showTitle\" data-app-selector=\".card-title, .card-img\">\n Built for the cloud</h4>\n <p class=\"mbr-text mbr-fonts-style\" mbr-theme-style=\"display-7\" mbr-if=\"showText\">Predator is built to take advantage of Kubernetes and DC/OS. It’s integrated with those platforms and is able to manage the load generator lifecycles by itself.</p>\n </div>\n </div>\n\n <div class=\"card p-3 col-12 col-md-6\" mbr-if=\"cardsAmount > 1\" mbr-class=\"{'col-lg-3': cardsAmount == '4',\n 'col-lg-4': cardsAmount == '3'}\">\n <div class=\"card-img pb-3\">\n <span mbr-icon class=\"mbr-iconfont mbri-globe\"></span>\n </div>\n <div class=\"card-box\">\n <h4 class=\"card-title py-3 mbr-fonts-style\" mbr-theme-style=\"display-7\" mbr-if=\"showTitle\" data-app-selector=\".card-title, .card-img\">\n Distributed load</h4>\n <p class=\"mbr-text mbr-fonts-style\" mbr-theme-style=\"display-7\" mbr-if=\"showText\">Predator supports an unlimited number of load generators that produce multiple load runners concurrently. Predator will aggregate the result of those runners in real-time into a beautiful report.</p>\n </div>\n </div>\n\n <div class=\"card p-3 col-12 col-md-6\" mbr-if=\"cardsAmount > 2\" mbr-class=\"{'col-lg-3': cardsAmount == '4',\n 'col-lg-4': cardsAmount == '3'}\">\n <div class=\"card-img pb-3\">\n <span mbr-icon class=\"mbr-iconfont mbri-touch\"></span>\n </div>\n <div class=\"card-box\">\n <h4 class=\"card-title py-3 mbr-fonts-style\" mbr-theme-style=\"display-7\" mbr-if=\"showTitle\" data-app-selector=\".card-title, .card-img\">\n One click installation</h4>\n <p class=\"mbr-text mbr-fonts-style\" mbr-theme-style=\"display-7\" mbr-if=\"showText\">Predator can be installed with just one click in Kubernetes and DC/OS, or on any other machine running Docker.</p>\n </div>\n </div>\n\n <div class=\"card p-3 col-12 col-md-6\" mbr-if=\"cardsAmount > 3\" mbr-class=\"{'col-lg-3': cardsAmount == '4',\n 'col-lg-4': cardsAmount == '3'}\">\n <div class=\"card-img pb-3\">\n <span mbr-icon class=\"mbr-iconfont mobi-mbri-database mobi-mbri\"></span>\n </div>\n <div class=\"card-box mbr-fonts-style\">\n <h4 class=\"card-title py-3\" mbr-theme-style=\"display-7\" mbr-if=\"showTitle\" data-app-selector=\".card-title, .card-img\">Supports 5 storage backends</h4>\n <p class=\"mbr-text mbr-fonts-style\" mbr-theme-style=\"display-7\" mbr-if=\"showText\">Predator provides out-of-the box functionality for persisting data in Postgres, MySQL, MSSQL and SQLITE.</p>\n </div>\n </div>\n </div>\n </div>\n</section>",
510510
"_cid": "rqyVDU3s7P",
511511
"_anchor": "features5-7",
512512
"_protectedParams": [],
@@ -1309,4 +1309,4 @@
13091309
]
13101310
}
13111311
}
1312-
}
1312+
}

0 commit comments

Comments
 (0)