Skip to content
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

chore(kork-aws): Converting groovy classes to java #335

Merged
merged 1 commit into from
Jul 9, 2019

Conversation

jeyrschabu
Copy link
Contributor

  • Additional: minor refactor to extract ssh dsl bits to a class RemoteCredentialsSupport.


import java.text.SimpleDateFormat

class RemoteCredentialsSupport {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Keeping this class in groovy because of sshoogr/sshoogr#81

@spinnakerbot
Copy link
Contributor

We prefer that non-test backend code be written in Java or Kotlin, rather than Groovy. The following files have been added and written in Groovy:

  • kork-aws/src/main/groovy/com/netflix/spinnaker/kork/aws/bastion/RemoteCredentialsSupport.groovy

See our server-side commit conventions here.

@cfieber
Copy link
Contributor

cfieber commented Jul 8, 2019

looks like a couple of the Bastion files that were converted to java got left in the src/main/groovy dir, would be worth moving them over to src/main/java

Copy link
Contributor

@cfieber cfieber left a comment

Choose a reason for hiding this comment

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

minor comment, otherwise :shipit:

- Additional: minor refactor to extract ssh dsl bits to a class
@jeyrschabu jeyrschabu merged commit 0e9ddcc into spinnaker:master Jul 9, 2019
claymccoy pushed a commit to claymccoy/kork that referenced this pull request Mar 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants