-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
CLOUDSTACK-9815 move CertService to more generic location #2071
Conversation
this can be used in ApplicationClusters as well as in planned CA-plugins
@blueorangutan package |
@DaanHoogland a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
@rhtyd @rafaelweingartner @wido please have a look, |
LGTM. |
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-686 |
@@ -14,8 +14,9 @@ | |||
// KIND, either express or implied. See the License for the | |||
// specific language governing permissions and limitations | |||
// under the License. | |||
package com.cloud.network.lb; | |||
package com.cloud.network.ssl; | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just a note, SSL is outdated, the official name would be TLS, name the package tls? https://en.wikipedia.org/wiki/Transport_Layer_Security
@blueorangutan test |
@DaanHoogland unsupported parameters provided. Supported mgmt server os are: |
@blueorangutan package |
@DaanHoogland a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-687 |
@blueorangutan test |
@DaanHoogland a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
@DaanHoogland as long as we are moving things aroung. |
Trillian test result (tid-1047)
|
@rafaelweingartner I don't like to. Is this 👎 worth? Can of worms involved. There is a lot more service definitions to take into account when we do that move. We can but it is to much change for the scope of this one and only if we move all will it serve it purpose. Also this as is might be a breaking change so, though I need it I would like to keep it as small as possible. Of course happy to discuss if this is a blocker to you. I would like to do all of that in one go. It will break external plugins making use of services! |
the virtio failures are addressed in #2066. still needs a 'this reads like poetry to me" |
@DaanHoogland for me it is the same, I just thought that every time we create or move something to a new/different package, we could try to use the standard "org.apache….". I did not say that this is something that must be done. From my perspective, you are already creating the package "com.cloud.network.tls", right? With a can of worms, we can always get some fishes ;) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
falling for the presure from my respected peer @rafaelweingartner with an a-umlaut; left as an exercise to the reader: worms to be found when related packages are moved ;) |
@blueorangutan package |
@DaanHoogland a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-691 |
@blueorangutan test |
@DaanHoogland a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@DaanHoogland I have a doubt on a package changes, could you help me understand them?
@@ -271,6 +271,6 @@ | |||
class="org.apache.cloudstack.region.gslb.GlobalLoadBalancingRulesServiceImpl" > | |||
<property name="gslbServiceProviders" value="#{gslbServiceProvidersRegistry.registered}" /> | |||
</bean> | |||
<bean id="certServiceImpl" class="org.apache.cloudstack.network.lb.CertServiceImpl" /> | |||
<bean id="certServiceImpl" class="org.apache.cloudstack.network.ssl.CertServiceImpl" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't this package be "org.apache.cloudstack.network.tls"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could be but that would in this state be incorrect (see other discuss location in this review thread.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@karuturi the interfaces are in 'tls' sub-package, but the impl are still in 'ssl'?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rhtyd we will address that when we make this into a CA-service. I'll create a ticket. It is really very minor.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
issue CLOUDSTACK-9898 created
@@ -14,7 +14,7 @@ | |||
// KIND, either express or implied. See the License for the | |||
// specific language governing permissions and limitations | |||
// under the License. | |||
package org.apache.cloudstack.network.lb; | |||
package org.apache.cloudstack.network.ssl; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I got a little confuse here.
Did you create "org.apache.cloudstack.network.tls" or "org.apache.cloudstack.network.ssl"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ae4e571#diff-ebb55a3f7379d7132877a94057342689R39 shows "org.apache.cloudstack.network.tls". I will have a quick check to see what happened locally?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So here is what happened, @rafaelweingartner :
The service definition was in cloud.com... the service implementation was (already) in org.apache.cloudstack...
then I moved the definition around because of your and @resmo 's comments.
Now I could of course take a few seconds to move this code but I won't right now. I am in the process of building on it and will get to that in a next iteration.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, now I get it. So, someone else in the past moved the implementation, but not the interfaces.
That is why I was confused, thanks for the explanation and the good work 👍
@DaanHoogland ahahah, no pressure man :), |
Don't worry @rafaelweingartner I have an autoignoreonpressure mode. |
Trillian test result (tid-1054)
|
this can be used in ApplicationClusters as well as in planned CA-plugins