An open API service indexing awesome lists of open source software.

https://github.com/michelin/suricate-widget-tester

The widget tester is an external tool of the Suricate application which allows developers to test their widgets while remaining independent from Suricate.
https://github.com/michelin/suricate-widget-tester

alerting angular developer-tools monitoring spring-boot suricate

Last synced: about 2 months ago
JSON representation

The widget tester is an external tool of the Suricate application which allows developers to test their widgets while remaining independent from Suricate.

Awesome Lists containing this project

README

          



This project is archived and is no longer being developed or maintained.

Suricate

# Suricate Widget Tester

[![GitHub Build](https://img.shields.io/github/actions/workflow/status/michelin/suricate-widget-tester/build.yml?branch=master&logo=github&style=for-the-badge)](https://img.shields.io/github/actions/workflow/status/michelin/suricate-widget-tester/build.yml)
[![GitHub Release](https://img.shields.io/github/v/release/michelin/suricate-widget-tester?logo=github&style=for-the-badge)](https://github.com/michelin/suricate-widget-tester/releases)
[![GitHub Stars](https://img.shields.io/github/stars/michelin/suricate-widget-tester?logo=github&style=for-the-badge)](https://github.com/michelin/suricate)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg?logo=apache&style=for-the-badge)](https://opensource.org/licenses/Apache-2.0)

[Download](#download) • [Install](#install) • [Suricate](https://github.com/michelin/suricate) • [Widgets](https://github.com/michelin/suricate-widgets)

Build and validate your Suricate widgets in a sandboxed setup before integrating it into a Suricate instance.

![Suricate widget tester](.readme/dashboard.png)

## Table of Contents

* [Download](#download)
* [Install](#install)
* [Configuration](#configuration)
* [Repository](#repository)
* [Contribution](#contribution)

## Download

You can download the Suricate Widget Tester as a JAR from the [GitHub releases page](https://github.com/michelin/suricate-widget-tester/releases) (requires Java 25).

## Install

The Suricate Widget Tester is built on the [Spring Boot framework](https://spring.io/) and can be configured using a Spring Boot
configuration file, which includes a sample file located at `src/main/resources/application.yml`.

If necessary, you can override the properties from the default `application.yml` file by following
the [Spring Boot externalized configuration guide](https://docs.spring.io/spring-boot/reference/features/external-config.html).
For example, you can create a custom `/config/application.yml` or set the `--spring.config.location` system
property when running the fat jar file:

```console
java -jar suricate-widget-tester.jar --spring.config.location=classpath:\,file:C:\myCustomLocation\
```

After running the command, the application will be accessible on http://localhost:8085/.

## Configuration

### Repository

The Suricate Widget Tester reads the content of a widget repository.
The repository must follow the required structure (see the [official open-source widgets GitHub repository](https://github.com/michelin/suricate-widgets)).

The repository location can be configured with the following property:

```yml
application:
widgets:
repository: ''
```

It is set to `/tmp` by default.

## Contribution

We welcome contributions from the community! Before you get started, please take a look at our [contribution guide](https://github.com/michelin/suricate-widget-tester/blob/master/CONTRIBUTING.md) to learn about our guidelines and best practices. We appreciate your help in making Suricate a better tool for everyone.