-1

I have a MobileFirst adapter with multiple GET and POST-methods/endpoints, they are located in the AdapternameResource.java file and they follow the standard of:

@GET
@PATH("/name")
@Produces("application/json")
public Response method()
{
}

They are all visible when i view the adapter in MobileFirst Console.

Now i added a new get method that just returns a hello world-object, however this method is not visible in the MobileFirst Console and i cannot call it.

I added the method to the resource file, do i need to do something more??

Lord Vermillion
  • 5,264
  • 20
  • 69
  • 109

1 Answers1

0

As Vivin mentioned, it does sound like you forgot to build and/or deploy the adapter after adding this fifth endpoint.

mfpdev adapter build  
mfpdev adapter deploy
Idan Adar
  • 44,156
  • 13
  • 50
  • 89