You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
repository_path points to the jar (e.g /org/kill-bill/billing/plugin/java/analytics-plugin/0.7.1/analytics-plugin-0.7.1.jar)
file_name = jar
file_path = dir_name/file_name
bundle_dir = dir_name (BUT ONLY AFTER it has been successfully installed).
Did not investigate the case for pure OSGI default bundles, kaui or killbill war, but that should also be consistent so we can extract clear definition from those fields.
The text was updated successfully, but these errors were encountered:
Since BaseArtifact is the base class, we could hide magic detail for how those fields are computed in the KillbillPluginArtifact, KillbillServerArtifact, ...
Might even be useful to distinguish between KillbillJavaPluginArtifact and KillbillRubyPluginArtifact since they are so different and then all the logic with 'tgz',... could be hidden.
We currently construct the artifact_info with a a lot of useful fields such as:
dir_name
bundle_dir
file_path
repository_path
However the definition for those entries is not consistent across artifacts:
dir_name
=file_path
=pluginDir/ruby
repository_path
points to thetar.gz
(e.g/org/kill-bill/billing/plugin/ruby/payment-test-plugin/1.8.7/payment-test-plugin-1.8.7.tar.gz
)bundle_dir
=pluginDir/ruby/plugin_name/plugin_version
(BUT ONLY AFTER it has been successfully installed).dir_name
=pluginDir/java/plugin_name/plugin_version
repository_path
points to thejar
(e.g/org/kill-bill/billing/plugin/java/analytics-plugin/0.7.1/analytics-plugin-0.7.1.jar
)file_name
= jarfile_path
=dir_name/file_name
bundle_dir
=dir_name
(BUT ONLY AFTER it has been successfully installed).Did not investigate the case for pure OSGI default bundles, kaui or killbill war, but that should also be consistent so we can extract clear definition from those fields.
The text was updated successfully, but these errors were encountered: