components/src/test/java/eu/internetofus/common/components/service/WeNetServiceSimulatorMocker.java
/**
   * Allow to post the callbacks without the apikey.
   *
   * {@inheritDoc}
   */
Allow to post the callbacks without the apikey.
Allow to post the callbacks without the apikey .
@Override
  protected void checkWeNetComponentApikey(final RoutingContext ctx) {
    final var request = ctx.request();
    if (request.method().equals(HttpMethod.POST) && request.path().matches("/app/.+/callbacks")) {
      ctx.next();
    } else {
      super.checkWeNetComponentApikey(ctx);
    }
  }
@ Override protected void checkWeNetComponentApikey ( final RoutingContext ctx ) { final var request = ctx . request ( ) ; if ( request . method ( ) . equals ( HttpMethod . POST ) && request . path ( ) . matches ( "/app/.+/callbacks" ) ) { ctx . next ( ) ; } else { super . checkWeNetComponentApikey ( ctx ) ; } }
Allow to post the callbacks without the apikey.
Allow to post the callbacks without the apikey .