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

added UI for the first page of resource optimization plugin #2

Conversation

PreetiW
Copy link
Collaborator

@PreetiW PreetiW commented Jun 15, 2024

Hey, I just made a Pull Request!

added UI for the first page of resource optimization plugin and fixed endpoint in config

✔️ Checklist

  • A changeset describing the change and affected packages. (more info)
  • Tests for new functionality and regression tests for bug fixes
  • Screenshots attached (for UI changes)
  • All your commits have a Signed-off-by line in the message. (more info)

@jkilzi jkilzi force-pushed the resource-optimization/next branch from cf59d72 to 4704da2 Compare June 15, 2024 12:13
@PreetiW PreetiW force-pushed the resource-optimization-first-page-UI branch from c299d3f to c38407e Compare June 15, 2024 16:59
@jkilzi jkilzi force-pushed the resource-optimization/next branch from d0bc736 to 1a5b94f Compare June 17, 2024 13:29
@PreetiW PreetiW force-pushed the resource-optimization-first-page-UI branch from c38407e to 697f815 Compare June 18, 2024 09:10
@jkilzi jkilzi merged commit 359bf03 into jkilzi:resource-optimization/next Jun 18, 2024
jkilzi pushed a commit that referenced this pull request Jul 18, 2024
jkilzi pushed a commit that referenced this pull request Jul 21, 2024
jkilzi pushed a commit that referenced this pull request Jul 24, 2024
jkilzi pushed a commit that referenced this pull request Aug 5, 2024
jkilzi pushed a commit that referenced this pull request Aug 5, 2024
jkilzi added a commit that referenced this pull request Aug 5, 2024
adds placeholder for the FE and Common plug-ins

adds app-config.yaml


adds react-related missing peer-deps


adds resource-optimization-common as a dependency to the FE plug-in


adds a sample app and backend for showcase purposes

Adds also a PoC for the plugin icon

migrates the old common package to resource-optimization

uncomment catalog and other entries in app-config.yaml


fixes an eslint issue related to lodash


updates the icon snapshot


updates json.test.ts


adds initial code for the BE plugin

fixes the plugin icon


changes the plugin name in the navbar

adds 2 variants for the plugin icon

It now uses the 'outlined' variant by default


added UI for the first page of resource optimization plugin & fixed endpoint in config (#2)


fixes an issue in toCamelCaseObjectKeys function


introduces the resource-optimization-backend

Changelog:
- Solved the token renewal
- Improved the keys serialization/deserialization issue (use camelCase when receiving, but snake_case when sending data)
- The plugin can read the clientId and clientSecret from the app-config.yaml
- Cleans up the ExampleComponent.tsx

makes ssoBaseUrl config optional


cleans up ExampleComponent.tsx a bit more 


add assertion to ensure config is defined


replaces json utils with jsr:@y0n1/json


fix: fix missing query params after token expires


RHINENG-10603 first page table functionality - Pagination + Sorting (#3)

* RHINENG-10603 first page table functionality

* minor fixes

* code refactoring for landing page table

* handling offset and sorting query params and code cleanup

* disable third sort on table component

* added unit tests and code cleanup

* improved landing page layout

* fixed unit test
RHINENG-10603 landing page filters functionality (#4)

* RHINENG-10603 added search filter component and filters functionality

* passing id to detail page

* reading id from route params
fixes the issue with the query params in getRecommendationsList


RHINENG-10787 detail page top section and recommendation section (#5)

* RHINENG-10787 detail page top section and UI

* removed memoryUnit & cpuUnit from query

* code cleanup

* handling multiple filter values

* fixed cluster filter and detail page values

* added util method to handle YAML code generation from API response
ignores dynamic-plugins dist directory globally


adds janus-cli and export-dynamic scripts

removes ExampleFetchComponent

updates apis.ts

do not conver the recommendations_id param to snake case

fixes tsc, linting and formatting issues

fixes some issues related to different types  of dependencies


pathes PlotDetails model


stop depending on @mui/material and remove white bg from search filters


patches all the parameters of getRecommendationById


WIP on breakdown charts

Applies required refactors for compatibility with dynamic plugins (#6)

* adds @backstage/backend-dynamic-feature-service


* WIP

* adds rhdh theme


* adds devcontainer config


deletes code-workspace file


* removes leftovers froms the cost-management workspace


* updates resource-optimization frontend

* adds configuration files for rhdh

* Update workspaces/resource-optimization/plugins/resource-optimization/src/plugin.ts


---------

adds devcontainer config

adds deployment scripts

adds export-dynamic top-level script

fixes issues related to dependencies

removes the dynamic-plugins integration from the backend package

organizes the backend plugin exports

fixes linting and type-checking issues

exports the icon from the front-end plugin

Updates yarn.lock

fixes some type-only import statements

sync @backstage-community/plugin-resource-optimization-backend


Fixes style issues


fixes an issue related to the api-report generation

- see: backstage/backstage#25671

renames useRhdhTheme.ts to rhdh-theme.ts

cleans up devcontainer settings and code-workspace file


fixes style issues and generates api-report


fixes code style and adds the api-report


fixes code style and adds the api-report


Updates resource-optimization-common

Changelog:
- Patches the generated client code with ts-morph
- The code now complies with the rules of the api-report (produced by: `yarn build:api-reports`)
- Adds the api-report
- Updates the openapi.yaml
- Renames OrchestratorClient to OrchestratorApiClientProxy


Updates resource-optimization

Changelog:
- Aligns the code according to the refactor in resource-optimization-common


fix: detail page tab routing (#8)

* fix: detail page tab routing

* yarn fix: resource-optimization-common

* fix prettier & add prettier format script

* Update workspaces/resource-optimization/package.json

Co-authored-by: Jonathan Kilzi <jkilzi@redhat.com>
Signed-off-by: Preeti Wadhwani <preeti.dev.git@gmail.com>

* updated api-reports.md

---------

Signed-off-by: Preeti Wadhwani <preeti.dev.git@gmail.com>
Co-authored-by: Jonathan Kilzi <jkilzi@redhat.com>
Bug fixes & refactor (#10)

* WIP @ resource-optimization/fixes


* updates api-reports


* fixes the presentation in the last_reported column


* after yarn dedupe


* fixes code style issues


* dedupe packages


* fix code-style


* Renames serializer.mjs to yaml.mjs


* Bumps Backstage to 1.29.2

See: https://backstage.io/docs/releases/v1.28.0


* Fixes the "publish check" CI step failure


* bug fixes

- Solves an issue related to the recommendation plotData object where the object keys were transformed incorrectly
- Bumps @y0n1/json to 2.0.0
- Adds msw for writing tests for the client proxy module


---------

RHINENG-10789 added compont for showing box plot charts (#12)

* RHINENG-10789 added compont for showing box plot charts

* added missing keys for messages

* prettier format and fix

* fixed types errors

* minor fixes

* minor fixes for showing YAML code

* added charts for limit and request data, performace section

* fixed yarn.lock

* fixed types errors

* fix styles for chart y axis numbering

* minor fixes
Adds tests for OptimizationsApiClientProxy.ts (#14)

WIP: Adds READMEs and legal stuff (#15)

* WIP: Adds READMEs and legal stuff


* fixes a typo


* updates the readme


* adds missing info about the service account role


---------

Updates useRhdhTheme.ts (#16)

Changelog:
- Removes the logic involved in enabling the RHDH theme based on an environment variable

Adds postCreate script for the devcontainer

The script handles marking the repo as safe in git due to the owner and the internal container user having different UIDs

Updates the codeowners file

Signed-off-by: Jonathan Kilzi <jkilzi@redhat.com>
jkilzi added a commit that referenced this pull request Aug 5, 2024
adds placeholder for the FE and Common plug-ins

adds app-config.yaml


adds react-related missing peer-deps


adds resource-optimization-common as a dependency to the FE plug-in


adds a sample app and backend for showcase purposes

Adds also a PoC for the plugin icon

migrates the old common package to resource-optimization

uncomment catalog and other entries in app-config.yaml


fixes an eslint issue related to lodash


updates the icon snapshot


updates json.test.ts


adds initial code for the BE plugin

fixes the plugin icon


changes the plugin name in the navbar

adds 2 variants for the plugin icon

It now uses the 'outlined' variant by default


added UI for the first page of resource optimization plugin & fixed endpoint in config (#2)


fixes an issue in toCamelCaseObjectKeys function


introduces the resource-optimization-backend

Changelog:
- Solved the token renewal
- Improved the keys serialization/deserialization issue (use camelCase when receiving, but snake_case when sending data)
- The plugin can read the clientId and clientSecret from the app-config.yaml
- Cleans up the ExampleComponent.tsx

makes ssoBaseUrl config optional


cleans up ExampleComponent.tsx a bit more 


add assertion to ensure config is defined


replaces json utils with jsr:@y0n1/json


fix: fix missing query params after token expires


RHINENG-10603 first page table functionality - Pagination + Sorting (#3)

* RHINENG-10603 first page table functionality

* minor fixes

* code refactoring for landing page table

* handling offset and sorting query params and code cleanup

* disable third sort on table component

* added unit tests and code cleanup

* improved landing page layout

* fixed unit test
RHINENG-10603 landing page filters functionality (#4)

* RHINENG-10603 added search filter component and filters functionality

* passing id to detail page

* reading id from route params
fixes the issue with the query params in getRecommendationsList


RHINENG-10787 detail page top section and recommendation section (#5)

* RHINENG-10787 detail page top section and UI

* removed memoryUnit & cpuUnit from query

* code cleanup

* handling multiple filter values

* fixed cluster filter and detail page values

* added util method to handle YAML code generation from API response
ignores dynamic-plugins dist directory globally


adds janus-cli and export-dynamic scripts

removes ExampleFetchComponent

updates apis.ts

do not conver the recommendations_id param to snake case

fixes tsc, linting and formatting issues

fixes some issues related to different types  of dependencies


pathes PlotDetails model


stop depending on @mui/material and remove white bg from search filters


patches all the parameters of getRecommendationById


WIP on breakdown charts

Applies required refactors for compatibility with dynamic plugins (#6)

* adds @backstage/backend-dynamic-feature-service


* WIP

* adds rhdh theme


* adds devcontainer config


deletes code-workspace file


* removes leftovers froms the cost-management workspace


* updates resource-optimization frontend

* adds configuration files for rhdh

* Update workspaces/resource-optimization/plugins/resource-optimization/src/plugin.ts


---------

adds devcontainer config

adds deployment scripts

adds export-dynamic top-level script

fixes issues related to dependencies

removes the dynamic-plugins integration from the backend package

organizes the backend plugin exports

fixes linting and type-checking issues

exports the icon from the front-end plugin

Updates yarn.lock

fixes some type-only import statements

sync @backstage-community/plugin-resource-optimization-backend


Fixes style issues


fixes an issue related to the api-report generation

- see: backstage/backstage#25671

renames useRhdhTheme.ts to rhdh-theme.ts

cleans up devcontainer settings and code-workspace file


fixes style issues and generates api-report


fixes code style and adds the api-report


fixes code style and adds the api-report


Updates resource-optimization-common

Changelog:
- Patches the generated client code with ts-morph
- The code now complies with the rules of the api-report (produced by: `yarn build:api-reports`)
- Adds the api-report
- Updates the openapi.yaml
- Renames OrchestratorClient to OrchestratorApiClientProxy


Updates resource-optimization

Changelog:
- Aligns the code according to the refactor in resource-optimization-common


fix: detail page tab routing (#8)

* fix: detail page tab routing

* yarn fix: resource-optimization-common

* fix prettier & add prettier format script

* Update workspaces/resource-optimization/package.json

Co-authored-by: Jonathan Kilzi <jkilzi@redhat.com>
Signed-off-by: Preeti Wadhwani <preeti.dev.git@gmail.com>

* updated api-reports.md

---------

Signed-off-by: Preeti Wadhwani <preeti.dev.git@gmail.com>
Co-authored-by: Jonathan Kilzi <jkilzi@redhat.com>
Bug fixes & refactor (#10)

* WIP @ resource-optimization/fixes


* updates api-reports


* fixes the presentation in the last_reported column


* after yarn dedupe


* fixes code style issues


* dedupe packages


* fix code-style


* Renames serializer.mjs to yaml.mjs


* Bumps Backstage to 1.29.2

See: https://backstage.io/docs/releases/v1.28.0


* Fixes the "publish check" CI step failure


* bug fixes

- Solves an issue related to the recommendation plotData object where the object keys were transformed incorrectly
- Bumps @y0n1/json to 2.0.0
- Adds msw for writing tests for the client proxy module


---------

RHINENG-10789 added compont for showing box plot charts (#12)

* RHINENG-10789 added compont for showing box plot charts

* added missing keys for messages

* prettier format and fix

* fixed types errors

* minor fixes

* minor fixes for showing YAML code

* added charts for limit and request data, performace section

* fixed yarn.lock

* fixed types errors

* fix styles for chart y axis numbering

* minor fixes
Adds tests for OptimizationsApiClientProxy.ts (#14)

WIP: Adds READMEs and legal stuff (#15)

* WIP: Adds READMEs and legal stuff


* fixes a typo


* updates the readme


* adds missing info about the service account role


---------

Updates useRhdhTheme.ts (#16)

Changelog:
- Removes the logic involved in enabling the RHDH theme based on an environment variable

Adds postCreate script for the devcontainer

The script handles marking the repo as safe in git due to the owner and the internal container user having different UIDs

Updates the codeowners file

Signed-off-by: Jonathan Kilzi <jkilzi@redhat.com>
jkilzi added a commit that referenced this pull request Aug 5, 2024
adds placeholder for the FE and Common plug-ins

adds app-config.yaml


adds react-related missing peer-deps


adds resource-optimization-common as a dependency to the FE plug-in


adds a sample app and backend for showcase purposes

Adds also a PoC for the plugin icon

migrates the old common package to resource-optimization

uncomment catalog and other entries in app-config.yaml


fixes an eslint issue related to lodash


updates the icon snapshot


updates json.test.ts


adds initial code for the BE plugin

fixes the plugin icon


changes the plugin name in the navbar

adds 2 variants for the plugin icon

It now uses the 'outlined' variant by default


added UI for the first page of resource optimization plugin & fixed endpoint in config (#2)


fixes an issue in toCamelCaseObjectKeys function


introduces the resource-optimization-backend

Changelog:
- Solved the token renewal
- Improved the keys serialization/deserialization issue (use camelCase when receiving, but snake_case when sending data)
- The plugin can read the clientId and clientSecret from the app-config.yaml
- Cleans up the ExampleComponent.tsx

makes ssoBaseUrl config optional


cleans up ExampleComponent.tsx a bit more 


add assertion to ensure config is defined


replaces json utils with jsr:@y0n1/json


fix: fix missing query params after token expires


RHINENG-10603 first page table functionality - Pagination + Sorting (#3)

* RHINENG-10603 first page table functionality

* minor fixes

* code refactoring for landing page table

* handling offset and sorting query params and code cleanup

* disable third sort on table component

* added unit tests and code cleanup

* improved landing page layout

* fixed unit test
RHINENG-10603 landing page filters functionality (#4)

* RHINENG-10603 added search filter component and filters functionality

* passing id to detail page

* reading id from route params
fixes the issue with the query params in getRecommendationsList


RHINENG-10787 detail page top section and recommendation section (#5)

* RHINENG-10787 detail page top section and UI

* removed memoryUnit & cpuUnit from query

* code cleanup

* handling multiple filter values

* fixed cluster filter and detail page values

* added util method to handle YAML code generation from API response
ignores dynamic-plugins dist directory globally


adds janus-cli and export-dynamic scripts

removes ExampleFetchComponent

updates apis.ts

do not conver the recommendations_id param to snake case

fixes tsc, linting and formatting issues

fixes some issues related to different types  of dependencies


pathes PlotDetails model


stop depending on @mui/material and remove white bg from search filters


patches all the parameters of getRecommendationById


WIP on breakdown charts

Applies required refactors for compatibility with dynamic plugins (#6)

* adds @backstage/backend-dynamic-feature-service


* WIP

* adds rhdh theme


* adds devcontainer config


deletes code-workspace file


* removes leftovers froms the cost-management workspace


* updates resource-optimization frontend

* adds configuration files for rhdh

* Update workspaces/resource-optimization/plugins/resource-optimization/src/plugin.ts


---------

adds devcontainer config

adds deployment scripts

adds export-dynamic top-level script

fixes issues related to dependencies

removes the dynamic-plugins integration from the backend package

organizes the backend plugin exports

fixes linting and type-checking issues

exports the icon from the front-end plugin

Updates yarn.lock

fixes some type-only import statements

sync @backstage-community/plugin-resource-optimization-backend


Fixes style issues


fixes an issue related to the api-report generation

- see: backstage/backstage#25671

renames useRhdhTheme.ts to rhdh-theme.ts

cleans up devcontainer settings and code-workspace file


fixes style issues and generates api-report


fixes code style and adds the api-report


fixes code style and adds the api-report


Updates resource-optimization-common

Changelog:
- Patches the generated client code with ts-morph
- The code now complies with the rules of the api-report (produced by: `yarn build:api-reports`)
- Adds the api-report
- Updates the openapi.yaml
- Renames OrchestratorClient to OrchestratorApiClientProxy


Updates resource-optimization

Changelog:
- Aligns the code according to the refactor in resource-optimization-common


fix: detail page tab routing (#8)

* fix: detail page tab routing

* yarn fix: resource-optimization-common

* fix prettier & add prettier format script

* Update workspaces/resource-optimization/package.json

Co-authored-by: Jonathan Kilzi <jkilzi@redhat.com>
Signed-off-by: Preeti Wadhwani <preeti.dev.git@gmail.com>

* updated api-reports.md

---------

Signed-off-by: Preeti Wadhwani <preeti.dev.git@gmail.com>
Co-authored-by: Jonathan Kilzi <jkilzi@redhat.com>
Bug fixes & refactor (#10)

* WIP @ resource-optimization/fixes


* updates api-reports


* fixes the presentation in the last_reported column


* after yarn dedupe


* fixes code style issues


* dedupe packages


* fix code-style


* Renames serializer.mjs to yaml.mjs


* Bumps Backstage to 1.29.2

See: https://backstage.io/docs/releases/v1.28.0


* Fixes the "publish check" CI step failure


* bug fixes

- Solves an issue related to the recommendation plotData object where the object keys were transformed incorrectly
- Bumps @y0n1/json to 2.0.0
- Adds msw for writing tests for the client proxy module


---------

RHINENG-10789 added compont for showing box plot charts (#12)

* RHINENG-10789 added compont for showing box plot charts

* added missing keys for messages

* prettier format and fix

* fixed types errors

* minor fixes

* minor fixes for showing YAML code

* added charts for limit and request data, performace section

* fixed yarn.lock

* fixed types errors

* fix styles for chart y axis numbering

* minor fixes
Adds tests for OptimizationsApiClientProxy.ts (#14)

WIP: Adds READMEs and legal stuff (#15)

* WIP: Adds READMEs and legal stuff


* fixes a typo


* updates the readme


* adds missing info about the service account role


---------

Updates useRhdhTheme.ts (#16)

Changelog:
- Removes the logic involved in enabling the RHDH theme based on an environment variable

Adds postCreate script for the devcontainer

The script handles marking the repo as safe in git due to the owner and the internal container user having different UIDs

Updates the codeowners file

Signed-off-by: Jonathan Kilzi <jkilzi@redhat.com>
jkilzi added a commit that referenced this pull request Aug 5, 2024
adds placeholder for the FE and Common plug-ins

adds app-config.yaml

adds react-related missing peer-deps

adds resource-optimization-common as a dependency to the FE plug-in

adds a sample app and backend for showcase purposes

Adds also a PoC for the plugin icon

migrates the old common package to resource-optimization

uncomment catalog and other entries in app-config.yaml

fixes an eslint issue related to lodash

updates the icon snapshot

updates json.test.ts

adds initial code for the BE plugin

fixes the plugin icon

changes the plugin name in the navbar

adds 2 variants for the plugin icon

It now uses the 'outlined' variant by default

added UI for the first page of resource optimization plugin & fixed endpoint in config (#2)

fixes an issue in toCamelCaseObjectKeys function

introduces the resource-optimization-backend

Changelog:
- Solved the token renewal
- Improved the keys serialization/deserialization issue (use camelCase when receiving, but snake_case when sending data)
- The plugin can read the clientId and clientSecret from the app-config.yaml
- Cleans up the ExampleComponent.tsx

makes ssoBaseUrl config optional

cleans up ExampleComponent.tsx a bit more

add assertion to ensure config is defined

replaces json utils with jsr:@y0n1/json

fix: fix missing query params after token expires

RHINENG-10603 first page table functionality - Pagination + Sorting (#3)

* RHINENG-10603 first page table functionality

* minor fixes

* code refactoring for landing page table

* handling offset and sorting query params and code cleanup

* disable third sort on table component

* added unit tests and code cleanup

* improved landing page layout

* fixed unit test
RHINENG-10603 landing page filters functionality (#4)

* RHINENG-10603 added search filter component and filters functionality

* passing id to detail page

* reading id from route params
fixes the issue with the query params in getRecommendationsList

RHINENG-10787 detail page top section and recommendation section (#5)

* RHINENG-10787 detail page top section and UI

* removed memoryUnit & cpuUnit from query

* code cleanup

* handling multiple filter values

* fixed cluster filter and detail page values

* added util method to handle YAML code generation from API response
ignores dynamic-plugins dist directory globally

adds janus-cli and export-dynamic scripts

removes ExampleFetchComponent

updates apis.ts

do not conver the recommendations_id param to snake case

fixes tsc, linting and formatting issues

fixes some issues related to different types  of dependencies

pathes PlotDetails model

stop depending on @mui/material and remove white bg from search filters

patches all the parameters of getRecommendationById

WIP on breakdown charts

Applies required refactors for compatibility with dynamic plugins (#6)

* adds @backstage/backend-dynamic-feature-service

* WIP

* adds rhdh theme

* adds devcontainer config

deletes code-workspace file

* removes leftovers froms the cost-management workspace

* updates resource-optimization frontend

* adds configuration files for rhdh

* Update workspaces/resource-optimization/plugins/resource-optimization/src/plugin.ts

---------

adds devcontainer config

adds deployment scripts

adds export-dynamic top-level script

fixes issues related to dependencies

removes the dynamic-plugins integration from the backend package

organizes the backend plugin exports

fixes linting and type-checking issues

exports the icon from the front-end plugin

Updates yarn.lock

fixes some type-only import statements

sync @backstage-community/plugin-resource-optimization-backend

Fixes style issues

fixes an issue related to the api-report generation

- see: backstage/backstage#25671

renames useRhdhTheme.ts to rhdh-theme.ts

cleans up devcontainer settings and code-workspace file

fixes style issues and generates api-report

fixes code style and adds the api-report

fixes code style and adds the api-report

Updates resource-optimization-common

Changelog:
- Patches the generated client code with ts-morph
- The code now complies with the rules of the api-report (produced by: `yarn build:api-reports`)
- Adds the api-report
- Updates the openapi.yaml
- Renames OrchestratorClient to OrchestratorApiClientProxy

Updates resource-optimization

Changelog:
- Aligns the code according to the refactor in resource-optimization-common

fix: detail page tab routing (#8)

* fix: detail page tab routing

* yarn fix: resource-optimization-common

* fix prettier & add prettier format script

* Update workspaces/resource-optimization/package.json

Co-authored-by: Jonathan Kilzi <jkilzi@redhat.com>
Signed-off-by: Preeti Wadhwani <preeti.dev.git@gmail.com>

* updated api-reports.md

---------

Signed-off-by: Preeti Wadhwani <preeti.dev.git@gmail.com>
Co-authored-by: Jonathan Kilzi <jkilzi@redhat.com>
Bug fixes & refactor (#10)

* WIP @ resource-optimization/fixes

* updates api-reports

* fixes the presentation in the last_reported column

* after yarn dedupe

* fixes code style issues

* dedupe packages

* fix code-style

* Renames serializer.mjs to yaml.mjs

* Bumps Backstage to 1.29.2

See: https://backstage.io/docs/releases/v1.28.0

* Fixes the "publish check" CI step failure

* bug fixes

- Solves an issue related to the recommendation plotData object where the object keys were transformed incorrectly
- Bumps @y0n1/json to 2.0.0
- Adds msw for writing tests for the client proxy module

---------

RHINENG-10789 added compont for showing box plot charts (#12)

* RHINENG-10789 added compont for showing box plot charts

* added missing keys for messages

* prettier format and fix

* fixed types errors

* minor fixes

* minor fixes for showing YAML code

* added charts for limit and request data, performace section

* fixed yarn.lock

* fixed types errors

* fix styles for chart y axis numbering

* minor fixes
Adds tests for OptimizationsApiClientProxy.ts (#14)

WIP: Adds READMEs and legal stuff (#15)

* WIP: Adds READMEs and legal stuff

* fixes a typo

* updates the readme

* adds missing info about the service account role

---------

Updates useRhdhTheme.ts (#16)

Changelog:
- Removes the logic involved in enabling the RHDH theme based on an environment variable

Adds postCreate script for the devcontainer

The script handles marking the repo as safe in git due to the owner and the internal container user having different UIDs

Updates the codeowners file

Signed-off-by: Jonathan Kilzi <jkilzi@redhat.com>
jkilzi added a commit that referenced this pull request Aug 5, 2024
adds placeholder for the FE and Common plug-ins

adds app-config.yaml

adds react-related missing peer-deps

adds resource-optimization-common as a dependency to the FE plug-in

adds a sample app and backend for showcase purposes

Adds also a PoC for the plugin icon

migrates the old common package to resource-optimization

uncomment catalog and other entries in app-config.yaml

fixes an eslint issue related to lodash

updates the icon snapshot

updates json.test.ts

adds initial code for the BE plugin

fixes the plugin icon

changes the plugin name in the navbar

adds 2 variants for the plugin icon

It now uses the 'outlined' variant by default

added UI for the first page of resource optimization plugin & fixed endpoint in config (#2)

fixes an issue in toCamelCaseObjectKeys function

introduces the resource-optimization-backend

Changelog:
- Solved the token renewal
- Improved the keys serialization/deserialization issue (use camelCase when receiving, but snake_case when sending data)
- The plugin can read the clientId and clientSecret from the app-config.yaml
- Cleans up the ExampleComponent.tsx

makes ssoBaseUrl config optional

cleans up ExampleComponent.tsx a bit more

add assertion to ensure config is defined

replaces json utils with jsr:@y0n1/json

fix: fix missing query params after token expires

RHINENG-10603 first page table functionality - Pagination + Sorting (#3)

* RHINENG-10603 first page table functionality

* minor fixes

* code refactoring for landing page table

* handling offset and sorting query params and code cleanup

* disable third sort on table component

* added unit tests and code cleanup

* improved landing page layout

* fixed unit test
RHINENG-10603 landing page filters functionality (#4)

* RHINENG-10603 added search filter component and filters functionality

* passing id to detail page

* reading id from route params
fixes the issue with the query params in getRecommendationsList

RHINENG-10787 detail page top section and recommendation section (#5)

* RHINENG-10787 detail page top section and UI

* removed memoryUnit & cpuUnit from query

* code cleanup

* handling multiple filter values

* fixed cluster filter and detail page values

* added util method to handle YAML code generation from API response
ignores dynamic-plugins dist directory globally

adds janus-cli and export-dynamic scripts

removes ExampleFetchComponent

updates apis.ts

do not conver the recommendations_id param to snake case

fixes tsc, linting and formatting issues

fixes some issues related to different types  of dependencies

pathes PlotDetails model

stop depending on @mui/material and remove white bg from search filters

patches all the parameters of getRecommendationById

WIP on breakdown charts

Applies required refactors for compatibility with dynamic plugins (#6)

* adds @backstage/backend-dynamic-feature-service

* WIP

* adds rhdh theme

* adds devcontainer config

deletes code-workspace file

* removes leftovers froms the cost-management workspace

* updates resource-optimization frontend

* adds configuration files for rhdh

* Update workspaces/resource-optimization/plugins/resource-optimization/src/plugin.ts

---------

adds devcontainer config

adds deployment scripts

adds export-dynamic top-level script

fixes issues related to dependencies

removes the dynamic-plugins integration from the backend package

organizes the backend plugin exports

fixes linting and type-checking issues

exports the icon from the front-end plugin

Updates yarn.lock

fixes some type-only import statements

sync @backstage-community/plugin-resource-optimization-backend

Fixes style issues

fixes an issue related to the api-report generation

- see: backstage/backstage#25671

renames useRhdhTheme.ts to rhdh-theme.ts

cleans up devcontainer settings and code-workspace file

fixes style issues and generates api-report

fixes code style and adds the api-report

fixes code style and adds the api-report

Updates resource-optimization-common

Changelog:
- Patches the generated client code with ts-morph
- The code now complies with the rules of the api-report (produced by: `yarn build:api-reports`)
- Adds the api-report
- Updates the openapi.yaml
- Renames OrchestratorClient to OrchestratorApiClientProxy

Updates resource-optimization

Changelog:
- Aligns the code according to the refactor in resource-optimization-common

fix: detail page tab routing (#8)

* fix: detail page tab routing

* yarn fix: resource-optimization-common

* fix prettier & add prettier format script

* Update workspaces/resource-optimization/package.json

Co-authored-by: Jonathan Kilzi <jkilzi@redhat.com>
Signed-off-by: Preeti Wadhwani <preeti.dev.git@gmail.com>

* updated api-reports.md

---------

Signed-off-by: Preeti Wadhwani <preeti.dev.git@gmail.com>
Co-authored-by: Jonathan Kilzi <jkilzi@redhat.com>
Bug fixes & refactor (#10)

* WIP @ resource-optimization/fixes

* updates api-reports

* fixes the presentation in the last_reported column

* after yarn dedupe

* fixes code style issues

* dedupe packages

* fix code-style

* Renames serializer.mjs to yaml.mjs

* Bumps Backstage to 1.29.2

See: https://backstage.io/docs/releases/v1.28.0

* Fixes the "publish check" CI step failure

* bug fixes

- Solves an issue related to the recommendation plotData object where the object keys were transformed incorrectly
- Bumps @y0n1/json to 2.0.0
- Adds msw for writing tests for the client proxy module

---------

RHINENG-10789 added compont for showing box plot charts (#12)

* RHINENG-10789 added compont for showing box plot charts

* added missing keys for messages

* prettier format and fix

* fixed types errors

* minor fixes

* minor fixes for showing YAML code

* added charts for limit and request data, performace section

* fixed yarn.lock

* fixed types errors

* fix styles for chart y axis numbering

* minor fixes
Adds tests for OptimizationsApiClientProxy.ts (#14)

WIP: Adds READMEs and legal stuff (#15)

* WIP: Adds READMEs and legal stuff

* fixes a typo

* updates the readme

* adds missing info about the service account role

---------

Updates useRhdhTheme.ts (#16)

Changelog:
- Removes the logic involved in enabling the RHDH theme based on an environment variable

Adds postCreate script for the devcontainer

The script handles marking the repo as safe in git due to the owner and the internal container user having different UIDs

Updates the codeowners file

Signed-off-by: Jonathan Kilzi <jkilzi@redhat.com>
jkilzi added a commit that referenced this pull request Aug 5, 2024
adds placeholder for the FE and Common plug-ins

adds app-config.yaml

adds react-related missing peer-deps

adds resource-optimization-common as a dependency to the FE plug-in

adds a sample app and backend for showcase purposes

Adds also a PoC for the plugin icon

migrates the old common package to resource-optimization

uncomment catalog and other entries in app-config.yaml

fixes an eslint issue related to lodash

updates the icon snapshot

updates json.test.ts

adds initial code for the BE plugin

fixes the plugin icon

changes the plugin name in the navbar

adds 2 variants for the plugin icon

It now uses the 'outlined' variant by default

added UI for the first page of resource optimization plugin & fixed endpoint in config (#2)

fixes an issue in toCamelCaseObjectKeys function

introduces the resource-optimization-backend

Changelog:
- Solved the token renewal
- Improved the keys serialization/deserialization issue (use camelCase when receiving, but snake_case when sending data)
- The plugin can read the clientId and clientSecret from the app-config.yaml
- Cleans up the ExampleComponent.tsx

makes ssoBaseUrl config optional

cleans up ExampleComponent.tsx a bit more

add assertion to ensure config is defined

replaces json utils with jsr:@y0n1/json

fix: fix missing query params after token expires

RHINENG-10603 first page table functionality - Pagination + Sorting (#3)

* RHINENG-10603 first page table functionality

* minor fixes

* code refactoring for landing page table

* handling offset and sorting query params and code cleanup

* disable third sort on table component

* added unit tests and code cleanup

* improved landing page layout

* fixed unit test
RHINENG-10603 landing page filters functionality (#4)

* RHINENG-10603 added search filter component and filters functionality

* passing id to detail page

* reading id from route params
fixes the issue with the query params in getRecommendationsList

RHINENG-10787 detail page top section and recommendation section (#5)

* RHINENG-10787 detail page top section and UI

* removed memoryUnit & cpuUnit from query

* code cleanup

* handling multiple filter values

* fixed cluster filter and detail page values

* added util method to handle YAML code generation from API response
ignores dynamic-plugins dist directory globally

adds janus-cli and export-dynamic scripts

removes ExampleFetchComponent

updates apis.ts

do not conver the recommendations_id param to snake case

fixes tsc, linting and formatting issues

fixes some issues related to different types  of dependencies

pathes PlotDetails model

stop depending on @mui/material and remove white bg from search filters

patches all the parameters of getRecommendationById

WIP on breakdown charts

Applies required refactors for compatibility with dynamic plugins (#6)

* adds @backstage/backend-dynamic-feature-service

* WIP

* adds rhdh theme

* adds devcontainer config

deletes code-workspace file

* removes leftovers froms the cost-management workspace

* updates resource-optimization frontend

* adds configuration files for rhdh

* Update workspaces/resource-optimization/plugins/resource-optimization/src/plugin.ts

---------

adds devcontainer config

adds deployment scripts

adds export-dynamic top-level script

fixes issues related to dependencies

removes the dynamic-plugins integration from the backend package

organizes the backend plugin exports

fixes linting and type-checking issues

exports the icon from the front-end plugin

Updates yarn.lock

fixes some type-only import statements

sync @backstage-community/plugin-resource-optimization-backend

Fixes style issues

fixes an issue related to the api-report generation

- see: backstage/backstage#25671

renames useRhdhTheme.ts to rhdh-theme.ts

cleans up devcontainer settings and code-workspace file

fixes style issues and generates api-report

fixes code style and adds the api-report

fixes code style and adds the api-report

Updates resource-optimization-common

Changelog:
- Patches the generated client code with ts-morph
- The code now complies with the rules of the api-report (produced by: `yarn build:api-reports`)
- Adds the api-report
- Updates the openapi.yaml
- Renames OrchestratorClient to OrchestratorApiClientProxy

Updates resource-optimization

Changelog:
- Aligns the code according to the refactor in resource-optimization-common

fix: detail page tab routing (#8)

* fix: detail page tab routing

* yarn fix: resource-optimization-common

* fix prettier & add prettier format script

* Update workspaces/resource-optimization/package.json

Co-authored-by: Jonathan Kilzi <jkilzi@redhat.com>
Signed-off-by: Preeti Wadhwani <preeti.dev.git@gmail.com>

* updated api-reports.md

---------

Signed-off-by: Preeti Wadhwani <preeti.dev.git@gmail.com>
Co-authored-by: Jonathan Kilzi <jkilzi@redhat.com>
Bug fixes & refactor (#10)

* WIP @ resource-optimization/fixes

* updates api-reports

* fixes the presentation in the last_reported column

* after yarn dedupe

* fixes code style issues

* dedupe packages

* fix code-style

* Renames serializer.mjs to yaml.mjs

* Bumps Backstage to 1.29.2

See: https://backstage.io/docs/releases/v1.28.0

* Fixes the "publish check" CI step failure

* bug fixes

- Solves an issue related to the recommendation plotData object where the object keys were transformed incorrectly
- Bumps @y0n1/json to 2.0.0
- Adds msw for writing tests for the client proxy module

---------

RHINENG-10789 added compont for showing box plot charts (#12)

* RHINENG-10789 added compont for showing box plot charts

* added missing keys for messages

* prettier format and fix

* fixed types errors

* minor fixes

* minor fixes for showing YAML code

* added charts for limit and request data, performace section

* fixed yarn.lock

* fixed types errors

* fix styles for chart y axis numbering

* minor fixes
Adds tests for OptimizationsApiClientProxy.ts (#14)

WIP: Adds READMEs and legal stuff (#15)

* WIP: Adds READMEs and legal stuff

* fixes a typo

* updates the readme

* adds missing info about the service account role

---------

Updates useRhdhTheme.ts (#16)

Changelog:
- Removes the logic involved in enabling the RHDH theme based on an environment variable

Adds postCreate script for the devcontainer

The script handles marking the repo as safe in git due to the owner and the internal container user having different UIDs

Updates the codeowners file

Signed-off-by: Jonathan Kilzi <jkilzi@redhat.com>
jkilzi pushed a commit that referenced this pull request Aug 6, 2024
jkilzi added a commit that referenced this pull request Aug 6, 2024
adds placeholder for the FE and Common plug-ins

adds app-config.yaml

adds react-related missing peer-deps

adds resource-optimization-common as a dependency to the FE plug-in

adds a sample app and backend for showcase purposes

Adds also a PoC for the plugin icon

migrates the old common package to resource-optimization

uncomment catalog and other entries in app-config.yaml

fixes an eslint issue related to lodash

updates the icon snapshot

updates json.test.ts

adds initial code for the BE plugin

fixes the plugin icon

changes the plugin name in the navbar

adds 2 variants for the plugin icon

It now uses the 'outlined' variant by default

added UI for the first page of resource optimization plugin & fixed endpoint in config (#2)

fixes an issue in toCamelCaseObjectKeys function

introduces the resource-optimization-backend

Changelog:
- Solved the token renewal
- Improved the keys serialization/deserialization issue (use camelCase when receiving, but snake_case when sending data)
- The plugin can read the clientId and clientSecret from the app-config.yaml
- Cleans up the ExampleComponent.tsx

makes ssoBaseUrl config optional

cleans up ExampleComponent.tsx a bit more

add assertion to ensure config is defined

replaces json utils with jsr:@y0n1/json

fix: fix missing query params after token expires

RHINENG-10603 first page table functionality - Pagination + Sorting (#3)

* RHINENG-10603 first page table functionality

* minor fixes

* code refactoring for landing page table

* handling offset and sorting query params and code cleanup

* disable third sort on table component

* added unit tests and code cleanup

* improved landing page layout

* fixed unit test
RHINENG-10603 landing page filters functionality (#4)

* RHINENG-10603 added search filter component and filters functionality

* passing id to detail page

* reading id from route params
fixes the issue with the query params in getRecommendationsList

RHINENG-10787 detail page top section and recommendation section (#5)

* RHINENG-10787 detail page top section and UI

* removed memoryUnit & cpuUnit from query

* code cleanup

* handling multiple filter values

* fixed cluster filter and detail page values

* added util method to handle YAML code generation from API response
ignores dynamic-plugins dist directory globally

adds janus-cli and export-dynamic scripts

removes ExampleFetchComponent

updates apis.ts

do not conver the recommendations_id param to snake case

fixes tsc, linting and formatting issues

fixes some issues related to different types  of dependencies

pathes PlotDetails model

stop depending on @mui/material and remove white bg from search filters

patches all the parameters of getRecommendationById

WIP on breakdown charts

Applies required refactors for compatibility with dynamic plugins (#6)

* adds @backstage/backend-dynamic-feature-service

* WIP

* adds rhdh theme

* adds devcontainer config

deletes code-workspace file

* removes leftovers froms the cost-management workspace

* updates resource-optimization frontend

* adds configuration files for rhdh

* Update workspaces/resource-optimization/plugins/resource-optimization/src/plugin.ts

---------

adds devcontainer config

adds deployment scripts

adds export-dynamic top-level script

fixes issues related to dependencies

removes the dynamic-plugins integration from the backend package

organizes the backend plugin exports

fixes linting and type-checking issues

exports the icon from the front-end plugin

Updates yarn.lock

fixes some type-only import statements

sync @backstage-community/plugin-resource-optimization-backend

Fixes style issues

fixes an issue related to the api-report generation

- see: backstage/backstage#25671

renames useRhdhTheme.ts to rhdh-theme.ts

cleans up devcontainer settings and code-workspace file

fixes style issues and generates api-report

fixes code style and adds the api-report

fixes code style and adds the api-report

Updates resource-optimization-common

Changelog:
- Patches the generated client code with ts-morph
- The code now complies with the rules of the api-report (produced by: `yarn build:api-reports`)
- Adds the api-report
- Updates the openapi.yaml
- Renames OrchestratorClient to OrchestratorApiClientProxy

Updates resource-optimization

Changelog:
- Aligns the code according to the refactor in resource-optimization-common

fix: detail page tab routing (#8)

* fix: detail page tab routing

* yarn fix: resource-optimization-common

* fix prettier & add prettier format script

* Update workspaces/resource-optimization/package.json

Co-authored-by: Jonathan Kilzi <jkilzi@redhat.com>
Signed-off-by: Preeti Wadhwani <preeti.dev.git@gmail.com>

* updated api-reports.md

---------

Signed-off-by: Preeti Wadhwani <preeti.dev.git@gmail.com>
Co-authored-by: Jonathan Kilzi <jkilzi@redhat.com>
Bug fixes & refactor (#10)

* WIP @ resource-optimization/fixes

* updates api-reports

* fixes the presentation in the last_reported column

* after yarn dedupe

* fixes code style issues

* dedupe packages

* fix code-style

* Renames serializer.mjs to yaml.mjs

* Bumps Backstage to 1.29.2

See: https://backstage.io/docs/releases/v1.28.0

* Fixes the "publish check" CI step failure

* bug fixes

- Solves an issue related to the recommendation plotData object where the object keys were transformed incorrectly
- Bumps @y0n1/json to 2.0.0
- Adds msw for writing tests for the client proxy module

---------

RHINENG-10789 added compont for showing box plot charts (#12)

* RHINENG-10789 added compont for showing box plot charts

* added missing keys for messages

* prettier format and fix

* fixed types errors

* minor fixes

* minor fixes for showing YAML code

* added charts for limit and request data, performace section

* fixed yarn.lock

* fixed types errors

* fix styles for chart y axis numbering

* minor fixes
Adds tests for OptimizationsApiClientProxy.ts (#14)

WIP: Adds READMEs and legal stuff (#15)

* WIP: Adds READMEs and legal stuff

* fixes a typo

* updates the readme

* adds missing info about the service account role

---------

Updates useRhdhTheme.ts (#16)

Changelog:
- Removes the logic involved in enabling the RHDH theme based on an environment variable

Adds postCreate script for the devcontainer

The script handles marking the repo as safe in git due to the owner and the internal container user having different UIDs

Updates the codeowners file

Signed-off-by: Jonathan Kilzi <jkilzi@redhat.com>

RHINENG-11783 removed example component and searchFilter component (#17)

Signed-off-by: Jonathan Kilzi <jkilzi@redhat.com>
renames the plugin to redhat-resource-optimization (#18)

Changelog:
- Addresses overlooked code style issues

Signed-off-by: Jonathan Kilzi <jkilzi@redhat.com>
jkilzi added a commit that referenced this pull request Aug 6, 2024
adds placeholder for the FE and Common plug-ins

adds app-config.yaml

adds react-related missing peer-deps

adds resource-optimization-common as a dependency to the FE plug-in

adds a sample app and backend for showcase purposes

Adds also a PoC for the plugin icon

migrates the old common package to resource-optimization

uncomment catalog and other entries in app-config.yaml

fixes an eslint issue related to lodash

updates the icon snapshot

updates json.test.ts

adds initial code for the BE plugin

fixes the plugin icon

changes the plugin name in the navbar

adds 2 variants for the plugin icon

It now uses the 'outlined' variant by default

added UI for the first page of resource optimization plugin & fixed endpoint in config (#2)

fixes an issue in toCamelCaseObjectKeys function

introduces the resource-optimization-backend

Changelog:
- Solved the token renewal
- Improved the keys serialization/deserialization issue (use camelCase when receiving, but snake_case when sending data)
- The plugin can read the clientId and clientSecret from the app-config.yaml
- Cleans up the ExampleComponent.tsx

makes ssoBaseUrl config optional

cleans up ExampleComponent.tsx a bit more

add assertion to ensure config is defined

replaces json utils with jsr:@y0n1/json

fix: fix missing query params after token expires

RHINENG-10603 first page table functionality - Pagination + Sorting (#3)

* RHINENG-10603 first page table functionality

* minor fixes

* code refactoring for landing page table

* handling offset and sorting query params and code cleanup

* disable third sort on table component

* added unit tests and code cleanup

* improved landing page layout

* fixed unit test
RHINENG-10603 landing page filters functionality (#4)

* RHINENG-10603 added search filter component and filters functionality

* passing id to detail page

* reading id from route params
fixes the issue with the query params in getRecommendationsList

RHINENG-10787 detail page top section and recommendation section (#5)

* RHINENG-10787 detail page top section and UI

* removed memoryUnit & cpuUnit from query

* code cleanup

* handling multiple filter values

* fixed cluster filter and detail page values

* added util method to handle YAML code generation from API response
ignores dynamic-plugins dist directory globally

adds janus-cli and export-dynamic scripts

removes ExampleFetchComponent

updates apis.ts

do not conver the recommendations_id param to snake case

fixes tsc, linting and formatting issues

fixes some issues related to different types  of dependencies

pathes PlotDetails model

stop depending on @mui/material and remove white bg from search filters

patches all the parameters of getRecommendationById

WIP on breakdown charts

Applies required refactors for compatibility with dynamic plugins (#6)

* adds @backstage/backend-dynamic-feature-service

* WIP

* adds rhdh theme

* adds devcontainer config

deletes code-workspace file

* removes leftovers froms the cost-management workspace

* updates resource-optimization frontend

* adds configuration files for rhdh

* Update workspaces/resource-optimization/plugins/resource-optimization/src/plugin.ts

---------

adds devcontainer config

adds deployment scripts

adds export-dynamic top-level script

fixes issues related to dependencies

removes the dynamic-plugins integration from the backend package

organizes the backend plugin exports

fixes linting and type-checking issues

exports the icon from the front-end plugin

Updates yarn.lock

fixes some type-only import statements

sync @backstage-community/plugin-resource-optimization-backend

Fixes style issues

fixes an issue related to the api-report generation

- see: backstage/backstage#25671

renames useRhdhTheme.ts to rhdh-theme.ts

cleans up devcontainer settings and code-workspace file

fixes style issues and generates api-report

fixes code style and adds the api-report

fixes code style and adds the api-report

Updates resource-optimization-common

Changelog:
- Patches the generated client code with ts-morph
- The code now complies with the rules of the api-report (produced by: `yarn build:api-reports`)
- Adds the api-report
- Updates the openapi.yaml
- Renames OrchestratorClient to OrchestratorApiClientProxy

Updates resource-optimization

Changelog:
- Aligns the code according to the refactor in resource-optimization-common

fix: detail page tab routing (#8)

* fix: detail page tab routing

* yarn fix: resource-optimization-common

* fix prettier & add prettier format script

* Update workspaces/resource-optimization/package.json

Co-authored-by: Jonathan Kilzi <jkilzi@redhat.com>
Signed-off-by: Preeti Wadhwani <preeti.dev.git@gmail.com>

* updated api-reports.md

---------

Signed-off-by: Preeti Wadhwani <preeti.dev.git@gmail.com>
Co-authored-by: Jonathan Kilzi <jkilzi@redhat.com>
Bug fixes & refactor (#10)

* WIP @ resource-optimization/fixes

* updates api-reports

* fixes the presentation in the last_reported column

* after yarn dedupe

* fixes code style issues

* dedupe packages

* fix code-style

* Renames serializer.mjs to yaml.mjs

* Bumps Backstage to 1.29.2

See: https://backstage.io/docs/releases/v1.28.0

* Fixes the "publish check" CI step failure

* bug fixes

- Solves an issue related to the recommendation plotData object where the object keys were transformed incorrectly
- Bumps @y0n1/json to 2.0.0
- Adds msw for writing tests for the client proxy module

---------

RHINENG-10789 added compont for showing box plot charts (#12)

* RHINENG-10789 added compont for showing box plot charts

* added missing keys for messages

* prettier format and fix

* fixed types errors

* minor fixes

* minor fixes for showing YAML code

* added charts for limit and request data, performace section

* fixed yarn.lock

* fixed types errors

* fix styles for chart y axis numbering

* minor fixes
Adds tests for OptimizationsApiClientProxy.ts (#14)

WIP: Adds READMEs and legal stuff (#15)

* WIP: Adds READMEs and legal stuff

* fixes a typo

* updates the readme

* adds missing info about the service account role

---------

Updates useRhdhTheme.ts (#16)

Changelog:
- Removes the logic involved in enabling the RHDH theme based on an environment variable

Adds postCreate script for the devcontainer

The script handles marking the repo as safe in git due to the owner and the internal container user having different UIDs

Updates the codeowners file

Signed-off-by: Jonathan Kilzi <jkilzi@redhat.com>

RHINENG-11783 removed example component and searchFilter component (#17)

Signed-off-by: Jonathan Kilzi <jkilzi@redhat.com>
renames the plugin to redhat-resource-optimization (#18)

Changelog:
- Addresses overlooked code style issues

Signed-off-by: Jonathan Kilzi <jkilzi@redhat.com>
jkilzi added a commit that referenced this pull request Aug 7, 2024
adds placeholder for the FE and Common plug-ins

adds app-config.yaml

adds react-related missing peer-deps

adds resource-optimization-common as a dependency to the FE plug-in

adds a sample app and backend for showcase purposes

Adds also a PoC for the plugin icon

migrates the old common package to resource-optimization

uncomment catalog and other entries in app-config.yaml

fixes an eslint issue related to lodash

updates the icon snapshot

updates json.test.ts

adds initial code for the BE plugin

fixes the plugin icon

changes the plugin name in the navbar

adds 2 variants for the plugin icon

It now uses the 'outlined' variant by default

added UI for the first page of resource optimization plugin & fixed endpoint in config (#2)

fixes an issue in toCamelCaseObjectKeys function

introduces the resource-optimization-backend

Changelog:
- Solved the token renewal
- Improved the keys serialization/deserialization issue (use camelCase when receiving, but snake_case when sending data)
- The plugin can read the clientId and clientSecret from the app-config.yaml
- Cleans up the ExampleComponent.tsx

makes ssoBaseUrl config optional

cleans up ExampleComponent.tsx a bit more

add assertion to ensure config is defined

replaces json utils with jsr:@y0n1/json

fix: fix missing query params after token expires

RHINENG-10603 first page table functionality - Pagination + Sorting (#3)

* RHINENG-10603 first page table functionality

* minor fixes

* code refactoring for landing page table

* handling offset and sorting query params and code cleanup

* disable third sort on table component

* added unit tests and code cleanup

* improved landing page layout

* fixed unit test
RHINENG-10603 landing page filters functionality (#4)

* RHINENG-10603 added search filter component and filters functionality

* passing id to detail page

* reading id from route params
fixes the issue with the query params in getRecommendationsList

RHINENG-10787 detail page top section and recommendation section (#5)

* RHINENG-10787 detail page top section and UI

* removed memoryUnit & cpuUnit from query

* code cleanup

* handling multiple filter values

* fixed cluster filter and detail page values

* added util method to handle YAML code generation from API response
ignores dynamic-plugins dist directory globally

adds janus-cli and export-dynamic scripts

removes ExampleFetchComponent

updates apis.ts

do not conver the recommendations_id param to snake case

fixes tsc, linting and formatting issues

fixes some issues related to different types  of dependencies

pathes PlotDetails model

stop depending on @mui/material and remove white bg from search filters

patches all the parameters of getRecommendationById

WIP on breakdown charts

Applies required refactors for compatibility with dynamic plugins (#6)

* adds @backstage/backend-dynamic-feature-service

* WIP

* adds rhdh theme

* adds devcontainer config

deletes code-workspace file

* removes leftovers froms the cost-management workspace

* updates resource-optimization frontend

* adds configuration files for rhdh

* Update workspaces/resource-optimization/plugins/resource-optimization/src/plugin.ts

---------

adds devcontainer config

adds deployment scripts

adds export-dynamic top-level script

fixes issues related to dependencies

removes the dynamic-plugins integration from the backend package

organizes the backend plugin exports

fixes linting and type-checking issues

exports the icon from the front-end plugin

Updates yarn.lock

fixes some type-only import statements

sync @backstage-community/plugin-resource-optimization-backend

Fixes style issues

fixes an issue related to the api-report generation

- see: backstage/backstage#25671

renames useRhdhTheme.ts to rhdh-theme.ts

cleans up devcontainer settings and code-workspace file

fixes style issues and generates api-report

fixes code style and adds the api-report

fixes code style and adds the api-report

Updates resource-optimization-common

Changelog:
- Patches the generated client code with ts-morph
- The code now complies with the rules of the api-report (produced by: `yarn build:api-reports`)
- Adds the api-report
- Updates the openapi.yaml
- Renames OrchestratorClient to OrchestratorApiClientProxy

Updates resource-optimization

Changelog:
- Aligns the code according to the refactor in resource-optimization-common

fix: detail page tab routing (#8)

* fix: detail page tab routing

* yarn fix: resource-optimization-common

* fix prettier & add prettier format script

* Update workspaces/resource-optimization/package.json

Co-authored-by: Jonathan Kilzi <jkilzi@redhat.com>
Signed-off-by: Preeti Wadhwani <preeti.dev.git@gmail.com>

* updated api-reports.md

---------

Signed-off-by: Preeti Wadhwani <preeti.dev.git@gmail.com>
Co-authored-by: Jonathan Kilzi <jkilzi@redhat.com>
Bug fixes & refactor (#10)

* WIP @ resource-optimization/fixes

* updates api-reports

* fixes the presentation in the last_reported column

* after yarn dedupe

* fixes code style issues

* dedupe packages

* fix code-style

* Renames serializer.mjs to yaml.mjs

* Bumps Backstage to 1.29.2

See: https://backstage.io/docs/releases/v1.28.0

* Fixes the "publish check" CI step failure

* bug fixes

- Solves an issue related to the recommendation plotData object where the object keys were transformed incorrectly
- Bumps @y0n1/json to 2.0.0
- Adds msw for writing tests for the client proxy module

---------

RHINENG-10789 added compont for showing box plot charts (#12)

* RHINENG-10789 added compont for showing box plot charts

* added missing keys for messages

* prettier format and fix

* fixed types errors

* minor fixes

* minor fixes for showing YAML code

* added charts for limit and request data, performace section

* fixed yarn.lock

* fixed types errors

* fix styles for chart y axis numbering

* minor fixes
Adds tests for OptimizationsApiClientProxy.ts (#14)

WIP: Adds READMEs and legal stuff (#15)

* WIP: Adds READMEs and legal stuff

* fixes a typo

* updates the readme

* adds missing info about the service account role

---------

Updates useRhdhTheme.ts (#16)

Changelog:
- Removes the logic involved in enabling the RHDH theme based on an environment variable

Adds postCreate script for the devcontainer

The script handles marking the repo as safe in git due to the owner and the internal container user having different UIDs

Updates the codeowners file

Signed-off-by: Jonathan Kilzi <jkilzi@redhat.com>

RHINENG-11783 removed example component and searchFilter component (#17)

Signed-off-by: Jonathan Kilzi <jkilzi@redhat.com>
renames the plugin to redhat-resource-optimization (#18)

Changelog:
- Addresses overlooked code style issues

Signed-off-by: Jonathan Kilzi <jkilzi@redhat.com>
jkilzi added a commit that referenced this pull request Aug 8, 2024
adds placeholder for the FE and Common plug-ins

adds app-config.yaml

adds react-related missing peer-deps

adds resource-optimization-common as a dependency to the FE plug-in

adds a sample app and backend for showcase purposes

Adds also a PoC for the plugin icon

migrates the old common package to resource-optimization

uncomment catalog and other entries in app-config.yaml

fixes an eslint issue related to lodash

updates the icon snapshot

updates json.test.ts

adds initial code for the BE plugin

fixes the plugin icon

changes the plugin name in the navbar

adds 2 variants for the plugin icon

It now uses the 'outlined' variant by default

added UI for the first page of resource optimization plugin & fixed endpoint in config (#2)

fixes an issue in toCamelCaseObjectKeys function

introduces the resource-optimization-backend

Changelog:
- Solved the token renewal
- Improved the keys serialization/deserialization issue (use camelCase when receiving, but snake_case when sending data)
- The plugin can read the clientId and clientSecret from the app-config.yaml
- Cleans up the ExampleComponent.tsx

makes ssoBaseUrl config optional

cleans up ExampleComponent.tsx a bit more

add assertion to ensure config is defined

replaces json utils with jsr:@y0n1/json

fix: fix missing query params after token expires

RHINENG-10603 first page table functionality - Pagination + Sorting (#3)

* RHINENG-10603 first page table functionality

* minor fixes

* code refactoring for landing page table

* handling offset and sorting query params and code cleanup

* disable third sort on table component

* added unit tests and code cleanup

* improved landing page layout

* fixed unit test
RHINENG-10603 landing page filters functionality (#4)

* RHINENG-10603 added search filter component and filters functionality

* passing id to detail page

* reading id from route params
fixes the issue with the query params in getRecommendationsList

RHINENG-10787 detail page top section and recommendation section (#5)

* RHINENG-10787 detail page top section and UI

* removed memoryUnit & cpuUnit from query

* code cleanup

* handling multiple filter values

* fixed cluster filter and detail page values

* added util method to handle YAML code generation from API response
ignores dynamic-plugins dist directory globally

adds janus-cli and export-dynamic scripts

removes ExampleFetchComponent

updates apis.ts

do not conver the recommendations_id param to snake case

fixes tsc, linting and formatting issues

fixes some issues related to different types  of dependencies

pathes PlotDetails model

stop depending on @mui/material and remove white bg from search filters

patches all the parameters of getRecommendationById

WIP on breakdown charts

Applies required refactors for compatibility with dynamic plugins (#6)

* adds @backstage/backend-dynamic-feature-service

* WIP

* adds rhdh theme

* adds devcontainer config

deletes code-workspace file

* removes leftovers froms the cost-management workspace

* updates resource-optimization frontend

* adds configuration files for rhdh

* Update workspaces/resource-optimization/plugins/resource-optimization/src/plugin.ts

---------

adds devcontainer config

adds deployment scripts

adds export-dynamic top-level script

fixes issues related to dependencies

removes the dynamic-plugins integration from the backend package

organizes the backend plugin exports

fixes linting and type-checking issues

exports the icon from the front-end plugin

Updates yarn.lock

fixes some type-only import statements

sync @backstage-community/plugin-resource-optimization-backend

Fixes style issues

fixes an issue related to the api-report generation

- see: backstage/backstage#25671

renames useRhdhTheme.ts to rhdh-theme.ts

cleans up devcontainer settings and code-workspace file

fixes style issues and generates api-report

fixes code style and adds the api-report

fixes code style and adds the api-report

Updates resource-optimization-common

Changelog:
- Patches the generated client code with ts-morph
- The code now complies with the rules of the api-report (produced by: `yarn build:api-reports`)
- Adds the api-report
- Updates the openapi.yaml
- Renames OrchestratorClient to OrchestratorApiClientProxy

Updates resource-optimization

Changelog:
- Aligns the code according to the refactor in resource-optimization-common

fix: detail page tab routing (#8)

* fix: detail page tab routing

* yarn fix: resource-optimization-common

* fix prettier & add prettier format script

* Update workspaces/resource-optimization/package.json

Co-authored-by: Jonathan Kilzi <jkilzi@redhat.com>
Signed-off-by: Preeti Wadhwani <preeti.dev.git@gmail.com>

* updated api-reports.md

---------

Signed-off-by: Preeti Wadhwani <preeti.dev.git@gmail.com>
Co-authored-by: Jonathan Kilzi <jkilzi@redhat.com>
Bug fixes & refactor (#10)

* WIP @ resource-optimization/fixes

* updates api-reports

* fixes the presentation in the last_reported column

* after yarn dedupe

* fixes code style issues

* dedupe packages

* fix code-style

* Renames serializer.mjs to yaml.mjs

* Bumps Backstage to 1.29.2

See: https://backstage.io/docs/releases/v1.28.0

* Fixes the "publish check" CI step failure

* bug fixes

- Solves an issue related to the recommendation plotData object where the object keys were transformed incorrectly
- Bumps @y0n1/json to 2.0.0
- Adds msw for writing tests for the client proxy module

---------

RHINENG-10789 added compont for showing box plot charts (#12)

* RHINENG-10789 added compont for showing box plot charts

* added missing keys for messages

* prettier format and fix

* fixed types errors

* minor fixes

* minor fixes for showing YAML code

* added charts for limit and request data, performace section

* fixed yarn.lock

* fixed types errors

* fix styles for chart y axis numbering

* minor fixes
Adds tests for OptimizationsApiClientProxy.ts (#14)

WIP: Adds READMEs and legal stuff (#15)

* WIP: Adds READMEs and legal stuff

* fixes a typo

* updates the readme

* adds missing info about the service account role

---------

Updates useRhdhTheme.ts (#16)

Changelog:
- Removes the logic involved in enabling the RHDH theme based on an environment variable

Adds postCreate script for the devcontainer

The script handles marking the repo as safe in git due to the owner and the internal container user having different UIDs

Updates the codeowners file

Signed-off-by: Jonathan Kilzi <jkilzi@redhat.com>

RHINENG-11783 removed example component and searchFilter component (#17)

Signed-off-by: Jonathan Kilzi <jkilzi@redhat.com>
renames the plugin to redhat-resource-optimization (#18)

Changelog:
- Addresses overlooked code style issues

Signed-off-by: Jonathan Kilzi <jkilzi@redhat.com>
jkilzi added a commit that referenced this pull request Aug 8, 2024
## Changelog:
- (refactor) Adds the new workspace's lockfile
- (refactor) adds the cost-management FE plugin
- (refactor) removes react-dom and react-router-dom from the peerDeps
- (refactor) updates yarn.lock
- (refactor) adds a basic app-config.yaml with untested proxy settings
- (refactor) adds cost-management-client
- (refactor) adds CostManagementIcon.tsx
- (refactor) adds sample packages/app and packages/backend
- (refactor) converts the cost-management client into the recommendations client
- (refactor) Introduces the combined cost-management client
- (fix) fixes issues with overlapping symbols
- (refactor) Refactors the cost-management plugin
- (refactor) Renames the cost-management-client package to cost-management-common
- (refactor) Renames src/api/ApiRefs.ts to src/api/ref.ts
- (refactor) simplifies getting the proxy's baseUrl
- (fix) fixes the client generator script
- (refactor) Adds changeOrigin to the proxy settings
- (refactor) created first page using material UI components
- (refactor) updated config for FE
- (refactor) removed custom webpack config file
- consuming API response in the table
- (refactor) added util method to handle API JSON response
- (refactor) introduces JSONUtils.toCamelCaseObjectKeys
- (refactor) adds new workspace for resource-optimization
- (refactor) adds placeholder for the FE and Common plug-ins
- (refactor) adds app-config.yaml
- (refactor) adds react-related missing peer-deps
- (refactor) adds resource-optimization-common as a dependency to the FE plug-in
- (refactor) adds a sample app and backend for showcase purposes
- (refactor) Adds also a PoC for the plugin icon
- (refactor) migrates the old common package to resource-optimization
- (fix) fixes an eslint issue related to lodash
- (refactor) updates the icon snapshot
- (refactor) updates json.test.ts
- (refactor) adds initial code for the BE plugin
- (fix) fixes the plugin icon
- (refactor) changes the plugin name in the navbar
- (refactor) adds 2 variants for the plugin icon
- (refactor) added UI for the first page of resource optimization plugin & fixed endpoint in config (#2)
- (fix) fixes an issue in toCamelCaseObjectKeys function
- (refactor) introduces the resource-optimization-backend
- (fix) fixes the token renewal mechanism
- (refactor) Improved the keys serialization/deserialization issue (use camelCase when receiving, but snake_case when sending data)
- (refactor) The plugin can read the clientId and clientSecret from the app-config.yaml
- (refactor) Cleans up the ExampleComponent.tsx
- (refactor) makes ssoBaseUrl config optional
- (refactor) cleans up ExampleComponent.tsx a bit more 
- (refactor) add assertion to ensure config is defined
- (refactor) replaces json utils with jsr:@y0n1/json
- (fix) : fix missing query params after token expires
- (feat) RHINENG-10603 first page table functionality - Pagination + Sorting (#3)
- (feat) RHINENG-10603 first page table functionality
- (fix) minor fixes
- (refactor) code refactoring for landing page table
- (refactor) handling offset and sorting query params and code cleanup
- (refactor) disable third sort on table component
- (refactor) added unit tests and code cleanup
- (refactor) improved landing page layout
- (fix) fixes unit tests
- (feat) RHINENG-10603 landing page filters functionality (#4)
- (feat) RHINENG-10603 added search filter component and filters functionality
- (fix) fixes the issue with the query params in getRecommendationsList
- (feat) RHINENG-10787 detail page top section and recommendation section (#5)
- (feat) RHINENG-10787 detail page top section and UI
- (refactor) removed memoryUnit & cpuUnit from query
- (refactor) code cleanup
- (fix) fixes cluster filter and detail page values
- (refactor) added util method to handle YAML code generation from API response
- (refactor) ignores dynamic-plugins dist directory globally
- (refactor) adds janus-cli and export-dynamic scripts
- (refactor) removes ExampleFetchComponent
- (refactor) updates apis.ts
- (fix) do not convert the recommendations_id param to snake case
- (fix) fixes tsc, linting and formatting issues
- (fix) fixes some issues related to different types of dependencies
- (fix) pathes PlotDetails model
- (fix) stop depending on @mui/material and remove white bg from search filters
- (refactor) patches all the parameters of getRecommendationById
- (refactor) Applies required refactors for compatibility with dynamic plugins (#6)
- (refactor) adds @backstage/backend-dynamic-feature-service
- (refactor) adds rhdh theme
- (refactor) adds devcontainer config
- (refactor) removes leftovers froms the cost-management workspace
- (refactor) updates resource-optimization frontend
- (refactor) adds configuration files for rhdh
- (refactor) Update workspaces/resource-optimization/plugins/resource-optimization/src/plugin.ts
- (refactor) adds devcontainer config
- (refactor) adds deployment scripts
- (refactor) adds export-dynamic top-level script
- (fix) fixes issues related to dependencies
- (refactor) removes the dynamic-plugins integration from the backend package
- (fix) fixes linting and type-checking issues
- (refactor) exports the icon from the front-end plugin
- (refactor) Updates yarn.lock
- (fix) fixes some type-only import statements
- (chore) sync @backstage-community/plugin-resource-optimization-backend
- (fix) fixes style issues
- (fix) fixes an issue related to the api-report generation, see: backstage/backstage#25671
- (refactor) renames useRhdhTheme.ts to rhdh-theme.ts
- (chore) cleans up devcontainer settings and code-workspace file
- (fix) fixes style issues and generates api-report
- (fix) fixes code style and adds the api-report
- (fix) fixes code style and adds the api-report
- (refactor) Updates resource-optimization-common
- (chore) Patches the generated client code with ts-morph
- (style) The code now complies with the rules of the api-report (via `yarn build:api-reports`)
- (refactor) Adds the api-report
- (refactor) Updates the openapi.yaml
- (refactor) Renames OrchestratorClient to OrchestratorApiClientProxy
- (refactor) Updates resource-optimization
- (refactor) Aligns the code according to the refactor in resource-optimization-common
- (fix) detail page tab routing (#8)
- (fix) detail page tab routing
- (style) yarn fix resource-optimization-common
- (fix) prettier & add prettier format script
- (refactor) Update workspaces/resource-optimization/package.json
- (refactor) updated api-reports.md
- (refactor) updates api-reports
- (fix) fixes the presentation in the last_reported column
- (fix) fixes code style issues
- (fix) code-style
- (refactor) Renames serializer.mjs to yaml.mjs
- (chore) Bumps Backstage to 1.29.2, see https://backstage.io/docs/releases/v1.28.0
- (fix) fixes the "publish check" CI step failure
- (fix) bug fixes
- (fix) Solves an issue related to the recommendation plotData object where the object keys were transformed incorrectly
- (refactor) Bumps @y0n1/json to 2.0.0
- (refactor) Adds msw for writing tests for the client proxy module
- (refactor) RHINENG-10789 added compont for showing box plot charts (#12)
- (refactor) RHINENG-10789 added compont for showing box plot charts
- (refactor) added missing keys for messages
- (style) prettier format and fix
- (fix) fixes types errors
- (fix) minor fixes
- (fix) minor fixes for showing YAML code
- (refactor) added charts for limit and request data, performace section
- (fix) adds yarn.lock
- (fix) fixes types errors
- (fix) styles for chart y axis numbering
- (fix) minor fixes
- (refactor) Adds tests for OptimizationsApiClientProxy.ts
- (docs) Adds READMEs and legal stuff (#15)
- (fix) fixes a typo
- (refactor) updates the readme
- (refactor) adds missing info about the service account role
- (refactor) Updates useRhdhTheme.ts (#16)
- (refactor) Removes the logic involved in enabling the RHDH theme based on an environment variable
- (refactor) updates devcontainer settings
- (refactor) updates the workspace readme
- (refactor) adds the changeset
- (refactor) RHINENG-11783 removed example component and searchFilter component (#17)
- (refactor) renames the plugin to redhat-resource-optimization (#18)
- (refactor) Addresses overlooked code style issues
- (refactor) updates CODEOWNERS
- (refactor) update yarn install stat

Signed-off-by: Jonathan Kilzi <jkilzi@redhat.com>
Co-authored-by: Preeti Wadhwani <pwadhwan@redhat.com>
jkilzi added a commit that referenced this pull request Aug 8, 2024
- (refactor) Adds the new workspace's lockfile
- (refactor) adds the cost-management FE plugin
- (refactor) removes react-dom and react-router-dom from the peerDeps
- (refactor) updates yarn.lock
- (refactor) adds a basic app-config.yaml with untested proxy settings
- (refactor) adds cost-management-client
- (refactor) adds CostManagementIcon.tsx
- (refactor) adds sample packages/app and packages/backend
- (refactor) converts the cost-management client into the recommendations client
- (refactor) Introduces the combined cost-management client
- (fix) fixes issues with overlapping symbols
- (refactor) Refactors the cost-management plugin
- (refactor) Renames the cost-management-client package to cost-management-common
- (refactor) Renames src/api/ApiRefs.ts to src/api/ref.ts
- (refactor) simplifies getting the proxy's baseUrl
- (fix) fixes the client generator script
- (refactor) Adds changeOrigin to the proxy settings
- (refactor) created first page using material UI components
- (refactor) updated config for FE
- (refactor) removed custom webpack config file
- consuming API response in the table
- (refactor) added util method to handle API JSON response
- (refactor) introduces JSONUtils.toCamelCaseObjectKeys
- (refactor) adds new workspace for resource-optimization
- (refactor) adds placeholder for the FE and Common plug-ins
- (refactor) adds app-config.yaml
- (refactor) adds react-related missing peer-deps
- (refactor) adds resource-optimization-common as a dependency to the FE plug-in
- (refactor) adds a sample app and backend for showcase purposes
- (refactor) Adds also a PoC for the plugin icon
- (refactor) migrates the old common package to resource-optimization
- (fix) fixes an eslint issue related to lodash
- (refactor) updates the icon snapshot
- (refactor) updates json.test.ts
- (refactor) adds initial code for the BE plugin
- (fix) fixes the plugin icon
- (refactor) changes the plugin name in the navbar
- (refactor) adds 2 variants for the plugin icon
- (refactor) added UI for the first page of resource optimization plugin & fixed endpoint in config (#2)
- (fix) fixes an issue in toCamelCaseObjectKeys function
- (refactor) introduces the resource-optimization-backend
- (fix) fixes the token renewal mechanism
- (refactor) Improved the keys serialization/deserialization issue (use camelCase when receiving, but snake_case when sending data)
- (refactor) The plugin can read the clientId and clientSecret from the app-config.yaml
- (refactor) Cleans up the ExampleComponent.tsx
- (refactor) makes ssoBaseUrl config optional
- (refactor) cleans up ExampleComponent.tsx a bit more
- (refactor) add assertion to ensure config is defined
- (refactor) replaces json utils with jsr:@y0n1/json
- (fix) : fix missing query params after token expires
- (feat) RHINENG-10603 first page table functionality - Pagination + Sorting (#3)
- (feat) RHINENG-10603 first page table functionality
- (fix) minor fixes
- (refactor) code refactoring for landing page table
- (refactor) handling offset and sorting query params and code cleanup
- (refactor) disable third sort on table component
- (refactor) added unit tests and code cleanup
- (refactor) improved landing page layout
- (fix) fixes unit tests
- (feat) RHINENG-10603 landing page filters functionality (#4)
- (feat) RHINENG-10603 added search filter component and filters functionality
- (fix) fixes the issue with the query params in getRecommendationsList
- (feat) RHINENG-10787 detail page top section and recommendation section (#5)
- (feat) RHINENG-10787 detail page top section and UI
- (refactor) removed memoryUnit & cpuUnit from query
- (refactor) code cleanup
- (fix) fixes cluster filter and detail page values
- (refactor) added util method to handle YAML code generation from API response
- (refactor) ignores dynamic-plugins dist directory globally
- (refactor) adds janus-cli and export-dynamic scripts
- (refactor) removes ExampleFetchComponent
- (refactor) updates apis.ts
- (fix) do not convert the recommendations_id param to snake case
- (fix) fixes tsc, linting and formatting issues
- (fix) fixes some issues related to different types of dependencies
- (fix) pathes PlotDetails model
- (fix) stop depending on @mui/material and remove white bg from search filters
- (refactor) patches all the parameters of getRecommendationById
- (refactor) Applies required refactors for compatibility with dynamic plugins (#6)
- (refactor) adds @backstage/backend-dynamic-feature-service
- (refactor) adds rhdh theme
- (refactor) adds devcontainer config
- (refactor) removes leftovers froms the cost-management workspace
- (refactor) updates resource-optimization frontend
- (refactor) adds configuration files for rhdh
- (refactor) Update workspaces/resource-optimization/plugins/resource-optimization/src/plugin.ts
- (refactor) adds devcontainer config
- (refactor) adds deployment scripts
- (refactor) adds export-dynamic top-level script
- (fix) fixes issues related to dependencies
- (refactor) removes the dynamic-plugins integration from the backend package
- (fix) fixes linting and type-checking issues
- (refactor) exports the icon from the front-end plugin
- (refactor) Updates yarn.lock
- (fix) fixes some type-only import statements
- (chore) sync @backstage-community/plugin-resource-optimization-backend
- (fix) fixes style issues
- (fix) fixes an issue related to the api-report generation, see: backstage/backstage#25671
- (refactor) renames useRhdhTheme.ts to rhdh-theme.ts
- (chore) cleans up devcontainer settings and code-workspace file
- (fix) fixes style issues and generates api-report
- (fix) fixes code style and adds the api-report
- (fix) fixes code style and adds the api-report
- (refactor) Updates resource-optimization-common
- (chore) Patches the generated client code with ts-morph
- (style) The code now complies with the rules of the api-report (via `yarn build:api-reports`)
- (refactor) Adds the api-report
- (refactor) Updates the openapi.yaml
- (refactor) Renames OrchestratorClient to OrchestratorApiClientProxy
- (refactor) Updates resource-optimization
- (refactor) Aligns the code according to the refactor in resource-optimization-common
- (fix) detail page tab routing (#8)
- (fix) detail page tab routing
- (style) yarn fix resource-optimization-common
- (fix) prettier & add prettier format script
- (refactor) Update workspaces/resource-optimization/package.json
- (refactor) updated api-reports.md
- (refactor) updates api-reports
- (fix) fixes the presentation in the last_reported column
- (fix) fixes code style issues
- (fix) code-style
- (refactor) Renames serializer.mjs to yaml.mjs
- (chore) Bumps Backstage to 1.29.2, see https://backstage.io/docs/releases/v1.28.0
- (fix) fixes the "publish check" CI step failure
- (fix) bug fixes
- (fix) Solves an issue related to the recommendation plotData object where the object keys were transformed incorrectly
- (refactor) Bumps @y0n1/json to 2.0.0
- (refactor) Adds msw for writing tests for the client proxy module
- (refactor) RHINENG-10789 added compont for showing box plot charts (#12)
- (refactor) RHINENG-10789 added compont for showing box plot charts
- (refactor) added missing keys for messages
- (style) prettier format and fix
- (fix) fixes types errors
- (fix) minor fixes
- (fix) minor fixes for showing YAML code
- (refactor) added charts for limit and request data, performace section
- (fix) adds yarn.lock
- (fix) fixes types errors
- (fix) styles for chart y axis numbering
- (fix) minor fixes
- (refactor) Adds tests for OptimizationsApiClientProxy.ts
- (docs) Adds READMEs and legal stuff (#15)
- (fix) fixes a typo
- (refactor) updates the readme
- (refactor) adds missing info about the service account role
- (refactor) Updates useRhdhTheme.ts (#16)
- (refactor) Removes the logic involved in enabling the RHDH theme based on an environment variable
- (refactor) updates devcontainer settings
- (refactor) updates the workspace readme
- (refactor) adds the changeset
- (refactor) RHINENG-11783 removed example component and searchFilter component (#17)
- (refactor) renames the plugin to redhat-resource-optimization (#18)
- (refactor) Addresses overlooked code style issues
- (refactor) updates CODEOWNERS
- (refactor) update yarn install stat

Signed-off-by: Jonathan Kilzi <jkilzi@redhat.com>
Co-authored-by: Preeti Wadhwani <pwadhwan@redhat.com>
Signed-off-by: Jonathan Kilzi <jkilzi@redhat.com>
jkilzi added a commit that referenced this pull request Aug 10, 2024
* adds the resource-optimization plugin files

- (refactor) Adds the new workspace's lockfile
- (refactor) adds the cost-management FE plugin
- (refactor) removes react-dom and react-router-dom from the peerDeps
- (refactor) updates yarn.lock
- (refactor) adds a basic app-config.yaml with untested proxy settings
- (refactor) adds cost-management-client
- (refactor) adds CostManagementIcon.tsx
- (refactor) adds sample packages/app and packages/backend
- (refactor) converts the cost-management client into the recommendations client
- (refactor) Introduces the combined cost-management client
- (fix) fixes issues with overlapping symbols
- (refactor) Refactors the cost-management plugin
- (refactor) Renames the cost-management-client package to cost-management-common
- (refactor) Renames src/api/ApiRefs.ts to src/api/ref.ts
- (refactor) simplifies getting the proxy's baseUrl
- (fix) fixes the client generator script
- (refactor) Adds changeOrigin to the proxy settings
- (refactor) created first page using material UI components
- (refactor) updated config for FE
- (refactor) removed custom webpack config file
- consuming API response in the table
- (refactor) added util method to handle API JSON response
- (refactor) introduces JSONUtils.toCamelCaseObjectKeys
- (refactor) adds new workspace for resource-optimization
- (refactor) adds placeholder for the FE and Common plug-ins
- (refactor) adds app-config.yaml
- (refactor) adds react-related missing peer-deps
- (refactor) adds resource-optimization-common as a dependency to the FE plug-in
- (refactor) adds a sample app and backend for showcase purposes
- (refactor) Adds also a PoC for the plugin icon
- (refactor) migrates the old common package to resource-optimization
- (fix) fixes an eslint issue related to lodash
- (refactor) updates the icon snapshot
- (refactor) updates json.test.ts
- (refactor) adds initial code for the BE plugin
- (fix) fixes the plugin icon
- (refactor) changes the plugin name in the navbar
- (refactor) adds 2 variants for the plugin icon
- (refactor) added UI for the first page of resource optimization plugin & fixed endpoint in config (#2)
- (fix) fixes an issue in toCamelCaseObjectKeys function
- (refactor) introduces the resource-optimization-backend
- (fix) fixes the token renewal mechanism
- (refactor) Improved the keys serialization/deserialization issue (use camelCase when receiving, but snake_case when sending data)
- (refactor) The plugin can read the clientId and clientSecret from the app-config.yaml
- (refactor) Cleans up the ExampleComponent.tsx
- (refactor) makes ssoBaseUrl config optional
- (refactor) cleans up ExampleComponent.tsx a bit more
- (refactor) add assertion to ensure config is defined
- (refactor) replaces json utils with jsr:@y0n1/json
- (fix) : fix missing query params after token expires
- (feat) RHINENG-10603 first page table functionality - Pagination + Sorting (#3)
- (feat) RHINENG-10603 first page table functionality
- (fix) minor fixes
- (refactor) code refactoring for landing page table
- (refactor) handling offset and sorting query params and code cleanup
- (refactor) disable third sort on table component
- (refactor) added unit tests and code cleanup
- (refactor) improved landing page layout
- (fix) fixes unit tests
- (feat) RHINENG-10603 landing page filters functionality (#4)
- (feat) RHINENG-10603 added search filter component and filters functionality
- (fix) fixes the issue with the query params in getRecommendationsList
- (feat) RHINENG-10787 detail page top section and recommendation section (#5)
- (feat) RHINENG-10787 detail page top section and UI
- (refactor) removed memoryUnit & cpuUnit from query
- (refactor) code cleanup
- (fix) fixes cluster filter and detail page values
- (refactor) added util method to handle YAML code generation from API response
- (refactor) ignores dynamic-plugins dist directory globally
- (refactor) adds janus-cli and export-dynamic scripts
- (refactor) removes ExampleFetchComponent
- (refactor) updates apis.ts
- (fix) do not convert the recommendations_id param to snake case
- (fix) fixes tsc, linting and formatting issues
- (fix) fixes some issues related to different types of dependencies
- (fix) pathes PlotDetails model
- (fix) stop depending on @mui/material and remove white bg from search filters
- (refactor) patches all the parameters of getRecommendationById
- (refactor) Applies required refactors for compatibility with dynamic plugins (#6)
- (refactor) adds @backstage/backend-dynamic-feature-service
- (refactor) adds rhdh theme
- (refactor) adds devcontainer config
- (refactor) removes leftovers froms the cost-management workspace
- (refactor) updates resource-optimization frontend
- (refactor) adds configuration files for rhdh
- (refactor) Update workspaces/resource-optimization/plugins/resource-optimization/src/plugin.ts
- (refactor) adds devcontainer config
- (refactor) adds deployment scripts
- (refactor) adds export-dynamic top-level script
- (fix) fixes issues related to dependencies
- (refactor) removes the dynamic-plugins integration from the backend package
- (fix) fixes linting and type-checking issues
- (refactor) exports the icon from the front-end plugin
- (refactor) Updates yarn.lock
- (fix) fixes some type-only import statements
- (chore) sync @backstage-community/plugin-resource-optimization-backend
- (fix) fixes style issues
- (fix) fixes an issue related to the api-report generation, see: backstage/backstage#25671
- (refactor) renames useRhdhTheme.ts to rhdh-theme.ts
- (chore) cleans up devcontainer settings and code-workspace file
- (fix) fixes style issues and generates api-report
- (fix) fixes code style and adds the api-report
- (fix) fixes code style and adds the api-report
- (refactor) Updates resource-optimization-common
- (chore) Patches the generated client code with ts-morph
- (style) The code now complies with the rules of the api-report (via `yarn build:api-reports`)
- (refactor) Adds the api-report
- (refactor) Updates the openapi.yaml
- (refactor) Renames OrchestratorClient to OrchestratorApiClientProxy
- (refactor) Updates resource-optimization
- (refactor) Aligns the code according to the refactor in resource-optimization-common
- (fix) detail page tab routing (#8)
- (fix) detail page tab routing
- (style) yarn fix resource-optimization-common
- (fix) prettier & add prettier format script
- (refactor) Update workspaces/resource-optimization/package.json
- (refactor) updated api-reports.md
- (refactor) updates api-reports
- (fix) fixes the presentation in the last_reported column
- (fix) fixes code style issues
- (fix) code-style
- (refactor) Renames serializer.mjs to yaml.mjs
- (chore) Bumps Backstage to 1.29.2, see https://backstage.io/docs/releases/v1.28.0
- (fix) fixes the "publish check" CI step failure
- (fix) bug fixes
- (fix) Solves an issue related to the recommendation plotData object where the object keys were transformed incorrectly
- (refactor) Bumps @y0n1/json to 2.0.0
- (refactor) Adds msw for writing tests for the client proxy module
- (refactor) RHINENG-10789 added compont for showing box plot charts (#12)
- (refactor) RHINENG-10789 added compont for showing box plot charts
- (refactor) added missing keys for messages
- (style) prettier format and fix
- (fix) fixes types errors
- (fix) minor fixes
- (fix) minor fixes for showing YAML code
- (refactor) added charts for limit and request data, performace section
- (fix) adds yarn.lock
- (fix) fixes types errors
- (fix) styles for chart y axis numbering
- (fix) minor fixes
- (refactor) Adds tests for OptimizationsApiClientProxy.ts
- (docs) Adds READMEs and legal stuff (#15)
- (fix) fixes a typo
- (refactor) updates the readme
- (refactor) adds missing info about the service account role
- (refactor) Updates useRhdhTheme.ts (#16)
- (refactor) Removes the logic involved in enabling the RHDH theme based on an environment variable
- (refactor) updates devcontainer settings
- (refactor) updates the workspace readme
- (refactor) adds the changeset
- (refactor) RHINENG-11783 removed example component and searchFilter component (#17)
- (refactor) renames the plugin to redhat-resource-optimization (#18)
- (refactor) Addresses overlooked code style issues
- (refactor) updates CODEOWNERS
- (refactor) update yarn install stat

---------

Signed-off-by: Jonathan Kilzi <jkilzi@redhat.com>
Co-authored-by: Preeti Wadhwani <pwadhwan@redhat.com>
jkilzi added a commit that referenced this pull request Aug 20, 2024
- (refactor) Adds the new workspace's lockfile
- (refactor) adds the cost-management FE plugin
- (refactor) removes react-dom and react-router-dom from the peerDeps
- (refactor) updates yarn.lock
- (refactor) adds a basic app-config.yaml with untested proxy settings
- (refactor) adds cost-management-client
- (refactor) adds CostManagementIcon.tsx
- (refactor) adds sample packages/app and packages/backend
- (refactor) converts the cost-management client into the recommendations client
- (refactor) Introduces the combined cost-management client
- (fix) fixes issues with overlapping symbols
- (refactor) Refactors the cost-management plugin
- (refactor) Renames the cost-management-client package to cost-management-common
- (refactor) Renames src/api/ApiRefs.ts to src/api/ref.ts
- (refactor) simplifies getting the proxy's baseUrl
- (fix) fixes the client generator script
- (refactor) Adds changeOrigin to the proxy settings
- (refactor) created first page using material UI components
- (refactor) updated config for FE
- (refactor) removed custom webpack config file
- consuming API response in the table
- (refactor) added util method to handle API JSON response
- (refactor) introduces JSONUtils.toCamelCaseObjectKeys
- (refactor) adds new workspace for resource-optimization
- (refactor) adds placeholder for the FE and Common plug-ins
- (refactor) adds app-config.yaml
- (refactor) adds react-related missing peer-deps
- (refactor) adds resource-optimization-common as a dependency to the FE plug-in
- (refactor) adds a sample app and backend for showcase purposes
- (refactor) Adds also a PoC for the plugin icon
- (refactor) migrates the old common package to resource-optimization
- (fix) fixes an eslint issue related to lodash
- (refactor) updates the icon snapshot
- (refactor) updates json.test.ts
- (refactor) adds initial code for the BE plugin
- (fix) fixes the plugin icon
- (refactor) changes the plugin name in the navbar
- (refactor) adds 2 variants for the plugin icon
- (refactor) added UI for the first page of resource optimization plugin & fixed endpoint in config (#2)
- (fix) fixes an issue in toCamelCaseObjectKeys function
- (refactor) introduces the resource-optimization-backend
- (fix) fixes the token renewal mechanism
- (refactor) Improved the keys serialization/deserialization issue (use camelCase when receiving, but snake_case when sending data)
- (refactor) The plugin can read the clientId and clientSecret from the app-config.yaml
- (refactor) Cleans up the ExampleComponent.tsx
- (refactor) makes ssoBaseUrl config optional
- (refactor) cleans up ExampleComponent.tsx a bit more
- (refactor) add assertion to ensure config is defined
- (refactor) replaces json utils with jsr:@y0n1/json
- (fix) : fix missing query params after token expires
- (feat) RHINENG-10603 first page table functionality - Pagination + Sorting (#3)
- (feat) RHINENG-10603 first page table functionality
- (fix) minor fixes
- (refactor) code refactoring for landing page table
- (refactor) handling offset and sorting query params and code cleanup
- (refactor) disable third sort on table component
- (refactor) added unit tests and code cleanup
- (refactor) improved landing page layout
- (fix) fixes unit tests
- (feat) RHINENG-10603 landing page filters functionality (#4)
- (feat) RHINENG-10603 added search filter component and filters functionality
- (fix) fixes the issue with the query params in getRecommendationsList
- (feat) RHINENG-10787 detail page top section and recommendation section (#5)
- (feat) RHINENG-10787 detail page top section and UI
- (refactor) removed memoryUnit & cpuUnit from query
- (refactor) code cleanup
- (fix) fixes cluster filter and detail page values
- (refactor) added util method to handle YAML code generation from API response
- (refactor) ignores dynamic-plugins dist directory globally
- (refactor) adds janus-cli and export-dynamic scripts
- (refactor) removes ExampleFetchComponent
- (refactor) updates apis.ts
- (fix) do not convert the recommendations_id param to snake case
- (fix) fixes tsc, linting and formatting issues
- (fix) fixes some issues related to different types of dependencies
- (fix) pathes PlotDetails model
- (fix) stop depending on @mui/material and remove white bg from search filters
- (refactor) patches all the parameters of getRecommendationById
- (refactor) Applies required refactors for compatibility with dynamic plugins (#6)
- (refactor) adds @backstage/backend-dynamic-feature-service
- (refactor) adds rhdh theme
- (refactor) adds devcontainer config
- (refactor) removes leftovers froms the cost-management workspace
- (refactor) updates resource-optimization frontend
- (refactor) adds configuration files for rhdh
- (refactor) Update workspaces/resource-optimization/plugins/resource-optimization/src/plugin.ts
- (refactor) adds devcontainer config
- (refactor) adds deployment scripts
- (refactor) adds export-dynamic top-level script
- (fix) fixes issues related to dependencies
- (refactor) removes the dynamic-plugins integration from the backend package
- (fix) fixes linting and type-checking issues
- (refactor) exports the icon from the front-end plugin
- (refactor) Updates yarn.lock
- (fix) fixes some type-only import statements
- (chore) sync @backstage-community/plugin-resource-optimization-backend
- (fix) fixes style issues
- (fix) fixes an issue related to the api-report generation, see: backstage/backstage#25671
- (refactor) renames useRhdhTheme.ts to rhdh-theme.ts
- (chore) cleans up devcontainer settings and code-workspace file
- (fix) fixes style issues and generates api-report
- (fix) fixes code style and adds the api-report
- (fix) fixes code style and adds the api-report
- (refactor) Updates resource-optimization-common
- (chore) Patches the generated client code with ts-morph
- (style) The code now complies with the rules of the api-report (via `yarn build:api-reports`)
- (refactor) Adds the api-report
- (refactor) Updates the openapi.yaml
- (refactor) Renames OrchestratorClient to OrchestratorApiClientProxy
- (refactor) Updates resource-optimization
- (refactor) Aligns the code according to the refactor in resource-optimization-common
- (fix) detail page tab routing (#8)
- (fix) detail page tab routing
- (style) yarn fix resource-optimization-common
- (fix) prettier & add prettier format script
- (refactor) Update workspaces/resource-optimization/package.json
- (refactor) updated api-reports.md
- (refactor) updates api-reports
- (fix) fixes the presentation in the last_reported column
- (fix) fixes code style issues
- (fix) code-style
- (refactor) Renames serializer.mjs to yaml.mjs
- (chore) Bumps Backstage to 1.29.2, see https://backstage.io/docs/releases/v1.28.0
- (fix) fixes the "publish check" CI step failure
- (fix) bug fixes
- (fix) Solves an issue related to the recommendation plotData object where the object keys were transformed incorrectly
- (refactor) Bumps @y0n1/json to 2.0.0
- (refactor) Adds msw for writing tests for the client proxy module
- (refactor) RHINENG-10789 added compont for showing box plot charts (#12)
- (refactor) RHINENG-10789 added compont for showing box plot charts
- (refactor) added missing keys for messages
- (style) prettier format and fix
- (fix) fixes types errors
- (fix) minor fixes
- (fix) minor fixes for showing YAML code
- (refactor) added charts for limit and request data, performace section
- (fix) adds yarn.lock
- (fix) fixes types errors
- (fix) styles for chart y axis numbering
- (fix) minor fixes
- (refactor) Adds tests for OptimizationsApiClientProxy.ts
- (docs) Adds READMEs and legal stuff (#15)
- (fix) fixes a typo
- (refactor) updates the readme
- (refactor) adds missing info about the service account role
- (refactor) Updates useRhdhTheme.ts (#16)
- (refactor) Removes the logic involved in enabling the RHDH theme based on an environment variable
- (refactor) updates devcontainer settings
- (refactor) updates the workspace readme
- (refactor) adds the changeset
- (refactor) RHINENG-11783 removed example component and searchFilter component (#17)
- (refactor) renames the plugin to redhat-resource-optimization (#18)
- (refactor) Addresses overlooked code style issues
- (refactor) updates CODEOWNERS
- (refactor) update yarn install stat

Signed-off-by: Jonathan Kilzi <jkilzi@redhat.com>
Co-authored-by: Preeti Wadhwani <pwadhwan@redhat.com>
Signed-off-by: Jonathan Kilzi <jkilzi@redhat.com>
jkilzi added a commit that referenced this pull request Oct 7, 2024
- (refactor) Adds the new workspace's lockfile
- (refactor) adds the cost-management FE plugin
- (refactor) removes react-dom and react-router-dom from the peerDeps
- (refactor) updates yarn.lock
- (refactor) adds a basic app-config.yaml with untested proxy settings
- (refactor) adds cost-management-client
- (refactor) adds CostManagementIcon.tsx
- (refactor) adds sample packages/app and packages/backend
- (refactor) converts the cost-management client into the recommendations client
- (refactor) Introduces the combined cost-management client
- (fix) fixes issues with overlapping symbols
- (refactor) Refactors the cost-management plugin
- (refactor) Renames the cost-management-client package to cost-management-common
- (refactor) Renames src/api/ApiRefs.ts to src/api/ref.ts
- (refactor) simplifies getting the proxy's baseUrl
- (fix) fixes the client generator script
- (refactor) Adds changeOrigin to the proxy settings
- (refactor) created first page using material UI components
- (refactor) updated config for FE
- (refactor) removed custom webpack config file
- consuming API response in the table
- (refactor) added util method to handle API JSON response
- (refactor) introduces JSONUtils.toCamelCaseObjectKeys
- (refactor) adds new workspace for resource-optimization
- (refactor) adds placeholder for the FE and Common plug-ins
- (refactor) adds app-config.yaml
- (refactor) adds react-related missing peer-deps
- (refactor) adds resource-optimization-common as a dependency to the FE plug-in
- (refactor) adds a sample app and backend for showcase purposes
- (refactor) Adds also a PoC for the plugin icon
- (refactor) migrates the old common package to resource-optimization
- (fix) fixes an eslint issue related to lodash
- (refactor) updates the icon snapshot
- (refactor) updates json.test.ts
- (refactor) adds initial code for the BE plugin
- (fix) fixes the plugin icon
- (refactor) changes the plugin name in the navbar
- (refactor) adds 2 variants for the plugin icon
- (refactor) added UI for the first page of resource optimization plugin & fixed endpoint in config (#2)
- (fix) fixes an issue in toCamelCaseObjectKeys function
- (refactor) introduces the resource-optimization-backend
- (fix) fixes the token renewal mechanism
- (refactor) Improved the keys serialization/deserialization issue (use camelCase when receiving, but snake_case when sending data)
- (refactor) The plugin can read the clientId and clientSecret from the app-config.yaml
- (refactor) Cleans up the ExampleComponent.tsx
- (refactor) makes ssoBaseUrl config optional
- (refactor) cleans up ExampleComponent.tsx a bit more
- (refactor) add assertion to ensure config is defined
- (refactor) replaces json utils with jsr:@y0n1/json
- (fix) : fix missing query params after token expires
- (feat) RHINENG-10603 first page table functionality - Pagination + Sorting (#3)
- (feat) RHINENG-10603 first page table functionality
- (fix) minor fixes
- (refactor) code refactoring for landing page table
- (refactor) handling offset and sorting query params and code cleanup
- (refactor) disable third sort on table component
- (refactor) added unit tests and code cleanup
- (refactor) improved landing page layout
- (fix) fixes unit tests
- (feat) RHINENG-10603 landing page filters functionality (#4)
- (feat) RHINENG-10603 added search filter component and filters functionality
- (fix) fixes the issue with the query params in getRecommendationsList
- (feat) RHINENG-10787 detail page top section and recommendation section (#5)
- (feat) RHINENG-10787 detail page top section and UI
- (refactor) removed memoryUnit & cpuUnit from query
- (refactor) code cleanup
- (fix) fixes cluster filter and detail page values
- (refactor) added util method to handle YAML code generation from API response
- (refactor) ignores dynamic-plugins dist directory globally
- (refactor) adds janus-cli and export-dynamic scripts
- (refactor) removes ExampleFetchComponent
- (refactor) updates apis.ts
- (fix) do not convert the recommendations_id param to snake case
- (fix) fixes tsc, linting and formatting issues
- (fix) fixes some issues related to different types of dependencies
- (fix) pathes PlotDetails model
- (fix) stop depending on @mui/material and remove white bg from search filters
- (refactor) patches all the parameters of getRecommendationById
- (refactor) Applies required refactors for compatibility with dynamic plugins (#6)
- (refactor) adds @backstage/backend-dynamic-feature-service
- (refactor) adds rhdh theme
- (refactor) adds devcontainer config
- (refactor) removes leftovers froms the cost-management workspace
- (refactor) updates resource-optimization frontend
- (refactor) adds configuration files for rhdh
- (refactor) Update workspaces/resource-optimization/plugins/resource-optimization/src/plugin.ts
- (refactor) adds devcontainer config
- (refactor) adds deployment scripts
- (refactor) adds export-dynamic top-level script
- (fix) fixes issues related to dependencies
- (refactor) removes the dynamic-plugins integration from the backend package
- (fix) fixes linting and type-checking issues
- (refactor) exports the icon from the front-end plugin
- (refactor) Updates yarn.lock
- (fix) fixes some type-only import statements
- (chore) sync @backstage-community/plugin-resource-optimization-backend
- (fix) fixes style issues
- (fix) fixes an issue related to the api-report generation, see: backstage/backstage#25671
- (refactor) renames useRhdhTheme.ts to rhdh-theme.ts
- (chore) cleans up devcontainer settings and code-workspace file
- (fix) fixes style issues and generates api-report
- (fix) fixes code style and adds the api-report
- (fix) fixes code style and adds the api-report
- (refactor) Updates resource-optimization-common
- (chore) Patches the generated client code with ts-morph
- (style) The code now complies with the rules of the api-report (via `yarn build:api-reports`)
- (refactor) Adds the api-report
- (refactor) Updates the openapi.yaml
- (refactor) Renames OrchestratorClient to OrchestratorApiClientProxy
- (refactor) Updates resource-optimization
- (refactor) Aligns the code according to the refactor in resource-optimization-common
- (fix) detail page tab routing (#8)
- (fix) detail page tab routing
- (style) yarn fix resource-optimization-common
- (fix) prettier & add prettier format script
- (refactor) Update workspaces/resource-optimization/package.json
- (refactor) updated api-reports.md
- (refactor) updates api-reports
- (fix) fixes the presentation in the last_reported column
- (fix) fixes code style issues
- (fix) code-style
- (refactor) Renames serializer.mjs to yaml.mjs
- (chore) Bumps Backstage to 1.29.2, see https://backstage.io/docs/releases/v1.28.0
- (fix) fixes the "publish check" CI step failure
- (fix) bug fixes
- (fix) Solves an issue related to the recommendation plotData object where the object keys were transformed incorrectly
- (refactor) Bumps @y0n1/json to 2.0.0
- (refactor) Adds msw for writing tests for the client proxy module
- (refactor) RHINENG-10789 added compont for showing box plot charts (#12)
- (refactor) RHINENG-10789 added compont for showing box plot charts
- (refactor) added missing keys for messages
- (style) prettier format and fix
- (fix) fixes types errors
- (fix) minor fixes
- (fix) minor fixes for showing YAML code
- (refactor) added charts for limit and request data, performace section
- (fix) adds yarn.lock
- (fix) fixes types errors
- (fix) styles for chart y axis numbering
- (fix) minor fixes
- (refactor) Adds tests for OptimizationsApiClientProxy.ts
- (docs) Adds READMEs and legal stuff (#15)
- (fix) fixes a typo
- (refactor) updates the readme
- (refactor) adds missing info about the service account role
- (refactor) Updates useRhdhTheme.ts (#16)
- (refactor) Removes the logic involved in enabling the RHDH theme based on an environment variable
- (refactor) updates devcontainer settings
- (refactor) updates the workspace readme
- (refactor) adds the changeset
- (refactor) RHINENG-11783 removed example component and searchFilter component (#17)
- (refactor) renames the plugin to redhat-resource-optimization (#18)
- (refactor) Addresses overlooked code style issues
- (refactor) updates CODEOWNERS
- (refactor) update yarn install stat

Signed-off-by: Jonathan Kilzi <jkilzi@redhat.com>
Co-authored-by: Preeti Wadhwani <pwadhwan@redhat.com>
Signed-off-by: Jonathan Kilzi <jkilzi@redhat.com>
jkilzi added a commit that referenced this pull request Oct 10, 2024
- (refactor) Adds the new workspace's lockfile
- (refactor) adds the cost-management FE plugin
- (refactor) removes react-dom and react-router-dom from the peerDeps
- (refactor) updates yarn.lock
- (refactor) adds a basic app-config.yaml with untested proxy settings
- (refactor) adds cost-management-client
- (refactor) adds CostManagementIcon.tsx
- (refactor) adds sample packages/app and packages/backend
- (refactor) converts the cost-management client into the recommendations client
- (refactor) Introduces the combined cost-management client
- (fix) fixes issues with overlapping symbols
- (refactor) Refactors the cost-management plugin
- (refactor) Renames the cost-management-client package to cost-management-common
- (refactor) Renames src/api/ApiRefs.ts to src/api/ref.ts
- (refactor) simplifies getting the proxy's baseUrl
- (fix) fixes the client generator script
- (refactor) Adds changeOrigin to the proxy settings
- (refactor) created first page using material UI components
- (refactor) updated config for FE
- (refactor) removed custom webpack config file
- consuming API response in the table
- (refactor) added util method to handle API JSON response
- (refactor) introduces JSONUtils.toCamelCaseObjectKeys
- (refactor) adds new workspace for resource-optimization
- (refactor) adds placeholder for the FE and Common plug-ins
- (refactor) adds app-config.yaml
- (refactor) adds react-related missing peer-deps
- (refactor) adds resource-optimization-common as a dependency to the FE plug-in
- (refactor) adds a sample app and backend for showcase purposes
- (refactor) Adds also a PoC for the plugin icon
- (refactor) migrates the old common package to resource-optimization
- (fix) fixes an eslint issue related to lodash
- (refactor) updates the icon snapshot
- (refactor) updates json.test.ts
- (refactor) adds initial code for the BE plugin
- (fix) fixes the plugin icon
- (refactor) changes the plugin name in the navbar
- (refactor) adds 2 variants for the plugin icon
- (refactor) added UI for the first page of resource optimization plugin & fixed endpoint in config (#2)
- (fix) fixes an issue in toCamelCaseObjectKeys function
- (refactor) introduces the resource-optimization-backend
- (fix) fixes the token renewal mechanism
- (refactor) Improved the keys serialization/deserialization issue (use camelCase when receiving, but snake_case when sending data)
- (refactor) The plugin can read the clientId and clientSecret from the app-config.yaml
- (refactor) Cleans up the ExampleComponent.tsx
- (refactor) makes ssoBaseUrl config optional
- (refactor) cleans up ExampleComponent.tsx a bit more
- (refactor) add assertion to ensure config is defined
- (refactor) replaces json utils with jsr:@y0n1/json
- (fix) : fix missing query params after token expires
- (feat) RHINENG-10603 first page table functionality - Pagination + Sorting (#3)
- (feat) RHINENG-10603 first page table functionality
- (fix) minor fixes
- (refactor) code refactoring for landing page table
- (refactor) handling offset and sorting query params and code cleanup
- (refactor) disable third sort on table component
- (refactor) added unit tests and code cleanup
- (refactor) improved landing page layout
- (fix) fixes unit tests
- (feat) RHINENG-10603 landing page filters functionality (#4)
- (feat) RHINENG-10603 added search filter component and filters functionality
- (fix) fixes the issue with the query params in getRecommendationsList
- (feat) RHINENG-10787 detail page top section and recommendation section (#5)
- (feat) RHINENG-10787 detail page top section and UI
- (refactor) removed memoryUnit & cpuUnit from query
- (refactor) code cleanup
- (fix) fixes cluster filter and detail page values
- (refactor) added util method to handle YAML code generation from API response
- (refactor) ignores dynamic-plugins dist directory globally
- (refactor) adds janus-cli and export-dynamic scripts
- (refactor) removes ExampleFetchComponent
- (refactor) updates apis.ts
- (fix) do not convert the recommendations_id param to snake case
- (fix) fixes tsc, linting and formatting issues
- (fix) fixes some issues related to different types of dependencies
- (fix) pathes PlotDetails model
- (fix) stop depending on @mui/material and remove white bg from search filters
- (refactor) patches all the parameters of getRecommendationById
- (refactor) Applies required refactors for compatibility with dynamic plugins (#6)
- (refactor) adds @backstage/backend-dynamic-feature-service
- (refactor) adds rhdh theme
- (refactor) adds devcontainer config
- (refactor) removes leftovers froms the cost-management workspace
- (refactor) updates resource-optimization frontend
- (refactor) adds configuration files for rhdh
- (refactor) Update workspaces/resource-optimization/plugins/resource-optimization/src/plugin.ts
- (refactor) adds devcontainer config
- (refactor) adds deployment scripts
- (refactor) adds export-dynamic top-level script
- (fix) fixes issues related to dependencies
- (refactor) removes the dynamic-plugins integration from the backend package
- (fix) fixes linting and type-checking issues
- (refactor) exports the icon from the front-end plugin
- (refactor) Updates yarn.lock
- (fix) fixes some type-only import statements
- (chore) sync @backstage-community/plugin-resource-optimization-backend
- (fix) fixes style issues
- (fix) fixes an issue related to the api-report generation, see: backstage/backstage#25671
- (refactor) renames useRhdhTheme.ts to rhdh-theme.ts
- (chore) cleans up devcontainer settings and code-workspace file
- (fix) fixes style issues and generates api-report
- (fix) fixes code style and adds the api-report
- (fix) fixes code style and adds the api-report
- (refactor) Updates resource-optimization-common
- (chore) Patches the generated client code with ts-morph
- (style) The code now complies with the rules of the api-report (via `yarn build:api-reports`)
- (refactor) Adds the api-report
- (refactor) Updates the openapi.yaml
- (refactor) Renames OrchestratorClient to OrchestratorApiClientProxy
- (refactor) Updates resource-optimization
- (refactor) Aligns the code according to the refactor in resource-optimization-common
- (fix) detail page tab routing (#8)
- (fix) detail page tab routing
- (style) yarn fix resource-optimization-common
- (fix) prettier & add prettier format script
- (refactor) Update workspaces/resource-optimization/package.json
- (refactor) updated api-reports.md
- (refactor) updates api-reports
- (fix) fixes the presentation in the last_reported column
- (fix) fixes code style issues
- (fix) code-style
- (refactor) Renames serializer.mjs to yaml.mjs
- (chore) Bumps Backstage to 1.29.2, see https://backstage.io/docs/releases/v1.28.0
- (fix) fixes the "publish check" CI step failure
- (fix) bug fixes
- (fix) Solves an issue related to the recommendation plotData object where the object keys were transformed incorrectly
- (refactor) Bumps @y0n1/json to 2.0.0
- (refactor) Adds msw for writing tests for the client proxy module
- (refactor) RHINENG-10789 added compont for showing box plot charts (#12)
- (refactor) RHINENG-10789 added compont for showing box plot charts
- (refactor) added missing keys for messages
- (style) prettier format and fix
- (fix) fixes types errors
- (fix) minor fixes
- (fix) minor fixes for showing YAML code
- (refactor) added charts for limit and request data, performace section
- (fix) adds yarn.lock
- (fix) fixes types errors
- (fix) styles for chart y axis numbering
- (fix) minor fixes
- (refactor) Adds tests for OptimizationsApiClientProxy.ts
- (docs) Adds READMEs and legal stuff (#15)
- (fix) fixes a typo
- (refactor) updates the readme
- (refactor) adds missing info about the service account role
- (refactor) Updates useRhdhTheme.ts (#16)
- (refactor) Removes the logic involved in enabling the RHDH theme based on an environment variable
- (refactor) updates devcontainer settings
- (refactor) updates the workspace readme
- (refactor) adds the changeset
- (refactor) RHINENG-11783 removed example component and searchFilter component (#17)
- (refactor) renames the plugin to redhat-resource-optimization (#18)
- (refactor) Addresses overlooked code style issues
- (refactor) updates CODEOWNERS
- (refactor) update yarn install stat

Signed-off-by: Jonathan Kilzi <jkilzi@redhat.com>
Co-authored-by: Preeti Wadhwani <pwadhwan@redhat.com>
Signed-off-by: Jonathan Kilzi <jkilzi@redhat.com>
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.

2 participants