Microstarter CLI 0.2.4
To install it, copy the "mc.bat," "mc," and "mc.jar" files to your Micronaut Project or configure their files in your environment. Then, the "mc" command will be ready to use.
Pre-Requisite
Java 11+
New Feature
- MQTT support:
MQTT Client Command:
> mc mqttClientMQTT Listener Command
> mc mqttListenerNew Features in v.2.2 & v0.2.3:
- Supporting GRPC Application Type.
- Security syntax: to bootstrap security using domain language.
- Views Configurations: thymeleafs, velocity, and feemaker.
- Bug Fixes.
- removing unnecessary printings
Security Syntax and Views Configuration Example:
service CustomerService{
port 8080;
reactive reactor;
package com.finance
build gradle;
database H2;
language java;
dao JDBC;
views views-thymeleafs
migrationTool liquibase;
annotation micronaut;
tracing jaeger;
testFramework junit;
security {
type jwt;
roles CUSTOMER_ROLE, SELLER_ROLE;
}
entity Customer {
name: String;
}
entity Product {
name: String;
price: BigDecimal;
}
entity cart {
items: int;
purchase: Date;
sum: BigDecimal;
}
}