-
Notifications
You must be signed in to change notification settings - Fork 261
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Distribution open connector archives appears in both samples & utilities #4280
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 20 days if no further activity occurs. Thank you for your contributions. |
…es in assemblies Signed-off-by: Nigel Jones <nigel.l.jones+git@gmail.com>
…es in assemblies Signed-off-by: Nigel Jones <nigel.l.jones+git@gmail.com>
#4280 remove open-connector-archives archive from samples/utilities i…
It looks like the archive is being removed from both places - we need it in one place since they should be imported into a metadata server that is cataloguing data assets. |
Note this is an open metadata archive file of connector type definitions and is different from the connector implementation jar. |
The 'samples' and 'utilities' directories currently contain executable jars - ie they have a main and can be launched. The connector archives is not and cannot be run as built: (sorry I have an old build for testing right now - presume same)
If we look at an older version we see
Looking at the current dependencies I see:
So there are classes relating to connectors included, but this is implementation, not types.. and those connectors (maybe not cassandra as it's moving) already generally feature in server/lib in the distribution It does contain the archive reader and writer but without any guidance on execution, or a main, or an archive of connector type definitions it wasn't clear of the intent/where should be put. In the 2.8 code we now have an 'uber' archive which includes these dependencies - but already plan to remove this big archives (in general) shortly. This archive includes the dependencies above, which again is a lot of implementation code for connectors What do you think makes sense here? If we need specifically a type archive, this isn't it? |
This should be the open metadata archive builder for connector type definitions. It definiately belongs in utilities not samples. I am not sure what has happened to the main because there is a main coded in DataStoreConnectorsArchiveWriter. This is in the pom file ...
The connector provider implementations are linked because the archive writer extracts the connector type information from the connector provider. It is possible to build it with the provided setting to create a skinny jar. |
I have just run DataStoreConnectorsArchiveWriter and it correctly produced the archive file. |
Thanks for clarifying. I was able to run after a clean build. I think my testing was incorrect after I'd be experimenting with build changes in my tree.... I think from this discussion we need to
Since this is more than a build tool, but required by others, It would also be worth considering:
|
I am not sure why this one is singled out. We have similar utilities for building the open metadata archives for the design model content and open metadata types. They should all be treated the same. This is where the documentation is located: |
The initial observation related to this specifically, stemming from the jar's duplication. through the explanation it's purpose then became clear. The documentation suggestions are an increment that I think could apply to all of our tools, and assembly content I think the docs should be in two forms -- a guide, which comes from the design angle of how to configure/setup/build the system, as well as a reference which leads back from the directory structure. We also could do with an index of utilities. Currently the guide doesn't specifically call out this utility beyond the oneline readme, though it does have detail on the design. We could consider adding examples/use case Only the first step is important now, since I've removed it, but the other suggestions should make egeria easier to consume I think - but they're not urgent in any way. I'm happy to leave it assigned to myself to try and draft some content. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 20 days if no further activity occurs. Thank you for your contributions. |
this was fixed in #4897 |
This utility should only be in the distribution (via maven) once, not in both locations:
The text was updated successfully, but these errors were encountered: