- package: tis-azure-cosmos-db-emulator
- name: Azure Cosmos DB Emulator
- version: 2.14.21-1
- categories: Utilities
- maintainer: WAPT Team,Tranquil IT,Amel FRADJ
- licence: proprietary_free,wapt_public
- target_os: windows
- architecture: x64
- signature_date:
- size: 336.06 Mo
- homepage : https://docs.microsoft.com/en-us/azure/cosmos-db/local-emulator
package : tis-azure-cosmos-db-emulator
version : 2.14.21-1
architecture : x64
section : base
priority : optional
name : Azure Cosmos DB Emulator
categories : Utilities
maintainer : WAPT Team,Tranquil IT,Amel FRADJ
description : The Azure Cosmos emulator provides a local environment that emulates the Azure Cosmos DB service
depends :
conflicts :
maturity : PROD
locale :
target_os : windows
min_wapt_version : 2.5
sources :
installed_size :
impacted_process :
description_fr : L'émulateur Azure Cosmos fournit un environnement local qui émule le service Azure Cosmos DB
description_pl : Emulator Azure Cosmos zapewnia lokalne środowisko, które emuluje usługę Azure Cosmos DB
description_de : Der Azure Cosmos-Emulator bietet eine lokale Umgebung, die den Azure Cosmos DB-Dienst emuliert
description_es : El emulador de Azure Cosmos proporciona un entorno local que emula el servicio Azure Cosmos DB
description_pt : O emulador do Azure Cosmos fornece um ambiente local que emula o serviço DB do Azure Cosmos
description_it : L'emulatore Azure Cosmos fornisce un ambiente locale che emula il servizio Azure Cosmos DB
description_nl : De Azure Cosmos emulator biedt een lokale omgeving die de Azure Cosmos DB service emuleert
description_ru : Эмулятор Azure Cosmos предоставляет локальную среду, которая эмулирует службу Azure Cosmos DB
audit_schedule :
editor :
keywords :
licence : proprietary_free,wapt_public
homepage : https://docs.microsoft.com/en-us/azure/cosmos-db/local-emulator
package_uuid : 038ad686-bfb4-4e98-96b2-de2742ad3f0a
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version : 10.0
max_os_version :
icon_sha256sum : bb4d2cc9af20cdf06c2eb85bee433e747c65c62065662fbb726e0467146d815b
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date : 2024-12-10T18:31:14.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 : ZspBfzWI24rJSjeXkERurvWrsX6f59VQfxQ20cu5AEhMxTGulUpr/nTLHsYGlst9BgxV17JFlfoGr77vTpmUYEt0TRFLVq7ntSQyR2l/GlMygaQ7GRu0zFdqescLmBIaABIjgnziUmli1r9K1m1miN2zU9WnQSHLJtdJa+C+TjXTsEXf+nSpHIH1sc1jwGRpBsI9VmLO+sXPf59ws54dZKAdw5SDtLDsw/2+LVz6l4aFTSWlufj4A5aKWdVO+obfJ9n90BI3gGKlq5Ds/o30ehTI9BC/mqjvNjm1luz5mTp+e8mL06KyGe6RDN0G7gfiml3afWNIZ50yzZelaLk1WA==
# -*- 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
bin_name = glob.glob('azure-cosmosdb-emulator-*.msi')[0]
# Installing the software
install_msi_if_needed(bin_name)
# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *
import glob
import msilib
import waptlicences
def update_package():
# Declaring local variables
package_updated = False
proxies = get_proxies_from_wapt_console()
if not proxies:
proxies = get_proxies()
data = requests.head('https://aka.ms/cosmosdb-emulator',allow_redirects=True,proxies=proxies)
download_url = data.url
latest_bin = download_url.split("/")[-1]
version = latest_bin.split('-')[-2]
# Downloading latest binaries
print("Download URL is: %s" % download_url)
if not isfile(latest_bin):
print("Downloading: %s" % latest_bin)
wget(download_url, latest_bin, proxies=proxies)
package_updated = True
else:
print("Binary is present: %s" % latest_bin)
# Check signature bin
expected_issuer = 'Microsoft Corporation'
sign_name = waptlicences.check_msi_signature(latest_bin)[0]
if sign_name != expected_issuer:
error('Bad issuer %s != %s ' % (sign_name,expected_issuer))
# Deleting outdated binaries
for f in glob.glob('*.msi'):
if f != latest_bin:
remove_file(f)
version = get_version_from_binary(latest_bin)
# Mettre à jour le package
control.set_software_version(version)
control.save_control_to_wapt()
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
dc140f376ecd6126216d3e23bce36c89115741f7f87cfd39c158db4d7c5ca3b5 : WAPT/control
bb4d2cc9af20cdf06c2eb85bee433e747c65c62065662fbb726e0467146d815b : WAPT/icon.png
1ef64cf9cd13c611aac394113a703af6f525c7c39bfb6b4c3f884d57f6f1d1cf : azure-cosmosdb-emulator-2.14.21-1c783d8f.msi
5a2207bbafebe672db552e9e4273567e7bbd34d7afc5498218c4b1d369db9965 : luti.json
0bfbc21e32fb3cbfc9d1e7ed8066362c37b8a4d491f85ce8e96bc12e1cdcd4cc : setup.py
02b0ce06e896cabfb7e7c171afa16984dedfd5d58527415584494b4c60ea22fa : update_package.py