1. 26 Feb, 2021 1 commit
    • Michal Nowikowski's avatar
      [#483] secured agent-server channel part 3 · df8aa34b
      Michal Nowikowski authored
      Implemented agent deployment using script downloaded from the server.
      The script installs deb/rpm packages with stork agent. Then the script
      registers current machine in the server performing key and certs
      exchange. Enabled TLS to gRPC traffic between agent and server
      using certs that are set up during agent registration. Added
      instruction on machines page how to install an agent. Added UI for
      presenting and regenerating server token.
      df8aa34b
  2. 26 Nov, 2020 1 commit
    • Marcin Siodelski's avatar
      [#457] Auto correct linter issues · 060c35cd
      Marcin Siodelski authored
      Ran rake lint_go fix=true which resulted in the following corrections:
      
      - Append dots at the end of comments
      - Inline struct initializations changed to multiline
      - Multiple consts under a single const statement
      - Removed spurious blank lines in includes
      - Space after comment beginning
      - Single brace per line in struct initializations
      - Replace var with :=
      - Reorder some includes
      060c35cd
  3. 03 Sep, 2020 1 commit
  4. 12 Jun, 2020 3 commits
  5. 10 Jun, 2020 1 commit
  6. 18 May, 2020 4 commits
  7. 06 May, 2020 1 commit
  8. 04 May, 2020 5 commits
  9. 10 Mar, 2020 1 commit
  10. 06 Mar, 2020 4 commits
  11. 05 Mar, 2020 3 commits
  12. 03 Feb, 2020 1 commit
    • Matthijs Mekking's avatar
      [#130] Improve rndc usage · 9cd44944
      Matthijs Mekking authored
      Improve how we use rndc in Stork agent. Rather than assuming there
      is a rndc.key file in a default location, look up the control
      port, control address and secret key in the named configuration file.
      9cd44944
  13. 30 Jan, 2020 2 commits
    • Matthijs Mekking's avatar
      [#130] Add control key to app · d67f0ffa
      Matthijs Mekking authored
      Add `CtrlKey` to App structure and model.  This is a generic application
      parameter to interact with the application, similar to control address and
      control port. Kea in principle does not use the `CtrlKey` and will leave it
      empty.  For BIND 9 it is optional, but common.
      d67f0ffa
    • Michal Nowikowski's avatar
      [#136] added storing kea config in db · 1b12d39e
      Michal Nowikowski authored
      Agent monitor has been streamlined. It detects only a presence of
      application. Now Stork server when learns that there is a new app then
      calls agent for extra information. In case of Kea app it invokes
      a series of ForwardToKeaOverHTTP agent calls which are passed to Kea CA.
      Server asks for versions, state and configuration of Kea daemons.
      In case of BIND 9 app server calls GetBind9State which gathers BIND 9
      specific information e.g. named version.
      
      Getting Kea hooks information is reduced. Now the data is retrieved
      from db which is stored there in the phase described above.
      1b12d39e
  14. 13 Jan, 2020 1 commit
    • Michal Nowikowski's avatar
      [#114] fixes for golangci-lint tool · 9e05cf1a
      Michal Nowikowski authored
      Changes include:
      * automatic fixes by golangci-lint
      * manual fixes for golangci-lint
        * removed all globals
        * added CAClient to avoid httpClient11 global, this involves
          creating NewStorkAgent function, and replaces client.go
        * reorganized imports, now they are in the following order
          (separated by empty line): stdlib imports, 3rd party packages,
          our stork packages
        * all acronyms are using capital letters now (eg. URL instead of
          Url)
        * replaces app types from explicit strings like "kea" to consts
          like KeaAppType
        * machineToRestApi func does not return error anymore so error
          handling has been removed
        * split Serve function from restservice.go to reduce its complexity
        * reordered return values so error is always last
      9e05cf1a
  15. 09 Jan, 2020 2 commits
    • Michal Nowikowski's avatar
      [#126] changes after review · 9f3a4f45
      Michal Nowikowski authored
      - added ChangeLog entry
      - fixed comments
      - added forcing rebuilding whole containers by disabling caching
      - added rewriting 0.0.0.0 CA address to 127.0.0.1
        to be able to connect to CA
      - forced selecting particular Kea version when it is installed
        in containers
      - adjusted ports to CA, now Kea default port is 8000 instead of 8080
      9f3a4f45
    • Matthijs Mekking's avatar
      [#106] add Bind9 application · ba5d1a9e
      Matthijs Mekking authored
      Add the Bind9 application to Stork agent, api, and backend.
      This is almost a copy of the kea application but changed it
      to be Bind9 specific.
      
      Add some unit tests to make rake happy, and ignore low test
      coverage for updateMachineFields[Bind9,Kea] for now.
      ba5d1a9e
  16. 08 Jan, 2020 7 commits
  17. 23 Dec, 2019 1 commit
  18. 20 Dec, 2019 1 commit
    • Michal Nowikowski's avatar
      [#24] Convert service details · 4f86cd27
      Michal Nowikowski authored
      Kea service consists of multiple daemons.  Each individual daemon
      can be active or inactive.  Reconvert the service details: if one
      daemon is inactive, consider the kea service to be inactive.
      4f86cd27