When developing your own integration components for the elastic.io platform, you need to structure your work into Git repositories. Each repository represents an integration component and gets used to push your local code to elastic.io remote server. Every push results in a new deployment of the component.
The access to the component repository is restricted to a team the repository belongs to. Each member of the team can change, configure and deploy a component. The team itself belongs to a Contract and so only members of the Contract can be invited to the team.
A developer team controls access to the component repositories belonging to that team. The team members may collaborate on common integration component in integration projects.
Note: you must have appropriate permissions.
To create a new developer team, navigate to Developer Teams and click Add New Team button. Then give the team a unique name and click Save. Your team has been added to the list:
Note: you can only use letters, digits,
-
and_
to name your team.
To access your new team, click on the team name:
As you can see, you’re the only member of the team. To add more developers, click Invite Developer:
You will see a list of members (1), which you can choose from. Select the required members and click Send Invites (2) to invite developers:
As soon as you click Send Invites, the selected users become team members.
Please Note that only members of the same Contract can be invited into this developer team. The list shows all the possible members that can be invited to this current team.
If you need to delete a developer team:
If the above conditions are true, you can proceed and delete the developer team using an API call or via UI. However, the functionality of the endpoints is not limited to these two actions. You can find out more about this in the API documentation.
Almost every developer has worked with some sort of version control and repository management. GitHub, one of the most famous code developing and collaborating platforms, is the most famous for its use of repository practice. We use the same tactics which give developers complete autonomy to manage their code.
Note: Remind your fellow developers to follow the same procedure and upload their own unique SSH Key before proceeding further.
As mentioned above, each repository represents a component. That’s why we use repository and component terms interchangeably here. Every component resides in a particular repository.
Note: you must have appropriate permissions to create repositories.
To create a new repository for your custom Components, click New Repo button (1), enter repository name (2), and then click Save (3):
You can now see it in the list of repositories:
Note: As with the naming of the teams use letters, digits,
-
and_
to name your repository.
To manage your repository click on the name to see the following page with details:
This is the URL that you can push the code for deploying the updates.
Note: the cloning of your repositories is not supported. To update the code push it again to create the next version of it. Please contact our support if you need the copy of your repository.
You can set all environment variables for this particular repository by following the link. Consult our documentation on How to define environment variables for integration components.
This feature gives a possibility to set the Component as Team
, Tenant
and Global
:
Team
means the Component is visible and accessible to the current Contract members.Tenant
means the Component is visible and accessible for entire Tenant.Global
means the Component is visible and accessible for all Tenants - can be set only by support.Here is the deployment history of the repository containing:
To add these values as environment variables to the component repository on the platform please select Developer Teams on Navigation panel:
Then click on your Team:
And find component you need:
In the component description you can see Environment variables field where you can configure them:
Here you can create new Environment variables (1) or edit (2) and delete (3) existing one:
When you create Environment variables, please set name and value and click to Add: