Vipr SRM: Żądanie interfejsu API REST do interfejsu API usługi sieci Web zwraca błąd "Error 404"

Résumé: Ze względu na brak definicji zasobów interfejsu API REST wszystkie żądania interfejsu API REST zwracają błąd "Error 404"

Cet article concerne Cet article ne concerne pas Cet article n’est associé à aucun produit spécifique. Toutes les versions du produit ne sont pas identifiées dans cet article.

Symptômes



Zasoby interfejsu API REST istnieją, ale są puste, zgodnie z następującymi poleceniami wykonywanymi na hoście frontonu lub podstawowym hoście zaplecza:

 /opt/APG/bin/manage-resources.sh list
[
"rest/EVENTS",
"rest/METRICS"]

/opt/APG/bin/
manage-resources.sh get "rest/EVENTS"
{}
/opt/APG/bin/manage-resources.sh get "rest/METRICS"
{}


Résolution

1) Uruchom następujące 2 polecenia na hostach Frontend lub Primary Backend:

/opt/APG/bin/manage-resources.sh update rest/EVENTS '{"type": "events","endpoint": "/events","parametry": {"filter": "#EVENTS-GENERIC:ALL | #EVENTS-GENERICARCH:ALL"}}'

/opt/APG/bin/manage-resources.sh update rest/METRICS '{"type": "Metryki","Punkt końcowy": "/metrics","parameters": {"filter": "#APG:ALL"}}'


2) Sprawdź za pomocą polecenia "get", czy zasoby zostały utworzone:

/opt/APG/bin/manage-resources.sh get "rest/EVENTS"
/opt/APG/bin/manage-resources.sh get "rest/METRICS"



Produits concernés

SRM
Propriétés de l’article
Numéro d’article: 000050105
Type d’article: Solution
Dernière modification: 16 sept. 2025
Version:  4
Trouvez des réponses à vos questions auprès d’autres utilisateurs Dell
Services de support
Vérifiez si votre appareil est couvert par les services de support.