// Path: server/src/main/java/com/cloudwise/sap/niping/view/LoginView.java
// public class LoginView extends ResultView {
//     public LoginView(Result result, Object data) {
//         super(result, data, loginPage.getTemplateName());
//     }
// 
//     public LoginView(NiPingException exception, Object data) {
//         super(exception, data, loginPage.getTemplateName());
//     }
// }


import com.cloudwise.sap.niping.view.LoginView;
import lombok.extern.slf4j.Slf4j;
import javax.ws.rs.Consumes;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
import static com.cloudwise.sap.niping.common.constant.Result.SUCCESS;
package com.cloudwise.sap.niping.resource;




@Slf4j
@Path("/")
@Produces(MediaType.TEXT_HTML)
@Consumes(MediaType.TEXT_HTML)
public class WelcomeResource {

    @GET
    @Path("/")
    @Produces(MediaType.TEXT_HTML)
// Path: server/src/main/java/com/cloudwise/sap/niping/view/LoginView.java
// public class LoginView extends ResultView {
//     public LoginView(Result result, Object data) {
//         super(result, data, loginPage.getTemplateName());
//     }
// 
//     public LoginView(NiPingException exception, Object data) {
//         super(exception, data, loginPage.getTemplateName());
//     }
// }


// Path: server/src/main/java/com/cloudwise/sap/niping/resource/WelcomeResource.java
import com.cloudwise.sap.niping.view.LoginView;
import lombok.extern.slf4j.Slf4j;
import javax.ws.rs.Consumes;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
import static com.cloudwise.sap.niping.common.constant.Result.SUCCESS;

package com.cloudwise.sap.niping.resource;




@Slf4j
@Path("/")
@Produces(MediaType.TEXT_HTML)
@Consumes(MediaType.TEXT_HTML)
public class WelcomeResource {

    @GET
    @Path("/")
    @Produces(MediaType.TEXT_HTML)
    public LoginView welcome() {