You are on page 1of 7

Day Theme Materials Questions Commented [JH1]: Intro ne CData Solution

0 Intro https://cdata0- Make sure you have gone through all the steps in your welcome email so you can learn about the https://www.cdata.com/blog/data_connectivity/2018120
7-cdata-architecture
my.sharepoint.com Company and how we operate. https://www.cdata.com/blog/data_connectivity/2018121
/:w:/g/personal/fat 0-cdata-architecture-driver-services
bardhq_cdata_com https://www.cdata.com/blog/data_connectivity/2018121
/EXEHabFhpQtLgNr 3-cdata-architecture-query-execution
DFwKXY5kBa2D5Nu
8HYNokfYi1J4Chyg? Commented [JH2R1]: Eshte shume e rendesishme qe te
e=Rz1Q3z kuptohet end-to-end information flow, ku kalon cfare
procesi behet ne cdo hallke etj. Ku ze vend secila nga temat
qe ndahet sipas javeve

1 and What is a driver? Webinar: What is 1. I am in a need of a JDBC driver to read match information from flascore.com.
2 Open Database Is that possible? Commented [DC3]: Hapi fillestar duhet te jete nje
How does it Connector (ODBC)? 2. I am the owner of a small betting company. I want to show customers player stats for certain prezantim i detajuar i procesit te punes. Duhet te fillohet
work? matches. For instance, I do not want to show them how many goals they have scored in total, but me prezantimin e meanxhereve ne shqiperi dhe ne US. Te
behet e qarte se ku raprton kush. Me pas duhet te
https://www.cdata. instead how many they scored for a certain match. The API I am using is https://soccersapi.com/. vazhdohet punen konkrete : cfare eshte klienti dhe si duhet
Driver com/blog/data_con Would it be possible with your driver? trajtuar, cfare eshte freshdesk dhe si duhet perdorur .
Technologies nectivity/20181114 3. Use CData Gmail JDBC driver to list emails. Select only the odd rows Gjithashtu duhet shpjeguar se ku fillojne dhe mbarojne
-driver- Use CData Gmail ADO driver to list emails. Select only the odd rows detyrat e dikujt ne support : psh deri ne piken ku arrin ta
riprodhosh nje issue , me pas duhet ngritur nje Issue ne Dev
development For instance, if you have only 3 emails: it should print only 2 rows, email 1 and email 3
team.
4. Look carefully at the code you wrote for task 3) and point out the similarities between the classes
https://www.youtu that you used in each technology. Commented [SB4]: Shume e rendesishme dhe struktura e
folderave/files per pjesen e kodit specifik te providerave.
HTTP APIs be.com/watch?v=F 5. What are some other technologies besides JDBC and ADO? Are there similarities between them?
Anuh0_BU4c 6. Take for instance the Google Sheets Driver and the Jira Driver. What kind of data source discovery Commented [SB5R4]: Gjithashtu dhe nje shpjegim i
pergjithshem per package kryesore ne shared/ops si dhe
does each of them have? Try setting up Fiddler for both scenarios and check. To connect our drivers to
ProviderGeneric, GoogleOAuth etj etj.
https://www.w3.org/P Fiddler, look at the proxy properties we expose, and try to set the right values to connect to Fiddler.
rotocols/HTTP/AsImpl If you bump into certificate errors, read this. To learn more on how certificates work, checkout this. Commented [GT6]: Procesi, menaxheret, klientet, jes
emented.html keto mund ti vendosim ne krye. Detyrat dhe flow, kete e
7. Can the Server/API return a different datatype and the driver return another for the same column? kemi shpjeguar tek investigation, eshte tek Materials atje
If true, is this a static or dynamic driver? linku i pare ku shpjegohet flow dhe kur hapet bug. Si thua?
https://www.cdata. 8. Try adding a custom field in JIRA UI from scenario 6) task. Can you find and show how is this field Commented [GT7]: Ide e mire, si thua sikur ta leme tek
com/blog/data_con returned from the API? Debug project ne fund qe ka rekomanduar Donaldi?
Metadata
nectivity/20180515 Commented [SB8]: Po aty eshte okay.
Static vs Dynamic
-why-is-metadata-
Commented [FQ9]: https://cdata0-
important
*Workarounds for https callbackurls ...
my.sharepoint.com/:w:/g/personal/fatbardhq_cdata_com/E
Commented [JH10]: to consume this drivers
3, 4 Connecting What is API 1. Find out what the user name and password was used here: Authorization: Basic dGVzdDp0ZXN0
and 5 Authentication? 2. Get an OAuth token from Slack using Postman Commented [SB11]: Para ketyre, do ishte mire qe te
What is OAuth? 3. Install the CData Slack JDBC. Go to the installation path and try the OAuth demo. Make it work siguroheshim qe te rinjt te ken njohuri te mira per HTTP
What is OAuth 4. Try to get a token using GetOAuthAuthorizationURL and GetOAuthAccessToken using CData Slack requests/responses. URL, headers, post-data etj etj.
really all about - JDBC driver. Commented [GT12R11]: Ide e mire, si te duket kjo:
OAuth tutorial - 5. Look at http://cdn.cdata.com/help/FCF/ado/pg_connectingtoslack.htm. Try both methods with
Java Brains the JDBC driver. Which one is the same as the question 4)? What is the difference between both https://www.youtube.com/watch?v=FAnuh0_BU4c
these methods? ?
Testing OAuth2 6. Look at: http://cdn.cdata.com/help/RLF/ado/pg_oauthembeddedapp.htm . Try to explain how
Commented [SB13R11]: Shume mire me duket si fillim.
Authorization Flow does our driver make OAuth if not OAuthClientID or OAuthClientSecret is set in the connection
with Postman string in contrast to what we have done before? Commented [SB14R11]: https://www.w3.org/Protocols/
(Authorization 7. Look at http://cdn.cdata.com/help/FCF/ado/RSBSlack_p_OAuthSettingsLocation.htm. Use this HTTP/AsImplemented.html
Code Grant) property to connect from CData Slack Excel Addin and Cdata Slack ODBC from Access. Also, set Commented [JH15]: te shtohet info per access token &
Other=EncryptOAuthSettings=False, so the data in the OAuthSettingsLocation file is stored refresh token
Break Down of unencrypted. Try the CData Slack Excel Addin first. Then try the ODBC one. Did the browser open dhe cila ruhet sipas rasteve te dirvers
https://www.youtube.com/watch?v=-Z57Ss_uiuc
OAuth2 Flow up the second time? Why? Why not?
8. Look inside the OAuthSettings file. Look at each of the properties there, and explain why everyone
of those is needed.
Commented [FQ16R15]: Added "Access Token and
OAuth 2.0 9. A customer wants to let others monitor Slack channels. However, he does not want to give others Refresh Token?" entry in Links column
Diagrams and write because he wants to avoid others writing stuff to members in chat. How can he do that
Commented [EH17R15]: When you have to add
Flows through OAuth? Try to do this with the Slack driver, connect to it in such a way that someone
localhost as a redirect url, use this workaround:
cannot do an INSERT statement. https://cdata0-
Access Token and 10. Can you connect if you do not have OAuthClientID or Secret but you do have: my.sharepoint.com/:w:/g/personal/reip_cdata_com/ESJCm
Refresh Token? a. OAuthAccessToken K2_jCNPhG0qycka9WgB8842mi-
b. OAuthSettingsLocation set and the file DB9cXn13FS4ytNQ?rtime=S6tgPVkf2Ug

OAuth Standard 11. What happens if the OAuthRefreshToken stored in OAuthSettingsFile has expired? Commented [JH18]: Tip: do one of the following:
12. Taking in consideration the GoogleSheets Driver. Can we access a public spreadsheet: { i.e LINK} 1-EncryptOauthsettings=false in Other connectionproperty-
Reference Doc
> to have OAuthsettings file be written unencrypted.
using the driver without the need to authenticate? Try fiddling with the requests header in Fiddler and see
2-Other=EncryptOAuthSettings=False
if this is possible.
Commented [JH19]: no link here?
Commented [FQ20R19]: Done
6, 7, Categories of https://cdata0.shar General
8, 9, sources for which epoint.com/:f:/s/Al 1 Jira driver has a View called IssueLinks. Find the corresponding API endpoint.
10 we make drivers baniaTeam/EliQWr Accounting and E-commerce
6pXblBgIiYqen5Vog 1 Use our Shopify driver and create an order with 2 or more-line items using JDBC
and BgCM7s_eCEuTdgvi 2 Now do the same with the Shopify Excel Add-in
HLvJaQQ?e=gtKM5 CRM and ERP
How we design B 1 Bulk insert 101 Leads using the ZohoCRM JDBC driver.
each driver based 2 Add a custom field to the Contact view called ExternalContactReference, fill it with random
on its category values from the Salesforce UI, then read those values with our Salesforce JDBC driver
Marketing
1 Which are the dimensions and metrics being selected when you do SELECT * FROM Traffic?
2 Write a query that shows all the sessions grouped by country starting from beginning 2021
3 Suppose that someone does not want to write a query for the scenario 2), but he just needs
wants do fire a SELECT * FROM TABLE query. Try to find a solution for him utilizing this info:
http://cdn.cdata.com/help/DAF/ado/pg_datamodel.htm
Relational
1 Use CData Oracle driver to connect to an Oracle database.
OData based drivers.
1 Connect CData OData JDBC driver to the sample services listed here: https://www.odata.org/odata-
services/ Do both selects and inserts
Flat files
1 Use our JSON driver to list all the grades listed here in the json example as rows.
NoSQL
1 Make the same tests with flattening as explained in this document with the CosmosDB driver using the
emulator from Microsoft instead of a cloud account
2 JSON driver and flattening modes. Now that you are equipped with flattening modes from the NoSQL
https://www.cdata. category first question. Can you go back to the JSON driver and use another flattening mode so that for
com/kb/articles/jso the exact same JSON as in here your selected flattening mode produces 4 rows.
n-datamodel.rst
11 Pagination https://nordicapis.co 1 Connect to ServiceNow. What is the max no of records returned for one request sent to the Incidents Commented [EQ26]: Per pagination mire do ishte qe te
m/everything-you- table? What if we want to double that? rinjte te mesojne per retry logic, si i ben driveri handle
need-to-know-about- Can we pull all data with as few requests as possible? How? rastet, prsh nje rast me 429 Too many requests nga Zoho,
api-pagination/ ose nga Marketo jane raste popullore.
Commented [GT27R26]: Po, te lutem gjeje ate rast,
2 In the scenario from above, can we tell the driver to get -1 value for pagesize. Why not get all data in one ndonje log ose ndonje menyre si dikush mund ta beje
https://medium.com/s reproduce. Pra kur ta bejme pyetjen duhet ti japim nje
quare-corner- go with only one request? shembull dikujt. Na e vendos ketu.
blog/tips-and-tricks-
Commented [GT28R26]: Si u be me kete mo Eti?
for-api-pagination-
5cacc6f017da 3 Which Pagination Mechanism is the ServiceNow driver using? How do we know which to implement in Commented [EQ29R26]: Po i kam shtuar te dyja edhe
our drivers? logs perkatese
https://medium.com/s
Commented [SB21]: Cfare quajme server-side dhe cfare
wlh/paginating-
4 You have a situation where you want to retrieve all the data for a particular table. You see the driver quajme client-side.
requests-in-apis-
returns data just fine until a 'HTTP 429 Too many requests' error is thrown. In what circumstances is such
d4883d4c1c4c
an error thrown? How should the driver handle these cases? Spend some time to investigate the logfile Commented [GT22R21]: Sajli, spo e kuptoj mire kete
Filtering - https://www.cdata. and explain what you find out. Link to log pyetjen. E ke fjalen te shkruajme nje tutorial te thjeshte se
ServerSide/ClientS cfare quajme client dhe cfare server-side?
com/blog/data_con
ide nectivity/20181210 Commented [SB23R21]: @Genti Tola Po, nje tutorial
4 Use our Trello driver with the following query: SELECT * FROM Boards WHERE Name=’test’. Is the mire me duket.
-cdata-
architecture-driver- filtering done client-side or server-side? Why? Commented [GT24R21]: https://www.cdata.com/blog/d
ata_connectivity/20181213-cdata-architecture-query-
services
execution tek paragrafi: Client-Side Query Engine si te
duket?
Commented [SB25R21]: Shume mire eshte perfekte.
https://www.cdata.
com/blog/data_con Commented [EQ30]: Timeout errors. Duhet edhe nje pike
nectivity/20181213 per Timeouts ku te trahtohen shkaqet me gjenerike nga
vijne Timeouts, problem serveri, problem conn ne Oauth,
-cdata- Networking issue firewall etc..
architecture-query-
Commented [GT31R30]: Kete ti e ke vendosur tek
execution
Pagination, por mua me duket me shume si rast investigimi....
Commented [EQ32R30]: What does a Timeout error
thrown by the driver mean? What are the most common ...
Commented [GT33R30]: Shembujt jane te mire per
firewall dhe server timout. Ai i SSIS duhet te shtohet dhe ...
Commented [GT34R30]: Po kjo si u be mo Eti, nese
eshte mbyllur beje resolve
12, Investigation and https://cdata0.shar 0. Visit Link 2 in order to get a better Idea regarding logging in the CData Drivers.
13, logs epoint.com/:w:/s/A a) Try setting up a logfile for SalesForce ODBC Driver. Investigate the documentation and
14, lbaniaTeam/EbkN4- determine which connection properties would help you achieve this? Commented [FQ35]: *** -> How to get older CData
15 oC- b) Once you have created a logfile for the first time, try setting Verbosity 2,3,4 logs and point Builds
JlKg1Rzi7pGc4oB1y out what differences you can find by comparing them.
w3-
15ZMy63WymkszlF *The following tasks will require testing and reproducing the issues captured in the logs using both the current website build and
Zw?e=T93xcS the older build version shown in the log. Here you can learn more on How to get older CData Builds

https://www.cdata. 1. “Pagination Issue HubSpot Only seeing 100 results when querying CRMAssociation” Link to Log | Link to
com/blog/data_con Build
nectivity/20150904 2. ‘Pagination Issue when querying Hubspot Pages View” Link to Log (Use same build above)
-diagnosing-cdata- 3. “DynamicsCRM OAuth Issue with getting Refresh Token” Link to log | (Reproduce with Website Build
Fiddler drivers .7654)
Autoresponder 4. “Why am I seeing DateTime value corresponding to year 0000?” Link to Log
Support Flowchart 5. “I was able to see the data. However, I asked a user to try, and the user wasn’t able to access a very
simple ExcelSheet” Link to Log
Fiddler 6. “[403] permission error. The following scopes have not been granted: View your user information.” Link
Autoresponder and to log
Postman 7. “Only getting the first page in Shopify. Does pagination work?” Link to Log
8. “Pulling 0 records in Hubspot and timeout” Link to log
Fiddler video 9. “Wrong credentials/missing for OAuth” Link to log
tutorial 10. “I want to get GrossRevenue and change the date filters, and Im trying to write “WHERE STARTDATE <
3/31/2020” but it doesn’t work. How does the connector work?” Link to log
Use Fiddler with 11. “I looked into the settings file and managed to manually refresh the OAuth by setting the
CData drivers _persist_oauthexpiresin=1 and run a query. I've also created another OAuth, but after 1 hour it expires if I
don't manually refresh it.” Link to logs
12. What does a Timeout error thrown by the driver mean? What are the most common cases for a
Timeout error? Spend some minutes to investigate the provided logs and explain what is causing the
timeout error for each scenario. Link to logs (Hint: The SSIS customer might be running a scheduled job in
SQL Agent. Learn more how to set up SQL Agent here.)
13. Please find link to the following log. D365 Sales.
SELECT description FROM accounts; when DefaultColumnSize=100 will not return truncated
data. Reproduce the scenario in fiddler using Autoresponder. Link
16, Replication https://www.youtu 1 Go to C:\Dev\RSSBus\v20\ProviderSalesforce\src\core\ProviderOptions.java and look for declarations
17, be.com/watch?v=9- like: DbOptions.Replication... List all of them and try to explain why the driver needs to have them
18 8uy0sZEh0 hardcoded.
2 Create a source SQLServer database with just one table I.e. Invoices. Design the table in such a way that Commented [JH36]: In case of:
Sync works incrementally during replication. Then configure Sync in such a way that replication is done 1. issues with sa login:
https://cdata0.shar incrementally. For simplicity, assume SQL Server is the destination database also. https://serverfault.com/questions/35505/cant-connect-to-
sql-server-using-sa-account-what-im-
epoint.com/:f:/s/Al 3 Compare the replication of Jira and Salesforce. For Jira use Issues, for Salesforce use Accounts. The missing/399871#:~:text=The%20%22sa%22%20account%20
baniaTeam/Et9nelv destination does not matter, you can choose Sqlite for simplicity. Are the request to the source before the will%20become,only%20windows%20authentication%20is%
yA69Kh2Gm3UHGB first replication similar? Are the requests to the sources in the second replication similar? 20enabled.
BEBdELXoWmoDIu 2. issues with connection to SQL DB: sql server 2008 - Could
KK3bPehgO2w?e=p not open connection to the host, on port 1433: Connect
failed - Stack Overflow
8ThcC **Make sure to restart SQL service after each changes in
config
Commented [FQ37R36]: This might invlove research and
https://www.cdata. troubleshooting as part of the task. But we can add it to
com/kb/entries/syn Various topics. Resolving.
c-incremental-
config.rst

In REST https://www.cdata. 1. Install CData Quickbooks driver for Desktop. Go to C:\Program Files\CData\CData ODBC Driver
case com/kb/articles/res for QuickBooks\db. Check the files that are stored there and find the difference between .RSD
you t-overview.rst files and RSB files?
are 2. A very basic API with no auth or BASIC auth.
done Implementing 3. An OAuth API and how to configure the settings there (Use Wrike API) Commented [OF40]: Use Slack API or Wrike API
befor Pagination, Filtering 4. After you connected through OAuth to one of the APIs from above, populate a table from UI and
retrieve data. How can we implement paging for this table? Commented [FQ41R40]: Added
e or & Write Operations
5. How to add support INSERT/UPDATE/DELETE requests for the table from above? (Hint: in case of
if you
Insert/Update operant add this line of code: <api:set attr="ContentType" value="application/json"/>)
want Notes On Licensing
to Licensing -------------------------
work Licensing Scenarios
more * Once you are sure you have mastered the above concepts you can try delving into the Codebase by starting a Debug
Extra* *Creating a Debug Project and learning more about the Provider Structure. Commented [JH38]: te shtohen info mbi menyren e
Project and licensimit dhe case te ndryshem duke qene se eshte nje nga
Running Tests main topic te issues ne Freshdesk
Commented [FQ39R38]: Jane te Support Setup
Guidelines
**Provider
Architecture And
Folder Structure

Commented [GT43R42]: Shume ide e mire!


Commented [GT44R42]: Vec dicka, mendoj qe te
inkuadroni bashke me Sajlin dhe pjesen qe ka shkruar ne
koment mesiper Sajli per strukturen e folderave te driverit.
Beni nje paragraf si e mendoni juve kete seksion te
trajnimit.
Commented [FQ45R42]: https://cdata0.sharepoint.com/
:w:/r/sites/AlbaniaTeam/_layouts/15/Doc.aspx?sourcedoc=
%7B44543DF2-1819-4CEE-AFA0-
19B38277C16C%7D&file=DebugProject.docx&action=defaul
t&mobileredirect=true
Commented [FQ46R42]: https://cdata0-
my.sharepoint.com/:w:/g/personal/fatbardhq_cdata_com/E
cmg-
MZqhN5Gl2wH1JlCeOMBrsGcEjuj6UvEFlcx_f5UXQ?e=OH4Y
wI

You might also like