forked from Sitecore/Media-Framework-Brightcove-Edition
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update the embed generator to include an optional alt-text field for iframe accessibility support * Update all Brightcove templates/items to be unpublishable to prevent unnecessary performance hits * Update the pull pipeline processors to use the ItemModelRepository and cleanup unnecessary DB requests * Update the pull pipelines to set and use a new global last sync timestamp * Update the push pipelines to use the new last sync time * Update the video push pipeline to suppor the new last sync time field * Update the value reader/writers to include consistent exception handling * Update playlist/video page size to 1000 * Update the resolve asset item pipeline to dedup content items * Add the new clean pipeline batch * Add retry logic to the brightcove service * Fix loadPlayer script * Content Updates * Fix various bugs --------- Co-authored-by: Cody Rodgers <[email protected]>
- Loading branch information
1 parent
62237d0
commit 77ab30f
Showing
193 changed files
with
2,966 additions
and
1,758 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
...htcove.DataExchangeFramework/Converters/PipelineStep/ApplyMappingPipelineStepConverter.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
using Brightcove.DataExchangeFramework.Settings; | ||
using Sitecore.Data; | ||
using Sitecore.Data.Items; | ||
using Sitecore.DataExchange.ApplyMapping; | ||
using Sitecore.DataExchange.Attributes; | ||
using Sitecore.DataExchange.Models; | ||
using Sitecore.DataExchange.Providers.Sc.Converters.PipelineSteps; | ||
using Sitecore.DataExchange.Repositories; | ||
using Sitecore.Services.Core.Model; | ||
using System; | ||
|
||
namespace Brightcove.DataExchangeFramework.Converters | ||
{ | ||
[SupportedIds("{AB4AF4DF-D282-4CD1-8268-FA12A9E457A3}")] | ||
public class ApplyMappingPipelineStepConverter : ApplyMappingStepConverter | ||
{ | ||
public ApplyMappingPipelineStepConverter(IItemModelRepository repository) : base(repository) { } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 44 additions & 0 deletions
44
Brightcove.DataExchangeFramework/Converters/PipelineStep/SyncPipelineStepConverter.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
using Brightcove.DataExchangeFramework.Settings; | ||
using Sitecore.Data; | ||
using Sitecore.Data.Items; | ||
using Sitecore.DataExchange.Attributes; | ||
using Sitecore.DataExchange.Converters.PipelineSteps; | ||
using Sitecore.DataExchange.Models; | ||
using Sitecore.DataExchange.Providers.Sc.Converters.PipelineSteps; | ||
using Sitecore.DataExchange.Repositories; | ||
using Sitecore.Services.Core.Model; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace Brightcove.DataExchangeFramework.Converters | ||
{ | ||
public class SyncPipelineStepConverter : BasePipelineStepConverter | ||
{ | ||
public SyncPipelineStepConverter(IItemModelRepository repository) : base(repository) | ||
{ | ||
|
||
} | ||
|
||
protected override void AddPlugins(ItemModel source, PipelineStep pipelineStep) | ||
{ | ||
Guid endpointId = this.GetGuidValue(source, "EndpointFrom"); | ||
BrightcoveSyncSettings settings = new BrightcoveSyncSettings(); | ||
|
||
if (endpointId != null) | ||
{ | ||
ItemModel endpointItem = ItemModelRepository.Get(endpointId); | ||
|
||
if(endpointItem != null) | ||
{ | ||
string accountId = this.GetStringValue(endpointItem, "Account") ?? ""; | ||
settings.AccountItem = ItemModelRepository.Get(accountId); | ||
} | ||
} | ||
|
||
pipelineStep.AddPlugin(settings); | ||
} | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
...ove.DataExchangeFramework/Converters/PipelineStep/UpdateAssetItemPipelineStepConverter.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
using Brightcove.DataExchangeFramework.Settings; | ||
using Sitecore.Data; | ||
using Sitecore.Data.Items; | ||
using Sitecore.DataExchange.ApplyMapping; | ||
using Sitecore.DataExchange.Attributes; | ||
using Sitecore.DataExchange.Models; | ||
using Sitecore.DataExchange.Providers.Sc.Converters.PipelineSteps; | ||
using Sitecore.DataExchange.Repositories; | ||
using Sitecore.Services.Core.Model; | ||
using System; | ||
|
||
namespace Brightcove.DataExchangeFramework.Converters | ||
{ | ||
[SupportedIds("{F4AF37B2-F92D-4E49-A017-3D7489E23910}")] | ||
public class UpdateAssetItemPipelineStepConverter : UpdateSitecoreItemStepConverter | ||
{ | ||
public UpdateAssetItemPipelineStepConverter(IItemModelRepository repository) : base(repository) { } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.