An error occurred fetching the project authors.
- 21 Nov, 2018 2 commits
-
-
Łukasz Nowak authored
-
Łukasz Nowak authored
custom_domain and server-alias on given slave do not have to clash, and can be deduplicated during request parameter analysis. /reviewed-on nexedi/slapos!444
-
- 20 Nov, 2018 5 commits
-
-
Łukasz Nowak authored
server-alias and custom_domain can be wildcards, so support such case. /reviewed-on !446
-
Łukasz Nowak authored
The assertion was fixed incorrectly.
-
Łukasz Nowak authored
By setting maxDiff to None the test failures are more explanatory.
-
Łukasz Nowak authored
authorised --> authorized
-
Łukasz Nowak authored
Because of checking slave id in a whole string, slaves which shall not be authorized has been put on authorized list. Example: -frontend-authorized-slave-string == "custom_http", slave_id = "custom" has been authorized.
-
- 14 Nov, 2018 3 commits
-
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
With executing assertEqual(expected, given) the results, especially with dicts or multiline strings, are more readable in case of failure.
-
- 29 Oct, 2018 1 commit
-
-
Łukasz Nowak authored
Improves 57bdf689 by having stored and expected values stable across runs. Also assertion is done with {hash} instead its real value, as it has no meaning to test user.
-
- 26 Oct, 2018 2 commits
-
-
Guillaume Hervier authored
-
Guillaume Hervier authored
-
- 17 Sep, 2018 2 commits
-
-
Łukasz Nowak authored
Each slave rejected by the frontend will report back detailed information to slave requester in key request-error-list being [json_list_of_found_errors]
-
Łukasz Nowak authored
Master partition reports information in rejected-slave-dict instead of rejected-slave-list, which is defined as: { 'slave_name': '[json_list_of_found_errors]' }
-
- 14 Sep, 2018 4 commits
-
-
Łukasz Nowak authored
-
Łukasz Nowak authored
Globals were needed to distnc between caddy-frontend and apache-frontend.
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
- 13 Sep, 2018 1 commit
-
-
Łukasz Nowak authored
As Age value can vary and it is not predictable, assert its existence only.
-
- 12 Sep, 2018 3 commits
-
-
Łukasz Nowak authored
Slaves' hostnames (custom_domain or server-alias) can clash, resulting with stopping the whole frontend. In order to avoid so assure hostname unicity across whole frontend.
-
Łukasz Nowak authored
Even if the master partition owner will authorise given slave for custom configuration reject this slave in case if it does not pass validation for snippet.
-
Łukasz Nowak authored
If server alias duplicates name of the server or another alias, simply ignore it.
-
- 06 Sep, 2018 8 commits
-
-
Łukasz Nowak authored
Instead of relying on slapos.cookbook:certificate_authority recipe, which stops buildout processing, extract the minimal implementation to runtime key/certificate validator and reject slaves, which does not pass this test. This commits results in TODO item being done.
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
As slave requester is able to enter any string in server-alias validate it against being correct domain name and in case if validation fails reject that slave. Also use a trick to have access to global slave state, see https://fabianlee.org/2016/10/18/saltstack-setting-a-jinja2-variable-from-an-inner-block-scope/
-
Łukasz Nowak authored
Install validators dependency, which is a way to easily check if email is an email or domain is correct. As slave requester is able to enter any string in custom domain validate it against being correct domain name and in case if validation fails reject that slave.
-
Łukasz Nowak authored
Thank to escaping whole command-line it is possible to process buildout dangerous strings, like ${section:option}, pass them to the wrapper, instead of killing the whole profile processing.
-
Łukasz Nowak authored
If the value does not contain "," drop its contents instead of stopping processing of the whole profile.
-
- 04 Sep, 2018 1 commit
-
-
Łukasz Nowak authored
-
- 03 Sep, 2018 3 commits
-
-
Łukasz Nowak authored
-
Łukasz Nowak authored
Add plugin assertions in TestSlave.test_master_partition_state and drop check-free-disk-space from promise directory.
-
Łukasz Nowak authored
As check-free-disk-space promise is implemented in plugin directory, add it to list of assertions and drop it from promise list assertions. Also already existing monitoring plugins are asserted.
-
- 02 Sep, 2018 1 commit
-
-
Jérome Perrin authored
-
- 31 Aug, 2018 1 commit
-
-
Jérome Perrin authored
-
- 08 Aug, 2018 2 commits
-
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
- 06 Aug, 2018 1 commit
-
-
Łukasz Nowak authored
/reviewed-on nexedi/slapos!368
-