Configuring a Service
Using the ServiceHub, you can create, manage, and implement Services. Each Service consists of at least one Service version, and each Service version can have one implementation.
For the purpose of this guide, you’ll create a Service, version it, and expose the version by creating an implementation pointing to the Mockbin API. Mockbin is an echo-type public website that returns requests back to the requester as responses.
Prerequisites
If you’re following the Konnect quickstart guide, make sure you have configured a runtime.
Add a Service and Version
-
From the left navigation menu, click Services to open ServiceHub.
-
Click Add New Service.
-
Enter a Service Name. For this example, enter
example_service
.A Service name can be any string containing letters, numbers, or characters; for example,
service_name
,Service Name
, orService-name
. -
Enter a Version Name. For this example, enter
v.1
.A version name can be any string containing letters, numbers, or characters; for example,
1.0.0
,v.1
, orversion#1
. A Service can have multiple versions. -
(Optional) Enter a Description.
-
Click Create.
A new Service is created and the page automatically redirects back to the example_service overview page.
Summary and Next Steps
In this section, you added a Service named example_service
with the version
v.1
.
Next, go on to implement the service version.