1471 Commits

Author SHA1 Message Date
Danny Adams
6a5b2780c7 Updates to /connector/ddata_collections_test.go.
Adds credentials for test framework.
2023-01-27 16:52:17 -05:00
Danny Adams
0cd7df9869 Update to /connector/data_collections.go
Return provides credentials for SharePoint types.
2023-01-27 16:51:26 -05:00
Danny Adams
6c53c66fb5 Update to /connector/sharepoint.data_collections.go
Updates the Adapter back to being recreated with credentials. Credentials need to come from the DataCollection call.
2023-01-27 16:30:34 -05:00
Danny Adams
9e947d8951 Merge branch 'backup-page-flow-2' into backup-page-flow-3 2023-01-27 15:59:50 -05:00
Danny Adams
bd5a893db7 Updates to /connector/sharepoint/collection_test.go
Tests to changed to conform with Test CI implementation.
2023-01-27 15:46:49 -05:00
Danny Adams
8b831d34f0 Updates /connector/sharepoint/data_collections.go and data_collections_test.go
Lint ignore removed. collectPages() method updated --> Scope not necessary
Test Suite adds test for functionality.
2023-01-27 15:40:25 -05:00
Danny Adams
5ca341eb56 Update to /connector/sharepoint/helper_test.go
Creates a test update function for the package.
2023-01-27 15:33:13 -05:00
Danny Adams
978acf187d GOFMT: unused annotation change. 2023-01-27 14:10:56 -05:00
Danny Adams
656bc14d24 GOFMT: wsl changes. 2023-01-27 14:09:19 -05:00
Danny Adams
47a927c141 Updates to /connector/sharepoint/collection_test.go 2023-01-27 14:07:03 -05:00
Danny Adams
2cc3c22c4c Updates /connector/sharepoint/site_page_test.go
Updates call for GetSitePages()
2023-01-27 13:41:58 -05:00
Danny Adams
9e0393e1d2 Updates to /connector/sharepoint/collection_test.go
betaService fields tested for the collection.
2023-01-27 13:41:22 -05:00
Danny Adams
c7044f1fa0 Merge branch 'backup-page-flow' into backup-page-flow-2 2023-01-27 13:34:40 -05:00
Danny Adams
b7b7029ec3 Updates to /connector/sharepoint/site_page_test.go
Updates from helper_test.go for service creation.
2023-01-27 13:25:39 -05:00
Danny Adams
9035881bc5 Updates to /connector/sharepoint/site_page.go
method to accept betaService in place of graph.Service
2023-01-27 13:23:58 -05:00
Danny Adams
560531a56c Updates to /connector/sharepoint/data_collections.go
CollectPages() method updated to create BetaService and to store service within collection.
2023-01-27 13:20:42 -05:00
Danny Adams
1aebe933ea Updates to /connector/sharepoint/list_test.go
Updates call for createTestService().
2023-01-27 13:16:43 -05:00
Danny Adams
02f85a5614 Updates to /connector/sharepoint/collection_test.go
Updates to test service creation call and return methods.
2023-01-27 13:15:43 -05:00
Danny Adams
1357974ccb Updates /connector/sharepoint/collection.go
BetaService field added to collection.
2023-01-27 13:14:08 -05:00
Danny Adams
a7ea30e109 Updates to /connector/sharepoint/helper_test.go
Updates to createTestService method.
Creates createTestBetaService().
2023-01-27 13:12:18 -05:00
Danny
30ce9cafc9
Merge branch 'beta-library-service' into backup-page-flow 2023-01-27 12:26:13 -05:00
Danny Adams
de5bc553d0 Updates to /graph/betasdk/beta_service.go
Addition of constructor and serialize function.
2023-01-27 12:08:21 -05:00
Danny Adams
97c6d631b5 Updates to /graph/betasdk/beta_client_test.go
Verifies service functionality.
2023-01-27 12:07:32 -05:00
Danny Adams
deaca98a4d stash. 2023-01-27 11:40:38 -05:00
Danny Adams
7bac82cdba Updates to /connector/sharepoint/collection.go
betaSDK service become a field within SharePoint Collection.
2023-01-27 11:39:59 -05:00
Danny Adams
b2ce209eee Updates /connector/sharepoint/site_page.go
Updates dependencies to betasdk.
2023-01-27 11:38:29 -05:00
Danny
afe8f04a45
Merge branch 'beta-library-service' into backup-page-flow 2023-01-27 11:02:10 -05:00
Danny Adams
946767edcc Add file /graph/betasdk/beta_service.go 2023-01-27 10:50:46 -05:00
Danny Adams
3228bfbe1e Updates to /graph/betasdk/beta_client.go
Comments updated for clarity on package setup.
2023-01-27 10:37:42 -05:00
Danny Adams
447ae1f3bb Updates to /graph/betasdk/kiota-lock.json
Key/Value pair added for Beta version.
2023-01-27 10:35:52 -05:00
Danny Adams
2133cc41f1 Update to /graph/betasdk/kiota-lock.json
Changes to JSON fields for compliance with parsing.
2023-01-27 10:23:00 -05:00
Danny
9deb1ce9a2
GC: Backup: SharePoint: Test Fetch/Get Functions (#2182)
## Description
Tests the functionality of GC's retrieval functions
2023-01-27 09:40:32 -05:00
Danny
9aa7c1b667
Merge branch 'beta-library-switch' into backup-page-flow 2023-01-27 09:34:40 -05:00
Danny Adams
d7e077ad72 Merge branch 'beta-library-switch' of github.com:alcionai/corso into beta-library-switch 2023-01-26 17:58:54 -05:00
Danny Adams
db9a91fb87 Updates to /betasdk/sites/kiota-lock.json
Details the required files for the subdirectories of models and sites.
2023-01-26 17:58:40 -05:00
Danny
57ce0be82a
Merge branch 'main' into beta-library-switch 2023-01-26 17:17:00 -05:00
Danny Adams
b3aec1b40f Updates /graph/beasdk/beta_service_test.go
File renamed to beta_client_test.go.
Comments updated.
2023-01-26 16:16:43 -05:00
Danny Adams
f8d65d66de Updates to /graph/betasdk/beta_client.go
Registers serializers for connector.
Adds explicit comments on connector usage and patterns.
Removes Sites() call from supported commands.
2023-01-26 16:08:25 -05:00
Danny Adams
817a7a2bc6 UPdates to /graph/betasdk/sites package
Final sweep to bring src files down to bare minimum for Site Page management.
2023-01-26 15:51:39 -05:00
Danny Adams
2839d8d6e3 ci.yml --> remove swap space. 2023-01-26 14:09:00 -05:00
Danny Adams
05c3216f08 Removal of beta library package from system. 2023-01-26 14:03:49 -05:00
Danny Adams
8a474af189 Revert back to msgraph-sdk-go library for /support/errors.go 2023-01-26 14:02:55 -05:00
Danny Adams
b7b2de096b Revert back to msgraph-sdk-go package for /connector/graph/errors.go 2023-01-26 14:02:15 -05:00
Danny Adams
03ec1dd2e9 Updates to remove beta library from operations/backup_integration_test.go 2023-01-26 14:01:24 -05:00
Danny Adams
7bc080305d Update to exclude betasdk from linting. 2023-01-26 13:56:31 -05:00
Danny Adams
28ddbca41e Merge branch 'beta-library-switch' of github.com:alcionai/corso into beta-library-switch 2023-01-26 11:53:16 -05:00
Danny Adams
263197bbab Updates to /betasdk/sites/ for GOFMT:
Fixes for linter failures --> ignore statements.
2023-01-26 11:39:37 -05:00
Vaibhav Kamra
bdb7f2b109
Re-use client for OneDrive item downloads (#2276)
## Description

This PR reintroduces the changes from #2266 with a change to *not* reset the transport
when initializing the shared client. 

Doing so was removing the retry and other middlewares
and also resulting in throttled requests being masked as success

Also - we now decorate our download traffic with an ISV tag as recommended [here](https://learn.microsoft.com/en-us/sharepoint/dev/general-development/how-to-avoid-getting-throttled-or-blocked-in-sharepoint-online#how-to-decorate-your-http-traffic)

## Does this PR need a docs update or release note?

- [ ]  Yes, it's included
- [x] 🕐 Yes, but in a later PR
- [ ]  No 

## Type of change

<!--- Please check the type of change your PR introduces: --->
- [ ] 🌻 Feature
- [x] 🐛 Bugfix
- [ ] 🗺️ Documentation
- [ ] 🤖 Test
- [ ] 💻 CI/Deployment
- [ ] 🧹 Tech Debt/Cleanup

## Issue(s)

<!-- Can reference multiple issues. Use one of the following "magic words" - "closes, fixes" to auto-close the Github issue. -->
* #2266 

## Test Plan

<!-- How will this be tested prior to merging.-->
- [ ] 💪 Manual
- [ ]  Unit test
- [x] 💚 E2E
2023-01-26 15:05:12 +00:00
Danny
4e3f15f357
Update ci.yml
Update to 12
2023-01-26 10:01:32 -05:00
Danny Adams
68f7ac9cff Updates to the .yml for additional space. 2023-01-26 09:55:41 -05:00