Skip to content
This repository has been archived by the owner on Mar 14, 2024. It is now read-only.

[KOGITO-3568] - Remove spec.httpPort attribute from Operator and HTTP… #630

Merged
merged 6 commits into from
Oct 29, 2020

Conversation

Kaitou786
Copy link
Contributor

@Kaitou786 Kaitou786 commented Oct 28, 2020

…_PORT env var from Kogito images

See: https://issues.redhat.com/browse/KOGITO-3568
Signed-off-by: Tarun Khandelwal tarkhand@redhat.com

Many thanks for submiting your Pull Request ❤️!

Please make sure that your PR meets the following requirements:

  • You have read the contributors' guide
  • Pull Request title is properly formatted: [KOGITO-XYZ] Subject
  • Pull Request contains link to the JIRA issue
  • Pull Request contains description of the issue
  • Pull Request does not include fixes for issues other than the main ticket
  • Your feature/bug fix has a unit test that verifies it
  • You've tested the new feature/bug fix in an actual OpenShift cluster

@kie-ci-bot kie-ci-bot bot added the WIP 👷‍♂️ Pull Request is on work in progress label Oct 28, 2020
@Kaitou786
Copy link
Contributor Author

/jenkins test

@codecov
Copy link

codecov bot commented Oct 28, 2020

Codecov Report

Merging #630 into master will decrease coverage by 4.30%.
The diff coverage is 57.61%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #630      +/-   ##
==========================================
- Coverage   42.01%   37.70%   -4.31%     
==========================================
  Files         169      146      -23     
  Lines        9012     6224    -2788     
==========================================
- Hits         3786     2347    -1439     
+ Misses       4812     3502    -1310     
+ Partials      414      375      -39     
Flag Coverage Δ
#cli 54.17% <57.61%> (-0.81%) ⬇️
#operator 33.07% <ø> (-5.50%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
cmd/kogito/command/service/build_service.go 0.00% <0.00%> (ø)
cmd/kogito/command/service/runtime_service.go 0.00% <0.00%> (ø)
cmd/kogito/command/shared/default_services.go 0.00% <0.00%> (ø)
cmd/kogito/command/shared/install_services.go 0.00% <0.00%> (ø)
cmd/kogito/command/shared/resource_checks.go 63.29% <0.00%> (-4.53%) ⬇️
pkg/apis/app/v1alpha1/conditions.go 93.10% <ø> (+3.62%) ⬆️
pkg/apis/app/v1alpha1/kogitobuild_types.go 14.28% <ø> (-85.72%) ⬇️
pkg/apis/app/v1alpha1/kogitoinfra_types.go 100.00% <ø> (ø)
pkg/apis/app/v1alpha1/kogitoruntime_types.go 10.00% <ø> (-2.50%) ⬇️
pkg/apis/app/v1alpha1/kogitoservices_types.go 0.00% <ø> (ø)
... and 201 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 734652e...d123ec4. Read the comment docs.

@Kaitou786
Copy link
Contributor Author

/jenkins test

@Kaitou786 Kaitou786 marked this pull request as ready for review October 28, 2020 10:59
@kie-ci-bot kie-ci-bot bot removed the WIP 👷‍♂️ Pull Request is on work in progress label Oct 28, 2020
@kie-ci-bot kie-ci-bot bot added bdd-tests 🧪 PR is related to the BDD test framework cli 💻 Pull Request related to cli code base needs review 🔍 Pull Request that needs reviewers operator ☁️ Pull Request related to kogito-operator code base labels Oct 28, 2020
@Kaitou786 Kaitou786 requested review from vaibhavjainwiz and removed request for Sgitario October 28, 2020 10:59
Copy link
Contributor

@Sgitario Sgitario left a comment

Choose a reason for hiding this comment

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

There is a BDD scenario to cover the functionality that has been removed: update_httpport.feature. Therefore, this feature needs to be removed as well.

@kie-ci-bot
Copy link

kie-ci-bot bot commented Oct 28, 2020

Change detected in the PR, requesting reviews and running pipeline(if required) again

@Kaitou786
Copy link
Contributor Author

There is a BDD scenario to cover the functionality that has been removed: update_httpport.feature. Therefore, this feature needs to be removed as well.

Thanks, removed the file :)

@Kaitou786
Copy link
Contributor Author

/jenkins test

Copy link
Member

@ricardozanini ricardozanini left a comment

Choose a reason for hiding this comment

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

I like to see the old code going away. Nice job! You've been doing a great job removing things from the operator. :)

@ricardozanini
Copy link
Member

@Kaitou786 please update the RELEASE_NOTES.md file. Maybe we should add this rule to the bot?

@ricardozanini ricardozanini added this to the v1.0.0 milestone Oct 28, 2020
@kie-ci-bot
Copy link

kie-ci-bot bot commented Oct 28, 2020

Change detected in the PR, requesting reviews and running pipeline(if required) again

@kie-ci-bot
Copy link

kie-ci-bot bot commented Oct 28, 2020

Change detected in the PR, requesting reviews and running pipeline(if required) again

@Kaitou786
Copy link
Contributor Author

@Kaitou786 please update the RELEASE_NOTES.md file. Maybe we should add this rule to the bot?

Done, for the bot what kind of rule do we want, every PR which have a milestone should be added to RELEASE_NOTES.md?

Copy link
Contributor

@vaibhavjainwiz vaibhavjainwiz left a comment

@kie-ci-bot
Copy link

kie-ci-bot bot commented Oct 28, 2020

Change detected in the PR, requesting reviews and running pipeline(if required) again

1 similar comment
@kie-ci-bot
Copy link

kie-ci-bot bot commented Oct 28, 2020

Change detected in the PR, requesting reviews and running pipeline(if required) again

@Kaitou786
Copy link
Contributor Author

Kaitou786 commented Oct 28, 2020

@vaibhavjainwiz Thanks for noticing these :), I added all your comments can you take a second look :)

@Kaitou786
Copy link
Contributor Author

/jenkins test

Copy link
Contributor

@vaibhavjainwiz vaibhavjainwiz left a comment

Choose a reason for hiding this comment

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

LGTM

@Kaitou786
Copy link
Contributor Author

/jenkins test

@Kaitou786
Copy link
Contributor Author

/jenkins test

@ricardozanini
Copy link
Member

@sutaakar do you want to take a look before I merge this one?

@kie-ci-bot
Copy link

kie-ci-bot bot commented Oct 29, 2020

Change detected in the PR, requesting reviews and running pipeline(if required) again

@kie-ci-bot
Copy link

kie-ci-bot bot commented Oct 29, 2020

Change detected in the PR, requesting reviews and running pipeline(if required) again

@Kaitou786
Copy link
Contributor Author

/jenkins test

Copy link
Contributor

@sutaakar sutaakar left a comment

Choose a reason for hiding this comment

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

Looks good to me

@ricardozanini ricardozanini added ready 🚀 PR is ready to be merged and removed needs review 🔍 Pull Request that needs reviewers labels Oct 29, 2020
@ricardozanini ricardozanini merged commit b681c89 into apache:master Oct 29, 2020
@Kaitou786 Kaitou786 deleted the KOGITO-3568 branch October 29, 2020 14:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bdd-tests 🧪 PR is related to the BDD test framework cli 💻 Pull Request related to cli code base operator ☁️ Pull Request related to kogito-operator code base ready 🚀 PR is ready to be merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants