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

PR for Building sm-integration Branch #822

Open
wants to merge 69 commits into
base: main
Choose a base branch
from
Open

PR for Building sm-integration Branch #822

wants to merge 69 commits into from

Commits on Aug 22, 2024

  1. Get Secrets for Service Manager (#655)

    * Add interface for cluster object provider
    
    * Interface segregation
    
    * Add context param to interfaces
    
    * Add NamespaceProvider
    
    * Add SecretProvider
    
    * Add ServiceInstanceProvider
    
    * tweaks - use pointers, name changes
    
    * Include ServiceInstanceProvider in SecretProvider
    
    * Get secrets from secret ref in SI
    
    * Fix provider interface
    
    * Fix constructor
    
    * Add NamespaceProvider unit tests
    
    * Fix ServiceInstanceProvider constructor
    
    * Fix secret reference filter
    
    * Add unit tests for service instance provider
    
    * Fix secrets fetching
    
    * Log warning when SecretProvider does not find btp operator secrets
    
    * Add SecretProvider unit tests
    
    * Apply suggestions from code review
    szwedm authored and kyma-gopher-bot committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    349cd3b View commit details
    Browse the repository at this point in the history
  2. Prepare main func for running multiple components (#685)

    * Run components in separate goroutines
    
    * Separate components
    
    * Pass pointers of parsed config values to setupManager
    
    * Add if to print secrets name and namspace when SecretList is not empty
    
    * Check SI CRD existance before fetching secrets
    
    * Add logs for debug
    szwedm authored and kyma-gopher-bot committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    ec4ddcf View commit details
    Browse the repository at this point in the history
  3. Service Manager client (#674)

    * Add SM client
    
    * Get secret for SM http client
    
    * Build HTTP client for Service Manager
    
    * Add method to fetch service offerings
    
    * Add method to fetch service offerings
    
    * Add Common struct with fields common to all SM objects
    
    * Add ServiceOffering struct
    
    * Add method to extract ServiceOffering metadata fields values
    
    * Adjustments for running in main
    
    * nil checks and log improvements
    
    * Add method for setting client for given secret
    
    * Fix not found error return
    
    * Fix tests after adding ServiceInstance CRD existence check
    
    * go mod tidy and goimports
    
    * Handle k8s not found error when default secret does not exist
    szwedm authored and kyma-gopher-bot committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    f531026 View commit details
    Browse the repository at this point in the history
  4. Service Manager client ServiceOfferings test (#703)

    Add unit test for Service Manager client and ServiceOfferings endpoint
    szwedm authored and kyma-gopher-bot committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    07b5b3c View commit details
    Browse the repository at this point in the history
  5. Service Manager UI (#649)

    ukff authored and kyma-gopher-bot committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    85cdcf9 View commit details
    Browse the repository at this point in the history
  6. Fix not responding api after remove gorilla mux by go http (#714)

    Fix not responding api after remove gorilla mux by go http
    ukff authored and kyma-gopher-bot committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    90871c1 View commit details
    Browse the repository at this point in the history
  7. Service Manager client - get Service Offering details and plans (#717)

    * Add ServicePlan struct
    
    * wip
    
    * Service Offering with plans request
    
    * Add struct tags for plans in Service Offering details
    
    * Add fake service plans
    
    * Add unit test for service offering details and plans for given service offering ID
    
    * Fix typos
    
    * Refactor URL query for Service Plans
    szwedm authored and kyma-gopher-bot committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    e6ca07c View commit details
    Browse the repository at this point in the history
  8. SM UI (#711)

    add service offerings support
    ukff authored and kyma-gopher-bot committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    8346fc4 View commit details
    Browse the repository at this point in the history
  9. Run frontend from go binary (#720)

    * Serve frontend from go
    
    * Build UI static files
    
    * Change metrics server port
    
    * Add API config fields in deployment
    
    * Fix serving API on 8080 port
    
    * Add makefile rule to build ui
    
    * Change the order of makefile rules
    
    * eslint
    
    * eslint
    
    * Fix dockerfile copy
    
    * Add doc describing how to deploy BTP Manager with UI
    
    * Fix docs
    
    * Add cleanup info, prerequisites info and fix formatting
    
    * Typos
    
    * Apply suggestions from doc review
    
    Co-authored-by: Iwona Langer <[email protected]>
    
    * Rename ui.md to 09-10-ui.md
    
    ---------
    
    Co-authored-by: Iwona Langer <[email protected]>
    2 people authored and kyma-gopher-bot committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    2bd18ef View commit details
    Browse the repository at this point in the history
  10. SM UI 2 (#728)

    * sm ui service offerings and plans
    ukff authored and kyma-gopher-bot committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    83f9b57 View commit details
    Browse the repository at this point in the history
  11. SM UI 3 (#734)

    plan details
    ukff authored and kyma-gopher-bot committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    6b7687f View commit details
    Browse the repository at this point in the history
  12. Handle Service Instances in SM client (#742)

    * rm internal/ from gitignore
    
    * Add Operation struct
    
    * Add ServiceInstance struct
    
    * ServiceInstances path const
    
    * Change the field name in collections of SM objects to Items
    
    * GET Service Instances
    
    * GET Service Instance by ID
    
    * Add SI, Error structs for SM responses
    
    * POST Service Instance
    
    * Refactor http response body reading
    
    * DELETE Service Instance
    
    * PATCH Service Instance
    
    * GET Service Instance params
    
    * Add fake SI JSONs for tests
    
    * GET Service Instances test
    
    * GET Service Instance by ID test
    
    * POST Service Instance test
    
    * Refactor SM client unit test to use typed structs instead of generic maps
    
    * PATCH Service Instance test
    
    * DELETE Service Instance by ID test
    szwedm authored and kyma-gopher-bot committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    2f3e94d View commit details
    Browse the repository at this point in the history
  13. Handle Service Bindings in SM client and get Service Instances in API (

    …#735)
    
    * wip
    
    * wip
    
    * wip
    
    * Rebase and sort imports
    
    * wip
    
    * Fix fetching structs fields
    
    * Fix ServiceBinding struct
    
    * GET Service Instances in API
    
    * CRUD Service Bindings
    
    * GET Service Plan by ID in SM client
    
    * GET Service Instance by ID in API
    
    * Revert temp changes
    
    ---------
    
    Co-authored-by: Marcin Szwed <[email protected]>
    Co-authored-by: Ksawery Zietara <[email protected]>
    3 people authored and kyma-gopher-bot committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    1714b66 View commit details
    Browse the repository at this point in the history
  14. Loading Service Instances in BTP Manager UI Backend - API (#746)

    * Simple Instances Loading Based on Offerings
    
    * Linter
    
    * Testing Corrections
    
    * Interfaces, Mocks, AttachRoutes Extraction
    
    * ListInstances Test
    
    * Add Missing Dependency
    
    * Linter
    
    * Code Duplication Removal
    
    Removed code duplication pointed out in #746 (comment).
    
    * Corrected Want to Expected
    
    Corrected want to expected as pointed out in #746 (comment)
    
    * Corrected Want to Expected
    
    Corrected want to expected as pointed out in #746 (comment)
    
    * Missing Test
    
    Added test suggested in #746 (comment)
    
    * Added Missing Interface Methods and Theirs Rename
    
    * Removed Setting Client By Namespace and Name from the Path
    
    * Linter & Compilation Corrections
    
    * Duplicated Path
    
    * Corrected Test Expectation
    
    * Removed Unnecessary Mock Method
    
    * Removed Unnecessary Import
    
    * Code Review - Test Addition
    
    Added a tests as requested in #746 (comment)
    
    * code Review - Added Const with testdata Path
    
    Addressed #746 (comment) discussion
    
    * Code Review - Unnecessary IF
    
    The remove if may result in false positives if someone invoked test with empty expected by accident and tested method returned expected as well - addresses #746 (comment)
    ralikio authored and kyma-gopher-bot committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    81d1116 View commit details
    Browse the repository at this point in the history
  15. Service Bindings API (#757)

    * Service Bindings API
    
    * Extend Client interface
    KsaweryZietara authored and kyma-gopher-bot committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    d3ef25b View commit details
    Browse the repository at this point in the history
  16. Possibility to Load Test Data Based on Env Variable (#763)

    * Switching Between Test Data and API Call
    
    * Extracted Test Data to Separate File
    ralikio authored and kyma-gopher-bot committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    8a73cd1 View commit details
    Browse the repository at this point in the history
  17. Removal of Recursive Invocation (#766)

    Removal of Recursive Rendering
    ralikio authored and kyma-gopher-bot committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    097bb6a View commit details
    Browse the repository at this point in the history
  18. Removal of Unnecessary Body Elemenet (#767)

    Removal of Body in Body Element
    ralikio authored and kyma-gopher-bot committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    5cb8926 View commit details
    Browse the repository at this point in the history
  19. ServiceInstanceDetailsView - UI Dialog Mechanics (#768)

    Instances Details Dialog
    ralikio authored and kyma-gopher-bot committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    17c811b View commit details
    Browse the repository at this point in the history
  20. Service Instances API (#758)

    * Add CreateServiceInstance struct
    
    * Refactor API calls for Service Instance with plan name
    
    * POST Service Instance in API
    
    * Remove unnecessary mocks and interfaces
    
    * imports
    
    * Add UpdateServiceInstance request struct
    
    * PATCH Service Instance in API
    
    * Delete Service Instance in API
    
    * Add ClusterID field to CreateServiceInstanceRequest struct
    
    * Comment API tests for refactor in next PR
    
    * Reorganize packages and structs
    
    * Add interface for cluster and namespace scoped provider
    
    * Add before all setup in API tests
    
    * GET Service Instances API test
    
    * Add func to set appropriate dir for fake Service Manager data and remove redundant JSON files
    
    * Extend assertions for GET Service Instances API test
    
    * Add GET Service Instance by ID API test
    
    * Add POST Service Instance API test
    
    * Add DELETE Service Instance API test
    
    * rm not used func from ui
    
    * Add missing labels in create service instance test
    szwedm authored and kyma-gopher-bot committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    0a5639f View commit details
    Browse the repository at this point in the history
  21. Rename fields and tags in API structs according to Service Manager ob…

    …jects (#769)
    
    Rename fields and tags in API structs according to SM objects
    szwedm authored and kyma-gopher-bot committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    8c8c0ee View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    18b0fc5 View commit details
    Browse the repository at this point in the history
  23. UI Corrections (#774)

    * UI Unification
    
    * UI Corrections
    
    * API Fields Corrections
    ralikio authored and kyma-gopher-bot committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    eed23cf View commit details
    Browse the repository at this point in the history
  24. Simple Service Bindings List (#775)

    * UI Unification
    
    * UI Corrections
    
    * Initial Bindings List
    
    * Correted Query Constrocution
    
    * Temporarly Ignore Not Used Variables
    
    * Temporarly Ignore Not Used Variables
    
    * Added Missing Dependency
    
    * Default Method for Listing Bindings without Filters
    
    * Default Method for Listing Bindings without Filters
    
    * Linter
    ralikio authored and kyma-gopher-bot committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    c2a949a View commit details
    Browse the repository at this point in the history
  25. Add secrets operations related to Service Bindings in API (#772)

    * Add interfaces for k8s obj create, delete
    
    * Extend Provider and Deleter interfaces
    
    * Rename providers methods
    
    * mv labels from SI to common
    
    * Add values extract from SB context
    
    * Refactor converter to SB
    
    * Add secrets operations related to SBs in API
    
    * Separate interfaces
    
    * Enhance SecretProvider to implement Manager interface
    
    * Add GetAllByLabels method in NamespaceProvider
    
    * Add GetAllByLabels method in ServiceInstanceProvider
    
    * Add labels to logs
    
    * Implement Manager interface in FakeSecretManager
    
    * Fix expected namespaces number in assertion
    
    * Fix SecretManager obj occurrences and provide more unit tests
    
    * Fix references to SecretManager
    
    * Add GET Service Bindings API test
    
    * Add GET Service Binding by ID API test
    
    * Add POST Service Binding API test
    
    * Add DELETE Service Binding by ID API test
    
    * Restore defaults in fake Service Manager after tests which change the data
    szwedm authored and kyma-gopher-bot committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    e768272 View commit details
    Browse the repository at this point in the history
  26. React Router (#778)

    * React Router
    
    * Renamed Layout File
    
    * Router Dependencies & Webcomponents Update
    ralikio authored and kyma-gopher-bot committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    3adb39d View commit details
    Browse the repository at this point in the history
  27. Polishing List Instances View (#780)

    Polishing Create Instance Form
    ralikio authored and kyma-gopher-bot committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    13bfec6 View commit details
    Browse the repository at this point in the history
  28. Create Binding Form (#781)

    * Create Binding Form
    
    * Missing Imports
    
    * Status Message Component
    
    * Test Data Update
    ralikio authored and kyma-gopher-bot committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    efc25a7 View commit details
    Browse the repository at this point in the history
  29. Addition of Labels and Parameters Consumption in Create Instance Form (

    …#782)
    
    * Create Instance Form - Labels and Parameters
    
    * Busy Indicators
    ralikio authored and kyma-gopher-bot committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    5c7439a View commit details
    Browse the repository at this point in the history
  30. Bindings Removal (#784)

    ralikio authored and kyma-gopher-bot committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    cf9606e View commit details
    Browse the repository at this point in the history
  31. Nil Check when Removing Secrets (#786)

    * Nil Check
    
    * Nil Check - Tests
    
    * Items List Check
    
    * Linter
    
    * Linter
    ralikio authored and kyma-gopher-bot committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    de1d103 View commit details
    Browse the repository at this point in the history
  32. Update of SM Integration Docs to the Newest PR (#785)

    * Documentation Update
    
    * Image Update
    ralikio authored and kyma-gopher-bot committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    f8c260f View commit details
    Browse the repository at this point in the history
  33. BTP Manager API - error handling (#779)

    * Refactor SM client - limit duplicates
    
    * Add method for creating SM client error
    
    * Add logs and call SM client error func
    
    * Refactor error handling and response sending in API
    
    * Change expected HTTP status codes for POST request in tests
    
    * Add method to enable/disable error throws in fake SM
    
    * Add HTTP status code in SM client error
    
    * Add BTP Manager API sad path unit tests
    
    * Revert timeouts in unit tests
    
    * Fix expected status code in a unit test after rebase
    szwedm authored and kyma-gopher-bot committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    b6332cb View commit details
    Browse the repository at this point in the history
  34. Corrected Export Command Placement (#787)

    * Corrected Doc Order
    
    * Review Corrections
    
    * Update docs/contributor/09-10-ui.md
    
    Co-authored-by: Iwona Langer <[email protected]>
    
    * Update docs/contributor/09-10-ui.md
    
    Co-authored-by: Iwona Langer <[email protected]>
    
    * Update docs/contributor/09-10-ui.md
    
    Co-authored-by: Iwona Langer <[email protected]>
    
    * Update docs/contributor/09-10-ui.md
    
    Co-authored-by: Iwona Langer <[email protected]>
    
    ---------
    
    Co-authored-by: Iwona Langer <[email protected]>
    2 people authored and kyma-gopher-bot committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    2efe6ec View commit details
    Browse the repository at this point in the history
  35. New Subpaths for UI (#792)

    Additional Routing for UI
    ralikio authored and kyma-gopher-bot committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    dc671d2 View commit details
    Browse the repository at this point in the history
  36. Set secret name and namespace from create Service Binding request (#794)

    * Add secret's name and namespace fields into CreateServiceBinding request
    
    * Set secret's name and namespace based on the request
    
    * Add unit test for POST Service Binding with JSON object in credentials
    szwedm authored and kyma-gopher-bot committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    beec1ef View commit details
    Browse the repository at this point in the history
  37. ShellBar Corrections (#797)

    Shell Bar Addition
    ralikio authored and kyma-gopher-bot committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    d26fe48 View commit details
    Browse the repository at this point in the history
  38. Secret Name and Namespace in CreateBindingForm (#798)

    Secret Name & Namespace
    ralikio authored and kyma-gopher-bot committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    0014c36 View commit details
    Browse the repository at this point in the history
  39. Dialog and StatusMessage Mechanics Corrections (#799)

    Mechanics Corection for Dialog and Status Messages
    ralikio authored and kyma-gopher-bot committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    4df9f97 View commit details
    Browse the repository at this point in the history
  40. Updated Docs to PR-799 (#800)

    Update 09-10-ui.md
    ralikio authored and kyma-gopher-bot committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    5bac4da View commit details
    Browse the repository at this point in the history
  41. Secret availability in Service Binding (#802)

    * Add cluster id label to secret if it has value in SB
    
    * Add Secret's name and namespace in the response for SB
    
    * Get secret for given service binding ID from the cluster
    
    * Add unit tests for GET Service Binding(s) with available secret
    
    * Revert timeouts in tests
    
    * Fix service instance ID in unit test
    
    * Remove unused objs
    
    * Adjust NumItems field for returned ServiceBindings in test
    szwedm authored and kyma-gopher-bot committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    2a1f3e1 View commit details
    Browse the repository at this point in the history
  42. Missing FormItems for Status Messages, API Model Naming Conventions a…

    …nd Fixes for List Addition/Removal (#803)
    
    * Review Remarks
    
    * Renamed API Fields
    
    * Corrected Status Message Placement
    
    * Renamed Properties to Match API Data
    
    ---------
    
    Co-authored-by: Marcin Szwed <[email protected]>
    2 people authored and kyma-gopher-bot committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    b59672d View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    91c50af View commit details
    Browse the repository at this point in the history
  44. Fix secret operations in Service Binding related requests (#812)

    * Fix fetching secrets in GET Service Bindings
    
    * Fix secret creation in POST Service Binding
    
    * Fix assertion in test
    szwedm authored and kyma-gopher-bot committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    70d0b0b View commit details
    Browse the repository at this point in the history
  45. Load secrets onClick (#809)

    * Load secrets onClick
    
    * Switch secret
    
    * When pressing button only fetch
    
    * Dynamic instance list
    MarekMichali authored and kyma-gopher-bot committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    6b560ad View commit details
    Browse the repository at this point in the history
  46. Configuration menu
    Copy the full SHA
    6bf830a View commit details
    Browse the repository at this point in the history
  47. Page Title (#817)

    * Setting Page Title from Within Route Component
    
    Added title attribute to Layout component to show information about which view is currently active.
    
    * Removing Unnecessary Imports
    
    * CSS Update for Object Page
    
    Forced display property to be set to inline instead of grid to allow title `block` placement before the `Secrets` view.
    
    Added a 1rem padding to put some space between the title and the top of an ObjectPage.
    ralikio authored and kyma-gopher-bot committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    69e9798 View commit details
    Browse the repository at this point in the history
  48. Broken Connectivity Error Page (#820)

    * Conditional Rendering of Navigation and Router Outlet
    
    If secrets was not loaded correctly use empty string to showcase it and hide Layout components to block any user action.
    
    * Prevent Infinite Loader
    
    setLoading was not invoked correctly with false value when props contained incorrect values. Such implementation resulted in infinite loading indicator.
    
    * Removed Unnecessary Comments
    
    * Move Error Message Outside of the renderData Method
    
    If mentioned IllustratedMessage is put inside of renderData method then ui5.Menu complains about calling `length` on undefined.
    
    * Moved loadSecrets to useEffect Method
    
    * Expand Error Message to Occupy Full Parent Height
    ralikio authored and kyma-gopher-bot committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    aeb6d1f View commit details
    Browse the repository at this point in the history
  49. Illustrated Message Placement and Size Corrections (#821)

    Corrected Placement and Size of NoEntries Message
    
    Previously the message was displayed inside of a table resulting in its unatural placement with "Auto" size making it too big. Now the message is smaller and centered in the view.
    ralikio authored and kyma-gopher-bot committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    e7b8fbb View commit details
    Browse the repository at this point in the history
  50. Corrected Bindings List Refresh (#824)

    * Minimum Delay on Busy Indicator
    
    Setting delay attribute's value to 1 to minimize time needed for Busy indicator to appear.
    
    * Clearing Instance Between Dialog Reloads
    
    Previously, when opening dialog for am instance with bindings before doing the same for an instance without bindings dialog kept data for the former one. Clearing instances and bindings list data prevents this behaviour.
    
    * Corrected Loading State
    
    Removed unnecessary `setLoading(false)` invocations not to turn BusyIndicator off too soon.
    
    * Correct CSS for Object Page and Busy Indicator
    
    Display ObjectPageContent with additional top padding. Center busy indicator by setting its display property to `block`.
    ralikio authored and kyma-gopher-bot committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    969e453 View commit details
    Browse the repository at this point in the history
  51. Fix create Service Binding when secret exists (#826)

    * Block SB creation when secret exists
    
    * Add unit test for POST SB when secret exists
    
    * go mod tidy
    szwedm authored and kyma-gopher-bot committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    d9d46ce View commit details
    Browse the repository at this point in the history
  52. Show secret connection status to SM (#825)

    * Show secret connection status to SM
    
    * Add check if secret was not deleted during loading
    
    * Fix linter
    MarekMichali authored and kyma-gopher-bot committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    a3ffa82 View commit details
    Browse the repository at this point in the history
  53. 404 on Refresh Fix (#830)

    * Added Generic UI Mapping
    
    The following solution is adaption of https://stackoverflow.com/a/64687181 to provide default route to ui app if the file server does not contain given path. The file server returns 404 path if requested path does not correspond to any files in its filesystem. Because of that while routing request to our single page app (e.g. path "/instances/{id}") the request was handled by file server and not by the app itself (which corresponds to `index.html`). The solution routes existing paths, like "/static/*", to the file server and non existing, like "/instances/{id}", to the app frontend.
    
    * Linter
    ralikio authored and kyma-gopher-bot committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    057e88e View commit details
    Browse the repository at this point in the history
  54. Configuration menu
    Copy the full SHA
    aa8cfce View commit details
    Browse the repository at this point in the history
  55. Add hint to press Enter when adding labels to SI (#840)

    * Add hint to press Enter when adding labels to SI
    
    * Bump image
    
    * Add quotes
    
    * Change hint
    
    * Change hint
    MarekMichali authored Aug 22, 2024
    Configuration menu
    Copy the full SHA
    07bfb99 View commit details
    Browse the repository at this point in the history
  56. Configuration menu
    Copy the full SHA
    00b7eed View commit details
    Browse the repository at this point in the history
  57. Fix Markdown (#841)

    KsaweryZietara authored Aug 22, 2024
    Configuration menu
    Copy the full SHA
    db098d1 View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2024

  1. Removal of Unnecessary Error Banner (#846)

    PR Update
    ralikio authored Aug 23, 2024
    Configuration menu
    Copy the full SHA
    b9c92d5 View commit details
    Browse the repository at this point in the history
  2. Unnecessary Error (#847)

    * PR Update
    
    * Removed Unnecessary Error
    
    * PR Update
    ralikio authored Aug 23, 2024
    Configuration menu
    Copy the full SHA
    8b9ac16 View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2024

  1. Restore missing Secret for existing Service Binding (#843)

    * Add PUT Service Binding for secret restoring
    
    * Add unit tests
    
    * Restore timeouts values in API tests
    
    * Change app image in docs
    szwedm authored Aug 26, 2024
    Configuration menu
    Copy the full SHA
    416902c View commit details
    Browse the repository at this point in the history
  2. Api State Removal - UI Passing Secret Name and Namespace Params (#845)

    * Passing `secret_name` and `secret_namespace` headers to UI
    
    * Unnecessary Addition
    
    * Update 09-10-ui.md
    
    ---------
    
    Co-authored-by: Marek Michali <[email protected]>
    ralikio and MarekMichali authored Aug 26, 2024
    Configuration menu
    Copy the full SHA
    31125e5 View commit details
    Browse the repository at this point in the history
  3. Corrected Secret Name and Namespace Params (#849)

    * Corrected Param Names
    
    * Bump Image
    ralikio authored Aug 26, 2024
    Configuration menu
    Copy the full SHA
    e275dc7 View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2024

  1. Api State Removal - backend (#844)

    * Remove states from api
    
    * Redo tests
    
    * Refactor tests
    
    * Add path
    
    * Adjust put
    
    * Adjust frontend
    
    * Fix name
    
    * Fix bindings
    
    * chore: Update BTP Manager image to europe-docker.pkg.dev/kyma-project/dev/btp-manager:PR-844
    
    * Limit methods scope
    
    * Revert error message
    
    * Add error to service instance to not render them when changing secret
    
    * Review remarks
    
    * Revert back to id in path
    MarekMichali authored Aug 28, 2024
    Configuration menu
    Copy the full SHA
    c45c9a2 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2024

  1. Flexible Column Layout for Offerings and Instances Views (#850)

    * Flexible Column Layout for Offerings and Instances
    
    * Updated PR Number
    
    * Unnecessary DialogRef and OpenPortal
    
    * Corrected Border Radius and Error Message Margin
    
    Main object page was displaied with rounder bottom corners, which is not compliant with how Busola displays it. Additionally, error message was rendered just at the top of its component withouth any margins.
    
    * Removed Unused Imports
    
    * UnableToLoad Page Corrections
    
    Copied the same mechanics from offerings view for displaying error message when secret data is not able to load hiding main view. Previously, the view for service instances was rendered without any data. Not it is hidden behind error banner.
    
    Added additional error message to UnableToLoad banner to show more detailed message of what has gone wrong.
    
    * Unused Import
    
    * Unused Import
    
    * Closing Panel on Selected Secret Change
    ralikio authored Aug 29, 2024
    Configuration menu
    Copy the full SHA
    fa5711a View commit details
    Browse the repository at this point in the history
  2. Corrected Error Rendering (#853)

    * Added Service Instance Id
    
    Added service instance id to instance details view, error message after successful instance removal and to instances table for reference.
    
    * Added Service Instance Id to Error Message
    
    * Introduce Separate UnableToLoad Error
    
    New error for loading instances so that other error do not hide entire service instances view.
    
    * Introduce Separate UnableToLoad Error
    
    * Hide Details on Successful Instance Removal
    
    * Update 09-10-ui.md
    ralikio authored Aug 29, 2024
    Configuration menu
    Copy the full SHA
    bbb315a View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2024

  1. UI Secret restore (#854)

    * Add button for secret restoration
    
    * Display restore secret button only when secret's data is empty
    
    * Handle Secret restore button press
    
    * Share states of button and binding
    
    * Display data from existing binding when restoring a secret
    
    * Refresh Service Bindings list after restoring a secret
    
    * Update image version in docs
    
    * Fix Service Bindings list refresh after secret restore
    
    * Apply suggestions from code review
    
    * Change PR number in error msg in docs
    szwedm authored Sep 2, 2024
    Configuration menu
    Copy the full SHA
    ac22cb1 View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2024

  1. Fix suffix generating and secret recreate UI state changes (#856)

    * Auto generate suffix for binding name
    
    * Revert auto name suffix
    
    * Suggest binding name
    
    * Fix state when input blocked
    
    * Bump
    
    * Fix disabled input field when applying the restore
    
    * Generate suffix when creating another binding
    
    * Fix spacing
    MarekMichali authored Sep 3, 2024
    Configuration menu
    Copy the full SHA
    97d84cd View commit details
    Browse the repository at this point in the history
  2. Closing Message Strip (#857)

    * Closing Message Strip
    
    * Update 09-10-ui.md
    ralikio authored Sep 3, 2024
    Configuration menu
    Copy the full SHA
    0725906 View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2024

  1. Rebuild image (#886)

    * Rebuild image
    
    * Bump image version
    MarekMichali authored Oct 25, 2024
    Configuration menu
    Copy the full SHA
    21b63d7 View commit details
    Browse the repository at this point in the history