Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Hello world

Open Horizon (Open Horizon) uses policies to establish and manage service and model deployments, which give administrators the flexibility and scalability that is needed to work with large numbers of edge nodes. Open Horizon policy is an alternative to deployment patterns. It provides a greater separation of concerns, allowing edge nodes owners, service code developers, and business owners to independently articulate policies.

This is a minimal β€œHello, world” example to introduce you to Open Horizon deployment policies.

Types of Horizon policies:

  • Node policy (provided at registration by the node owner)
  • Service policy (can be applied to a published service in the Exchange)
  • Deployment policy (also sometimes referred to as business policy, which approximately corresponds to a deployment pattern)

Policies provide more control over defining agreements between Horizon Agents on Edge Nodes and the Horizon AgBots.

Using a policy to run the hello world sample

See Using the Hello World Example Edge Service with Deployment Policy .