get health checks automatically using API calls in Foundry Slate - palantir-foundry

Is there a way to get health checks automatically using API calls and show it in Foundry Slate application. I am trying to get the available data sets info such as health checks and show them in the dashboard automatically using API calls based on RID as a param or any other way

Within slate, if you open queries you should have an endpoint to hit the data health service api. Open the source dropdown and search for data-health SERVICE API (blue arrow on the image).
Afterwards a new dropdown should show up with the available services that you can query data health with (green arrow). Depending on your stack it is also possible that this is a JSON API instead of a SERVICE API, in that case it can look slightly different from the screenshot.

Related

Why are my searches using autodesk forge data management api unreliable

I am using the search DataManagement API in autodesk forge to test for an item's existence before creating it (or creating a new version)
This is fine most of the time but the search fails on certain files even though they are clearly visible in the ACC web interface.
The API calls look like
https://developer.api.autodesk.com/data/v1/projects/:projectId/folders/:folderId/search?filter[attribute.name]=[my item's name]
https://developer.api.autodesk.com/data/v1/projects/:projectId/folders/:folderId/search?filter[attribute.displayName]=[my item's name]&page[number]=1
I have tried searching on different attributes such as attribute.displayName.
I have tried paging through the data using the next links.
I have tried using the contains qualifier
It seems some files cannot be "found" with this search API?

Qgis Google Base Hybrid Image Updation Notification

We are using Qgis for capture features, and the base map is google rendering hybrid image. And the base map is connected via google server link in Qgis. whenever google updates their base images, horizontal shifts are occurred between the existing and updated images.so quality of the captured features were affected (i.e) Horizontal shifts are occurred.If there is any chance to get the notifications regularly while google updates their basemap.Please share with us
We are using Qgis for capture features, and the base map is google rendering hybrid image. And the base map is connected via google server link in Qgis. whenever google updates their base images, horizontal shifts are occurred between the existing and updated images.so quality of the captured features were affected (i.e) Horizontal shifts are occurred.If there is any chance to get the notifications regularly while google updates their basemap.Please share with us

Creating a Google Maps application

I have been behind the 8-ball all quarter for my class some how I am supposed to be able to do this in 4 hours.
My Assignment
The purpose of this assignment is to utilize a map to display a route using overlays/polylines.
The goal of this assignment is to enhance the assignment from week 5 (web service to retrieve directions) to display the retrieved directions as a route on a map in addition to a list of steps.
You are required to write a single application that runs on a tablet configuration (Nexus 10 or some variation of a 10 inch screen tablet)
User Interface Requirements
The left side of the screen (ListView, left-pane) will contain the interface outlined in the week 5 assignment. A user can enter a source and destination and retrieve a list of directions based on that input. So, the interface is a couple textfields, a button, and a list.
The right side of the screen (right-pane, details view) will contain a Map that displays the directions as a segmented line (route). The map and route gets updated/displayed after the directions are retrieved (selection of the button). An initial map should be displayed with some default settings when the screen is first loaded.
Other Requirements
The Map should display the entire route (start and end point) at the appropriate zoom level (depending on the distance). The correct map type should also be used depending on the distance.
You are required to use a Marker to display the starting point and ending destination.
You are required to use the MapFragment class.
You are required to use API V2 from Google Maps and the Google Play Services API.
You are required to use the XMLPullParser class for parsing the XML.
This application will look very similar to the Google maps application that is used on the web (with a lot less detail, no zooming in out of the map, etc), concerning the route displayed, and left pane to enter source / destination and direction list.
Using Android Studio I have tried Creating an Application using the Map Activity, but it creates and application that will not compile and it looks like it wants me to use Google Keys. I can't hand in an assignment that requires Keys assigned to me.
I already have 4 hours into this and I can't even get started. I read that v3 of googles map API's doesn't need keys, but I can't find anything that tells me how to use them and Android Studio Doesn't seem to give you options as to what to download and use.
I really need help.

How can I access the one board in JIRA Agile via the JSON REST API?

If I want to access JIRA Agile's One Board via the JIRA JSON API, how do I go about that?
Is there one place I can query to find out what the swim lanes are, and another place I can get information about tickets that will include data that determine what swim lanes they are in?
How much of the JIRA API is available programmatically?
Start with the REST Browser plugin and the jira-python library which shows how to use some of the JIRA Agile REST API
You can use following REST api to get all Boards.
GET /rest/agile/1.0/board
And then to get one board of your choice, you can use this :
GET /rest/agile/1.0/board/{boardId}
Here is the link for JIRA Agile

For Developing Location based reminder mobile app, which one is good..... Google Maps or Nokia maps

I am developing GPS based Location reminder in j2me. I am little bit confuse to which maps i use??.....Google maps & Nokia maps. Which one allows me good working... The working of my app are as follows :-
-User will provide a string to app to search a place of his/her desire.
-Then according to given string app will show a place on map by pointing marker on map.
-User can save that place or he/she can select a near by place rather than searched place by clicking on map or any other way.
-app will save that searched place coordinates & remind when it reached to near that place.
-When app remind to user about already stored place... that place should show on map by pointing an marker along with the how far he is from his destination.
The real choice here lies in whether to use a RESTful API like the Google Static Maps (or Nokia's RESTful Maps) or to use a native Java ME mapping library plugin such as the Nokia Maps API for Java ME. The latter has several major advantages:
Static mapping services such as the Google Static Maps API or Nokia's
RESTful Map API do not cache or tile the images when requested,
therefore each request involves a round trip to the server. If the
map on a mobile application needs to be refreshed at any time, using
a caching library will result in a reduction in network traffic after
around three maps have been displayed. An explanation of this can be
found here
As the name implies, Google's Static Maps API can only retrieve over
http static images for a requested coordinate point, image size,
image type and zoom level. Newer libraries offer additional
functionality out of the box offering dynamic Map content and touch
support, where the user can move around his/her current position,
zoom in, zoom out, modify the view mode to satellite or translate an
address to a coordinate point and show that on the map, among others.
This abstraction of the underlying functionality is hidden from the
developer so much less coding is needed in order to achieve the same
result .
Terms and Conditions for Nokia Maps are easier to fulfil than
Google - No legal restrictions of using the API outside a web browser
application or need to provide a link to the native Google Maps App
(if there is one), or to Google Maps (if there isn't one).
Nokia currently offer higher free daily request limits. Nokia Maps
API for Java ME supports up to 50,000 render requests per day and per
unique IP address (as of January 2012), for Nokia Developer
registered users (free of charge) while the limit for Google's Static
Maps API is currently 1000 unique (different) image requests per
viewer per day.
A couple of years ago there wouldn't be a choice, only RESTful solutions existed, but these days I would say a static http solution should only be used if you want a simple single image
As an abstraction of the underlying services, there are already a full set of examples to cover most of your use cases:
-User will provide a string to app to search a place of his/her desire.
-Then according to given string app will show a place on map by pointing marker on map.
http://www.developer.nokia.com/Commu...PI_for_Java_ME
-User can save that place or he/she can select a near by place rather than searched place by clicking on map or any other way.
Maybe you need to use a draggable marker:
http://www.developer.nokia.com/Devel...ples/#standard
Or react to the touch and find a Geocoordinate:
http://www.developer.nokia.com/Commu...PI_for_Java_ME
-app will save that searched place coordinates & remind when it reached to near that place.
This is known as geofencing and is covered by the Location API:
- http://www.developer.nokia.com/Resou...ty-events.html
-When app remind to user about already stored place... that place should show on map by pointing an marker along with the how far he is
from his destination.
Showing a Map with a Marker
http://www.developer.nokia.com/Devel...ples/#standard
For distance calculations, I guess you'd be after the ROUTING example
http://www.developer.nokia.com/Devel...mples/#routing
http://www.developer.nokia.com/Commu...g_with_Java_ME
Now you could re-write and all these services from scratch using RESTful APIs (and then go about debugging your code) , but I'm sure you'll agree it would be much easier to use an existing, working and tested framework for the low level plumbing and then just write your code on top using the services.
It is possible to encapsulate RESTful service in Java ME. As an example, added below is a screenshot from an app encapsulating the suggestion service
It is just a lot easier when someone else has already done this work for you and placed it in a library.