Giter Club home page Giter Club logo

infinispan-console's People

Contributors

abigaeljamie avatar andyuk1986 avatar diegolovison avatar dmvolod avatar domiborges avatar dpanshug avatar edonehoo avatar karesti avatar mathieulorber avatar oranod avatar pminz avatar pnaik1 avatar pruivo avatar ryanemerson avatar tristantarrant avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

infinispan-console's Issues

Welcome page re-wording

"Infinispan is a scalable in-memory data store that provides highly flexible and available access to data.

Use high-performance caching capabilities or create distributed data grids designed for microservice architectures."

"highly flexible and available access to data" - sounds a bit odd. I think this was updated to remove "polyglot"

[Feature Request]: Add protobuf schema using Upload on the console

Feature description

Introducing the option to upload a Protobuf schema using the Patternfly Simple file upload component. This will streamline the process of providing schema information and make it more user-friendly.

Existing form:
Screenshot from 2023-09-18 15-23-28

Steps to reproduce:

  1. Start console and open localhost:9000.
  2. Click on Schemas tab.
  3. Click on Create a Protobuf schema.
  4. You can see the form.

JIRA: https://issues.redhat.com/browse/ISPN-14054

Anything else?

Reference link: https://www.patternfly.org/components/file-upload/simple-file-upload#text-file-with-edits-allowed

[Feature Request]: Use defaults to init the cache creation wizard

Feature description

In the Cache configuration wizard, we currently have static defaults coded into the form. To enhance flexibility and maintainability, we propose utilizing the REST API to dynamically retrieve defaults and populate the form fields accordingly. This will improve the wizard's user experience and ensure that it always reflects the latest defaults available.

To-Do :

  1. Integrate REST API: Establish a connection to the REST API endpoint to fetch default values for cache configuration.

  2. Populate Form Fields: Modify the wizard to populate form fields with the fetched defaults, ensuring that these defaults are displayed as initial values for the variables within the modal.

JIRA: https://issues.redhat.com/browse/ISPN-14089

Anything else?

No response

Upgrade css-loader

Description

Update the css-loader package to the latest version and ensure that all code changes required throughout the project are implemented accordingly.

JIRA: https://issues.redhat.com/browse/ISPN-15145

Anything else?

It may be necessary to make modifications to the webpack.common.js file.

[Feature Request]: make base url configurable

Feature description

I want to deploy Infinispan service behind a reverse proxy and change the base URL <base href="/console">.
It would nicelike to change the base URL by configuration or adapt dynamically depending on the x-forwarded-prefix header. e.g. x-forwarded-prefix: /infinispan

Anything else?

No response

Cluster Viewing Error: "WFLYCTL0202: No known child type named host"

Version: Infinispan 9.4

I'm running infinispan 9.4 in standalone mode with a 2 node cluster. Monitoring the logs upon service startup both nodes join cluster without issue. Also I can see from the view of http:/localhost:9990/console/index.html#/server-groups that the cluster has 2 hosts/nodes avaialble. When I click into the cluster I get a http 500 response failure-description: "WFLYCTL0202: No known child type named host"

Image
Image

It appears the address is empty on the request

Image

Console - fields mixed in chart's legend

Screenshot_2021-02-11 Cache

Server Management console > Data container > Detail of cache > Data access chart
Retrievals and stores fields are mixed in pie chart.

Enhancement: aggregated units in pie chart (K,M,B)

[Feature Request]: Update Table component for XSiteCache

Feature description

Update the Table component for XSiteCache from Patternfly 4 to 5.

import { Table, TableBody, TableHeader } from '@patternfly/react-table/deprecated';

JIRA: https://issues.redhat.com/browse/ISPN-14027

Anything else?

Hint: See other updated Table components like here.

Reference links: https://www.patternfly.org/components/table

[Feature Request]: Review configuration in JSON, XML and YAML

Feature description

Currently, when creating a cache configuration, users can only review the configuration in JSON format. To offer greater flexibility and meet diverse user preferences, we plan to add tabs that allow users to easily switch between viewing the configuration in JSON, YAML, and XML formats.

Steps to reproduce:

  1. Start console and open localhost:9000
  2. Click on create a cache.
  3. Click on next till last review page.
  4. On review page you can see the Cache config in JSON.

Existing view:
image

JIRA: https://issues.redhat.com/browse/ISPN-14098

Anything else?

You can see configuration in different formats in Download section of Review page.
image

Asterisk on cache wizard name field

Asterisk indicates a required field but there is no call out or corresponding explanation. Looks like the asterisk is just dangling there.

We should either remove it or add a tooltip saying "You must provide a unique name for your cache."

image

[Feature Request]: Console black theme

Feature description

As part of the Patternfly 5 upgrade, we aim to introduce a sleek new black theme to our console. This feature will enhance the user experience and provide a visually appealing option. Below are the tasks required to accomplish this:

Todo:

  1. Create Theme Switch Button: Implement a switch button in the header to allow users to toggle between different themes.

  2. Dynamic Class Addition: Ensure that clicking on the theme switch button dynamically adds or toggles a specific class to the HTML tag, enabling the black theme when selected.

JIRA: https://issues.redhat.com/browse/ISPN-15105

Anything else?

Black theme can used by adding pf-v5-theme-dark class to html tag here.

Reference links: https://www.patternfly.org/developer-resources/dark-theme-handbook

Add property to disable tests

Tests run every time. It would be nice to have skipTests property to disable them like in other projects (e.g. like we do in Infinispan: mvn install -DskipTests)

[Bug]: Download configuration wizard doesn't reload the correct config

Is there an existing issue for this?

  • I have searched the existing issues

Version

ISPN 15

Current Behavior

Imagine you have created a correct config, you want to download it -> all is good, it allowes to choose any of the formats. Then I close the popup, spoil my config and again click the Download button -> Now it shows error message that it is an Invalid configuration and doesn't allow to download the config

Now I go back to my config and fix the spoiled part, now it looks good -> Clicking Download button -> It still shows the error message from the last spoiled one and it is not possible to download it.

Then I go back to my config and spoil it again but in other place (not the same) > clicking Download button -> Now the error message is updated with new spoiled issue.

So seems that the downloadable config in Download area is refreshed only if there is an error in the config. If it is fine, it is not refreshed from the previous error which doesn't allow to Download the config.

JIRA: https://issues.redhat.com/browse/ISPN-15074

Expected Behavior

Remove the error message once the error has been resolved.

Read isolation levels in the cache builder (wizard)

There should only be two options for the read isolation level when creating a cache via the wizard: REPEATABLE_READ (default) and READ_COMMITTED.

SERIALIZABLE and READ_UNCOMMITTED are not supported. NONE is for local caches only.

Main build failure

Main branch build is failing
Might be related to any change we did not report on the build and was done in 14.x ?

[Bug]: Not possible to create invalidation-cache

Is there an existing issue for this?

  • I have searched the existing issues

Version

ISPN 15, ISPN 14

Current Behavior

It is not possible to create invalidation cache through the console. I am getting the following error (see the screenshot). The same error message is printed in the logs, when trying to create invalidation-cache over REST API.

On the other hand, if the invalidation-cache is predefined in the server's configuration (before the server starts), the cache is loaded properly and normally visible in data-container page marked with Invalidated badge.

Screenshot from 2022-04-20 01-45-38

Expected Behavior

What needs to be done is preventing users create invalidation caches or scattered caches with an error in the editor.

Steps To Reproduce

  1. Start console and open localhost:9000
  2. Click "Create a cache"
  3. Enter cache name and choose "Add cache configuration"
  4. Input JSON cache.
{
  "invalidation-cache": {
    "mode": "SYNC",
    "encoding": {
      "media-type": "application/x-protostream"
    },
    "statistics": true
  }
}
  1. Click on Create and you can see the error popped up.

JIRA: https://issues.redhat.com/browse/ISPN-13839

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.