LDAP (JNDI) backed data service in wso2 data services server - ldap

We'd like to create services in WSO2's DSS that query LDAP data. The Data Services Server gives the option of creating JNDI backed data sources, but the data query definition seems to assume that all JNDI data sources use SQL (as evident by the query field being labled SQL).
The old WSO2 forums suggest that it's possible... http://wso2.com/forum/thread/11109
Does anyone have an example?
thx
Liam

As far as I know you cannot use JNDI to expose LDAP data as LDAP doesn't expose its data as a database .. If you want samples on JNDI Data Sources and Exposing Data Sources as JNDI Resources, Please refer 1 and 2. If you want to expose your LDAP data and create data services you can use Data services custom data source feature and implement it.

Related

Filtered one-way synchronization of Azure SQL database

We have a multi-tenant, single db application where some customers have expressed the desire to get direct access to their own data.
I have been suggested looking into Azure Data Sync to achieve a setup where each of the customers get their own Azure SQL instance to which we setup a one-way synchronization of their data from the master database.
I managed to find some documentation on this, but one I got around to try it out in a lab setup, it looks like the ability to filter rows in the sync job has been removed in a later iteration of the Azure Data Sync service.
Am I wrong or is that feature really gone? If so, what would be your suggestions to achieve something similar on Azure?
You cannot filter rows using Azure SQL Data Sync. However, you can build a custom solution based on Sync Framework as explained here.

Data Integration Tool For HANA

Is there a good data integration tool available for SAP HANA which could accomplish the following :
Consuming data periodically (a user defined interval) from REST based web service (A simple URL containing XML)
Parsing the XML and extracting the data
Populating the associated table
I am aware that SQL Server Integration Service is one such tool available for Microsoft SQL Server, which does the above. Would like to know the equivalent in HANA. I did explore SAP Cloud Integration service and Business Object Data Services tool, but would like to have a first hand opinion on the same.
SAP HANA Smart Data Integration (SDI) is a standard product option that you can use for this. As it is a feature of SAP HANA, no additional server is required for this solution. This blog gives a good overview SAP SDI BLOG.
Data Services can of course also used for that, but would probably be the 'Ferrari for driving to the bakery'.

Apache Calcite - Access RESTFul Service with SQL

I have went through documentation and its a bit hard for me to grasp how one should go about writing adapter for anything. I want to ease the access of RESTful web services with SQL like interface for business folks.
Coarse requirements look something like:
Register data source, in this case endpoint
Add mapping for endpoint to table
Execute simple select queries
Allow joins to be performed on the basis of some join key but in client application memory
Represent the output in the tabular format
Try using Calcite's file adapter, which was just added in release 1.12.
The simplest use case is reading and parsing a CSV file from the file system, and presenting it as a table that can be used in a SQL statement. But in addition to files, the file adapter read documents via HTTP, and it can parse the contents of HTML tables. So you should be able to use it to read data from a REST service.

Cannot create SQL Connector in Azure

I'm creating a new MS SQL Connector to Azure database. Following the guide at: https://azure.microsoft.com/en-gb/documentation/articles/app-service-logic-connector-sql
As a result the connector is not created due to missing 'LOCATION' input.
How can I specify this property? Does that depend on Azure Subscription used?
Location is in reference to which data region you want your connector to reside. Is this connector in US East, US East 2, Central US etc.
The view you are seeing in the tutorial leverages the new Azure Portal, the Location will reside within the App Service Plan configuration settings.

Creating WCF DataService with database other than SQL Server

We would like to expose data we have residing in a Vertica database via the WCF Data Services. (Ultimately, we want to access the data in Excel's pivot tables features, and I've created an Excel Workbook project in Visual Studio to consume this data).
While I can access the Verica data in server code using the ADO.NET provider from Vertica -- I cannot find anywhere to get the WFC DataService code to use a different provider.
Do you know how I can create a WCF data service using a database that is not SQL Server?
Basically WCF Data Services exposes anything that implements the IQueryable interface (for read operations) or the IUpdatable interface in addition, if you want to update/insert data.
Both those interfaces are "wrapped" into yet another layer of interfaces (IDataServiceQueryProvider and IDataServiceUpdateProvider) - but in the end, that's what your data source needs to
Entity Framework or Linq-to-SQL both support those interfaces on their data/object context classes - so you can easily expose them using WCF Data Services.
For more information:
MSDN docs on custom WCF Data Service providers
Using WCF Data Services with custom data source