tis-micronaut-portable icon

micronaut

Silent install package for micronaut

5.2.3-1

Preprod packages are packages built on LUTI. They remain in PREPROD usually for 5 days, after which a second VirusTotal scan is performed to verify that the status has not changed.
If the package passes this last check, it is promoted to PROD and published on the store.

  • package: tis-micronaut-portable
  • name: micronaut
  • version: 5.2.3-1
  • maintainer: WAPT Team,Tranquil IT, Amel FRADJ
  • licence: Apache-2.0 license
  • target_os: windows
  • architecture: x64
  • signature_date:
  • size: 40.90 Mo
  • homepage : https://github.com/micronaut-projects/micronaut-starter

package           : tis-micronaut-portable
version           : 5.2.3-1
architecture      : x64
section           : base
priority          : optional
name              : micronaut
categories        : 
maintainer        : WAPT Team,Tranquil IT, Amel FRADJ
description       : A modern, JVM-based, full-stack framework for building modular, easily testable, microservice and serverless applications
depends           : 
conflicts         : 
maturity          : PREPROD
locale            : 
target_os         : windows
min_wapt_version  : 
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : Un framework full-stack moderne, basé sur JVM, pour créer des applications modulaires, facilement testables, de microservices et sans serveur
description_pl    : Nowoczesny framework full-stack, oparty na JVM, do tworzenia modułowych, łatwych do testowania mikrousług i aplikacji bezserwerowych
description_de    : Ein modernes, JVM-basiertes Full-Stack-Framework zur Erstellung modularer, leicht testbarer Mikroservice- und serverloser Anwendungen
description_es    : Un framework moderno full-stack, basado en JVM, para crear aplicaciones modulares, fácilmente testeables, microservicios y serverless
description_pt    : Uma estrutura moderna de pilha completa, baseada na JVM, para criar aplicações modulares, facilmente testáveis, de microsserviços e sem servidor
description_it    : Un moderno framework full-stack, basato su JVM, per creare applicazioni modulari, facilmente testabili, microservizi e serverless
description_nl    : Een modern full-stack framework, gebaseerd op JVM, voor het maken van modulaire, eenvoudig testbare, microservices en serverloze applicaties
description_ru    : Современный полнофункциональный фреймворк на базе JVM для создания модульных, легко тестируемых, микросервисных и бессерверных приложений
audit_schedule    : 
editor            : 
keywords          : 
licence           : Apache-2.0 license
homepage          : https://github.com/micronaut-projects/micronaut-starter
package_uuid      : 666968f8-2ecc-4d86-841a-544fe5a1e3bd
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 4198e10e30976ea7c923b7cfd4488b80d1d0976234aad3196d123fd5c38ec840
signer            : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date    : 2026-10-21T06:04:17.000000
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,description_pt,description_it,description_nl,description_ru,audit_schedule,editor,keywords,licence,homepage,package_uuid,valid_from,valid_until,forced_install_on,changelog,min_os_version,max_os_version,icon_sha256sum,signer,signer_fingerprint,signature_date,signed_attributes
signature         : Ok/08JFIrSvAuE/aCy2k+ZD72urasItlJ7FVnGnwbAfxbRuLwIYxGtwYYZSTS5u3DWXalN6ngagecQF8ugAu/6Cyx/pPRmqxfTR87LAjJBIjoSYN9JClAmNhjsEnQ1slWppt0md+LlXeWMnU0YevfLmiaJRuqmDaqK93ZrteEn77OXVHAtgKguJOBJFXEKo97XKIngkBPRkG/GoWArBuLxNB9kyFwPmAc4/ebH7zQIsFoDxQoKykwrIRMddX1QSMDj+c5QTLQAv4769fNEtzx6Vo4Ip2y73AVGKJphaNDvZXWimYhwj56gKqvL/v8j6a/rzP88ugI5UQLVQ/pSehZA==

# -*- coding: utf-8 -*-
from setuphelpers import *


app_name = "micronaut "
editor_dir = makepath(programfiles, "micronaut")
app_dir = makepath(editor_dir, "micronaut")
app_path = makepath(app_dir,"bin", "mn.exe")
audit_version = False


def get_installed_version(app_path):
    return get_file_properties(app_path).get("FileVersion", "")


def install():
    # Declaring local variables
    zip_name = glob.glob(f"mn-*.zip")[0]

    unzipped_dir = "micronaut"


    # Installing software
    killalltasks(ensure_list(control.impacted_process))
    if isdir(app_dir) and force:
        remove_tree(app_dir)
    mkdirs(app_dir)
    print("Extracting: %s to: %s" % (zip_name, unzipped_dir))
    unzip(zip_name, unzipped_dir)
    print('Copy micronaut to %s' % app_dir)
    copytree2(unzipped_dir, app_dir, onreplace=default_overwrite)
    add_to_system_path(app_dir)
    

def audit():
    # Auditing software
    audit_status = "OK"
    installed_version = get_installed_version(app_path)
    if Version(installed_version) < Version(control.get_software_version()) and audit_version:
        print("%s is installed in version (%s) instead of (%s)" % (app_name, installed_version, control.get_software_version()))
        audit_status = "WARNING"
    elif isdir(app_dir) and not dir_is_empty(app_dir):
        print("%s (%s) is installed" % (app_name, installed_version))
        audit_status = "OK"
    else:
        print("%s is not installed" % app_name)
        audit_status = "ERROR"
    return audit_status


def uninstall():
    # Uninstalling software
    killalltasks(ensure_list(control.impacted_process))
    if isdir(app_dir):
        remove_tree(app_dir)
    if dir_is_empty(editor_dir):
        remove_tree(editor_dir)

    

# -*- coding: utf-8 -*-
from setuphelpers import *
import re


def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    update_dict = {
        "x64" :"mn-win-amd64"
    }
    git_repo = "micronaut-projects/micronaut-starter"
    url_api = "https://api.github.com/repos/%s/releases/latest" % git_repo
    # Getting latest version information from official sources
    print("API used is: %s" % url_api)
    json_load = json.loads(wgets(url_api, proxies=proxies))
    for download in json_load["assets"]:
        if download["browser_download_url"].endswith(".zip") and "-win" in download["name"] :
            url_dl = download["browser_download_url"]
            version = json_load["tag_name"].replace("v","")
            filename = download["name"]
            break

    if not isfile(filename):
        package_updated = True
        wget(url_dl, filename, proxies=proxies)

    # nettoyer les fichiers temporaires
    for f in glob.glob("*.zip"):
        if f != filename:
            remove_file(f)
    
    control.set_software_version(version)
    control.save_control_to_wapt()

01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
97c5c432c1446c5e2d3de7df77c08c25e363790d294e6a083c76d5d28c0bf5fa : WAPT/control
4198e10e30976ea7c923b7cfd4488b80d1d0976234aad3196d123fd5c38ec840 : WAPT/icon.png
7a00bfda9450fddf8196f246a9fd17b34d175008cd4d9f14e506e8c381bffeda : luti.json
7288c784fafd4247f40704010c00def4cf249e49872e61a41efc12ac753cbd7b : mn-win-amd64-v5.2.3.zip
8eb87c24f18e51f133106b775920e6dd2ca60ac097cd9ebc13a469635840ea6d : setup.py
b38025cb05cc7ed68603e8a2bb93317d1e74124493752ebe81439ef3c8816c61 : update_package.py