tis-asyncapi icon

asyncapi

Paquet d’installation silencieuse pour asyncapi

5.0.3.0-1
Utilities
Utilities

Les paquets PREPROD sont des paquets construits via LUTI. Ils restent généralement 5 jours en PREPROD, après quoi un deuxième scan VirusTotal est effectué pour vérifier que le status n'a pas changé.
Si le paquet réussit ce dernier contrôle, il est promu en PROD et publié sur le store.

  • package: tis-asyncapi
  • name: asyncapi
  • version: 5.0.3.0-1
  • categories: Utilities
  • maintainer: WAPT Team,Tranquil IT,Amel FRADJ
  • licence: opensource_free,wapt_public
  • target_os: windows
  • architecture: x64
  • signature_date:
  • size: 303.52 Mo
  • homepage : https://www.asyncapi.com/

package           : tis-asyncapi
version           : 5.0.3.0-1
architecture      : x64
section           : base
priority          : optional
name              : asyncapi
categories        : Utilities
maintainer        : WAPT Team,Tranquil IT,Amel FRADJ
description       : CLI to work with your AsyncAPI files. You can validate them and in future use a generator and even start a new file. Contributions are welcome!
depends           : 
conflicts         : 
maturity          : PREPROD
locale            : 
target_os         : windows
min_wapt_version  : 2.3
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : CLI pour travailler avec vos fichiers AsyncAPI. Vous pouvez les valider et à l'avenir utiliser un générateur et même démarrer un nouveau fichier. Les contributions sont les bienvenues !
description_pl    : CLI do pracy z plikami AsyncAPI. Możesz je zweryfikować i w przyszłości użyć generatora, a nawet rozpocząć nowy plik. Wkład jest mile widziany!
description_de    : CLI, um mit Ihren AsyncAPI-Dateien zu arbeiten. Sie können sie validieren und in Zukunft einen Generator verwenden und sogar eine neue Datei starten. Beiträge sind willkommen!
description_es    : CLI para trabajar con tus archivos AsyncAPI. Puedes validarlos y en el futuro utilizar un generador e incluso iniciar un nuevo archivo. ¡Las contribuciones son bienvenidas!
description_pt    : CLI para trabalhar com os seus ficheiros AsyncAPI. Pode validá-los e, no futuro, utilizar um gerador e até iniciar um novo ficheiro. As contribuições são bem-vindas!
description_it    : CLI per lavorare con i file AsyncAPI. È possibile convalidarli e in futuro utilizzare un generatore e persino avviare un nuovo file. I contributi sono benvenuti!
description_nl    : CLI om met je AsyncAPI bestanden te werken. Je kunt ze valideren en in de toekomst een generator gebruiken en zelfs een nieuw bestand starten. Bijdragen zijn welkom!
description_ru    : CLI для работы с вашими файлами AsyncAPI. Вы можете проверять их, а в будущем использовать генератор и даже начинать новый файл. Мы приветствуем ваш вклад!
audit_schedule    : 
editor            : 
keywords          : 
licence           : opensource_free,wapt_public
homepage          : https://www.asyncapi.com/
package_uuid      : a672ba17-77dd-4d12-9c9c-4076d25a0a83
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 39587305d6f055fe3311daa67b85163f31311c5f334aa068c3d4737b7bfe205b
signer            : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date    : 2026-01-06T05:31:32.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         : kD6+uDE3mwE/WjGfs+jIse5IjqF5dhQ9Mgm2kdPoE5msR5reZogrLsYPpWi/xy28asLFtLXiHdXyc+YrMW/7004YSkdV42b2obCJHXxTuaSWKvfNwi4LvVbu4Dh79kJ+zIrrnWJKJsqzTVf2SRhLSQJHP2/89rQnJTs87YyZO9zL0Cpf48/omngkMw8DmsH5kxQN5r68YmOYPVhLovJlVh+Htis6aEuk+gDkJdAobwZFW+Kj9bnAP37KAFwM0vl2/uC77LCpuYTO7R3NK2NujyQAybkYv/nxdjOPI9v+6dbH8W6tw0Uw4Wn7vQz9miF7DmOaPQrUomvphGwgfmtAJQ==

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

r"""
Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()

"""
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls


def install():
    # Declaring local variables

    # Installing the software
    install_exe_if_needed('asyncapi.x64.exe',
        silentflags='/S',
        key='@asyncapi/cli',
        min_version=control.get_software_version()
    )



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


def update_package():
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()

    dict_arch ={
        "x64" :"x64.exe",
        "x86" :"x86.exe"
    }
    git_repo = "asyncapi/cli"
    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 = wgets(url_api, proxies=proxies, as_json=True)

    for download in json_load["assets"]:
        if download["browser_download_url"].endswith('.exe') and dict_arch[control.architecture] in download["browser_download_url"]:
            download_url = download["browser_download_url"]
            version = json_load["tag_name"].replace("v","")
            latest_bin = download["name"]
            break

    # Downloading latest binaries
    print("Latest %s version is: %s" % (control.name, version))
    print("Download URL is: %s" % download_url)
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(download_url, latest_bin, proxies=proxies)
    else:
        print("Binary is present: %s" % latest_bin)

    # Changing version of the package
    if Version(version) > Version(control.get_software_version()):
        print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
        package_updated = True
    else:
        print("Software version up-to-date (%s)" % Version(version))

    #nettoyer les fichiers temporaires
    for f in glob.glob('*.exe'):
        if f != latest_bin:
            remove_file(f)

    version = get_version_from_binary(latest_bin)

    control.set_software_version(version)
    control.save_control_to_wapt()

    return package_updated

01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
f81353baed93a53933e29d2578b3ea2fc4dda8d8494a686b79a0d0308e2f5b98 : WAPT/control
39587305d6f055fe3311daa67b85163f31311c5f334aa068c3d4737b7bfe205b : WAPT/icon.png
6de68b1618641fa343f8277678355a1743d61eabd84c30de3d5efc209342d0d9 : asyncapi.x64.exe
f62c7d6b65fc3b3963d66641116a9126f0b2b50c111c9b438922c1689fbe73a6 : luti.json
27a1aa2ea9a2a3d66297e7b556a2510be8468b63c468b096707a113a433344c6 : setup.py
4389b3e5332f5397de5ae489582f37522d9f6eafdbb388cf3223d1ad1ed9215b : update_package.py