Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Monitoring: add service URL manager #3134

Merged
merged 43 commits into from
Aug 11, 2024

Commits on Jul 17, 2024

  1. Support es6 build

    0oM4R committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    dd42122 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4d57afa View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2024

  1. - Refactor

      - sendGetRequest to sendRequest and use fetch instead of axios.
      - replace serviceUrl and serviceName with getters
      - add update method that uses URL setter
      - Make all IServiceBase classes take an optional options on their contractor, add error handling for side effect
      -  Grouped all RMB properties to RMB to RMBProps
    - Feat:
     - add stats monitor class that monitors stats service
     - add activation monitor class  that monitor activation service
    0oM4R committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    be6736e View commit details
    Browse the repository at this point in the history
  2. Feat: Add serviceURLManager

    it is class managing service URLs with liveness checking <pick the first reachable endpoint for each service>
    
    - Define retries and silent mode settings
    - Implement constructor to handle StackManagerOptions
    - Add private handleErrorsOnSilentMode method for error handling based on silent mode
    - Implement getAvailableStack method to find reachable service URL
    - Implement getAvailableServicesStack method to fetch and store available service URLs for all services
    0oM4R committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    1607559 View commit details
    Browse the repository at this point in the history
  3. Revert: playground/config.js

    0oM4R committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    648533c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    035f4d5 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    aadf52a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1b49c5e View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    eb94229 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    c81f714 View commit details
    Browse the repository at this point in the history
  9. Fix: remove error on getting Url before intialization and make it ret…

    …urn undefined or emptystring
    
    remove debug lines
    0oM4R committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    25b29c4 View commit details
    Browse the repository at this point in the history
  10. Chore: RMB handle error event

    0oM4R committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    1dd5d71 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    aa6b6cf View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2024

  1. Chore:

    - change naming
    - remove error on get url and return empty string in case the url is not set yet
    0oM4R committed Jul 21, 2024
    Configuration menu
    Copy the full SHA
    6dde916 View commit details
    Browse the repository at this point in the history
  2. Chore:

    - add errror handling in isAlive, will throw in case the service url is not set
    0oM4R committed Jul 21, 2024
    Configuration menu
    Copy the full SHA
    1542e47 View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2024

  1. chore: export new services

    0oM4R committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    ff29b60 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d57c608 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6477140 View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2024

  1. chore: add checks to prevent accessing undefined functions in RMB con…

    …nect and disconnect
    0oM4R committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    0aaa9d2 View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2024

  1. Merge branch 'development' of github.com:threefoldtech/tfgrid-sdk-ts …

    …into development_monitoring__stacks
    0oM4R committed Jul 28, 2024
    Configuration menu
    Copy the full SHA
    c637c35 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    76bdbc4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e0c1edb View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f2f4e36 View commit details
    Browse the repository at this point in the history
  5. chore: support timeout

    0oM4R committed Jul 28, 2024
    Configuration menu
    Copy the full SHA
    89ef80c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c4cdbb7 View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2024

  1. Configuration menu
    Copy the full SHA
    de7dde6 View commit details
    Browse the repository at this point in the history
  2. refactor:

    - rename constractor param
    - use replace instade of split
    0oM4R committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    d120598 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c167f87 View commit details
    Browse the repository at this point in the history
  4. refactor: remove logs line

    0oM4R committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    638fcde View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2024

  1. feat: isAlive can take new url

    0oM4R committed Jul 30, 2024
    Configuration menu
    Copy the full SHA
    2e74129 View commit details
    Browse the repository at this point in the history
  2. Feat: ping url in parallel

    0oM4R committed Jul 30, 2024
    Configuration menu
    Copy the full SHA
    5d6b683 View commit details
    Browse the repository at this point in the history
  3. Docs: update example

    0oM4R committed Jul 30, 2024
    Configuration menu
    Copy the full SHA
    889190d View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2024

  1. Configuration menu
    Copy the full SHA
    be4fbb2 View commit details
    Browse the repository at this point in the history
  2. refactor: enahnce logs

    0oM4R committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    b5827ea View commit details
    Browse the repository at this point in the history
  3. docs: update urls in example

    0oM4R committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    43f10de View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2024

  1. Chore: remove disconnect logic

    0oM4R committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    47e0195 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    addcd18 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    18b0a1b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9d4f08d View commit details
    Browse the repository at this point in the history
  5. Merge branch 'development' of github.com:threefoldtech/tfgrid-sdk-ts …

    …into development_monitoring__stacks
    0oM4R committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    ab6a52a View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2024

  1. Configuration menu
    Copy the full SHA
    d601138 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fc3a003 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5016e50 View commit details
    Browse the repository at this point in the history