Issue after updating resteasy 3.0.8 NOT FOUND EXCEPTION - resteasy

after i updated my sample app to resteasy 3.0.8.FINAL the path can't be resolved. Before the update the app was running on resteasy 3.0.6.FINAL without any issues.
I'm using the solution with the ResteasyBootstrap listener. I checked the release notes for 3.0.7 / 3.0.8 but i couldn't find any big breaking change here.
on github you can find my sample app

Related

Swagger UI - deepLinking

I am using springfox-swagger2 and springfox-swagger-ui. both version 2.9.2
I have enabled deepLinking with this code:
#Bean
public UiConfiguration swaggerUiConfig() {
return UiConfigurationBuilder.builder().deepLinking(true).build();
}
Somehow it suddenly stopped working, it doesnt redirect me to method in link...
It works only on controllers, for example this works
http://localhost:8080/api/swagger-ui.html#/email-controller/
but not this http://localhost:8080/api/swagger-ui.html#/email-controller/getFullEmailListUsingGET
Any ideas?
I tried older version 2.7.0 and there it works...
Edit: I solved this by using version 2.8.0 where deepLinking works correctly for both controllers and operations. Design of 2.8.0 looks like 2.9.2, 2.7.0 was also working but the design was older.

AngularFire $add operation cause the browser to freeze

I am learning Firebase using angularjs. From this tutorial https://thinkster.io/tutorials/angularfire-realtime-slack-clone/creating-the-channels-sidebar, the code used to add a new chat room is like this
channels.$add(vm.newRoom).then(function (ref) {
However, when i run the application, this $add operation successfully add a new record in firebase table but it also causes the whole browser to freeze.
Angular version: 1.6.2
Firebase: 3.7.1
AngularFire: 2.1.0
It's a bug in Firebase 3.7.1. When I reverted to Firebase 3.7.0 my code works and my browsers don't freeze. I've reported the bug to Firebase.
This was recently fixed in Firebase 3.8.0. Recommend upgrading instead of reverting at this point!

MERN - webpack not building the app

Recently, I downloaded mern.io. The nice thing is they have bundled everything for me. But I am kind of lost. In my last project whenever I changed something on client I could refresh browser and see the changes. With MERN I always see:
webpack building...
webpack built e9c15d7d435381a63771 in 1043ms
At first it was replacing the code on client. Now, I can't make it to propagate changes any more.
Maybe it's an issue with https://github.com/gaearon/react-hot-loader
What am I missing?
Do I have to clean the webpack or caches somehow?
EDIT
The config files can be seen here: https://github.com/Hashnode/mern-starter
The webpack ones are webpack.config.*.js
EDIT 2
The computer restart helped me but only for the first load of the page. I have found this message in the console:
XMLHttpRequest cannot load http://0.0.0.0:8000/50d9888579520587227e.hot-update.json
Which led me here: https://github.com/gaearon/react-hot-loader/issues/56

AngularJS 1.5 ngComponentRouter

The ngNewRouter (now named ngComponentRouter) was supposed to be in 1.4, but was delayed and is now supposed to go into 1.5 (as I understand it). However, it's not in the 1.5 beta2 package. I do see angular1_router on github, but I don't see that built module included in the 2.0 alpha packages either.
Does anyone know if the new router will actually be in the 1.5 release?
Is there a current build of the new router hosted anywhere? I managed to find a copy of the compiled js from a random plunker, but haven't been able to compile the source myself (issues with node-gyp & msbuild, still working on that).
Does anyone know of any up-to-date documentation or working samples on the new component router? The best site I've found so far is pretty close (it says it was published in February, but it uses ngComponentRouter rather than ngNewRouter so it's clearly being updated), but the post still has things wrong - like it says to create controllers for the components you're loading for the routes, but I discovered that you actually need to be creating them as directives (optimally using the new "component" wrapper in 1.5) with the restrict set to "A" (that was fun to figure out).
You can get the new router via npm with:
npm install #angular/router
For more information on the current API you can have a look at:
https://angular.io/docs/js/latest/api/router/Router-class.html
It's for Angular 2 but the core mechanics of the router are the same, and it should give you some hints on how the API has been changed compared to the ngNewRouter.
It looks like the component router has been released. Here is the official documentation: https://docs.angularjs.org/guide/component-router
I'm not seeing any official announcements saying it was released yet though, so I'm not sure if it's supposed to be "official" or not.

AppEngine Error: java.lang.NoSuchMethodError: com.google.appengine.api.search.Index.add

Im using AppEngine SDK 1.7.0 in my webapp. Recently, errors was log as
Caused by: java.lang.NoSuchMethodError:
com.google.appengine.api.search.Index.add([Lcom/google/appengine/api/search/Document;)
Lcom/google/appengine/api/search/AddResponse;
The error just happened recently, it doesn't have the problem before.
I believe they(google) have changed Index.add() to Index.put(Document ...docs), regards to the latest version of API doc.
https://developers.google.com/appengine/docs/java/javadoc/com/google/appengine/api/search/Index
AddResponse was deprecated and removed from the SDK.
http://code.google.com/p/googleappengine/wiki/SdkForJavaReleaseNotes
You need to remove all reference to that class and then redeploy.

Resources