Liferay 7 Portal community (latest) REST API call delay - liferay

I've a delay about 1000 ms on every call to Liferay 7 Portal API. For example in Postman: https://ibb.co/vhnZrJp
It is the same result in my Remote App (JS, fetch loop or Promise.all()). And the same with Docker image of Liferay.
So, how to improve it? Or it's because of our server? Any help would be much appreciated!

Related

Cognos 11 - Pass Through Errors

My team has taken over some applications that were developed around 10 years ago. We are mainly for sustainment; however, there is also some development going on, primarily for security issues. On our Cognos server, we were required to upgrade from 10.2 to 11. Our server administrator installed Cognos 11; however, our previously working Single Sign-On (SSO) stopped working. We submitted a ticket to our IT services who said that it was out of their hands and asked us to fix it. This was months ago and there has been no progress. Our IT dept. put a ticket in with IBM and they asked the following:
1. For 441 (Cognos SSO Errors) errors, have you added pass through error in the bottom of the gateway configuration document?
2. What have the 441 errors resolved to?
3. What pass through method are you using to send authentication from "another site"? Service provider shibboleth, openid connect, etc.?
Does anyone know where I can find the gateway configuration document and where the pass through errors would be?
Also, how can I tell what they resolve to? I monitored my network traffic from my browser when trying to login but only see the 441, I guess the "resolving happens on the server" but I'm not sure where to find it.
Does anyone know how I can find the service provider they mention in question 3?
Thanks in advance for any help.
To use IIS as a Cognos gateway for Single Sign On for IBM Cognos 11.0.4 and later, use this document from IBM
http://www.ibm.com/support/knowledgecenter/SSEP7J_11.0.0/com.ibm.swg.ba.cognos.inst_cr_winux.doc/t_gateway_iis.html#t_sso_actdirserver

Can Kentico 11 API be utilized in the same way Kentico Cloud is used?

We are currently utilizing Kentico 11 for our website. We just reupped our support for Kentico 11 so we don't have any current plans to make any moves.
However, I'm really impressed by the headless CMS approach that Kentico Cloud encourages. My question is, can Kentico 11 api be utilized in a way where I can use Kentico 11 as a purely Content Management System and build an Angular application that will utilize Kentico's built in API.
Or is the only way to do a headless CMS project (using Angular and Kentico) is to purchase a Kentico Cloud account?
In Kentico's Roadmap, you'll see they are moving towards an MVC first approach vs. Portal Engine first approach. That being said, you CAN simply use Kentico CMS/EMS as your content management system and simply have a second web app utilizing MVC to make calls to Kentico to get the data out and displayed properly.
You can check out the documentation for more on how to get started with this in v11.
There are some articles out there from some well known Kentico Developers/Agencies (you can search for "Kentico MVC" on troubles they have overcome with MVC and Kentico as well as approaches. Short story is you can do what you're asking without Kentico Cloud but Kentico Cloud would be a great addition if you needed multi-channel content delivery.
There is a great post here about the differences and some common questions between Kentico Cloud and Kentico EMS.

How to connect WIX template with 3rd party REST APIs?

I created a simple web site using WIX platform. (https://www.wix.com/). I have some simple forms. Like customer registration and package management. All the UI part is done. And I have a Node.JS server to manage customers and packages. API is 100% done.
Now I need to connect WIX template with my NOde.JS REST API. Is there any possible ways to do this ?
My Node Server is deployed on a Ubuntu server and I can access it anywhere.
Please help me on this.
Yes, now Wix has this thing called Wix Code platform, which enables you to dynamically control your UI components and bind it to data coming from the outside.
To answer your question, they have this fetch API which you can use to write code to fetch your own server and get the data from it. Here is a link Wix Code API - fetch
Anyway, this is their site, Wix Code, you may learn a lot more there. Also they have those tutorials and examples of many "how to..." and examples Wix Code Tutorials and Videos
Cheers!

Implementation of push notification

I have created a QUICK START PROJECT in visual studio with AZURE SERVER with the help of the link given below.
https://azure.microsoft.com/en-in/documentation/articles/app-service-mobile-cordova-get-started/
and now I want to configure it with push notifications for which I followed the steps show in the link below
https://azure.microsoft.com/en-in/documentation/articles/app-service-mobile-cordova-get-started-push/#nodejs
It says to make some changes in the code in the todoitem.js (index.js) from the first link.
I am not able to make those changes can anyone help me with what should be done?
Acutally, the todoitem.js is in your Mobile App backend server in Node.js. If you have created a Mobile Apps server for your own, you can find and edit this script in Easy Tables in your Mobile Apps' manage page in the Azure portal(https://ms.portal.azure.com).

Windows 8/RT + Phone 8 app - sync data

Hi im developing a todo/reminder app for both Windows 8 (RT) and Windows Phone 8.
I want to enable the user to sync their todo-items between these two.
I know there is a roaming application data storage for Windows 8, but is it possible to access it from the phone?
Another idea i had was creating an xml file and uploading it to skydrive, but then i would have no push functionality :(
And there is also Azure which seems to be the most complicated solution..
What way is the best to choose?
Thanks for your help
You can use Live SDK (SkyDrive) and Windows Azure Mobile Services to accomplish this. The Live SDK will allow you to upload and retrieve items from SkyDrive and you can use mobile services for push notifications. Here is an example of what you want to do.
I know that the thread is a bit old, but it still pops up in search results. So, here's the answer.
I had exactly the same problem. So, I have developed a small library which does exactly that - synchronizing the data between Windows Phone and Windows Azure. Code is on GitHub and here is a nicely packed NuGet package. You could easily port it to WinRT and use SQLite as local data storage.
API is very simple. You just call methods to do CRUD operations and when you are done, you call SynchronizeAsync to synchronize data with WAMS. The synchronization goes both ways. In case of conflict, the latest copy gets the preference.
In the meantime Windows Phone 8.1 is released and it changes the answer to your question - today there are universal apps and they share the same roaming storage on both Phone and regular Windows.
You're going to want to use Mobile Services (www.windowsazure.com/mobile) for this scenario. After you login at manage.windowsazure.com, grab the WinStore C# SDK and WP8 SDK. You're going to need to point both to the same SQL db and Mobile Service. Of course, if you need blob or table storage as well, that's supported. You'd just access those through scripts under the DATA tab.
To check out a production app that's already doing this, I'd point your to Slot Machine by the SeeSharpGuys.
Win Store: http://apps.microsoft.com/windows/en-US/app/slot-machine/7c60012a-00bd-4cae-a402-a9885ec11ea1
WP8: http://www.windowsphone.com/en-us/store/app/slot-machine-mobile/9fa24191-d08d-4073-8098-740975e41946

Resources