ilija-lazoroski
212d638af1
Merge pull request #2168 from guardicore/2109-auth-island-version
...
2109 auth island version
2022-08-04 16:12:40 +02:00
Ilija Lazoroski
85af7f0f39
UI: Remove leftovers in VersionComponent
2022-08-04 13:41:40 +02:00
Shreya Malviya
407bf892e5
Island: Fix import order in cc/services/initialize.py
2022-08-04 16:55:59 +05:30
Ilija Lazoroski
efffde6321
Changelog: Added entry for authentication of `api/island/version`
2022-08-04 11:59:07 +02:00
Ilija Lazoroski
aa8e020df6
UI: Use AuthComponent in VersionComponent
2022-08-04 11:57:09 +02:00
Ilija Lazoroski
bfd0eb6fa5
Island: Authenticate `api/island/version`
2022-08-04 11:56:01 +02:00
Ilija Lazoroski
4500d57edd
Island: Fix typo in Version object
2022-08-04 11:48:17 +02:00
Ilija Lazoroski
ae468f9832
UI: Compare version numbers in VersionComponent
2022-08-04 11:48:17 +02:00
Ilija Lazoroski
f13d55d89a
UI: Install semver
...
Used for comparing version numbers
2022-08-04 11:48:17 +02:00
Ilija Lazoroski
805964d0e3
Island: Add Version to cc/__init__
2022-08-04 11:48:17 +02:00
vakarisz
484773b782
Island: Fix import sequence in main.py
...
Gevent setup needs to go first, because it hooks other imports.
2022-08-04 12:43:13 +03:00
Shreya Malviya
eb4f704597
UT: Hacky workaround in StubDIContainer to get the tests passing for now
2022-08-04 13:41:55 +05:30
Shreya Malviya
144268187f
Island: Add IPAddresses to cc/resources/__init__.py and shorten imports
2022-08-04 13:06:08 +05:30
Shreya Malviya
4ee1450001
Island: Inject local_ip_addresses into Root resource's constructor
2022-08-04 13:03:04 +05:30
Shreya Malviya
80c6ee8805
Island: Inject local_ip_addresses into LocalMonkeyRunService's constructor
2022-08-04 12:59:18 +05:30
Shreya Malviya
e4d7f36985
Island: Rename IpAddresses -> IPAddresses
2022-08-04 12:53:36 +05:30
Shreya Malviya
6b89f38f87
Island: Fix docstrings in IpAddresses resource
2022-08-04 12:52:25 +05:30
Shreya Malviya
e2702ffacb
UI: Modify RunOptions page to correctly display IPs in manual run option
2022-08-04 12:49:47 +05:30
Shreya Malviya
860eb1b65c
Island: Simply return IPs list instead of mapping in IpAddresses resource
2022-08-04 12:47:32 +05:30
Shreya Malviya
637c466822
Island: Pass local_ip_addresses in IpAddresses resource constructor
2022-08-04 12:47:32 +05:30
Shreya Malviya
1466fccc5f
Island: Register convention 'local_ip_addresses'
2022-08-04 12:47:29 +05:30
Shreya Malviya
d189a94e9c
Island: Rename local_ip_addresses() -> get_local_ip_addresses()
2022-08-04 12:31:21 +05:30
Mike Salvatore
867135b358
Docs: Update references to deployment types
2022-08-03 19:32:49 -04:00
Mike Salvatore
c9e01f197c
Changelog: Improve consistency in API entries
2022-08-03 19:18:40 -04:00
Mike Salvatore
3798fe0756
Merge pull request #2161 from guardicore/2109-remove-version-update-service
...
Island: Remove VersionUpdate service
2022-08-03 16:50:17 -04:00
Mike Salvatore
fa06263f1c
Common: Remove disused VersionServerConnectionError
2022-08-03 14:54:42 -04:00
Ilija Lazoroski
ba6d1b18ee
Island: Remove VersionUpdate service
...
Issue #2109
PR #2161
2022-08-03 14:45:15 -04:00
Mike Salvatore
c57e865192
Merge pull request #2160 from guardicore/2109-add-version-object-to-di
...
2109 add version object to di
2022-08-03 14:35:45 -04:00
Mike Salvatore
78356ec7e1
Island: Add TODO about Deployment and initialize_services()
2022-08-03 14:34:28 -04:00
Mike Salvatore
833e3b82bc
Island: Crash if deployment cannot be determined
2022-08-03 14:24:46 -04:00
Mike Salvatore
449207876f
Island: Register Deployment as instance, not convention
2022-08-03 13:33:29 -04:00
Mike Salvatore
efec473b08
Merge pull request #2158 from guardicore/2071-POST-to-PUT
...
Change POST to PUT in /api/agent-configuration
2022-08-03 13:31:47 -04:00
Mike Salvatore
582bc46f8c
Island: Rename keys in Version resource
2022-08-03 13:24:30 -04:00
Mike Salvatore
3aafa60e53
Merge pull request #2159 from guardicore/2109-version-object
...
2109 version object
2022-08-03 13:22:35 -04:00
Mike Salvatore
722e1afb63
UI: Modify language of error message in ImportConfigModal
2022-08-03 13:19:20 -04:00
Mike Salvatore
3512ed0b26
Island: Add docstring to Deployment
2022-08-03 13:16:15 -04:00
Mike Salvatore
89c24232c0
Island: Improve docstring for Version
2022-08-03 11:57:03 -04:00
Ilija Lazoroski
6feb261254
Island: Use Version object in Version endpoint
2022-08-03 17:04:39 +02:00
Ilija Lazoroski
fb12c777a6
Island: Register Version instance
2022-08-03 17:01:52 +02:00
Ilija Lazoroski
682e52c38f
Island: Register version_number convetnion
2022-08-03 17:01:14 +02:00
Ilija Lazoroski
133bf75774
Island: Register deployment convention
2022-08-03 17:00:08 +02:00
Ilija Lazoroski
d1efa1a790
Common: Strip out newline in version
2022-08-03 16:50:31 +02:00
Ilija Lazoroski
8586d89062
Island: Implement Version object
2022-08-03 16:43:04 +02:00
Ilija Lazoroski
3c1653d872
Island: Add semantic_version to Pipfile
...
Used to validate version string
2022-08-03 16:28:18 +02:00
Ilija Lazoroski
117b1ebe5a
Island: Add Deployment Enum
2022-08-03 16:26:22 +02:00
Mike Salvatore
17b264d28b
Merge pull request #2145 from guardicore/2106-remove-mode-keyword
...
2106 remove mode keyword
2022-08-03 08:55:56 -04:00
Shreya Malviya
5a06e88913
UT: Simplify some logic in test_island_mode.py
2022-08-03 18:14:46 +05:30
Shreya Malviya
8615ae554f
UT: Change POST requests to PUT in AgentConfiguration resource tests
2022-08-03 18:07:28 +05:30
Shreya Malviya
12ee8756f6
UI: Remove period from error message in ImportConfigModal for consistency
2022-08-03 18:07:28 +05:30
Shreya Malviya
3d00460f98
UI: Catch TypeError when uploading a config file and set appropriate error message
...
This error message is different from the one in sendConfigToServer()
since this one only checks for 3 things (metadata.encrypted,
configuration, credentials). The one in sendConfigToServer() tries
importing the whole configuration.
2022-08-03 18:05:35 +05:30