Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
development:habitat_jumpstart [8 years ago - 2018/05/22 14:43] aogaildevelopment:habitat_jumpstart [8 years ago - 2018/05/22 19:00] (current) – [Building] aogail
Line 37: Line 37:
   * Builder can trigger builds based on new versions of dependencies   * Builder can trigger builds based on new versions of dependencies
  
 +=== Bindings ===
 +
 +  * Habitat binding is how services discover each other
 +  * Binds are implemented as a contract between consumer plan and provider plan
 +  * Relationship is expressed in the plan
 +  * Habitat Supervisor starts services only after all required binds are met
 +
 +== Consumers ==
 +
 +  * [[https://www.habitat.sh/docs/reference/#pkg_binds|pkg_binds]]
 +    * Sets a required bind
 +    * Service won't start without it
 +    * Supervisor will wait forever for the other service before starting the consumer
 +  * [[https://www.habitat.sh/docs/reference/#pkg_binds_optional|pkg_binds_optional]]
 +    * Supervisor will look for a provider but own't prevent consumer startup if it can't satisfy the bind
 +
 +== Providers ==
 +
 +  * [[https://www.habitat.sh/docs/reference/#pkg_exports|pkg_exports]]
 +    * Exposes a service to Habitat Supervisor
 +    * Provides values for attributes that the binding expects