public String authToken(@Context HttpServletRequest context, @Context HttpServletResponse resp) {
LOG.warn("function=login, msg=enter to get token.");
JSONObject subJsonObject = VnfmJsonUtil.getJsonFromContexts(context);
public String authToken(@Context HttpServletRequest context, @Context HttpServletResponse resp) {
LOG.warn("function=login, msg=enter to get token.");
JSONObject subJsonObject = VnfmJsonUtil.getJsonFromContexts(context);
public String delAuthToken(@PathParam(Constant.USERNAME) String userName, @PathParam("roarand") String roarand,
@Context HttpServletResponse resp) {
LOG.warn("function=logout, msg=enter to logout");
public String delAuthToken(@PathParam(Constant.USERNAME) String userName, @PathParam("roarand") String roarand,
@Context HttpServletResponse resp) {
LOG.warn("function=logout, msg=enter to logout");
public String shakehand(@QueryParam("roattr") String roattr, @Context HttpServletResponse resp) {
JSONObject resultJson = new JSONObject();
resultJson.put("status", "running");
public String shakehand(@QueryParam("roattr") String roattr, @Context HttpServletResponse resp) {
JSONObject resultJson = new JSONObject();
resultJson.put("status", "running");