You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "squakez (via GitHub)" <gi...@apache.org> on 2023/04/12 07:32:02 UTC

[GitHub] [camel-k] squakez opened a new issue, #4244: Upload local dependencies as maven artifact

squakez opened a new issue, #4244:
URL: https://github.com/apache/camel-k/issues/4244

   With #1227 we've enabled the possibility to use local dependencies. However, the mechanism seems to be working only using "spectrum" strategy which won't let certain cluster (ie, OCP) to have the feature fully available. We are also performing this operation on the client side, which I think it create a certain coupling we need to avoid.
   
   I wonder if we can rethink the implementation of the feature differently. I am thinking we could upload the dependency to the operator Pod and delegate to it the deployment to the local maven repo using the `maven deploy:deploy` [1]. As in version 2 we have a storage that will keep the dependencies, it could be a possible strategy to adopt.
   
   [1] https://maven.apache.org/guides/mini/guide-3rd-party-jars-remote.html


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-k] squakez commented on issue #4244: Upload local dependencies as maven artifact

Posted by "squakez (via GitHub)" <gi...@apache.org>.
squakez commented on issue #4244:
URL: https://github.com/apache/camel-k/issues/4244#issuecomment-1504801540

   @johnpoth wdyt?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-k] squakez closed issue #4244: Upload local dependencies as maven artifact

Posted by "squakez (via GitHub)" <gi...@apache.org>.
squakez closed issue #4244: Upload local dependencies as maven artifact
URL: https://github.com/apache/camel-k/issues/4244


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-k] squakez commented on issue #4244: Upload local dependencies as maven artifact

Posted by "squakez (via GitHub)" <gi...@apache.org>.
squakez commented on issue #4244:
URL: https://github.com/apache/camel-k/issues/4244#issuecomment-1651065167

   This one probably does not make sense any longer. We should promote the usage of a Maven repository [1], in which case, uploading a dependency should be done over the repository.
   
   [1] https://camel.apache.org/blog/2023/06/camel-k-maven-proxy/


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-k] squakez commented on issue #4244: Upload local dependencies as maven artifact

Posted by "squakez (via GitHub)" <gi...@apache.org>.
squakez commented on issue #4244:
URL: https://github.com/apache/camel-k/issues/4244#issuecomment-1519954928

   Hello. The storage implemantation was described in https://github.com/apache/camel-k/issues/3831 - about the possibility to upload to the operator, it's an implementation detail I haven't taken in consideration yet. I was thinking at high level details, where the CLI (or even directly the `kubectl`) would upload the dependency with the compatible kube mechanisms, and from there, the operator would deploy to its local maven repo.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-k] github-actions[bot] commented on issue #4244: Upload local dependencies as maven artifact

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #4244:
URL: https://github.com/apache/camel-k/issues/4244#issuecomment-1650737383

   This issue has been automatically marked as stale due to 90 days of inactivity.
   It will be closed if no further activity occurs within 15 days.
   If you think that’s incorrect or the issue should never stale, please simply write any comment.
   Thanks for your contributions!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-k] johnpoth commented on issue #4244: Upload local dependencies as maven artifact

Posted by "johnpoth (via GitHub)" <gi...@apache.org>.
johnpoth commented on issue #4244:
URL: https://github.com/apache/camel-k/issues/4244#issuecomment-1519737390

   Hi @squakez ! Great idea! I tested this against OCP in the past and it worked but it was a long time ago... will try to give it another try at some point....
   
   How would the dependency be uploaded ? Via SCP? What is the storage planned for version 2 (haven't seen it mentioned in the roadmap)? 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org