Migrating MongoDB of Parse results in lost of connection - mongodb

After Parse communicated the close of it in the next year, they recommended to do some steps to migrate from their API / hosted MongoDB database to your server.
Basically I'm in this step:
To do this I followed the next tutorial, the steps Migrate Parse DB and Transfer Data.
Now my data is complete, but I can't use my app anymore. These are the latest logs I can see, it doesn't connect or respond:
so briefly I'm just migrating the Parse DB by now,
did I skip any step and that's why it's not working?
Thank you very much in advance.
EDIT:
I've seen two requests of closing, because it's "unclear", I'm trying to figure out how to proceed, because following the tutorial mentioned above or the one on Parse Blog. After following those steps, I can't get my app working due to the errors mentioned above.
Am I asking wrong?
Thank you ;)

There is currently a bug with the migration tool, which is not migrating data correctly. The Parse team are currently working on it.
Issue reported here: https://github.com/ParsePlatform/parse-server/issues/42

Related

Pentaho Data Integration - REST Client Step

I'm trying to make a request to an API. I have tested it on Postman, and it's working fine. What a I would like to achieve is make a similar process on Pentaho Data Integration, I guess I should use the REST Cliente step.
I have seen a couple of videos and asked question on forums about this step. I had a running request on other free access API using this step on Pentaho, but now I'm trying to do the same with this new one. Anyone may help to do it?
I attached screenshots about how I have tested it on Postman. Thank's in advanced.enter image description here
From the image you have shared looks like you are trying to do a post.
Either way the below setup could help you achieve that.
You can probably have below approach.
Generate Rows > Rest Client > Table
And with that, you can have API URL and auth info on generate row step, define fields on the REST Client Step and insert the data into a table.

UWP Convert an app service to run in the same process as its host app

I am following example at https://learn.microsoft.com/en-us/windows/uwp/launch-resume/convert-app-service-in-process to convert an app service to run in the same process as its host app. But Microsoft documentation is getting worse day after day I find it. The example is missing clear guidance and working example.
I also tried using example from Create and consume an app service as a working example and tried to implement changes suggested in the first link above but without success as the link is not clear where to implement OnBackgroundActivated. That is just an example but the article in general is very vague and obscured.
Has anyone been able to figure this out?
Here is an end-to-end sample that uses an in-proc appservice:
https://github.com/Microsoft/DesktopBridgeToUWP-Samples/tree/master/Samples/SQLServer
If this doesn't help please update the question with the specific problem you are facing with this feature.

Google Analytics for Rest APIs WSO2 Cloud API

I was following the below blog and was trying to execute the POC but no luck. i did follow all the steps as suggested however I could not see any report in google analytics after saving the content. No user is shown in report. Please suggest what could be wrong in my implementation.
Reference Link
It is very hard to give a generic answer without looking into the configuration. I just followed the tutorial myself and it all worked fine (to test, I was making curl calls in the terminal window at my laptop and watching Real-Time / Overview report in Google Analytics.)
First and foremost, please check that _system/governance/apimgt/statistics/ga-config.xml has Enabled set to true, and TrackingID set to the UA- tracking code you got from GA.
One thing to check is whether you are looking at Real-Time report or historical. When you just implemented the change - look at Real-Time / Overview report initially as it starts showing data much faster.
Also, since API Cloud has multiple gateway nodes, it takes time for the configuration changes to propagate. So one thing to try is to wait 15 minutes or so from the time you applied configuration changes in the cloud, and then try invoking the API and see if the sessions are reflected in Google Analytics.
Finally, if these do not help, just submit the support ticket in API Cloud - support is included for free with the cloud service.

iOS webservice xml help

i am trying to create an app that connects to a mysql database, downloads the records in the table for the user then displays them in a UITableview which can be drilled down with the data that as downloaded from the mysql database. I would also like the data to be stored locally in something like sqlite. The data would then be modified then uploaded back to the mysql database.
My questions is where do i start? I have read alot of posts on google and they say that its best to connect to a xml which acts as a middle man between the database and the app. How can i create this xml file? is it something that is generated every time the app is launched or something done daily on the server?
If anyone can help me out. i know its a very broad question so if someone can point me in the right direction im not asking someone to right this app just a hand as im lost.
Thanks,
Aaron
I know others have mentioned links to libraries that let you connect to MySQL from iOS. I've not tried them myself but don't rule that out.
To answer your quest, you do not "create" the XML files. Web services are developed in a language, and written as applications. You would in essence need to write another application that runs on a server. That application would connect to your MySQL database. That application would also publish methods for getting at, and updating, data. By virtue of making your server a SOAP web service (in whatever platform), the data will be sent over the wire as XML.
If I have understood you want a kind of ORM?
If so you can check for Restkit and more specifically on the side of the object mapping system. It allows us to synchronize remote object/data locally with the coredata.
I have never used it, but I have seen a great tuto which talking about that here: Advanced RestKit Development (However I think it works only with json messages).
I hope it'll help you in your reflection.
I would recommend looking at XML Parser, Webservice, and Core Data tutorials.
SOAP and XML Response Parsing Samples for iPhone/iPad?
http://www.techotopia.com/index.php/An_iOS_4_iPhone_Core_Data_Tutorial_%28Xcode_4%29
That would be a good start, and I could give you some more material if you would like. As far as setting up your actual web service, I've never done that so I couldn't help you there.

Trying to DRY up nodejs express app using mongodb

I'm trying to separate my mongodb code in a nodejs express app and am having troubles understanding how to shuffle things around.
here's a gist of what I have
https://gist.github.com/759446
I've dumbed it down to almost nothing in the middleware.
When I start the server, res.myvar is correctly set to "object" in the first request. Every subsequent request fails with res.myvar being "undefined".
I just want to stick the db code in a single place and then be able to use it in my various routes. Am I going about this wrong? All the examples on the mongodb nodejs driver page just make db queries etc. I'm not finding much integrating the whole thing in an express app.
What I had originally was opening new db connections on every request.
I've edited the gist and left the old stuff commented out.
It works now.
Many thanks to Ciaran's blog post http://howtonode.org/express-mongodb
It's kinda old but still helped.
I am writing node-fourm, I have the same problem at beginning. There is a db folder and controller folder in node-fourm, they are seperated now, and I can define method for each collection now. Check the code for detail.
I wrote mongoskin to make it possible.