difference between openfeign or feign - spring-cloud-feign

what is the difference between:
spring-cloud-starter-openfeign (https://github.com/spring-cloud/spring-cloud-openfeign) and
spring-cloud-starter-feign (https://github.com/spring-cloud/spring-cloud-netflix) ?
I found this isse when I was trying to follow a tutorial using openfeign #FeignClient(name=....) however I was using feign not openfeign .. and this annotation was not the same..
isnt it the same thing ?

OpenFeign is the spiritual successor to Feign, originally provided by Netflix. The projects name was changed when the original project was released to the community. The correct dependency is spring-cloud-starter-openfeign.

Related

What should I do with Hybrid_Endpoint::process() when migrating from 2.xx to 3.xx?

I'm trying to migrate a project from HybridAuth 2.xx to 3.00, and I'm facing an issue with the following call to "Hybrid_Endpoint":
require_once( "Hybrid/Auth.php" );
require_once( "Hybrid/Endpoint.php" );
Hybrid_Endpoint::process();
I haven't seen that too much in the 2.xx documentation, but it appears quite a lot in many examples on the web, as well as in the code I try to migrate.
Apparently, in my code, there's either a login or process (the first calls authenticate(...) and the second process(...)
Should I just comment that part ? Not clear from the migration guide!
Thanks for any help !
I managed to find the answer by trial and error. The short answer, it's not needed anymore - the "process" method is now integrated in the authenticate() method (which now serves two purposes: redirect and process), as described in the examples: https://github.com/hybridauth/hybridauth/tree/master/examples

Why I am finding this difference implementing the "Sending a Simple Message" official WSO2 ESB tutorial?

I am absolutly new in WSO2 ESB and I have a doubt following this simple official tutorial related to sending a simple message:
https://docs.wso2.com/display/ESB500/Sending+a+Simple+Message
I have installed the ESB Server and the provided Eclipse Tooling version and I started with the tutorial but I am noting a difference between what I obtain and what is shown in the previous tutorial.
The "problem" happens in the Connecting to the back-end service section of this tutorial (near the beginning).
The tutorial starts creating a new ESB Solution Project that creates these 4 projects in my workspace:
then there is the Connecting to the back-end service section where a new endpoint is setted on the SampleServices project.
Ok, afther that this operation is done, on the tutorial is shown this immage:
As you can see there is a SampleApp that wrap my SampleServices project.
The "problem" is that, after that I do this operation, I have the endpoint setted but I don't have any SampleApp wrapping my SampleServices, this is what I have in my package exlporer:
As you can see there is no SampleApp wrapper. Why this difference from the tutorial? I have followed it step by step.
What is the problem? What am I missing? May it compromise the final result?

wso2 esb console localization

I'd like to translate the management console to localized language. I've try to follow the instructions from http://wso2.com/library/knowledge-base/2011/11/playing-around-carbon-product-themes/ as a starting point, cause I think that should be in the same theory. But this didn't work, and cause an exception when entering the site.
I see the document is pretty old (2011), is this not work anymore? or the procedure has been changed?
Edit:
sorry, forgot to mention, I'm using WSO2 ESB 4.8.1.
Yes as you have mentioned, above link is outdated. However, the concept is same in new versions as well. Keeping an extracted jar file in the plugins directory will no longer work since we have disabled that along the way as a security fix.
Herewith I have given [1]. the latest documentation of "Customizing the Management Console" of the WSO2 Enterprise Service Bus. You can use it as a starting point.
If you need further help regarding this issue, please let me know.
Thanks,
Upul
[1]. https://docs.wso2.com/display/ESB481/Customizing+the+Management+Console

Implementing xoai 4.x

I would like to implement a standalone oai-pmh version 2 data provider server using xoai 4.1.x without DSpace.
Can anyone direct me to any documentation for doing this or to a reference implementation?
Thanks
David
Its posible, but you will need a repository to manage the contents that oai serve.
You should check https://github.com/lyncode/xoai/wiki for help and https://github.com/lyncode/xoai to get the code.

Google oAuth example

I'm looking for a worked example of how to call into Googles oAuth service with a view to simply uploading a txt file. On googles docs I have the followed the example
http://code.google.com/p/google-api-java-client/wiki/OAuth2
but it won't compile .... CalendarScopes.CALENDAR is the problem and I can't see what Jar contains this class. I imported every Jar in the google-oauth-java-client-1.12.0-beta download (Also every jar in google-api-java-client-1.12.0-beta ) I dobn't understand the diff between these but that is for another day.
Any pointers would be welcome.
CalendarScopes.CALENDAR that you mentioned is not a part of a jar file but a scope for Calendar API provided by Google. For a sample to show how to implement that, here is one.
In the meanwhile, I would also suggest going over the following links to develop an understanding of the OAuth and how to use it with the different APIs.
OAuth Playground - This is very helpful when trying to learn about different API and permissions relating to those.
OpenID Connect Official Documentation
Hope this helps.

Resources