Skip to content

Comments

FLPATH-2749 | Refactor the Plugin code based on new structure to cost…#2274

Closed
asmasarw wants to merge 39 commits intoredhat-developer:mainfrom
asmasarw:feature/refactor-plugin
Closed

FLPATH-2749 | Refactor the Plugin code based on new structure to cost…#2274
asmasarw wants to merge 39 commits intoredhat-developer:mainfrom
asmasarw:feature/refactor-plugin

Conversation

@asmasarw
Copy link
Contributor

@asmasarw asmasarw commented Feb 8, 2026

Refactor the Plugin code based on new structure to cost-management

@rhdh-gh-app
Copy link

rhdh-gh-app bot commented Feb 8, 2026

Missing Changesets

The following package(s) are changed by this PR but do not have a changeset:

  • @red-hat-developer-hub/plugin-cost-management-common
  • @red-hat-developer-hub/plugin-cost-management

See CONTRIBUTING.md for more information about how to add changesets.

Changed Packages

Package Name Package Path Changeset Bump Current Version
app workspaces/cost-management/packages/app none v0.0.5
backend workspaces/cost-management/packages/backend none v0.0.5
@red-hat-developer-hub/plugin-cost-management-backend workspaces/cost-management/plugins/cost-management-backend patch v2.0.2
@red-hat-developer-hub/plugin-cost-management-common workspaces/cost-management/plugins/cost-management-common none v2.0.1
@red-hat-developer-hub/plugin-cost-management workspaces/cost-management/plugins/cost-management none v2.0.1

@ydayagi
Copy link
Contributor

ydayagi commented Feb 8, 2026

are we renaming the plugin to Cost Management?

@asmasarw
Copy link
Contributor Author

asmasarw commented Feb 9, 2026

yes @ydayagi

@asmasarw asmasarw force-pushed the feature/refactor-plugin branch from 8e1ef40 to ea44033 Compare February 9, 2026 08:36
@ydayagi
Copy link
Contributor

ydayagi commented Feb 9, 2026

yes @ydayagi

@asmasarw we'll need to update the marketplace as well

Copy link
Contributor

@PreetiW PreetiW left a comment

Choose a reason for hiding this comment

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

@asmasarw as a part of the card we wanted to refactor the plugin folders as well, can you check the same? at the moment the plugin code structure is around redhat-resource-optimization but since we changed the plugin to cost management I think it will better to refactor each plugin to cost-management which was the scope of the jira. Let me know what you think? if you think it is too risky then we can discuss! 🙌🏻

@asmasarw asmasarw requested review from a team as code owners February 16, 2026 10:29
@asmasarw asmasarw force-pushed the feature/refactor-plugin branch from 9438a72 to ea44033 Compare February 16, 2026 11:32
asmasarw and others added 17 commits February 16, 2026 16:27
…loper#2285)

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…oper#2293)

* chores(x2a): refactor router for better maintainability

Signed-off-by: Marek Libra <marek.libra@gmail.com>

* refactor router tests and increase coverage

Signed-off-by: Marek Libra <marek.libra@gmail.com>

* Fix tests

---------

Signed-off-by: Marek Libra <marek.libra@gmail.com>
Signed-off-by: Jon Koops <jonkoops@gmail.com>
* First draft: Real Job creation

* job template is able to git pull

* Working full init job including git

* init phase coomplete, skeleton for other phases

* With fixes tests, yarn full

* app-config reset

* rbac

* reverting aap and rbac to main

* prettier

* Working Analyze phase + owner reference delete secret

* analyze job works

* migrate changes

* remove callback url call

* Working analyze + migration steps

* api report

* After rebase

* Error handling on bash script

* Tests error
…veloper#2302)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Jon Koops <jonkoops@gmail.com>
…er#2255)

* RHINENG-23334 updated docs for Cost Management plugin

* chore: updated README.md
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…veloper#2266)

* feat(x2a): Enable backend application for collectartifacts

This is the initial implementation on the collectArtifacts, there are a
few things missing(Marked as TODO), but I think that it'll be good to
have a bootstrap already, and improved in different steps like security
and events on job finished.

Signed-off-by: Eloy Coto <eloy.coto@acalustra.com>

* fix(x2a): PR feedback

Signed-off-by: Eloy Coto <eloy.coto@acalustra.com>

---------

Signed-off-by: Eloy Coto <eloy.coto@acalustra.com>
…to the modules table (redhat-developer#2310)

Signed-off-by: Marek Libra <marek.libra@gmail.com>
…edhat-developer#2281)

* feat(x2a): renew git repo tokens before submitting run-phase action

Signed-off-by: Marek Libra <marek.libra@gmail.com>

* review

---------

Signed-off-by: Marek Libra <marek.libra@gmail.com>
* feat(x2a): add project and module status

Signed-off-by: Marek Libra <marek.libra@gmail.com>

* Add errorDetails to the UI

* yarn.lock

* review

---------

Signed-off-by: Marek Libra <marek.libra@gmail.com>
@sonarqubecloud
Copy link

@asmasarw asmasarw closed this Feb 17, 2026
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.

10 participants