Skip to content

Initial client#1

Merged
michalpristas merged 8 commits intoelastic:masterfrom
michalpristas:initial
May 18, 2020
Merged

Initial client#1
michalpristas merged 8 commits intoelastic:masterfrom
michalpristas:initial

Conversation

@michalpristas
Copy link
Copy Markdown
Contributor

@michalpristas michalpristas commented May 15, 2020

Matches the one from beats repo

running mage update will generate client code and injects a license header

cc @ph @blakerouse

@michalpristas michalpristas added the Team:Elastic-Agent Label for the Agent team label May 15, 2020
@michalpristas michalpristas self-assigned this May 15, 2020
Copy link
Copy Markdown
Contributor

@blakerouse blakerouse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, seems like a great starting point.

@ph
Copy link
Copy Markdown
Contributor

ph commented May 15, 2020

When we start creating the new contracts, let's add a changelog so we can communicate ou changes with endpoint.

Copy link
Copy Markdown
Contributor

@ph ph left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've taken another look at this, we want this code to follow the elastic license and not APL2.0 license.
So I believe just for consistency is to have the same structure as every other Elasticsearch project and move the code into an x-pack folder and include the license file. This also remove the need for us to have a special license file that deviates from other projects.

With that change, we will have the header, the directory and the generic license file which should make it obvious what license it's been developed on.

Another thing, let's make sure the proto file also has the header.

WDYT @ruflin, @blakerouse @mostlyjason

@ruflin
Copy link
Copy Markdown
Contributor

ruflin commented May 18, 2020

As I expect all of this code to be under ES license I don't think we need the x-pack prefix, it would only complicate the code structure. And yes, we need the headers.

@michalpristas
Copy link
Copy Markdown
Contributor Author

updated with proto file license header generation
do we need some common license file here?

Copy link
Copy Markdown
Contributor

@ph ph left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ph
Copy link
Copy Markdown
Contributor

ph commented May 18, 2020

lets get that merged @michalpristas to iterate.

@michalpristas michalpristas merged commit d3675c6 into elastic:master May 18, 2020
@blakerouse blakerouse mentioned this pull request Mar 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Team:Elastic-Agent Label for the Agent team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants