Class: Virtuaservices::Monitoring::Gateway

Inherits:
Object
  • Object
show all
Includes:
Mongoid::Document, Mongoid::Timestamps, Concerns::Activable, Concerns::Diagnosticable, Concerns::Typable
Defined in:
lib/virtuaservices/monitoring/gateway.rb

Overview

A gateway is a portal by which you access the different web services of the application suite.

Author:

Instance Attribute Summary collapse

Instance Attribute Details

#gatewaysString

Returns the uniq token for this gateway, identifying it in the micro services.

Returns:

  • (String)

    the uniq token for this gateway, identifying it in the micro services.



20
# File 'lib/virtuaservices/monitoring/gateway.rb', line 20

field :token, type: String

#runningBoolean

Returns the running status of the gateway, indicating if it can be used or not.

Returns:

  • (Boolean)

    the running status of the gateway, indicating if it can be used or not.



17
# File 'lib/virtuaservices/monitoring/gateway.rb', line 17

field :running, type: Boolean, default: false

#urlString

Returns the URL of the gateway, where the requests will be issued.

Returns:

  • (String)

    the URL of the gateway, where the requests will be issued.



14
# File 'lib/virtuaservices/monitoring/gateway.rb', line 14

field :url, type: String