Hi,
In our current ONAP install, we have the following request/response :
Request :
http:// <ip>:8080/sdc2/rest/healthCheck
Response body :
{
"sdcVersion": "1.0.0",
"siteMode": "unknown",
"componentsInfo": [
{
"healthCheckComponent": "BE",
"healthCheckStatus": "UP",
"version": "1.0.0",
"description": "OK"
},
{
"healthCheckComponent": "ES",
"healthCheckStatus": "UP",
"description": "OK"
},
{
"healthCheckComponent": "TITAN",
"healthCheckStatus": "UP",
"description": "OK"
},
{
"healthCheckComponent": "DE",
"healthCheckStatus": "UP",
"description": "OK"
}
]
}
There is also an other request/response available about SDC versioning:
Request :
http:// <ip>::8080/sdc2/rest/version<http://:8080/sdc2/rest/version>
Response body :
{
"version": "1.0.0"
}
About API versioning, it is sometimes interesting to have a dedicated version
number for the API :
- SDC application can evolve without changing the API
- SDC can implement and provide a new API version but also the old API
version (to let time to “API client” to evolve)
- The API can be move from SDC application to another application…
De : Lando,Michael [mailto:[email protected]]
Envoyé : mercredi 6 septembre 2017 01:11
À : ROBERT René IMT/OLN; [email protected]
Objet : RE: [onap-discuss] [SDC] SDC Version / API Version ?
The version can be taken from the SDC health Check.
When you call curl <ip>8181:/sdc1/rest/healthCheck
The application version is returned as part of the response.
This information is also displayed in the UI.
Regarding the api versioning can you elaborate on what you are requesting?
BR,
Michael Lando
Opensource TL , SDC
AT&T Network Application Development · NetCom
Tel Aviv | Tampa | Atlanta | New Jersey |Chicago
···········································································
Office: +972 (3) 5451487
Mobile: +972 (54) 7833603
e-mail: [email protected]<mailto:[email protected]>
From:
[email protected]<mailto:[email protected]>
[mailto:[email protected]] On Behalf Of
[email protected]<mailto:[email protected]>
Sent: Tuesday, September 05, 2017 1:01 PM
To: [email protected]<mailto:[email protected]>
Subject: [onap-discuss] [SDC] SDC Version / API Version ?
Hi,
Using the API (internal and/or external) :
* how can we check SDC version ?
* how can we check API version ?
Best Regards
[Logo
Orange]<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.orange.com_&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=FYvXSElfSmWIXOeZxWIxQysejuz9-TXmaL6uftBh8MY&m=qDQqOSeu8vzmhWYxtcfgDAYSOxHJml8xIi13ZMQSvbM&s=uZ67OZaCItM1XAccE-oOR1QdbGY-lFkzoZnXsC0EUIE&e=>
René Robert
Network to IT transformation Architect
Fixe : +33 2 96 07 39 29
<https://urldefense.proofpoint.com/v2/url?u=https-3A__monsi.sso.francetelecom.fr_index.asp-3Ftarget-3Dhttp-253A-252F-252Fclicvoice.sso.francetelecom.fr-252FClicvoiceV2-252FToolBar.do-253Faction-253Ddefault-2526rootservice-253DSIGNATURE-2526to-253D-2B33-25202-252096-252007-252039-252029&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=FYvXSElfSmWIXOeZxWIxQysejuz9-TXmaL6uftBh8MY&m=qDQqOSeu8vzmhWYxtcfgDAYSOxHJml8xIi13ZMQSvbM&s=a7PIAQ05_LcUjrpCrhCPLxzWLIdhPmjTg_R8OHoe2LA&e=>
Mobile : +33 6 74 78 68 43
<https://urldefense.proofpoint.com/v2/url?u=https-3A__monsi.sso.francetelecom.fr_index.asp-3Ftarget-3Dhttp-253A-252F-252Fclicvoice.sso.francetelecom.fr-252FClicvoiceV2-252FToolBar.do-253Faction-253Ddefault-2526rootservice-253DSIGNATURE-2526to-253D-2B33-25206-252074-252078-252068-252043&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=FYvXSElfSmWIXOeZxWIxQysejuz9-TXmaL6uftBh8MY&m=qDQqOSeu8vzmhWYxtcfgDAYSOxHJml8xIi13ZMQSvbM&s=gl-rgRAmPNFiLBwP_zZr6mJrm_b43DTD9vN5zEA9ESE&e=>
[email protected]<mailto:[email protected]>
_________________________________________________________________________________________________________________________
Ce message et ses pieces jointes peuvent contenir des informations
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou
falsifie. Merci.
This message and its attachments may contain confidential or privileged
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been
modified, changed or falsified.
Thank you.
_________________________________________________________________________________________________________________________
Ce message et ses pieces jointes peuvent contenir des informations
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou
falsifie. Merci.
This message and its attachments may contain confidential or privileged
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been
modified, changed or falsified.
Thank you.
_______________________________________________
onap-discuss mailing list
[email protected]
https://lists.onap.org/mailman/listinfo/onap-discuss