├── .babelrc ├── .electron-vue ├── build.js ├── dev-client.js ├── dev-runner.js ├── webpack.main.config.js ├── webpack.renderer.config.js └── webpack.web.config.js ├── .eslintignore ├── .eslintrc.js ├── .gitignore ├── .travis.yml ├── .vscode ├── launch.json └── tasks.json ├── LICENSE ├── README.md ├── appveyor.yml ├── build └── icons │ ├── 256x256.png │ ├── icon.icns │ └── icon.ico ├── dist ├── electron │ └── .gitkeep └── web │ └── .gitkeep ├── package.json ├── src ├── api │ ├── 3rd │ │ ├── Castle.Windsor.InstallerPriority │ │ │ ├── Castle.Windsor.InstallerPriority.csproj │ │ │ └── WindsorPriorityBootstrap.cs │ │ ├── Castle.Windsor.ServiceCollection │ │ │ ├── Castle.Windsor.ServiceCollection.csproj │ │ │ └── WindsorServiceCollection.cs │ │ └── WorkflowCore.Extensions.WorkflowController │ │ │ ├── WorkflowControllerExtensions.cs │ │ │ └── WorkflowCore.Extensions.WorkflowController.csproj │ ├── FastSQL.API │ │ ├── Controllers │ │ │ ├── AdaptersController.cs │ │ │ ├── AttributesController.cs │ │ │ ├── ConnectionsController.cs │ │ │ ├── EntitiesController.cs │ │ │ ├── ProcessorsController.cs │ │ │ ├── ProvidersController.cs │ │ │ ├── PullersController.cs │ │ │ ├── PushersController.cs │ │ │ └── SettingsController.cs │ │ ├── FastSQL.API.csproj │ │ ├── Migrations │ │ │ └── 1.0.0 │ │ │ │ ├── 1523441581-InitDatabase.sql │ │ │ │ ├── 1524036538-UpdateEntityAndAttributeTableProcessors.sql │ │ │ │ ├── 1524110565-AddStateColumnForEntityAndAttribute.sql │ │ │ │ └── 1524161797-AddUniqueConstraints.sql │ │ ├── Program.cs │ │ ├── Properties │ │ │ └── launchSettings.json │ │ ├── Startup.cs │ │ ├── ViewModels │ │ │ ├── CreateAttributeViewModel.cs │ │ │ ├── CreateConnectionStringModel.cs │ │ │ ├── CreateConnectionViewModel.cs │ │ │ ├── CreateEntityViewModel.cs │ │ │ ├── QueryViewModel.cs │ │ │ ├── TemplateOptionRequestViewModel.cs │ │ │ └── UpdateConnectionViewModel.cs │ │ ├── WindsorInstaller.cs │ │ └── appsettings.json │ ├── FastSQL.App │ │ ├── App.config │ │ ├── App.xaml │ │ ├── App.xaml.cs │ │ ├── Events │ │ │ ├── DataGridEventArgument.cs │ │ │ ├── ManageIndexLoadingEvent.cs │ │ │ ├── OpenIndexPreviewPageEvent.cs │ │ │ ├── OpenManageIndexPageEvent.cs │ │ │ ├── RefreshChannelListEvent.cs │ │ │ ├── RefreshConnectionListEvent.cs │ │ │ ├── RefreshIndexesListViewEvent.cs │ │ │ ├── RefreshReporterListEvent.cs │ │ │ ├── SelectChannelEvent.cs │ │ │ ├── SelectConnectionEvent.cs │ │ │ ├── SelectIndexEvent.cs │ │ │ ├── SelectReporterEvent.cs │ │ │ └── SelectSettingEvent.cs │ │ ├── Extensions │ │ │ ├── BindingProxy.cs │ │ │ └── ContextMenuServiceExtensions.cs │ │ ├── FastSQL.App.csproj │ │ ├── FastSQL.App.csproj.user │ │ ├── Interfaces │ │ │ ├── BaseCommand.cs │ │ │ └── BaseViewModel.cs │ │ ├── MainWindow.ViewModel.cs │ │ ├── MainWindow.xaml │ │ ├── MainWindow.xaml.cs │ │ ├── Managers │ │ │ ├── AttributePageManager.cs │ │ │ ├── ConnectionPageManager.cs │ │ │ ├── EntityPageManager.cs │ │ │ ├── MessageDeliveryChannelPageManager.cs │ │ │ ├── QueueManager.cs │ │ │ ├── ReporterPageManager.cs │ │ │ ├── SchedulerPageManager.cs │ │ │ ├── SettingManager.cs │ │ │ └── SettingPageManager.cs │ │ ├── Middlewares │ │ │ └── ApplicationSettings │ │ │ │ ├── ApplicationSettingMiddleware.cs │ │ │ │ ├── WApplicationSettings.ViewModel.cs │ │ │ │ ├── WApplicationSettings.xaml │ │ │ │ └── WApplicationSettings.xaml.cs │ │ ├── Migrations │ │ │ └── 1.0.0 │ │ │ │ ├── 1523441581-InitDatabase.sql │ │ │ │ ├── 1524036538-UpdateEntityAndAttributeTableProcessors.sql │ │ │ │ ├── 1524110565-AddStateColumnForEntityAndAttribute.sql │ │ │ │ ├── 1524161797-AddUniqueConstraints.sql │ │ │ │ ├── 1525009845-AddEntityDependTable.sql │ │ │ │ ├── 1525009870-AddEntityColumnTransformation.sql │ │ │ │ ├── 1525009970-AddTransformOptionRelationship.sql │ │ │ │ ├── 1525333084-AddDependencyReferenceColumns.sql │ │ │ │ ├── 1525333086-AddIndexTablesInfo.sql │ │ │ │ ├── 1525334086-AddIndexPullHistory.sql │ │ │ │ ├── 1525335086-AddIndexPullDependencies.sql │ │ │ │ ├── 1528054402-AddTableQueueItem.sql │ │ │ │ ├── 1528054404-AddTableScheduleItem.sql │ │ │ │ ├── 1528054406-AddTableMessageItems.sql │ │ │ │ ├── 1528054407-QueueItem_AddRetryCount.sql │ │ │ │ ├── 1528054409-MessageItem_LinkReporter.sql │ │ │ │ ├── 1528054410-Reporter_LinkChannel.sql │ │ │ │ ├── 1528054411-AddTableReporter.sql │ │ │ │ ├── 1528054412-AddTableMessageDeliveryChannel.sql │ │ │ │ └── 1528054413-OptionEntityIdNVarchar.sql │ │ ├── Properties │ │ │ ├── AssemblyInfo.cs │ │ │ ├── Resources.Designer.cs │ │ │ └── Resources.resx │ │ ├── UserControls │ │ │ ├── Connections │ │ │ │ ├── UCConnectionListView.ViewModel.cs │ │ │ │ ├── UCConnectionsContent.ViewModel.cs │ │ │ │ ├── UCConnectionsContent.xaml │ │ │ │ ├── UCConnectionsContent.xaml.cs │ │ │ │ ├── UCConnectionsListView.xaml │ │ │ │ └── UCConnectionsListView.xaml.cs │ │ │ ├── DataGrid │ │ │ │ ├── DataGridViewModel.cs │ │ │ │ ├── UCDataGrid.xaml │ │ │ │ └── UCDataGrid.xaml.cs │ │ │ ├── Indexes │ │ │ │ ├── UCIndexDependencies.ViewModel.cs │ │ │ │ ├── UCIndexDependencies.xaml │ │ │ │ ├── UCIndexDependencies.xaml.cs │ │ │ │ ├── UCIndexDetail.ViewModel.cs │ │ │ │ ├── UCIndexDetail.xaml │ │ │ │ ├── UCIndexDetail.xaml.cs │ │ │ │ ├── UCIndexesListView.ViewModel.cs │ │ │ │ ├── UCIndexesListView.xaml │ │ │ │ ├── UCIndexesListView.xaml.cs │ │ │ │ ├── WManageIndex.ViewModel.cs │ │ │ │ ├── WManageIndex.xaml │ │ │ │ └── WManageIndex.xaml.cs │ │ │ ├── MessageDeliveryChannels │ │ │ │ ├── UCMessageDeliveryChannelContent.ViewModel.cs │ │ │ │ ├── UCMessageDeliveryChannelContent.xaml │ │ │ │ ├── UCMessageDeliveryChannelContent.xaml.cs │ │ │ │ ├── UCMessageDeliveryChannelListView.ViewModel.cs │ │ │ │ ├── UCMessageDeliveryChannelListView.xaml │ │ │ │ └── UCMessageDeliveryChannelListView.xaml.cs │ │ │ ├── OptionItems │ │ │ │ ├── OptionItemViewModel.cs │ │ │ │ ├── UCGridOptions.ViewModel.cs │ │ │ │ ├── UCGridOptions.xaml │ │ │ │ ├── UCGridOptions.xaml.cs │ │ │ │ ├── UCOpenFileDialog.xaml │ │ │ │ ├── UCOpenFileDialog.xaml.cs │ │ │ │ ├── UCOptionItem.xaml │ │ │ │ └── UCOptionItem.xaml.cs │ │ │ ├── OutputView │ │ │ │ ├── UCOutputView.ViewModel.cs │ │ │ │ ├── UCOutputView.xaml │ │ │ │ └── UCOutputView.xaml.cs │ │ │ ├── Previews │ │ │ │ ├── PreviewDataViewModel.cs │ │ │ │ ├── WPreviewData.xaml │ │ │ │ └── WPreviewData.xaml.cs │ │ │ ├── Queues │ │ │ │ ├── UCQueueContent.ViewModel.cs │ │ │ │ ├── UCQueueContent.xaml │ │ │ │ └── UCQueueContent.xaml.cs │ │ │ ├── Reporters │ │ │ │ ├── UCReporterContent.ViewModel.cs │ │ │ │ ├── UCReporterContent.xaml │ │ │ │ ├── UCReporterContent.xaml.cs │ │ │ │ ├── UCRepoterListView.ViewModel.cs │ │ │ │ ├── UCRepoterListView.xaml │ │ │ │ └── UCRepoterListView.xaml.cs │ │ │ ├── Schedulers │ │ │ │ ├── UCSchedulerContent.ViewModel.cs │ │ │ │ ├── UCSchedulerContent.xaml │ │ │ │ └── UCSchedulerContent.xaml.cs │ │ │ ├── Settings │ │ │ │ ├── UCSettingContent.ViewModel.cs │ │ │ │ ├── UCSettingsContent.xaml │ │ │ │ ├── UCSettingsContent.xaml.cs │ │ │ │ ├── UCSettingsListView.ViewModel.cs │ │ │ │ ├── UCSettingsListView.xaml │ │ │ │ └── UCSettingsListView.xaml.cs │ │ │ └── Transformers │ │ │ │ ├── UCTransformationConfigure.ViewModel.cs │ │ │ │ ├── UCTransformationConfigure.xaml │ │ │ │ └── UCTransformationConfigure.xaml.cs │ │ ├── ViewModels │ │ │ ├── DependencyItemViewModel.cs │ │ │ └── TransformationItemViewModel.cs │ │ ├── WindsorInstaller.cs │ │ └── appsettings.json │ ├── FastSQL.Core.UI │ │ ├── Events │ │ │ ├── ActivateControlEvent.cs │ │ │ └── AddPageEvent.cs │ │ ├── FastSQL.Core.UI.csproj │ │ ├── Interfaces │ │ │ ├── IControlDefinition.cs │ │ │ └── IPageManager.cs │ │ └── Models │ │ │ ├── ItemsChangeObservableCollection.cs │ │ │ └── MenuItemDefinition.cs │ ├── FastSQL.Core │ │ ├── ApplicationResourceManager.cs │ │ ├── BaseAdapter.cs │ │ ├── BaseOptionMananger.cs │ │ ├── BaseProvider.cs │ │ ├── Events │ │ │ ├── ApplicationOutputEvent.cs │ │ │ └── IntegrationOutputEvent.cs │ │ ├── ExtensionMethods │ │ │ ├── CastleWindsorExtensions.cs │ │ │ ├── MergeExtension.cs │ │ │ └── OptionsExtensions.cs │ │ ├── FastSQL.Core.csproj │ │ ├── IApplicationResourceManager.cs │ │ ├── IOptionManager.cs │ │ ├── IRichAdapter.cs │ │ ├── IRichProvider.cs │ │ ├── Loggers │ │ │ ├── ApplicationOutputSink.cs │ │ │ ├── LoggerFactory.cs │ │ │ └── SlackErrorSink.cs │ │ ├── Middlewares │ │ │ └── IMiddleware.cs │ │ ├── OptionItem.cs │ │ ├── OptionType.cs │ │ ├── QueryResult.cs │ │ └── ResolverFactory.cs │ ├── FastSQL.Service │ │ ├── FastSQL.Service.csproj │ │ └── Program.cs │ ├── Sync │ │ ├── FastSQL.Sync.Core.Settings │ │ │ ├── AttributesSettings.cs │ │ │ ├── AttributesSettingsOptionManager.cs │ │ │ ├── EntitiesSettings.cs │ │ │ ├── EntitiesSettingsOptionManager.cs │ │ │ ├── Events │ │ │ │ └── ApplicationRestartEvent.cs │ │ │ ├── FastSQL.Sync.Core.Settings.csproj │ │ │ └── IndexDatabaseSettingProvider.cs │ │ ├── FastSQL.Sync.Core │ │ │ ├── Attributes │ │ │ │ └── EntityTypeAttribute.cs │ │ │ ├── Constants │ │ │ │ └── DataGridContstants.cs │ │ │ ├── Enums │ │ │ │ ├── EntityState.cs │ │ │ │ ├── EntityType.cs │ │ │ │ ├── IntegrationStep.cs │ │ │ │ ├── ItemState.cs │ │ │ │ ├── MessageStatus.cs │ │ │ │ ├── MessageType.cs │ │ │ │ ├── ProcessorType.cs │ │ │ │ ├── PullState.cs │ │ │ │ ├── PushState.cs │ │ │ │ └── ScheduleStatus.cs │ │ │ ├── Events │ │ │ │ └── ReportMessageEvent.cs │ │ │ ├── ExtensionMethods │ │ │ │ ├── ModelExtensions.cs │ │ │ │ └── ScrollViewerExtensions.cs │ │ │ ├── Factories │ │ │ │ └── SynchronizerFactory.cs │ │ │ ├── FastSQL.Sync.Core.csproj │ │ │ ├── Filters │ │ │ │ └── FilterArgument.cs │ │ │ ├── IProcessor.cs │ │ │ ├── ITransformer.cs │ │ │ ├── IndexExporters │ │ │ │ ├── BaseIndexExporter.cs │ │ │ │ ├── CsvIndexExporter.cs │ │ │ │ ├── IIndexExporter.cs │ │ │ │ └── MsSqlIndexExporter.cs │ │ │ ├── Indexer │ │ │ │ ├── AttributeIndexerOptionManager.cs │ │ │ │ ├── BaseAttributeIndexer.cs │ │ │ │ ├── BaseEntityIndexer.cs │ │ │ │ ├── BaseIndexer.cs │ │ │ │ ├── EntityIndexerOptionManager.cs │ │ │ │ ├── IIndexer.cs │ │ │ │ └── IndexerManager.cs │ │ │ ├── MapResult.cs │ │ │ ├── Mapper │ │ │ │ ├── BaseMapper.cs │ │ │ │ ├── EntityMapperOptionManager.cs │ │ │ │ ├── IMapper.cs │ │ │ │ └── MapperManager.cs │ │ │ ├── MessageDeliveryChannels │ │ │ │ ├── BaseMessageDeliverChannel.cs │ │ │ │ ├── IMessageDeliveryChannel.cs │ │ │ │ └── SlackChannel │ │ │ │ │ ├── SlackMessageDeliverChannel.cs │ │ │ │ │ └── SlackMessageDeliverChannelOptionManager.cs │ │ │ ├── Models │ │ │ │ ├── AttributeModel.cs │ │ │ │ ├── CSVColumnMapping.cs │ │ │ │ ├── ColumnTransformationModel.cs │ │ │ │ ├── ConnectionModel.cs │ │ │ │ ├── DependencyItemModel.cs │ │ │ │ ├── EntityModel.cs │ │ │ │ ├── IIndexModel.cs │ │ │ │ ├── IndexColumnMapping.cs │ │ │ │ ├── IndexItemModel.cs │ │ │ │ ├── MessageDeliveryChannelModel.cs │ │ │ │ ├── MessageModel.cs │ │ │ │ ├── OptionGroupModel.cs │ │ │ │ ├── OptionModel.cs │ │ │ │ ├── PullTokenModel.cs │ │ │ │ ├── QueueItemModel.cs │ │ │ │ ├── RelMessageReporterModel.cs │ │ │ │ ├── RelReporterDeliveryChannel.cs │ │ │ │ ├── ReporterColumnMapping.cs │ │ │ │ ├── ReporterModel.cs │ │ │ │ └── SchedulerOptionModel.cs │ │ │ ├── Processors │ │ │ │ ├── AttributeOptionProcessor.cs │ │ │ │ ├── AttributeProcessor.cs │ │ │ │ ├── AttributeSetProcessor.cs │ │ │ │ ├── CustomerProcessor.cs │ │ │ │ ├── EntityProcessor.cs │ │ │ │ ├── ImageAttributeProcessor.cs │ │ │ │ ├── MultipleAttributeProcessor.cs │ │ │ │ ├── OrderItemProcessor.cs │ │ │ │ ├── OrderProcessor.cs │ │ │ │ ├── ParentCategoryAttributeProcessor.cs │ │ │ │ ├── ParentCategoryProcessor.cs │ │ │ │ ├── ProductProcessor.cs │ │ │ │ ├── PromotionAttributeProcessor.cs │ │ │ │ ├── SingleAttributeProcessor.cs │ │ │ │ ├── StockAttributeProcessor.cs │ │ │ │ ├── SubCategoryAttributeProcessor.cs │ │ │ │ ├── SubCategoryProcessor.cs │ │ │ │ └── TierPriceAttributeProcessor.cs │ │ │ ├── PullResult.cs │ │ │ ├── Puller │ │ │ │ ├── BasePuller.cs │ │ │ │ └── IPuller.cs │ │ │ ├── Pusher │ │ │ │ ├── BasePusher.cs │ │ │ │ ├── IPusher.cs │ │ │ │ └── PusherManager.cs │ │ │ ├── Queuers │ │ │ │ └── QueueChangesManager.cs │ │ │ ├── Reporters │ │ │ │ ├── BaseReporter.cs │ │ │ │ ├── ErrorReporter │ │ │ │ │ ├── ErrorReporter.cs │ │ │ │ │ └── ErrorReporterOptionManager.cs │ │ │ │ ├── ExceptionReporter │ │ │ │ │ ├── ExceptionReporter.cs │ │ │ │ │ └── ExceptionReporterOptionManager.cs │ │ │ │ ├── IReporter.cs │ │ │ │ └── SuccessItemReporter │ │ │ │ │ ├── SuccessItemReporter.cs │ │ │ │ │ └── SuccessItemReporterOptionManager.cs │ │ │ ├── Repositories │ │ │ │ ├── AttributeRepository.cs │ │ │ │ ├── BaseGenericRepository.cs │ │ │ │ ├── BaseIndexRepository.cs │ │ │ │ ├── BaseRepository.cs │ │ │ │ ├── ConnectionRepository.cs │ │ │ │ ├── EntityRepository.cs │ │ │ │ ├── IndexExporterRepository.cs │ │ │ │ ├── IndexTokenRepository.cs │ │ │ │ ├── MessageDeliveryChannelRepository.cs │ │ │ │ ├── MessageRepository.cs │ │ │ │ ├── QueueItemRepository.cs │ │ │ │ ├── ReporterRepository.cs │ │ │ │ ├── RepositoryFactory.cs │ │ │ │ ├── ScheduleOptionRepository.cs │ │ │ │ └── TransformerRepository.cs │ │ │ ├── Settings │ │ │ │ ├── BaseSettingProvider.cs │ │ │ │ └── ISettingProvider.cs │ │ │ ├── Transformers │ │ │ │ ├── BaseTransformer.cs │ │ │ │ ├── StringDateTimeTransformer.cs │ │ │ │ └── StringTrimTransformer.cs │ │ │ └── Workflows │ │ │ │ ├── IConfigurableWorkflow.cs │ │ │ │ └── WorkingSchedules.cs │ │ └── FastSQL.Sync.Workflow │ │ │ ├── FastSQL.Sync.Workflow.csproj │ │ │ ├── FastSQL.Sync.Workflow.csproj.user │ │ │ ├── Models │ │ │ └── GeneralMessage.cs │ │ │ ├── Steps │ │ │ ├── BaseStepBodyInvoker.cs │ │ │ ├── DeliverMessageStep.cs │ │ │ ├── FilterRunningEntitiesStep.cs │ │ │ ├── PushItemChangedStep.cs │ │ │ ├── QueueIndexChangesStep.cs │ │ │ ├── ReportStep.cs │ │ │ ├── RequeueErrorsStep.cs │ │ │ └── UpdateIndexChangesStep.cs │ │ │ ├── SyncService.cs │ │ │ └── Workflows │ │ │ ├── BaseWorkflow.cs │ │ │ ├── DeliverMessagesWorkflow.cs │ │ │ ├── PullIndexParallelWorkflow.cs │ │ │ ├── PullIndexSequenceWorkflow.cs │ │ │ ├── PushWorkflow.cs │ │ │ ├── QueueIndexChangesWorkflow.cs │ │ │ ├── ReportWorkflow.cs │ │ │ └── RequeueErrorsWorkflow.cs │ ├── Vendors │ │ ├── Magento1 │ │ │ ├── FastSQL.Magento1.Integration │ │ │ │ ├── FastSQL.Magento1.Integration.csproj │ │ │ │ ├── Indexers │ │ │ │ │ ├── CustomerIndexer.cs │ │ │ │ │ ├── CustomerIndexerOptionManager.cs │ │ │ │ │ ├── OrderIndexer.cs │ │ │ │ │ ├── OrderIndexerOptionManager.cs │ │ │ │ │ ├── OrderItemIndexer.cs │ │ │ │ │ └── OrderItemIndexerOptionManager.cs │ │ │ │ ├── Mappers │ │ │ │ │ ├── AttributeSetMapper.cs │ │ │ │ │ ├── AttributeSetMapperOptionManager.cs │ │ │ │ │ ├── ParentCategoryMapper.cs │ │ │ │ │ ├── ParentCategoryMapperOptionManager.cs │ │ │ │ │ ├── ProductMapper.cs │ │ │ │ │ ├── ProductMapperOptionManager.cs │ │ │ │ │ ├── SubCategoryMapper.cs │ │ │ │ │ └── SubCategoryMapperOptionManager.cs │ │ │ │ ├── Pullers │ │ │ │ │ ├── CustomerPuller.cs │ │ │ │ │ ├── CustomerPullerOptionManager.cs │ │ │ │ │ ├── OrderItemPuller.cs │ │ │ │ │ ├── OrderItemPullerOptionManager.cs │ │ │ │ │ ├── OrderPuller.cs │ │ │ │ │ └── OrderPullerOptionManager.cs │ │ │ │ └── Pushers │ │ │ │ │ ├── AttributeSetPusher.cs │ │ │ │ │ ├── AttributeSetPusherOptionManager.cs │ │ │ │ │ ├── ParentCategoryPusher.cs │ │ │ │ │ ├── ParentCategoryPusherOptionManager.cs │ │ │ │ │ ├── ProductAttributeOptionPusher.cs │ │ │ │ │ ├── ProductAttributeOptionPusherOptionManager.cs │ │ │ │ │ ├── ProductPusher.cs │ │ │ │ │ ├── ProductPusherOptionManager.cs │ │ │ │ │ ├── Products │ │ │ │ │ ├── ProductImagePusher.cs │ │ │ │ │ ├── ProductImagePusherOptionManager.cs │ │ │ │ │ ├── ProductMultipleAttributePusher.cs │ │ │ │ │ ├── ProductMultipleAttributePusherOptionManager.cs │ │ │ │ │ ├── ProductParentCategoryPusher.cs │ │ │ │ │ ├── ProductParentCategoryPusherOptionManager.cs │ │ │ │ │ ├── ProductPromotionPusher.cs │ │ │ │ │ ├── ProductPromotionPusherOptionManager.cs │ │ │ │ │ ├── ProductSingleAttributePusher.cs │ │ │ │ │ ├── ProductSingleAttributePusherOptionManager.cs │ │ │ │ │ ├── ProductStockPusher.cs │ │ │ │ │ ├── ProductStockPusherOptionManager.cs │ │ │ │ │ ├── ProductSubCategoryPusher.cs │ │ │ │ │ ├── ProductSubCategoryPusherOptionManager.cs │ │ │ │ │ ├── ProductTierPricePusher.cs │ │ │ │ │ └── ProductTierPricePusherOptionManager.cs │ │ │ │ │ ├── SubCategoryPusher.cs │ │ │ │ │ └── SubCategoryPusherOptionManager.cs │ │ │ └── FastSQL.Magento1 │ │ │ │ ├── Connected Services │ │ │ │ └── Magento1Soap │ │ │ │ │ ├── FastSQL.Magento1.Magento1Soap.apiEntity.datasource │ │ │ │ │ ├── FastSQL.Magento1.Magento1Soap.associativeEntity.datasource │ │ │ │ │ ├── FastSQL.Magento1.Magento1Soap.catalogAssignedProduct.datasource │ │ │ │ │ ├── FastSQL.Magento1.Magento1Soap.catalogAttributeEntity.datasource │ │ │ │ │ ├── FastSQL.Magento1.Magento1Soap.catalogAttributeOptionEntity.datasource │ │ │ │ │ ├── FastSQL.Magento1.Magento1Soap.catalogCategoryAttributeCurrentStoreResponse.datasource │ │ │ │ │ ├── FastSQL.Magento1.Magento1Soap.catalogCategoryCurrentStoreResponse.datasource │ │ │ │ │ ├── FastSQL.Magento1.Magento1Soap.catalogCategoryEntityNoChildren.datasource │ │ │ │ │ ├── FastSQL.Magento1.Magento1Soap.catalogCategoryInfo.datasource │ │ │ │ │ ├── FastSQL.Magento1.Magento1Soap.catalogCategoryTree.datasource │ │ │ │ │ ├── FastSQL.Magento1.Magento1Soap.catalogInventoryStockItemEntity.datasource │ │ │ │ │ ├── FastSQL.Magento1.Magento1Soap.catalogProductAttributeCurrentStoreResponse.datasource │ │ │ │ │ ├── FastSQL.Magento1.Magento1Soap.catalogProductAttributeEntity.datasource │ │ │ │ │ ├── FastSQL.Magento1.Magento1Soap.catalogProductAttributeMediaCurrentStoreResponse.datasource │ │ │ │ │ ├── FastSQL.Magento1.Magento1Soap.catalogProductAttributeMediaTypeEntity.datasource │ │ │ │ │ ├── FastSQL.Magento1.Magento1Soap.catalogProductAttributeSetEntity.datasource │ │ │ │ │ ├── FastSQL.Magento1.Magento1Soap.catalogProductCurrentStoreResponse.datasource │ │ │ │ │ ├── FastSQL.Magento1.Magento1Soap.catalogProductCustomOptionInfoEntity.datasource │ │ │ │ │ ├── FastSQL.Magento1.Magento1Soap.catalogProductCustomOptionListEntity.datasource │ │ │ │ │ ├── FastSQL.Magento1.Magento1Soap.catalogProductCustomOptionTypesEntity.datasource │ │ │ │ │ ├── FastSQL.Magento1.Magento1Soap.catalogProductCustomOptionValueInfoEntity.datasource │ │ │ │ │ ├── FastSQL.Magento1.Magento1Soap.catalogProductCustomOptionValueListEntity.datasource │ │ │ │ │ ├── FastSQL.Magento1.Magento1Soap.catalogProductDownloadableLinkInfoEntity.datasource │ │ │ │ │ ├── FastSQL.Magento1.Magento1Soap.catalogProductEntity.datasource │ │ │ │ │ ├── FastSQL.Magento1.Magento1Soap.catalogProductImageEntity.datasource │ │ │ │ │ ├── FastSQL.Magento1.Magento1Soap.catalogProductLinkAttributeEntity.datasource │ │ │ │ │ ├── FastSQL.Magento1.Magento1Soap.catalogProductLinkEntity.datasource │ │ │ │ │ ├── FastSQL.Magento1.Magento1Soap.catalogProductListResponse.datasource │ │ │ │ │ ├── FastSQL.Magento1.Magento1Soap.catalogProductReturnEntity.datasource │ │ │ │ │ ├── FastSQL.Magento1.Magento1Soap.catalogProductSpecialPriceReturnEntity.datasource │ │ │ │ │ ├── FastSQL.Magento1.Magento1Soap.catalogProductTagInfoEntity.datasource │ │ │ │ │ ├── FastSQL.Magento1.Magento1Soap.catalogProductTagListEntity.datasource │ │ │ │ │ ├── FastSQL.Magento1.Magento1Soap.catalogProductTierPriceEntity.datasource │ │ │ │ │ ├── FastSQL.Magento1.Magento1Soap.catalogProductTypeEntity.datasource │ │ │ │ │ ├── FastSQL.Magento1.Magento1Soap.customerAddressEntityItem.datasource │ │ │ │ │ ├── FastSQL.Magento1.Magento1Soap.customerCustomerEntity.datasource │ │ │ │ │ ├── FastSQL.Magento1.Magento1Soap.customerGroupEntity.datasource │ │ │ │ │ ├── FastSQL.Magento1.Magento1Soap.directoryCountryEntity.datasource │ │ │ │ │ ├── FastSQL.Magento1.Magento1Soap.directoryRegionEntity.datasource │ │ │ │ │ ├── FastSQL.Magento1.Magento1Soap.existsFaltureEntity.datasource │ │ │ │ │ ├── FastSQL.Magento1.Magento1Soap.giftMessageResponse.datasource │ │ │ │ │ ├── FastSQL.Magento1.Magento1Soap.magentoInfoEntity.datasource │ │ │ │ │ ├── FastSQL.Magento1.Magento1Soap.salesOrderCreditmemoEntity.datasource │ │ │ │ │ ├── FastSQL.Magento1.Magento1Soap.salesOrderEntity.datasource │ │ │ │ │ ├── FastSQL.Magento1.Magento1Soap.salesOrderInvoiceEntity.datasource │ │ │ │ │ ├── FastSQL.Magento1.Magento1Soap.salesOrderListEntity.datasource │ │ │ │ │ ├── FastSQL.Magento1.Magento1Soap.salesOrderShipmentAddCommentResponse.datasource │ │ │ │ │ ├── FastSQL.Magento1.Magento1Soap.salesOrderShipmentEntity.datasource │ │ │ │ │ ├── FastSQL.Magento1.Magento1Soap.shoppingCartInfoEntity.datasource │ │ │ │ │ ├── FastSQL.Magento1.Magento1Soap.shoppingCartLicenseEntity.datasource │ │ │ │ │ ├── FastSQL.Magento1.Magento1Soap.shoppingCartPaymentMethodResponseEntity.datasource │ │ │ │ │ ├── FastSQL.Magento1.Magento1Soap.shoppingCartShippingMethodEntity.datasource │ │ │ │ │ ├── FastSQL.Magento1.Magento1Soap.shoppingCartTotalsEntity.datasource │ │ │ │ │ ├── FastSQL.Magento1.Magento1Soap.storeEntity.datasource │ │ │ │ │ ├── Magento.wsdl │ │ │ │ │ ├── Reference.cs │ │ │ │ │ ├── Reference.svcmap │ │ │ │ │ ├── configuration.svcinfo │ │ │ │ │ ├── configuration91.svcinfo │ │ │ │ │ └── item.xsd │ │ │ │ ├── FastAdapter.cs │ │ │ │ ├── FastProvider.cs │ │ │ │ ├── FastSQL.Magento1.csproj │ │ │ │ ├── Properties │ │ │ │ └── AssemblyInfo.cs │ │ │ │ ├── ProviderOptionManager.cs │ │ │ │ ├── SoapM1.cs │ │ │ │ ├── WindsorInstaller.cs │ │ │ │ └── app.config │ │ ├── Magento2 │ │ │ ├── FastSQL.Magento2.Integration │ │ │ │ ├── FastSQL.Magento2.Integration.csproj │ │ │ │ ├── Indexers │ │ │ │ │ ├── CustomerIndexer.cs │ │ │ │ │ ├── CustomerIndexerOptionManager.cs │ │ │ │ │ ├── OrderIndexer.cs │ │ │ │ │ ├── OrderIndexerOptionManager.cs │ │ │ │ │ ├── OrderItemIndexer.cs │ │ │ │ │ └── OrderItemIndexerOptionManager.cs │ │ │ │ ├── Mappers │ │ │ │ │ ├── AttributeSetMapper.cs │ │ │ │ │ ├── AttributeSetMapperOptionManager.cs │ │ │ │ │ ├── ParentCategoryMapper.cs │ │ │ │ │ ├── ParentCategoryMapperOptionManager.cs │ │ │ │ │ ├── ProductMapper.cs │ │ │ │ │ ├── ProductMapperOptionManager.cs │ │ │ │ │ ├── SubCategoryMapper.cs │ │ │ │ │ └── SubCategoryMapperOptionManager.cs │ │ │ │ ├── Pullers │ │ │ │ │ ├── CustomerPuller.cs │ │ │ │ │ ├── CustomerPullerOptionManager.cs │ │ │ │ │ ├── OrderItemPuller.cs │ │ │ │ │ ├── OrderItemPullerOptionManager.cs │ │ │ │ │ ├── OrderPuller.cs │ │ │ │ │ └── OrderPullerOptionManager.cs │ │ │ │ └── Pushers │ │ │ │ │ ├── AttributeSetPusher.cs │ │ │ │ │ ├── AttributeSetPusherOptionManager.cs │ │ │ │ │ ├── ParentCategoryPusher.cs │ │ │ │ │ ├── ParentCategoryPusherOptionManager.cs │ │ │ │ │ ├── ProductAttributeOptionPusher.cs │ │ │ │ │ ├── ProductAttributeOptionPusherOptionManager.cs │ │ │ │ │ ├── ProductPusher.cs │ │ │ │ │ ├── ProductPusherOptionManager.cs │ │ │ │ │ ├── Products │ │ │ │ │ ├── ProductImagePusher.cs │ │ │ │ │ ├── ProductImagePusherOptionManager.cs │ │ │ │ │ ├── ProductMultipleAttributePusher.cs │ │ │ │ │ ├── ProductMultipleAttributePusherOptionManager.cs │ │ │ │ │ ├── ProductParentCategoryPusher.cs │ │ │ │ │ ├── ProductParentCategoryPusherOptionManager.cs │ │ │ │ │ ├── ProductPromotionPusher.cs │ │ │ │ │ ├── ProductPromotionPusherOptionManager.cs │ │ │ │ │ ├── ProductSingleAttributePusher.cs │ │ │ │ │ ├── ProductSingleAttributePusherOptionManager.cs │ │ │ │ │ ├── ProductStockPusher.cs │ │ │ │ │ ├── ProductStockPusherOptionManager.cs │ │ │ │ │ ├── ProductSubCategoryPusher.cs │ │ │ │ │ ├── ProductSubCategoryPusherOptionManager.cs │ │ │ │ │ ├── ProductTierPricePusher.cs │ │ │ │ │ └── ProductTierPricePusherOptionManager.cs │ │ │ │ │ ├── SubCategoryPusher.cs │ │ │ │ │ └── SubCategoryPusherOptionManager.cs │ │ │ └── FastSQL.Magento2 │ │ │ │ ├── FastAdapter.cs │ │ │ │ ├── FastProvider.cs │ │ │ │ ├── FastSQL.Magento2.csproj │ │ │ │ ├── Magento2JsonSerializer.cs │ │ │ │ ├── Magento2RestApi.cs │ │ │ │ ├── ProviderOptionManager.cs │ │ │ │ └── WindsorInstaller.cs │ │ ├── MsAccess │ │ │ ├── FastSQL.MsAccess.Integration │ │ │ │ ├── AttributeIndexer.cs │ │ │ │ ├── AttributePuller.cs │ │ │ │ ├── AttributePullerOptionManager.cs │ │ │ │ ├── EntityIndexer.cs │ │ │ │ ├── EntityPuller.cs │ │ │ │ ├── EntityPullerOptionManager.cs │ │ │ │ └── FastSQL.MsAccess.Integration.csproj │ │ │ └── FastSQL.MsAccess │ │ │ │ ├── ConnectionStringBuilder.cs │ │ │ │ ├── FastAdapter.cs │ │ │ │ ├── FastProvider.cs │ │ │ │ ├── FastSQL.MsAccess.csproj │ │ │ │ └── ProviderOptionManager.cs │ │ ├── MsSql │ │ │ ├── FastSQL.MsSql.Integration │ │ │ │ ├── AttributeIndexer.cs │ │ │ │ ├── AttributePuller.cs │ │ │ │ ├── AttributePullerOptionManager.cs │ │ │ │ ├── EntityIndexer.cs │ │ │ │ ├── EntityPuller.cs │ │ │ │ ├── EntityPullerOptionManager.cs │ │ │ │ ├── EntityPusher.cs │ │ │ │ ├── EntityPusherOptionManager.cs │ │ │ │ └── FastSQL.MsSql.Integration.csproj │ │ │ └── FastSQL.MsSql │ │ │ │ ├── ConnectionStringBuilder.cs │ │ │ │ ├── FastAdapter.cs │ │ │ │ ├── FastProvider.cs │ │ │ │ ├── FastSQL.MsSql.csproj │ │ │ │ └── ProviderOptionManager.cs │ │ └── MySQL │ │ │ ├── FastSQL.MySQL.Integration │ │ │ ├── AttributeIndexer.cs │ │ │ ├── AttributePuller.cs │ │ │ ├── AttributePullerOptionManager.cs │ │ │ ├── EntityIndexer.cs │ │ │ ├── EntityPuller.cs │ │ │ ├── EntityPullerOptionManager.cs │ │ │ ├── EntityPusher.cs │ │ │ ├── EntityPusherOptionManager.cs │ │ │ └── FastSQL.MySQL.Integration.csproj │ │ │ └── FastSQL.MySQL │ │ │ ├── ConnectionStringBuilder.cs │ │ │ ├── FastAdapter.cs │ │ │ ├── FastProvider.cs │ │ │ ├── FastSQL.MySQL.csproj │ │ │ └── ProviderOptionManager.cs │ └── api.sln ├── index.ejs ├── main │ ├── config.json │ ├── index.dev.js │ └── index.js └── renderer │ ├── App.vue │ ├── assets │ ├── .gitkeep │ ├── logo.png │ └── styles │ │ ├── _btn.scss │ │ ├── _dropdown.scss │ │ ├── _fileUpload.scss │ │ ├── _layout.scss │ │ ├── _modal.scss │ │ ├── _nav.scss │ │ ├── _padding.scss │ │ ├── _spinner.scss │ │ ├── _textarea.scss │ │ └── main.scss │ ├── components │ ├── Attributes │ │ ├── EditAttribute.vue │ │ ├── Index.vue │ │ └── ManageAttribute.Vue │ ├── Connections │ │ ├── Index.vue │ │ └── NewConnection.vue │ ├── Controls │ │ ├── Dropdown.vue │ │ ├── DynamicOption.vue │ │ ├── Modal.vue │ │ ├── PreviewDataModal.vue │ │ └── TopNav.vue │ ├── Entities │ │ ├── EditEntity.vue │ │ ├── Index.vue │ │ └── ManageEntity.vue │ ├── Index.vue │ ├── Settings │ │ └── SettingsModal.vue │ └── _Layout.vue │ ├── main.js │ ├── router │ └── index.js │ └── store │ ├── index.js │ └── modules │ ├── Connection.js │ ├── Modal.js │ ├── Settings.js │ └── index.js ├── static └── .gitkeep ├── test ├── .eslintrc ├── e2e │ ├── index.js │ ├── specs │ │ └── Launch.spec.js │ └── utils.js └── unit │ ├── index.js │ ├── karma.conf.js │ └── specs │ └── LandingPage.spec.js ├── yarn-error.log └── yarn.lock /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "comments": false, 3 | "env": { 4 | "test": { 5 | "presets": [ 6 | ["env", { 7 | "targets": { "node": 7 } 8 | }], 9 | "stage-0" 10 | ], 11 | "plugins": ["istanbul"] 12 | }, 13 | "main": { 14 | "presets": [ 15 | ["env", { 16 | "targets": { "node": 7 } 17 | }], 18 | "stage-0" 19 | ] 20 | }, 21 | "renderer": { 22 | "presets": [ 23 | ["env", { 24 | "modules": false 25 | }], 26 | "stage-0" 27 | ] 28 | }, 29 | "web": { 30 | "presets": [ 31 | ["env", { 32 | "modules": false 33 | }], 34 | "stage-0" 35 | ] 36 | } 37 | }, 38 | "plugins": ["transform-runtime"] 39 | } 40 | -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | test/unit/coverage/** 2 | test/unit/*.js 3 | test/e2e/*.js 4 | -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | root: true, 3 | parser: 'babel-eslint', 4 | parserOptions: { 5 | sourceType: 'module' 6 | }, 7 | env: { 8 | browser: true, 9 | node: true 10 | }, 11 | extends: 'standard', 12 | globals: { 13 | __static: true 14 | }, 15 | plugins: [ 16 | 'html' 17 | ], 18 | 'rules': { 19 | // allow paren-less arrow functions 20 | 'arrow-parens': 0, 21 | // allow async-await 22 | 'generator-star-spacing': 0, 23 | // allow debugger during development 24 | 'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0, 25 | "semi": [0, "always"], 26 | "space-before-function-paren": [0, "always"], 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | dist/electron/* 3 | dist/web/* 4 | build/* 5 | !build/icons 6 | coverage 7 | node_modules/ 8 | npm-debug.log 9 | npm-debug.log.* 10 | thumbs.db 11 | !.gitkeep 12 | bin/ 13 | obj/ 14 | .vs/ 15 | appsettings.Development.json 16 | yarn-error.log 17 | src/api/published -------------------------------------------------------------------------------- /.vscode/tasks.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "0.1.0", 3 | "command": "dotnet", 4 | "isShellCommand": true, 5 | "args": [], 6 | "tasks": [ 7 | { 8 | "taskName": "build", 9 | "args": [ 10 | "${workspaceRoot}/src/api/api.csproj" 11 | ], 12 | "isBuildCommand": true, 13 | "problemMatcher": "$msCompile" 14 | } 15 | ] 16 | } -------------------------------------------------------------------------------- /appveyor.yml: -------------------------------------------------------------------------------- 1 | # Commented sections below can be used to run tests on the CI server 2 | # https://simulatedgreg.gitbooks.io/electron-vue/content/en/testing.html#on-the-subject-of-ci-testing 3 | version: 0.1.{build} 4 | 5 | branches: 6 | only: 7 | - master 8 | 9 | image: Visual Studio 2017 10 | platform: 11 | - x64 12 | 13 | cache: 14 | - node_modules 15 | - '%APPDATA%\npm-cache' 16 | - '%USERPROFILE%\.electron' 17 | - '%USERPROFILE%\AppData\Local\Yarn\cache' 18 | 19 | init: 20 | - git config --global core.autocrlf input 21 | 22 | install: 23 | - ps: Install-Product node 8 x64 24 | - choco install yarn --ignore-dependencies 25 | - git reset --hard HEAD 26 | - yarn 27 | - node --version 28 | 29 | build_script: 30 | #- yarn test 31 | - yarn build 32 | 33 | test: off 34 | -------------------------------------------------------------------------------- /build/icons/256x256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/j4zzlee/fastSQL/20694e116c8a02ca3e4938b09bd660414aba613f/build/icons/256x256.png -------------------------------------------------------------------------------- /build/icons/icon.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/j4zzlee/fastSQL/20694e116c8a02ca3e4938b09bd660414aba613f/build/icons/icon.icns -------------------------------------------------------------------------------- /build/icons/icon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/j4zzlee/fastSQL/20694e116c8a02ca3e4938b09bd660414aba613f/build/icons/icon.ico -------------------------------------------------------------------------------- /dist/electron/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/j4zzlee/fastSQL/20694e116c8a02ca3e4938b09bd660414aba613f/dist/electron/.gitkeep -------------------------------------------------------------------------------- /dist/web/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/j4zzlee/fastSQL/20694e116c8a02ca3e4938b09bd660414aba613f/dist/web/.gitkeep -------------------------------------------------------------------------------- /src/api/3rd/Castle.Windsor.InstallerPriority/Castle.Windsor.InstallerPriority.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | netstandard2.0 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /src/api/3rd/Castle.Windsor.ServiceCollection/Castle.Windsor.ServiceCollection.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | netstandard2.0 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/api/3rd/WorkflowCore.Extensions.WorkflowController/WorkflowCore.Extensions.WorkflowController.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | netstandard2.0 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /src/api/FastSQL.API/Controllers/ProcessorsController.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Sync.Core; 2 | using FastSQL.Sync.Core.Enums; 3 | using Microsoft.AspNetCore.Mvc; 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Linq; 7 | using System.Threading.Tasks; 8 | 9 | namespace FastSQL.API.Controllers 10 | { 11 | [Route("api/[controller]")] 12 | public class ProcessorsController: Controller 13 | { 14 | private readonly IEnumerable processors; 15 | 16 | public ProcessorsController(IEnumerable processors) 17 | { 18 | this.processors = processors; 19 | } 20 | 21 | [HttpGet] 22 | public IActionResult Get([FromQuery] ProcessorType type = ProcessorType.Entity) 23 | { 24 | return Ok(processors.Where(p => p.Type == type)); 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /src/api/FastSQL.API/Controllers/PushersController.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Sync.Core; 2 | using FastSQL.Sync.Core.Indexer; 3 | using FastSQL.Sync.Core.Pusher; 4 | using Microsoft.AspNetCore.Mvc; 5 | using System; 6 | using System.Collections.Generic; 7 | using System.Linq; 8 | using System.Threading.Tasks; 9 | 10 | namespace FastSQL.API.Controllers 11 | { 12 | [Route("api/[controller]")] 13 | public class PushersController 14 | { 15 | private readonly IEnumerable _pushers; 16 | private readonly IEnumerable _indexers; 17 | 18 | public PushersController(IEnumerable pushers, IEnumerable indexers) 19 | { 20 | _pushers = pushers; 21 | _indexers = indexers; 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /src/api/FastSQL.API/Migrations/1.0.0/1524110565-AddStateColumnForEntityAndAttribute.sql: -------------------------------------------------------------------------------- 1 | 2 | -- Name: AddStateColumnForEntityAndAttribute 3 | -- Date: 4/19/2018 11:02:45 AM 4 | -- Author: BaoChau 5 | ---------------------------- 6 | -- Migration up goes here. 7 | ---------------------------- 8 | ALTER TABLE core_entities ADD State INTEGER; 9 | ALTER TABLE core_attributes ADD State INTEGER; 10 | --Down-- 11 | ---------------------------- 12 | -- Migration down goes here. 13 | ---------------------------- 14 | ALTER TABLE core_entities DROP COLUMN State; 15 | ALTER TABLE core_attributes DROP COLUMN State; -------------------------------------------------------------------------------- /src/api/FastSQL.API/Migrations/1.0.0/1524161797-AddUniqueConstraints.sql: -------------------------------------------------------------------------------- 1 | 2 | -- Name: AddUniqueConstraints 3 | -- Date: 4/20/2018 1:16:37 AM 4 | -- Author: BaoChau 5 | ---------------------------- 6 | -- Migration up goes here. 7 | ---------------------------- 8 | ALTER TABLE core_connections ADD CONSTRAINT UC_connections_name UNIQUE ([Name]); 9 | ALTER TABLE core_entities ADD CONSTRAINT UC_entities_name UNIQUE ([Name]); 10 | ALTER TABLE core_attributes ADD CONSTRAINT UC_attributes_name UNIQUE ([Name]); 11 | --Down-- 12 | ---------------------------- 13 | -- Migration down goes here. 14 | ---------------------------- 15 | ALTER TABLE core_connections DROP CONSTRAINT UC_connections_name; 16 | ALTER TABLE core_entities DROP CONSTRAINT UC_entities_name; 17 | ALTER TABLE core_attributes DROP CONSTRAINT UC_attributes_name; -------------------------------------------------------------------------------- /src/api/FastSQL.API/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Diagnostics; 4 | using System.IO; 5 | using System.Linq; 6 | using System.Threading.Tasks; 7 | using Microsoft.AspNetCore; 8 | using Microsoft.AspNetCore.Hosting; 9 | using Microsoft.Extensions.Configuration; 10 | using Microsoft.Extensions.Logging; 11 | 12 | namespace FastSQL.API 13 | { 14 | public class Program 15 | { 16 | public static void Main(string[] args) 17 | { 18 | var host = WebHost.CreateDefaultBuilder(args) 19 | .UseKestrel() 20 | .UseSetting("detailedErrors", "true") 21 | .UseStartup() 22 | .UseApplicationInsights() 23 | .UseIISIntegration() 24 | .CaptureStartupErrors(true) 25 | .Build(); 26 | host.Run(); 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/api/FastSQL.API/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "iisSettings": { 3 | "windowsAuthentication": false, 4 | "anonymousAuthentication": true, 5 | "iisExpress": { 6 | "applicationUrl": "http://localhost:63922/", 7 | "sslPort": 0 8 | } 9 | }, 10 | "profiles": { 11 | "IIS Express": { 12 | "commandName": "IISExpress", 13 | "commandLineArgs": "--console", 14 | "launchBrowser": true, 15 | "launchUrl": "api/values", 16 | "environmentVariables": { 17 | "ASPNETCORE_ENVIRONMENT": "Development" 18 | } 19 | }, 20 | "FastSQL.API": { 21 | "commandName": "Project", 22 | "launchBrowser": true, 23 | "launchUrl": "api/values", 24 | "environmentVariables": { 25 | "ASPNETCORE_ENVIRONMENT": "Development" 26 | }, 27 | "applicationUrl": "http://localhost:63923/" 28 | } 29 | } 30 | } -------------------------------------------------------------------------------- /src/api/FastSQL.API/ViewModels/CreateAttributeViewModel.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Threading.Tasks; 6 | 7 | namespace FastSQL.API.ViewModels 8 | { 9 | public class CreateAttributeViewModel 10 | { 11 | public string Name { get; set; } 12 | public string Description { get; set; } 13 | public string SourceProcessorId { get; set; } 14 | public string DestinationProcessorId { get; set; } 15 | public bool Enabled { get; set; } 16 | public Guid EntityId { get; set; } 17 | public Guid SourceConnectionId { get; set; } 18 | public Guid DestinationConnectionId { get; set; } 19 | public IEnumerable Options { get; set; } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/api/FastSQL.API/ViewModels/CreateConnectionStringModel.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel.DataAnnotations; 4 | using System.Linq; 5 | using System.Threading.Tasks; 6 | 7 | namespace FastSQL.API.ViewModels 8 | { 9 | public class CreateConnectionStringModel 10 | { 11 | [Required] 12 | public string ConnectionString { get; set; } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/api/FastSQL.API/ViewModels/CreateConnectionViewModel.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.ComponentModel.DataAnnotations; 5 | using System.Linq; 6 | using System.Threading.Tasks; 7 | 8 | namespace FastSQL.API.ViewModels 9 | { 10 | public class CreateConnectionViewModel 11 | { 12 | [Required] 13 | [MaxLength(255)] 14 | public string Name { get; set; } 15 | 16 | [MaxLength(int.MaxValue)] 17 | public string Description { get; set; } 18 | 19 | [Required] 20 | [MaxLength(255)] 21 | public string ProviderId { get; set; } 22 | 23 | [Required] 24 | public IEnumerable Options { get; set; } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /src/api/FastSQL.API/ViewModels/CreateEntityViewModel.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Threading.Tasks; 6 | 7 | namespace FastSQL.API.ViewModels 8 | { 9 | public class CreateEntityViewModel 10 | { 11 | public string Name { get; set; } 12 | public string Description { get; set; } 13 | public string SourceProcessorId { get; set; } 14 | public string DestinationProcessorId { get; set; } 15 | public bool Enabled { get; set; } 16 | public Guid SourceConnectionId { get; set; } 17 | public Guid DestinationConnectionId { get; set; } 18 | public IEnumerable Options { get; set; } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /src/api/FastSQL.API/ViewModels/QueryViewModel.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Text; 5 | 6 | namespace FastSQL.API.ViewModels 7 | { 8 | public class QueryViewModel 9 | { 10 | public string RawQuery { get; set; } 11 | public List Options { get; set; } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/api/FastSQL.API/ViewModels/TemplateOptionRequestViewModel.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Threading.Tasks; 5 | 6 | namespace FastSQL.API.ViewModels 7 | { 8 | public class EntityTemplateOptionRequestViewModel 9 | { 10 | public string SourceProcessorId { get; set; } 11 | public string DestinationProcessorId { get; set; } 12 | public string SourceConnectionId { get; set; } 13 | public string DestinationConnectionId { get; set; } 14 | } 15 | 16 | public class AttributeTemplateOptionRequestViewModel 17 | { 18 | public string EntityId { get; set; } 19 | public string SourceProcessorId { get; set; } 20 | public string DestinationProcessorId { get; set; } 21 | public string SourceConnectionId { get; set; } 22 | public string DestinationConnectionId { get; set; } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /src/api/FastSQL.API/ViewModels/UpdateConnectionViewModel.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.ComponentModel.DataAnnotations; 5 | using System.Linq; 6 | using System.Threading.Tasks; 7 | 8 | namespace FastSQL.API.ViewModels 9 | { 10 | public class UpdateConnectionViewModel 11 | { 12 | [MaxLength(255)] 13 | public string Name { get; set; } 14 | 15 | [MaxLength(int.MaxValue)] 16 | public string Description { get; set; } 17 | 18 | [MaxLength(255)] 19 | public string ProviderId { get; set; } 20 | 21 | public IEnumerable Options { get; set; } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /src/api/FastSQL.API/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "ConnectionStrings": { 3 | }, 4 | "Logging": { 5 | "IncludeScopes": false, 6 | "Debug": { 7 | "LogLevel": { 8 | "Default": "Warning" 9 | } 10 | }, 11 | "Console": { 12 | "LogLevel": { 13 | "Default": "Warning" 14 | } 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/api/FastSQL.App/App.xaml: -------------------------------------------------------------------------------- 1 |  6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /src/api/FastSQL.App/Events/DataGridEventArgument.cs: -------------------------------------------------------------------------------- 1 | using Newtonsoft.Json.Linq; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace FastSQL.App.Events 9 | { 10 | public class DataGridCommandEventArgument 11 | { 12 | public string CommandName { get; set; } 13 | public IEnumerable SelectedItems { get; set; } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/api/FastSQL.App/Events/ManageIndexLoadingEvent.cs: -------------------------------------------------------------------------------- 1 | using Prism.Events; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace FastSQL.App.Events 9 | { 10 | public class ManageIndexLoadingEvent: PubSubEvent 11 | { 12 | } 13 | 14 | public class ManageIndexLoadingEventArgument 15 | { 16 | public bool Loading { get; set; } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/api/FastSQL.App/Events/OpenIndexPreviewPageEvent.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Sync.Core; 2 | using FastSQL.Sync.Core.Models; 3 | using FastSQL.Sync.Core.Puller; 4 | using Prism.Events; 5 | using System; 6 | using System.Collections.Generic; 7 | using System.Linq; 8 | using System.Text; 9 | using System.Threading.Tasks; 10 | 11 | namespace FastSQL.App.Events 12 | { 13 | public class OpenIndexPreviewPageEvent: PubSubEvent 14 | { 15 | } 16 | 17 | public class OpenIndexPreviewPageEventArgument 18 | { 19 | public IPuller Puller { get; set; } 20 | public IIndexModel IndexModel { get; set; } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /src/api/FastSQL.App/Events/OpenManageIndexPageEvent.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Sync.Core; 2 | using FastSQL.Sync.Core.Indexer; 3 | using FastSQL.Sync.Core.Mapper; 4 | using FastSQL.Sync.Core.Models; 5 | using FastSQL.Sync.Core.Puller; 6 | using FastSQL.Sync.Core.Pusher; 7 | using Prism.Events; 8 | using System; 9 | using System.Collections.Generic; 10 | using System.Linq; 11 | using System.Text; 12 | using System.Threading.Tasks; 13 | 14 | namespace FastSQL.App.Events 15 | { 16 | public class OpenManageIndexPageEvent: PubSubEvent 17 | { 18 | } 19 | 20 | public class OpenManageIndexPageEventArgument 21 | { 22 | public IIndexModel IndexModel { get; set; } 23 | public IPuller Puller { get; set; } 24 | public IIndexer Indexer { get; set; } 25 | public IPusher Pusher { get; set; } 26 | public IMapper Mapper { get; internal set; } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /src/api/FastSQL.App/Events/RefreshChannelListEvent.cs: -------------------------------------------------------------------------------- 1 | using Prism.Events; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace FastSQL.App.Events 9 | { 10 | public class RefreshChannelListEvent: PubSubEvent 11 | { 12 | } 13 | 14 | public class RefreshChannelListEventArgument 15 | { 16 | public Guid SelectedChannelId { get; set; } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/api/FastSQL.App/Events/RefreshConnectionListEvent.cs: -------------------------------------------------------------------------------- 1 | using Prism.Events; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace FastSQL.App.Events 9 | { 10 | public class RefreshConnectionListEvent: PubSubEvent 11 | { 12 | } 13 | 14 | public class RefreshConnectionListEventArgument 15 | { 16 | public string SelectedConnectionId { get; set; } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/api/FastSQL.App/Events/RefreshIndexesListViewEvent.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Sync.Core.Enums; 2 | using Prism.Events; 3 | using System; 4 | using System.Collections.Generic; 5 | using System.Linq; 6 | using System.Text; 7 | using System.Threading.Tasks; 8 | 9 | namespace FastSQL.App.Events 10 | { 11 | public class RefreshIndexesListViewEvent: PubSubEvent 12 | { 13 | } 14 | 15 | public class RefreshIndexesListViewEventArgument 16 | { 17 | public string SelectedIndexId { get; set; } 18 | public EntityType SelectedIndexType { get; set; } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /src/api/FastSQL.App/Events/RefreshReporterListEvent.cs: -------------------------------------------------------------------------------- 1 | using Prism.Events; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace FastSQL.App.Events 9 | { 10 | public class RefreshReporterListEvent : PubSubEvent 11 | { 12 | } 13 | 14 | public class RefreshReporterListEventArgument 15 | { 16 | public Guid SelectedReporterId { get; set; } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/api/FastSQL.App/Events/SelectChannelEvent.cs: -------------------------------------------------------------------------------- 1 | using Prism.Events; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace FastSQL.App.Events 9 | { 10 | public class SelectChannelEvent: PubSubEvent 11 | { 12 | } 13 | 14 | public class SelectChannelEventArgument 15 | { 16 | public Guid ChannelId { get; set; } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/api/FastSQL.App/Events/SelectConnectionEvent.cs: -------------------------------------------------------------------------------- 1 | using Prism.Events; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace FastSQL.App.Events 9 | { 10 | public class SelectConnectionEvent: PubSubEvent 11 | { 12 | } 13 | 14 | public class SelectConnectionEventArgument 15 | { 16 | public string ConnectionId { get; set; } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/api/FastSQL.App/Events/SelectIndexEvent.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Sync.Core.Enums; 2 | using FastSQL.Sync.Core.Models; 3 | using Prism.Events; 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Linq; 7 | using System.Text; 8 | using System.Threading.Tasks; 9 | 10 | namespace FastSQL.App.Events 11 | { 12 | public class SelectIndexEvent: PubSubEvent 13 | { 14 | } 15 | 16 | public class SelectIndexEventArgument 17 | { 18 | public IIndexModel IndexModel { get; set; } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /src/api/FastSQL.App/Events/SelectReporterEvent.cs: -------------------------------------------------------------------------------- 1 | using Prism.Events; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace FastSQL.App.Events 9 | { 10 | public class SelectReporterEvent: PubSubEvent 11 | { 12 | } 13 | 14 | public class SelectReporterEventArgument 15 | { 16 | public Guid ReporterId { get; set; } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/api/FastSQL.App/Events/SelectSettingEvent.cs: -------------------------------------------------------------------------------- 1 | using Prism.Events; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace FastSQL.App.Events 9 | { 10 | public class SelectSettingEvent: PubSubEvent 11 | { 12 | } 13 | 14 | public class SelectSettingEventArgument 15 | { 16 | public string SettingId { get; set; } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/api/FastSQL.App/Extensions/BindingProxy.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | using System.Windows; 7 | 8 | namespace FastSQL.App.Extensions 9 | { 10 | public class BindingProxy : Freezable 11 | { 12 | protected override Freezable CreateInstanceCore() 13 | { 14 | return new BindingProxy(); 15 | } 16 | 17 | public object Data 18 | { 19 | get 20 | { 21 | return GetValue(DataProperty); 22 | } 23 | set 24 | { 25 | SetValue(DataProperty, value); 26 | } 27 | } 28 | 29 | public static readonly DependencyProperty DataProperty = 30 | DependencyProperty.Register("Data", typeof(object), typeof(BindingProxy), new UIPropertyMetadata(null)); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/api/FastSQL.App/FastSQL.App.csproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | ShowAllFiles 5 | 6 | -------------------------------------------------------------------------------- /src/api/FastSQL.App/Middlewares/ApplicationSettings/WApplicationSettings.xaml: -------------------------------------------------------------------------------- 1 |  11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /src/api/FastSQL.App/Migrations/1.0.0/1524110565-AddStateColumnForEntityAndAttribute.sql: -------------------------------------------------------------------------------- 1 | 2 | -- Name: AddStateColumnForEntityAndAttribute 3 | -- Date: 4/19/2018 11:02:45 AM 4 | -- Author: BaoChau 5 | ---------------------------- 6 | -- Migration up goes here. 7 | ---------------------------- 8 | ALTER TABLE core_entities ADD State INTEGER; 9 | ALTER TABLE core_attributes ADD State INTEGER; 10 | --Down-- 11 | ---------------------------- 12 | -- Migration down goes here. 13 | ---------------------------- 14 | ALTER TABLE core_entities DROP COLUMN State; 15 | ALTER TABLE core_attributes DROP COLUMN State; -------------------------------------------------------------------------------- /src/api/FastSQL.App/Migrations/1.0.0/1524161797-AddUniqueConstraints.sql: -------------------------------------------------------------------------------- 1 | 2 | -- Name: AddUniqueConstraints 3 | -- Date: 4/20/2018 1:16:37 AM 4 | -- Author: BaoChau 5 | ---------------------------- 6 | -- Migration up goes here. 7 | ---------------------------- 8 | ALTER TABLE core_connections ADD CONSTRAINT UC_connections_name UNIQUE ([Name]); 9 | ALTER TABLE core_entities ADD CONSTRAINT UC_entities_name UNIQUE ([Name]); 10 | ALTER TABLE core_attributes ADD CONSTRAINT UC_attributes_name UNIQUE ([Name]); 11 | --Down-- 12 | ---------------------------- 13 | -- Migration down goes here. 14 | ---------------------------- 15 | ALTER TABLE core_connections DROP CONSTRAINT UC_connections_name; 16 | ALTER TABLE core_entities DROP CONSTRAINT UC_entities_name; 17 | ALTER TABLE core_attributes DROP CONSTRAINT UC_attributes_name; -------------------------------------------------------------------------------- /src/api/FastSQL.App/Migrations/1.0.0/1525009845-AddEntityDependTable.sql: -------------------------------------------------------------------------------- 1 | 2 | -- Name: example-095e5b71-0dbd-4290-8bf9-42aa2e3cfbe0 3 | -- Date: 4/29/2018 8:50:45 PM 4 | -- Author: BaoChau 5 | ---------------------------- 6 | -- Migration up goes here. 7 | ---------------------------- 8 | CREATE TABLE core_index_dependency ( 9 | [Id] UNIQUEIDENTIFIER PRIMARY KEY DEFAULT NEWID(), 10 | [EntityId] UNIQUEIDENTIFIER NOT NULL, 11 | [EntityType] INT NOT NULL, 12 | [TargetEntityId] UNIQUEIDENTIFIER NOT NULL, 13 | [TargetEntityType] INT NOT NULL, 14 | [DependOnStep] INT NOT NULL, 15 | [StepToExecute] INT NOT NULL, 16 | [ExecuteImmediately] BIT NOT NULL 17 | ); 18 | --Down-- 19 | ---------------------------- 20 | -- Migration down goes here. 21 | ---------------------------- 22 | DROP TABLE core_index_dependency; -------------------------------------------------------------------------------- /src/api/FastSQL.App/Migrations/1.0.0/1525009870-AddEntityColumnTransformation.sql: -------------------------------------------------------------------------------- 1 | 2 | -- Name: example-095e5b71-0dbd-4290-8bf9-42aa2e3cfbe0 3 | -- Date: 4/29/2018 8:50:45 PM 4 | -- Author: BaoChau 5 | ---------------------------- 6 | -- Migration up goes here. 7 | ---------------------------- 8 | CREATE TABLE core_index_column_transformation ( 9 | [Id] UNIQUEIDENTIFIER PRIMARY KEY DEFAULT NEWID(), 10 | [EntityId] UNIQUEIDENTIFIER NOT NULL, 11 | [EntityType] INT NOT NULL, 12 | [ColumnName] NVARCHAR(255) NOT NULL, 13 | [SourceTransformationId] NVARCHAR(255) NOT NULL, 14 | [DestinationTransformationId] NVARCHAR(255) NOT NULL, 15 | [SourceTransformationFormat] NVARCHAR(255) NULL, 16 | [DestinationTransformationFormat] NVARCHAR(255) NULL 17 | ); 18 | --Down-- 19 | ---------------------------- 20 | -- Migration down goes here. 21 | ---------------------------- 22 | DROP TABLE core_index_column_transformation; -------------------------------------------------------------------------------- /src/api/FastSQL.App/Migrations/1.0.0/1525333084-AddDependencyReferenceColumns.sql: -------------------------------------------------------------------------------- 1 | 2 | -- Name: example-79d2f83b-852e-4aed-951c-f82c30dea3c5 3 | -- Date: 5/3/2018 2:38:04 PM 4 | -- Author: BaoChau 5 | ---------------------------- 6 | -- Migration up goes here. 7 | ---------------------------- 8 | ALTER TABLE [core_index_dependency] ADD [ForeignKeys] NVARCHAR(255); 9 | ALTER TABLE [core_index_dependency] ADD [ReferenceKeys] NVARCHAR(255); 10 | --Down-- 11 | ---------------------------- 12 | -- Migration down goes here. 13 | ---------------------------- 14 | ALTER TABLE [core_index_dependency] DROP COLUMN [ForeignKeys]; 15 | ALTER TABLE [core_index_dependency] DROP COLUMN [ReferenceKeys]; 16 | -------------------------------------------------------------------------------- /src/api/FastSQL.App/Migrations/1.0.0/1528054402-AddTableQueueItem.sql: -------------------------------------------------------------------------------- 1 | 2 | -- Name: example-299566a6-7b90-465a-a1ab-de2b1ddd7ee8 3 | -- Date: 6/4/2018 2:33:22 AM 4 | -- Author: BaoChau 5 | ---------------------------- 6 | -- Migration up goes here. 7 | ---------------------------- 8 | CREATE TABLE core_queue_items ( 9 | [Id] UNIQUEIDENTIFIER PRIMARY KEY DEFAULT NEWID(), 10 | [TargetEntityId] UNIQUEIDENTIFIER NOT NULL, 11 | [TargetEntityType] INT NOT NULL, 12 | [TargetItemId] NVARCHAR(4000) NOT NULL, 13 | [Status] INT NOT NULL, 14 | [MessageId] UNIQUEIDENTIFIER NULL, 15 | [CreatedAt] INT NOT NULL, 16 | [UpdatedAt] INT NOT NULL, 17 | [ExecuteAt] INT NULL, 18 | [ExecutedAt] INT NULL 19 | ); 20 | --Down-- 21 | ---------------------------- 22 | -- Migration down goes here. 23 | ---------------------------- 24 | DROP TABLE core_queue_items; 25 | -------------------------------------------------------------------------------- /src/api/FastSQL.App/Migrations/1.0.0/1528054404-AddTableScheduleItem.sql: -------------------------------------------------------------------------------- 1 | 2 | -- Name: example-ae089fb0-e38e-46ba-b6ea-4c95b2f8b4d3 3 | -- Date: 6/4/2018 2:33:24 AM 4 | -- Author: BaoChau 5 | ---------------------------- 6 | -- Migration up goes here. 7 | ---------------------------- 8 | CREATE TABLE core_schedule_options ( 9 | [Id] UNIQUEIDENTIFIER PRIMARY KEY DEFAULT NEWID(), 10 | [TargetEntityId] UNIQUEIDENTIFIER NOT NULL, 11 | [TargetEntityType] INT NOT NULL, 12 | [WorkflowId] NVARCHAR(255) NOT NULL, 13 | [Interval] INT NOT NULL, 14 | [Priority] INT NOT NULL, 15 | [Status] INT NOT NULL 16 | ); 17 | --Down-- 18 | ---------------------------- 19 | -- Migration down goes here. 20 | ---------------------------- 21 | DROP TABLE core_schedule_options; 22 | -------------------------------------------------------------------------------- /src/api/FastSQL.App/Migrations/1.0.0/1528054406-AddTableMessageItems.sql: -------------------------------------------------------------------------------- 1 | 2 | -- Name: example-9b6feb45-2cf0-4505-862b-6adc86111bc1 3 | -- Date: 6/4/2018 2:33:26 AM 4 | -- Author: BaoChau 5 | ---------------------------- 6 | -- Migration up goes here. 7 | ---------------------------- 8 | CREATE TABLE core_messages ( 9 | [Id] UNIQUEIDENTIFIER PRIMARY KEY DEFAULT NEWID(), 10 | [Message] TEXT NOT NULL, 11 | [CreatedAt] INT NOT NULL, 12 | [MessageType] INT NOT NULL 13 | ); 14 | 15 | CREATE TABLE core_messages_channels ( 16 | [Id] UNIQUEIDENTIFIER PRIMARY KEY DEFAULT NEWID(), 17 | [MessageId] UNIQUEIDENTIFIER, 18 | [Channel] TEXT NOT NULL, 19 | [Status] INT NOT NULL, 20 | [CreatedAt] INT NOT NULL, 21 | [DeliverAt] INT NOT NULL 22 | ); 23 | --Down-- 24 | ---------------------------- 25 | -- Migration down goes here. 26 | ---------------------------- 27 | DROP TABLE core_message_items; 28 | DROP TABLE core_messages_channels; 29 | -------------------------------------------------------------------------------- /src/api/FastSQL.App/Migrations/1.0.0/1528054407-QueueItem_AddRetryCount.sql: -------------------------------------------------------------------------------- 1 | 2 | -- Name: example-9b6feb45-2cf0-4505-862b-6adc86111bc1 3 | -- Date: 6/4/2018 2:33:26 AM 4 | -- Author: BaoChau 5 | ---------------------------- 6 | -- Migration up goes here. 7 | ---------------------------- 8 | ALTER TABLE core_queue_items ADD [RetryCount] INT NOT NULL; 9 | --Down-- 10 | ---------------------------- 11 | -- Migration down goes here. 12 | ---------------------------- 13 | ALTER TABLE core_queue_items DROP COLUMN [RetryCount] 14 | -------------------------------------------------------------------------------- /src/api/FastSQL.App/Migrations/1.0.0/1528054410-Reporter_LinkChannel.sql: -------------------------------------------------------------------------------- 1 | 2 | -- Name: example-9b6feb45-2cf0-4505-862b-6adc86111bc1 3 | -- Date: 6/4/2018 2:33:26 AM 4 | -- Author: BaoChau 5 | ---------------------------- 6 | -- Migration up goes here. 7 | ---------------------------- 8 | CREATE TABLE core_rel_reporters_delivery_channels ( 9 | [Id] UNIQUEIDENTIFIER PRIMARY KEY DEFAULT NEWID(), 10 | [DeliveryChannelId] UNIQUEIDENTIFIER NOT NULL, 11 | [ReporterId] UNIQUEIDENTIFIER NOT NULL, 12 | [CreatedAt] INT NOT NULL 13 | ); 14 | --Down-- 15 | ---------------------------- 16 | -- Migration down goes here. 17 | ---------------------------- 18 | DROP TABLE core_rel_reporters_delivery_channels; -------------------------------------------------------------------------------- /src/api/FastSQL.App/Migrations/1.0.0/1528054411-AddTableReporter.sql: -------------------------------------------------------------------------------- 1 | 2 | -- Name: example-9b6feb45-2cf0-4505-862b-6adc86111bc1 3 | -- Date: 6/4/2018 2:33:26 AM 4 | -- Author: BaoChau 5 | ---------------------------- 6 | -- Migration up goes here. 7 | ---------------------------- 8 | CREATE TABLE core_reporters ( 9 | [Id] UNIQUEIDENTIFIER PRIMARY KEY DEFAULT NEWID(), 10 | [ReporterId] NVARCHAR(255) NOT NULL, 11 | [Name] NVARCHAR(255) NOT NULL, 12 | [Description] NVARCHAR(4000), 13 | [CreatedAt] INT NOT NULL 14 | ); 15 | --Down-- 16 | ---------------------------- 17 | -- Migration down goes here. 18 | ---------------------------- 19 | DROP TABLE core_reporters; 20 | -------------------------------------------------------------------------------- /src/api/FastSQL.App/Migrations/1.0.0/1528054412-AddTableMessageDeliveryChannel.sql: -------------------------------------------------------------------------------- 1 | 2 | -- Name: example-9b6feb45-2cf0-4505-862b-6adc86111bc1 3 | -- Date: 6/4/2018 2:33:26 AM 4 | -- Author: BaoChau 5 | ---------------------------- 6 | -- Migration up goes here. 7 | ---------------------------- 8 | CREATE TABLE core_message_delivery_channels ( 9 | [Id] UNIQUEIDENTIFIER PRIMARY KEY DEFAULT NEWID(), 10 | [ChannelId] NVARCHAR(255) NOT NULL, 11 | [Name] NVARCHAR(255) NOT NULL, 12 | [Description] NVARCHAR(4000), 13 | [CreatedAt] INT NOT NULL 14 | ); 15 | --Down-- 16 | ---------------------------- 17 | -- Migration down goes here. 18 | ---------------------------- 19 | DROP TABLE core_message_delivery_channels; 20 | -------------------------------------------------------------------------------- /src/api/FastSQL.App/Migrations/1.0.0/1528054413-OptionEntityIdNVarchar.sql: -------------------------------------------------------------------------------- 1 | 2 | -- Name: example-9b6feb45-2cf0-4505-862b-6adc86111bc1 3 | -- Date: 6/4/2018 2:33:26 AM 4 | -- Author: BaoChau 5 | ---------------------------- 6 | -- Migration up goes here. 7 | ---------------------------- 8 | ALTER TABLE core_options ALTER COLUMN [EntityId] NVARCHAR(255) NOT NULL; 9 | --Down-- 10 | ---------------------------- 11 | -- Migration down goes here. 12 | ---------------------------- 13 | ALTER TABLE core_options ALTER COLUMN [EntityId] UNIQUEIDENTIFIER NOT NULL; 14 | -------------------------------------------------------------------------------- /src/api/FastSQL.App/UserControls/Previews/WPreviewData.xaml: -------------------------------------------------------------------------------- 1 |  11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /src/api/FastSQL.App/UserControls/Transformers/UCTransformationConfigure.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | using System.Windows; 7 | using System.Windows.Controls; 8 | using System.Windows.Data; 9 | using System.Windows.Documents; 10 | using System.Windows.Input; 11 | using System.Windows.Media; 12 | using System.Windows.Media.Imaging; 13 | using System.Windows.Navigation; 14 | using System.Windows.Shapes; 15 | 16 | namespace FastSQL.App.UserControls.Transformers 17 | { 18 | /// 19 | /// Interaction logic for UCTransformationConfigure.xaml 20 | /// 21 | public partial class UCTransformationConfigure : UserControl 22 | { 23 | public UCTransformationConfigure() 24 | { 25 | InitializeComponent(); 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /src/api/FastSQL.App/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "ConnectionStrings": {} 3 | } -------------------------------------------------------------------------------- /src/api/FastSQL.Core.UI/Events/ActivateControlEvent.cs: -------------------------------------------------------------------------------- 1 | using Prism.Events; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Text; 5 | 6 | namespace FastSQL.Core.UI.Events 7 | { 8 | public class ActivateControlEvent: PubSubEvent 9 | { 10 | } 11 | 12 | public class ActivateControlEventArgument 13 | { 14 | public string ControlId { get; set; } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/api/FastSQL.Core.UI/Events/AddPageEvent.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core.UI.Interfaces; 2 | using Prism.Events; 3 | using System; 4 | using System.Collections.Generic; 5 | using System.Linq; 6 | using System.Text; 7 | using System.Threading.Tasks; 8 | 9 | namespace FastSQL.Core.UI.Events 10 | { 11 | public class AddPageEvent: PubSubEvent 12 | { 13 | } 14 | 15 | public class AddPageEventArgument 16 | { 17 | public IControlDefinition PageDefinition { get; set; } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/api/FastSQL.Core.UI/FastSQL.Core.UI.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | netstandard2.0 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /src/api/FastSQL.Core.UI/Interfaces/IControlDefinition.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace FastSQL.Core.UI.Interfaces 6 | { 7 | public interface IControlDefinition 8 | { 9 | string Id { get; set; } 10 | string ControlName { get; set; } 11 | string ControlHeader { get; set; } 12 | string Description { get; set; } 13 | string ActivatedById { get; set; } 14 | int DefaultState { get; } 15 | object Control { get; } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/api/FastSQL.Core.UI/Interfaces/IPageManager.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace FastSQL.Core.UI.Interfaces 8 | { 9 | public interface IPageManager 10 | { 11 | string Id { get; } 12 | string Name { get; } 13 | string Description { get; } 14 | IPageManager Apply(); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/api/FastSQL.Core.UI/Models/MenuItemDefinition.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Collections.ObjectModel; 4 | using System.Text; 5 | 6 | namespace FastSQL.Core.UI.Models 7 | { 8 | public class MenuItemDefinition 9 | { 10 | public string Name { get; set; } 11 | public string CommandName { get; set; } 12 | public ObservableCollection Children { get; set; } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/api/FastSQL.Core/Events/ApplicationOutputEvent.cs: -------------------------------------------------------------------------------- 1 | using Prism.Events; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Text; 5 | 6 | namespace FastSQL.Core.Events 7 | { 8 | public class ApplicationOutputEvent: PubSubEvent 9 | { 10 | } 11 | 12 | public class ApplicationOutputEventArgument 13 | { 14 | //public string Owner { get; set; } 15 | public string Channel { get; set; } 16 | public string Message { get; set; } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/api/FastSQL.Core/Events/IntegrationOutputEvent.cs: -------------------------------------------------------------------------------- 1 | using Prism.Events; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Text; 5 | 6 | namespace FastSQL.Core.Events 7 | { 8 | public class IntegrationOutputEvent: PubSubEvent 9 | { 10 | } 11 | 12 | public class IntegrationOutputEventArgument 13 | { 14 | public string Channel { get; set; } 15 | public string Message { get; set; } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/api/FastSQL.Core/ExtensionMethods/CastleWindsorExtensions.cs: -------------------------------------------------------------------------------- 1 | using Castle.MicroKernel.Registration; 2 | using Castle.MicroKernel.Resolvers.SpecializedResolvers; 3 | using Castle.Windsor; 4 | using Castle.Windsor.Installer; 5 | using Castle.Windsor.InstallerPriority; 6 | using System; 7 | 8 | namespace FastSQL.Core.ExtensionMethods 9 | { 10 | public static class CastleWindsorExtensions 11 | { 12 | public static void RegisterAll(this IWindsorContainer container) 13 | { 14 | container.Kernel.Resolver.AddSubResolver(new CollectionResolver(container.Kernel, true)); 15 | container.Register(Component.For().UsingFactoryMethod(() => container).LifestyleSingleton()); 16 | container.Install(FromAssembly.InDirectory(new AssemblyFilter(AppDomain.CurrentDomain.BaseDirectory), new WindsorPriorityBootstrap())); 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/api/FastSQL.Core/ExtensionMethods/MergeExtension.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Linq; 3 | 4 | namespace FastSQL.Core.ExtensionMethods 5 | { 6 | public static class MergeExtension 7 | { 8 | public static T Merge(this T target, T source) 9 | { 10 | Type t = typeof(T); 11 | 12 | var properties = t.GetProperties().Where(prop => prop.CanRead && prop.CanWrite); 13 | 14 | foreach (var prop in properties) 15 | { 16 | var value = prop.GetValue(source, null); 17 | if (value != null) 18 | prop.SetValue(target, value, null); 19 | } 20 | return target; 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /src/api/FastSQL.Core/IApplicationResourceManager.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace FastSQL.Core 6 | { 7 | public interface IApplicationManager 8 | { 9 | string ApplicationName { get; } 10 | string BasePath { get; } 11 | string SettingFile { get; } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/api/FastSQL.Core/IOptionManager.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | 4 | namespace FastSQL.Core 5 | { 6 | public interface IOptionManager: IDisposable 7 | { 8 | IOptionManager SetOptions(IEnumerable options); 9 | IEnumerable Options { get; } 10 | IEnumerable GetOptionsTemplate(); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /src/api/FastSQL.Core/IRichAdapter.cs: -------------------------------------------------------------------------------- 1 | using Newtonsoft.Json.Linq; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Data; 5 | using System.Text; 6 | 7 | namespace FastSQL.Core 8 | { 9 | public interface ISqlAdapter: IRichAdapter 10 | { 11 | IEnumerable Query(string raw, object @params = null); 12 | int Execute(string raw, object @params = null); 13 | 14 | IEnumerable GetTables(); 15 | IEnumerable GetViews(); 16 | } 17 | public interface IRichAdapter: IOptionManager 18 | { 19 | IRichProvider GetProvider(); 20 | bool IsProvider(string providerId); 21 | bool IsProvider(IRichProvider provider); 22 | bool TryConnect(out string message); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /src/api/FastSQL.Core/IRichProvider.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | 4 | namespace FastSQL.Core 5 | { 6 | public interface IRichProvider: IOptionManager 7 | { 8 | string Id { get; } 9 | string Name { get; } 10 | string DisplayName { get; } 11 | string Description { get; } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/api/FastSQL.Core/Middlewares/IMiddleware.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | using System.Threading.Tasks; 5 | 6 | namespace FastSQL.Core.Middlewares 7 | { 8 | public interface IMiddleware: IDisposable 9 | { 10 | int Priority { get; } 11 | Task Apply(); 12 | string Message { get; set; } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/api/FastSQL.Core/OptionType.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace FastSQL.Core 6 | { 7 | public enum OptionType 8 | { 9 | Text, 10 | TextArea, 11 | Sql, 12 | Password, 13 | Boolean, 14 | File, 15 | List, 16 | Grid 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/api/FastSQL.Core/QueryResult.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace FastSQL.Core 6 | { 7 | public class QueryResult 8 | { 9 | public string Id { get; set; } 10 | public int RecordsAffected { get; set; } 11 | public IEnumerable Rows { get; set; } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/api/Sync/FastSQL.Sync.Core.Settings/AttributesSettingsOptionManager.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Text; 5 | 6 | namespace FastSQL.Sync.Core.Settings 7 | { 8 | public class AttributesSettingsOptionManager : BaseOptionManager 9 | { 10 | public override IEnumerable GetOptionsTemplate() 11 | { 12 | return new List(); 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/api/Sync/FastSQL.Sync.Core.Settings/EntitiesSettingsOptionManager.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Text; 5 | 6 | namespace FastSQL.Sync.Core.Settings 7 | { 8 | public class EntitiesSettingsOptionManager : BaseOptionManager 9 | { 10 | public override void Dispose() 11 | { 12 | 13 | } 14 | public override IEnumerable GetOptionsTemplate() 15 | { 16 | return new List(); 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/api/Sync/FastSQL.Sync.Core.Settings/Events/ApplicationRestartEvent.cs: -------------------------------------------------------------------------------- 1 | using Prism.Events; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Text; 5 | 6 | namespace FastSQL.Sync.Core.Settings.Events 7 | { 8 | public class ApplicationRestartEvent: PubSubEvent 9 | { 10 | } 11 | 12 | public class ApplicationRestartEventArgument 13 | { 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/api/Sync/FastSQL.Sync.Core/Attributes/EntityTypeAttribute.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Sync.Core.Enums; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Text; 5 | 6 | namespace FastSQL.Sync.Core.Attributes 7 | { 8 | public class EntityTypeAttribute: Attribute 9 | { 10 | public readonly EntityType EntityType; 11 | 12 | public EntityTypeAttribute(EntityType type) 13 | { 14 | EntityType = type; 15 | } 16 | 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/api/Sync/FastSQL.Sync.Core/Constants/DataGridContstants.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace FastSQL.Sync.Core.Constants 6 | { 7 | public class DataGridContstants 8 | { 9 | public const int PageLimit = 1000; 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /src/api/Sync/FastSQL.Sync.Core/Enums/EntityState.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace FastSQL.Sync.Core.Enums 6 | { 7 | [Flags] 8 | public enum EntityState 9 | { 10 | None = 0, 11 | Disabled = 1 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/api/Sync/FastSQL.Sync.Core/Enums/EntityType.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace FastSQL.Sync.Core.Enums 6 | { 7 | [Flags] 8 | public enum EntityType 9 | { 10 | Connection = 1, 11 | Entity = 2, 12 | Attribute = 4, 13 | Transformation = 8, 14 | Exporter = 16, 15 | PullResult = 32, 16 | PullDependencies = 64, 17 | ScheduleOption = 128, 18 | QueueItem = 256, 19 | Message = 512, 20 | MessageDeliveryChannelModel = 1024, 21 | Reporter = 2048 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /src/api/Sync/FastSQL.Sync.Core/Enums/IntegrationStep.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace FastSQL.Sync.Core.Enums 6 | { 7 | [Flags] 8 | public enum IntegrationStep 9 | { 10 | None = 0, 11 | Pulling = 1, 12 | Pulled = 2, 13 | Indexing = 4, 14 | Indexed = 8, 15 | Queuing = 16, 16 | Queued = 32, 17 | Pushing = 64, 18 | Pushed = 128 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /src/api/Sync/FastSQL.Sync.Core/Enums/ItemState.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace FastSQL.Sync.Core.Enums 6 | { 7 | [Flags] 8 | public enum ItemState 9 | { 10 | None = 0, 11 | Removed = 1, 12 | Changed = 2, 13 | Processed = 4, 14 | Invalid = 8, 15 | RelatedItemNotFound = 16, 16 | RelatedItemNotSynced = 32 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/api/Sync/FastSQL.Sync.Core/Enums/MessageStatus.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace FastSQL.Sync.Core.Enums 6 | { 7 | public enum MessageStatus 8 | { 9 | None = 0, 10 | Delievered = 1 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /src/api/Sync/FastSQL.Sync.Core/Enums/MessageType.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace FastSQL.Sync.Core.Enums 6 | { 7 | [Flags] 8 | public enum MessageType 9 | { 10 | None = 0, 11 | Information = 1, 12 | Error = 2, 13 | Report = 4, 14 | Exception = 8 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/api/Sync/FastSQL.Sync.Core/Enums/ProcessorType.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace FastSQL.Sync.Core.Enums 6 | { 7 | [Flags] 8 | public enum ProcessorType 9 | { 10 | None = 0, 11 | Entity = 1, 12 | Attribute = 2 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/api/Sync/FastSQL.Sync.Core/Enums/PullState.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace FastSQL.Sync.Core.Enums 6 | { 7 | [Flags] 8 | public enum PullState 9 | { 10 | None = 0, 11 | HasData = 1, 12 | Invalid = 2 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/api/Sync/FastSQL.Sync.Core/Enums/PushState.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace FastSQL.Sync.Core.Enums 6 | { 7 | [Flags] 8 | public enum PushState 9 | { 10 | None = 0, 11 | Ignore = 1, 12 | Reported = 2, 13 | Success = 4, 14 | Failed = 8, 15 | ValidationFailed = 16, 16 | RelatedItemNotFound = 32, 17 | RelatedItemNotSync = 64, 18 | UnexpectedError = 128 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /src/api/Sync/FastSQL.Sync.Core/Enums/ScheduleStatus.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace FastSQL.Sync.Core.Enums 6 | { 7 | [Flags] 8 | public enum ScheduleStatus 9 | { 10 | None = 0, 11 | Enabled = 1, 12 | RunsInParallel = 2 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/api/Sync/FastSQL.Sync.Core/Events/ReportMessageEvent.cs: -------------------------------------------------------------------------------- 1 | using Prism.Events; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Text; 5 | 6 | namespace FastSQL.Sync.Core.Events 7 | { 8 | public class ReportMessageEvent: PubSubEvent 9 | { 10 | } 11 | 12 | public class ReportMessageEventArgument 13 | { 14 | public string Message { get; set; } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/api/Sync/FastSQL.Sync.Core/IProcessor.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Sync.Core.Enums; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Text; 5 | 6 | namespace FastSQL.Sync.Core 7 | { 8 | public interface IProcessor 9 | { 10 | string Id { get; } 11 | string Name { get; } 12 | string Description { get; } 13 | ProcessorType Type { get; } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/api/Sync/FastSQL.Sync.Core/ITransformer.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Text; 5 | 6 | namespace FastSQL.Sync.Core 7 | { 8 | public interface ITransformer 9 | { 10 | string Id { get; } 11 | string Name { get; } 12 | string Description { get; } 13 | ITransformer SetOptions(IEnumerable options); 14 | IEnumerable Options { get; } 15 | IEnumerable GetOptionsTemplate(); 16 | 17 | object Transform(object value); 18 | T Transaform(object value); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /src/api/Sync/FastSQL.Sync.Core/IndexExporters/IIndexExporter.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using FastSQL.Sync.Core.Enums; 3 | using System; 4 | using System.Collections.Generic; 5 | using System.Text; 6 | 7 | namespace FastSQL.Sync.Core.IndexExporters 8 | { 9 | public interface IIndexExporter 10 | { 11 | string Id { get; } 12 | string Name { get; } 13 | IIndexExporter LoadOptions(); 14 | IIndexExporter SetOptions(IEnumerable options); 15 | IIndexExporter Save(); 16 | IEnumerable Options { get; } 17 | IEnumerable GetOptionsTemplate(); 18 | IIndexExporter SetIndex(string id, EntityType entityType); 19 | bool Export(out string message); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/api/Sync/FastSQL.Sync.Core/MapResult.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Sync.Core.Enums; 2 | using System.Collections.Generic; 3 | 4 | namespace FastSQL.Sync.Core 5 | { 6 | public class MapResult 7 | { 8 | public bool IsValid { get; set; } 9 | public object LastToken { get; set; } 10 | public IEnumerable Data { get; set; } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /src/api/Sync/FastSQL.Sync.Core/Mapper/IMapper.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using FastSQL.Sync.Core.Models; 3 | using System; 4 | using System.Collections.Generic; 5 | 6 | namespace FastSQL.Sync.Core.Mapper 7 | { 8 | public interface IMapper : IOptionManager, IDisposable 9 | { 10 | IMapper SetIndex(IIndexModel model); 11 | IMapper OnReport(Action reporter); 12 | IMapper Report(string message); 13 | MapResult Pull(object lastToken = null); 14 | IMapper Map(IEnumerable data); 15 | bool IsImplemented(string processorId, string providerId); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/api/Sync/FastSQL.Sync.Core/MessageDeliveryChannels/IMessageDeliveryChannel.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using FastSQL.Sync.Core.Enums; 3 | using System; 4 | using System.Collections.Generic; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace FastSQL.Sync.Core.MessageDeliveryChannels 9 | { 10 | public interface IMessageDeliveryChannel: IOptionManager 11 | { 12 | string Id { get; } 13 | string Name { get; } 14 | IMessageDeliveryChannel OnReport(Action reporter); 15 | Task DeliverMessage(string message, MessageType messageType); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/api/Sync/FastSQL.Sync.Core/Models/ColumnTransformationModel.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Sync.Core.Attributes; 2 | using FastSQL.Sync.Core.Enums; 3 | using System; 4 | using System.Collections.Generic; 5 | using System.ComponentModel.DataAnnotations; 6 | using System.ComponentModel.DataAnnotations.Schema; 7 | using System.Text; 8 | 9 | namespace FastSQL.Sync.Core.Models 10 | { 11 | [Table("core_index_column_transformation")] 12 | [EntityType(EntityType.Attribute)] 13 | public class ColumnTransformationModel 14 | { 15 | [Key] 16 | public Guid Id { get; set; } 17 | public Guid TargetEntityId { get; set; } 18 | public EntityType TargetEntityType { get; set; } 19 | public string ColumnName { get; set; } 20 | public string TransformerId { get; set; } 21 | 22 | [NotMapped] 23 | public EntityType EntityType => EntityType.Transformation; 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /src/api/Sync/FastSQL.Sync.Core/Models/ConnectionModel.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Sync.Core.Attributes; 2 | using FastSQL.Sync.Core.Enums; 3 | using System; 4 | using System.ComponentModel.DataAnnotations; 5 | using System.ComponentModel.DataAnnotations.Schema; 6 | 7 | namespace FastSQL.Sync.Core.Models 8 | { 9 | [Table("core_connections")] 10 | [EntityType(EntityType.Connection)] 11 | public class ConnectionModel 12 | { 13 | [Key] 14 | public Guid Id { get; set; } 15 | 16 | [MaxLength(255)] 17 | public string Name { get; set; } 18 | 19 | [MaxLength(int.MaxValue)] 20 | public string Description { get; set; } 21 | 22 | [MaxLength(255)] 23 | public string ProviderId { get; set; } 24 | 25 | [NotMapped] 26 | public EntityType EntityType => EntityType.Connection; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /src/api/Sync/FastSQL.Sync.Core/Models/MessageDeliveryChannelModel.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Sync.Core.Attributes; 2 | using FastSQL.Sync.Core.Enums; 3 | using System; 4 | using System.Collections.Generic; 5 | using System.ComponentModel.DataAnnotations; 6 | using System.ComponentModel.DataAnnotations.Schema; 7 | using System.Text; 8 | 9 | namespace FastSQL.Sync.Core.Models 10 | { 11 | [Table("core_message_delivery_channels")] 12 | [EntityType(EntityType.MessageDeliveryChannelModel)] 13 | public class MessageDeliveryChannelModel 14 | { 15 | [Key] 16 | public Guid Id { get; set; } 17 | public string ChannelId { get; set; } 18 | public string Name { get; set; } 19 | public string Description { get; set; } 20 | public long CreatedAt { get; set; } 21 | 22 | [NotMapped] 23 | public EntityType EntityType => EntityType.MessageDeliveryChannelModel; 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /src/api/Sync/FastSQL.Sync.Core/Models/MessageModel.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Sync.Core.Attributes; 2 | using FastSQL.Sync.Core.Enums; 3 | using System; 4 | using System.ComponentModel.DataAnnotations; 5 | using System.ComponentModel.DataAnnotations.Schema; 6 | 7 | namespace FastSQL.Sync.Core.Models 8 | { 9 | [Table("core_messages")] 10 | [EntityType(EntityType.Message)] 11 | public class MessageModel 12 | { 13 | [Key] 14 | public Guid Id { get; set; } 15 | public string Message { get; set; } 16 | public long CreatedAt { get; set; } 17 | public long DeliverAt { get; set; } 18 | public MessageType MessageType { get; set; } 19 | public MessageStatus Status { get; set; } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/api/Sync/FastSQL.Sync.Core/Models/OptionGroupModel.cs: -------------------------------------------------------------------------------- 1 | using System.ComponentModel.DataAnnotations; 2 | using System.ComponentModel.DataAnnotations.Schema; 3 | 4 | namespace FastSQL.Sync.Core.Models 5 | { 6 | [Table("core_option_groups")] 7 | public class OptionGroupModel 8 | { 9 | [Key] 10 | public string Name { get; set; } 11 | public string DisplayName { get; set; } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/api/Sync/FastSQL.Sync.Core/Models/OptionModel.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Sync.Core.Enums; 2 | using System; 3 | using System.ComponentModel.DataAnnotations; 4 | using System.ComponentModel.DataAnnotations.Schema; 5 | 6 | namespace FastSQL.Sync.Core.Models 7 | { 8 | [Table("core_options")] 9 | public class OptionModel 10 | { 11 | [Key] 12 | public Guid Id { get; set; } 13 | 14 | public string EntityId { get; set; } 15 | 16 | public EntityType EntityType { get; set; } 17 | 18 | [MaxLength(255)] 19 | public string Key { get; set; } 20 | [MaxLength(4000)] 21 | public string Value { get; set; } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /src/api/Sync/FastSQL.Sync.Core/Models/RelMessageReporterModel.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel.DataAnnotations; 4 | using System.Text; 5 | 6 | namespace FastSQL.Sync.Core.Models 7 | { 8 | public class RelMessageReporterModel 9 | { 10 | [Key] 11 | public Guid Id { get; set; } 12 | public Guid MessageId { get; set; } 13 | public Guid ReporterId { get; set; } 14 | public long CreatedAt { get; set; } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/api/Sync/FastSQL.Sync.Core/Models/RelReporterDeliveryChannel.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel.DataAnnotations; 4 | using System.Text; 5 | 6 | namespace FastSQL.Sync.Core.Models 7 | { 8 | public class RelReporterDeliveryChannel 9 | { 10 | [Key] 11 | public Guid Id { get; set; } 12 | public Guid ReporterId { get; set; } 13 | public Guid DeliveryChannelId { get; set; } 14 | public long CreatedAt { get; set; } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/api/Sync/FastSQL.Sync.Core/Models/ReporterModel.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Sync.Core.Attributes; 2 | using FastSQL.Sync.Core.Enums; 3 | using System; 4 | using System.Collections.Generic; 5 | using System.ComponentModel.DataAnnotations; 6 | using System.ComponentModel.DataAnnotations.Schema; 7 | using System.Text; 8 | 9 | namespace FastSQL.Sync.Core.Models 10 | { 11 | [Table("core_reporters")] 12 | [EntityType(EntityType.Reporter)] 13 | public class ReporterModel 14 | { 15 | [Key] 16 | public Guid Id { get; set; } 17 | public string ReporterId { get; set; } 18 | public string Name { get; set; } 19 | public string Description { get; set; } 20 | public long CreatedAt { get; set; } 21 | 22 | [NotMapped] 23 | public EntityType EntityType => EntityType.Reporter; 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /src/api/Sync/FastSQL.Sync.Core/Processors/AttributeOptionProcessor.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | using FastSQL.Sync.Core.Enums; 5 | 6 | namespace FastSQL.Sync.Core.Processors 7 | { 8 | public class AttributeOptionProcessor : IProcessor 9 | { 10 | public string Id => "attribute_option_VQXNPkddwQW7Ea419Py/lmPlA=="; 11 | 12 | public string Name => "Attribute Options Sync"; 13 | 14 | public string Description => "Attribute Options Sync"; 15 | 16 | public ProcessorType Type => ProcessorType.Entity; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/api/Sync/FastSQL.Sync.Core/Processors/AttributeProcessor.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Sync.Core.Enums; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Text; 5 | 6 | namespace FastSQL.Sync.Core.Processors 7 | { 8 | public class AttributeProcessor : IProcessor 9 | { 10 | public string Id => "pGssdZoMFIJ2234fwefdu87B5kC5sMokQAENPQ=="; 11 | 12 | public string Name => "General Attribute Sync"; 13 | 14 | public string Description => "Attribute Sync"; 15 | 16 | public ProcessorType Type => ProcessorType.Attribute; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/api/Sync/FastSQL.Sync.Core/Processors/AttributeSetProcessor.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Sync.Core.Enums; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Text; 5 | 6 | namespace FastSQL.Sync.Core.Processors 7 | { 8 | public class AttributeSetProcessor : IProcessor 9 | { 10 | public string Id => "attribute_set_34fwefdu87B5kC5sMokQAENPQ=="; 11 | 12 | public string Name => "Attribute Set Sync"; 13 | 14 | public string Description => "Attribute Set Sync"; 15 | 16 | public ProcessorType Type => ProcessorType.Entity; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/api/Sync/FastSQL.Sync.Core/Processors/CustomerProcessor.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | using FastSQL.Sync.Core.Enums; 5 | 6 | namespace FastSQL.Sync.Core.Processors 7 | { 8 | public class CustomerProcessor : IProcessor 9 | { 10 | public string Id => "customer_processor_PmuKvXrqRkiYYfpyw2355eKQ=="; 11 | 12 | public string Name => "Customer Processor"; 13 | 14 | public string Description => "Customer Processor"; 15 | 16 | public ProcessorType Type => ProcessorType.Entity; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/api/Sync/FastSQL.Sync.Core/Processors/EntityProcessor.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Sync.Core.Enums; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Text; 5 | 6 | namespace FastSQL.Sync.Core.Processors 7 | { 8 | public class EntityProcessor : IProcessor 9 | { 10 | public string Id => "pGFfe23fewfssdZoB5kC5sMokQAENPQ=="; 11 | 12 | public string Name => "General Entity Sync"; 13 | 14 | public string Description => "Entity Sync"; 15 | 16 | public ProcessorType Type => ProcessorType.Entity; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/api/Sync/FastSQL.Sync.Core/Processors/ImageAttributeProcessor.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Sync.Core.Enums; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Text; 5 | 6 | namespace FastSQL.Sync.Core.Processors 7 | { 8 | public class ImageAttributeProcessor : IProcessor 9 | { 10 | public string Id => "BtlAMusxXkGuj86Tar0/wg=="; 11 | 12 | public string Name => "Image Attribute Sync"; 13 | 14 | public string Description => "Image Attribute Sync"; 15 | 16 | public ProcessorType Type => ProcessorType.Attribute; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/api/Sync/FastSQL.Sync.Core/Processors/MultipleAttributeProcessor.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | using FastSQL.Sync.Core.Enums; 5 | 6 | namespace FastSQL.Sync.Core.Processors 7 | { 8 | public class MultipleAttributeProcessor : IProcessor 9 | { 10 | public string Id => "VQXNPkQW7Ea419Py/lmPlA=="; 11 | 12 | public string Name => "Multiple Attributes Sync"; 13 | 14 | public string Description => "Multiple Attributes Sync"; 15 | 16 | public ProcessorType Type => ProcessorType.Attribute; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/api/Sync/FastSQL.Sync.Core/Processors/OrderItemProcessor.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Sync.Core.Enums; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Text; 5 | 6 | namespace FastSQL.Sync.Core.Processors 7 | { 8 | public class OrderItemProcessor : IProcessor 9 | { 10 | public string Id => "yQPaq2jWlkO3U45yi9MAEg=="; 11 | 12 | public string Name => "Order Item Sync"; 13 | 14 | public string Description => "Order Item Sync"; 15 | public ProcessorType Type => ProcessorType.Entity; 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/api/Sync/FastSQL.Sync.Core/Processors/OrderProcessor.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Sync.Core.Enums; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Text; 5 | 6 | namespace FastSQL.Sync.Core.Processors 7 | { 8 | public class OrderProcessor : IProcessor 9 | { 10 | public string Id => "U066jm440kef7xBCurVN3g=="; 11 | 12 | public string Name => "Order Sync"; 13 | 14 | public string Description => "Order Sync"; 15 | 16 | public ProcessorType Type => ProcessorType.Entity; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/api/Sync/FastSQL.Sync.Core/Processors/ParentCategoryAttributeProcessor.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Sync.Core.Enums; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Text; 5 | 6 | namespace FastSQL.Sync.Core.Processors 7 | { 8 | public class ParentCategoryAttributeProcessor : IProcessor 9 | { 10 | public string Id => "rbeOthqg+UKieWWBoUEFXA=="; 11 | 12 | public string Name => "Parent Category Attribute Sync"; 13 | 14 | public string Description => "Parent Category Attribute Sync"; 15 | 16 | public ProcessorType Type => ProcessorType.Attribute; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/api/Sync/FastSQL.Sync.Core/Processors/ParentCategoryProcessor.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | using FastSQL.Sync.Core.Enums; 5 | 6 | namespace FastSQL.Sync.Core.Processors 7 | { 8 | public class ParentCategoryProcessor : IProcessor 9 | { 10 | public string Id => "PmuKvXrqRkiYYfpywfyeKQ=="; 11 | 12 | public string Name => "Category Sync"; 13 | 14 | public string Description => "Category Sync"; 15 | 16 | public ProcessorType Type => ProcessorType.Entity; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/api/Sync/FastSQL.Sync.Core/Processors/ProductProcessor.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Sync.Core.Enums; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Text; 5 | 6 | namespace FastSQL.Sync.Core.Processors 7 | { 8 | public class ProductProcessor : IProcessor 9 | { 10 | public string Id => "pGssdZoB5kC5sMokQAENPQ=="; 11 | 12 | public string Name => "Product Sync"; 13 | 14 | public string Description => "Product Sync"; 15 | 16 | public ProcessorType Type => ProcessorType.Entity; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/api/Sync/FastSQL.Sync.Core/Processors/PromotionAttributeProcessor.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | using FastSQL.Sync.Core.Enums; 5 | 6 | namespace FastSQL.Sync.Core.Processors 7 | { 8 | public class PromotionAttributeProcessor : IProcessor 9 | { 10 | public string Id => "promotion_attribute_VQXNPkddwQW7Ea419Py/lmPlA=="; 11 | 12 | public string Name => "Promotion Attribute Sync"; 13 | 14 | public string Description => "Promotion Attribute Sync"; 15 | 16 | public ProcessorType Type => ProcessorType.Attribute; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/api/Sync/FastSQL.Sync.Core/Processors/SingleAttributeProcessor.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Sync.Core.Enums; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Text; 5 | 6 | namespace FastSQL.Sync.Core.Processors 7 | { 8 | public class SingleAttributeProcessor : IProcessor 9 | { 10 | public string Id => "cQqzkMlr+UqPWifUwvs9eQ=="; 11 | 12 | public string Name => "Single Attribute Sync"; 13 | 14 | public string Description => "Single Attribute Sync"; 15 | 16 | public ProcessorType Type => ProcessorType.Attribute; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/api/Sync/FastSQL.Sync.Core/Processors/StockAttributeProcessor.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Sync.Core.Enums; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Text; 5 | 6 | namespace FastSQL.Sync.Core.Processors 7 | { 8 | public class StockAttributeProcessor : IProcessor 9 | { 10 | public string Id => "f0DQ3XcRwEObSX6clgojyg=="; 11 | 12 | public string Name => "Stock Attribute Sync"; 13 | 14 | public string Description => "Stock Attribute Sync"; 15 | 16 | public ProcessorType Type => ProcessorType.Attribute; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/api/Sync/FastSQL.Sync.Core/Processors/SubCategoryAttributeProcessor.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Sync.Core.Enums; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Text; 5 | 6 | namespace FastSQL.Sync.Core.Processors 7 | { 8 | public class SubCategoryAttributeProcessor : IProcessor 9 | { 10 | public string Id => "QDUxc3sCIk2VCqCC+tvUWw=="; 11 | 12 | public string Name => "Sub-Category Attribute Sync"; 13 | 14 | public string Description => "Sub-Category Attribute Sync"; 15 | 16 | public ProcessorType Type => ProcessorType.Attribute; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/api/Sync/FastSQL.Sync.Core/Processors/SubCategoryProcessor.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Sync.Core.Enums; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Text; 5 | 6 | namespace FastSQL.Sync.Core.Processors 7 | { 8 | public class SubCategoryProcessor : IProcessor 9 | { 10 | public string Id => "4G0HG79wyEq/QkJKCfogzg=="; 11 | 12 | public string Name => "Sub-Category Sync"; 13 | 14 | public string Description => "Sub-Category Sync"; 15 | 16 | public ProcessorType Type => ProcessorType.Entity; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/api/Sync/FastSQL.Sync.Core/Processors/TierPriceAttributeProcessor.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Sync.Core.Enums; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Text; 5 | 6 | namespace FastSQL.Sync.Core.Processors 7 | { 8 | public class TierPriceAttributeProcessor : IProcessor 9 | { 10 | public string Id => "TierPriceAttributeProcessor_VQXNPkd))*QW7Ea419Py/lmPlA=="; 11 | 12 | public string Name => "Tier Price Attribute Sync"; 13 | 14 | public string Description => "Tier Price Attribute Sync"; 15 | 16 | public ProcessorType Type => ProcessorType.Attribute; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/api/Sync/FastSQL.Sync.Core/PullResult.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Sync.Core.Enums; 2 | using System.Collections.Generic; 3 | 4 | namespace FastSQL.Sync.Core 5 | { 6 | public class PullResult 7 | { 8 | public PullState Status { get; set; } = PullState.Invalid; 9 | public object LastToken { get; set; } 10 | public IEnumerable Data { get; set; } 11 | 12 | public bool IsValid() 13 | { 14 | return (Status & PullState.Invalid) == 0; 15 | } 16 | 17 | public PullResult AddState(PullState state) 18 | { 19 | Status = Status | state; 20 | return this; 21 | } 22 | public PullResult RemoveState(PullState state) 23 | { 24 | Status = (Status | state) ^ state; 25 | return this; 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /src/api/Sync/FastSQL.Sync.Core/Puller/IPuller.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using FastSQL.Sync.Core.Models; 3 | using System; 4 | 5 | namespace FastSQL.Sync.Core.Puller 6 | { 7 | public interface IPuller : IOptionManager, IDisposable 8 | { 9 | IPuller OnReport(Action reporter); 10 | IPuller SetIndex(IIndexModel model); 11 | 12 | IPuller Init(); 13 | bool Initialized(); 14 | 15 | PullResult Preview(); 16 | PullResult PullNext(object lastToken = null); 17 | } 18 | 19 | public interface IEntityPuller : IPuller 20 | { 21 | bool IsImplemented(string processorId, string providerId); 22 | } 23 | 24 | public interface IAttributePuller : IPuller 25 | { 26 | bool IsImplemented(string attributeProcessorId, string entityProcessorId, string providerId); 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /src/api/Sync/FastSQL.Sync.Core/Reporters/IReporter.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using FastSQL.Sync.Core.Models; 3 | using System; 4 | using System.Collections.Generic; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace FastSQL.Sync.Core.Reporters 9 | { 10 | public interface IReporter: IDisposable, IOptionManager 11 | { 12 | string Id { get; } 13 | string Name { get; } 14 | IReporter SetReportModel(ReporterModel model); 15 | IReporter OnReport(Action reporter); 16 | Task Queue(); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/api/Sync/FastSQL.Sync.Core/Repositories/ConnectionRepository.cs: -------------------------------------------------------------------------------- 1 | using System.Data.Common; 2 | using FastSQL.Sync.Core.Enums; 3 | using FastSQL.Sync.Core.Models; 4 | 5 | namespace FastSQL.Sync.Core.Repositories 6 | { 7 | public class ConnectionRepository : BaseGenericRepository 8 | { 9 | public ConnectionRepository(DbConnection connection) : base(connection) 10 | { 11 | } 12 | 13 | protected override EntityType EntityType => EntityType.Connection; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/api/Sync/FastSQL.Sync.Core/Repositories/EntityRepository.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Sync.Core.Enums; 2 | using FastSQL.Sync.Core.Models; 3 | using System; 4 | using System.Collections.Generic; 5 | using System.Data.Common; 6 | 7 | namespace FastSQL.Sync.Core.Repositories 8 | { 9 | public class EntityRepository : BaseIndexRepository 10 | { 11 | public EntityRepository(DbConnection connection) : base(connection) 12 | { 13 | } 14 | 15 | protected override EntityType EntityType => EntityType.Entity; 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/api/Sync/FastSQL.Sync.Core/Repositories/IndexExporterRepository.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using FastSQL.Sync.Core.Enums; 3 | using FastSQL.Sync.Core.Models; 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Data.Common; 7 | using System.Text; 8 | 9 | namespace FastSQL.Sync.Core.Repositories 10 | { 11 | public class IndexExporterRepository : BaseRepository 12 | { 13 | public IndexExporterRepository(DbConnection connection) : base(connection) 14 | { 15 | } 16 | 17 | protected override EntityType EntityType => EntityType.Exporter; 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/api/Sync/FastSQL.Sync.Core/Repositories/MessageDeliveryChannelRepository.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Sync.Core.Enums; 2 | using FastSQL.Sync.Core.Models; 3 | using System; 4 | using System.Collections.Generic; 5 | using System.Data.Common; 6 | using System.Text; 7 | 8 | namespace FastSQL.Sync.Core.Repositories 9 | { 10 | public class MessageDeliveryChannelRepository : BaseGenericRepository 11 | { 12 | public MessageDeliveryChannelRepository(DbConnection connection) : base(connection) 13 | { 14 | } 15 | 16 | protected override EntityType EntityType => EntityType.MessageDeliveryChannelModel; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/api/Sync/FastSQL.Sync.Core/Repositories/TransformerRepository.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Sync.Core.Enums; 2 | using FastSQL.Sync.Core.Models; 3 | using System; 4 | using System.Collections.Generic; 5 | using System.Data.Common; 6 | using System.Text; 7 | 8 | namespace FastSQL.Sync.Core.Repositories 9 | { 10 | public class TransformerRepository : BaseGenericRepository 11 | { 12 | public TransformerRepository(DbConnection connection) : base(connection) 13 | { 14 | } 15 | 16 | protected override EntityType EntityType => EntityType.Transformation; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/api/Sync/FastSQL.Sync.Core/Settings/ISettingProvider.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace FastSQL.Sync.Core.Settings 8 | { 9 | public interface ISettingProvider: IDisposable 10 | { 11 | string Id { get; } 12 | string Name { get; } 13 | string Description { get; } 14 | bool Optional { get; } 15 | string Message { get; set; } 16 | Task Validate(); 17 | ISettingProvider Save(); 18 | IEnumerable Commands { get; } 19 | Task Invoke(string commandName); 20 | IEnumerable Options { get; } 21 | 22 | ISettingProvider SetOptions(IEnumerable enumerable); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /src/api/Sync/FastSQL.Sync.Core/Workflows/IConfigurableWorkflow.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Sync.Core.Enums; 2 | using FastSQL.Sync.Core.Models; 3 | using System; 4 | using System.Collections.Generic; 5 | using System.Text; 6 | 7 | namespace FastSQL.Sync.Core.Workflows 8 | { 9 | public interface IBaseWorkflow 10 | { 11 | string Id { get; } 12 | int Version { get; } 13 | bool IsGeneric { get; } 14 | } 15 | 16 | public interface INormalWorkflow: IBaseWorkflow 17 | { 18 | } 19 | 20 | public interface IGenericWorkflow : IBaseWorkflow 21 | { 22 | } 23 | 24 | } 25 | -------------------------------------------------------------------------------- /src/api/Sync/FastSQL.Sync.Core/Workflows/WorkingSchedules.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Sync.Core.Models; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Text; 5 | 6 | namespace FastSQL.Sync.Core.Workflows 7 | { 8 | public class WorkingSchedules 9 | { 10 | private IEnumerable _workingSchedules; 11 | public void SetSchedules(IEnumerable schedules) 12 | { 13 | _workingSchedules = schedules; 14 | } 15 | 16 | public IEnumerable GetWorkingSchedules () 17 | { 18 | return _workingSchedules; 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/api/Sync/FastSQL.Sync.Workflow/FastSQL.Sync.Workflow.csproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | true 5 | 6 | -------------------------------------------------------------------------------- /src/api/Sync/FastSQL.Sync.Workflow/Models/GeneralMessage.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Sync.Core.Models; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Text; 5 | 6 | namespace FastSQL.Sync.Workflow.Models 7 | { 8 | public class GeneralMessage 9 | { 10 | public List Indexes { get; set; } 11 | public int Counter { get; set; } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/api/Sync/FastSQL.Sync.Workflow/Workflows/DeliverMessagesWorkflow.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Sync.Workflow.Steps; 2 | using System; 3 | using System.ComponentModel; 4 | using WorkflowCore.Interface; 5 | 6 | namespace FastSQL.Sync.Workflow.Workflows 7 | { 8 | [Description("Deliver Messages")] 9 | public class DeliverMessagesWorkflow : BaseWorkflow 10 | { 11 | public override string Id => nameof(DeliverMessagesWorkflow); 12 | 13 | public override int Version => 1; 14 | 15 | public DeliverMessagesWorkflow() 16 | { 17 | 18 | } 19 | 20 | public override void Build(IWorkflowBuilder builder) 21 | { 22 | builder 23 | .StartWith(x => { }) 24 | .Then(p => p.Delay(d => TimeSpan.FromSeconds(2)).Then(p)); // deal with it :) 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /src/api/Sync/FastSQL.Sync.Workflow/Workflows/ReportWorkflow.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Sync.Workflow.Steps; 2 | using System; 3 | using System.ComponentModel; 4 | using WorkflowCore.Interface; 5 | 6 | namespace FastSQL.Sync.Workflow.Workflows 7 | { 8 | [Description("Report")] 9 | public class ReportWorkflow : BaseWorkflow 10 | { 11 | public override string Id => nameof(ReportWorkflow); 12 | 13 | public override int Version => 1; 14 | 15 | public ReportWorkflow() 16 | { 17 | 18 | } 19 | 20 | public override void Build(IWorkflowBuilder builder) 21 | { 22 | builder 23 | .StartWith(x => { }) 24 | .Then(p => p.Delay(d => TimeSpan.FromSeconds(2)).Then(p)); // deal with it :) 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1.Integration/FastSQL.Magento1.Integration.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | net471 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1.Integration/Indexers/CustomerIndexer.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using FastSQL.Sync.Core; 3 | using FastSQL.Sync.Core.Indexer; 4 | using FastSQL.Sync.Core.Processors; 5 | using FastSQL.Sync.Core.Repositories; 6 | using System; 7 | using System.Collections.Generic; 8 | using System.Text; 9 | 10 | namespace FastSQL.Magento1.Integration.Indexers 11 | { 12 | public class CustomerIndexer : BaseEntityIndexer 13 | { 14 | public CustomerIndexer( 15 | CustomerProcessor processor, 16 | CustomerIndexerOptionManager optionManager, 17 | FastAdapter adapter) : base(processor, optionManager, adapter) 18 | { 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1.Integration/Indexers/CustomerIndexerOptionManager.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using FastSQL.Sync.Core.Indexer; 3 | using System; 4 | using System.Collections.Generic; 5 | using System.Linq; 6 | using System.Text; 7 | 8 | namespace FastSQL.Magento1.Integration.Indexers 9 | { 10 | public class CustomerIndexerOptionManager : EntityIndexerOptionManager 11 | { 12 | public override IEnumerable GetOptionsTemplate() 13 | { 14 | return base.GetOptionsTemplate().Union(new List()); 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1.Integration/Indexers/OrderIndexer.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using FastSQL.Sync.Core; 3 | using FastSQL.Sync.Core.Indexer; 4 | using FastSQL.Sync.Core.Processors; 5 | using FastSQL.Sync.Core.Repositories; 6 | using System; 7 | using System.Collections.Generic; 8 | using System.Text; 9 | 10 | namespace FastSQL.Magento1.Integration.Indexers 11 | { 12 | public class OrderIndexer : BaseEntityIndexer 13 | { 14 | public OrderIndexer( 15 | OrderProcessor processor, 16 | OrderIndexerOptionManager optionManager, 17 | FastAdapter adapter) : base(processor, optionManager, adapter) 18 | { 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1.Integration/Indexers/OrderIndexerOptionManager.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using FastSQL.Sync.Core.Indexer; 3 | using System; 4 | using System.Collections.Generic; 5 | using System.Linq; 6 | using System.Text; 7 | 8 | namespace FastSQL.Magento1.Integration.Indexers 9 | { 10 | public class OrderIndexerOptionManager : EntityIndexerOptionManager 11 | { 12 | public override IEnumerable GetOptionsTemplate() 13 | { 14 | return base.GetOptionsTemplate().Union(new List()); 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1.Integration/Indexers/OrderItemIndexer.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using FastSQL.Sync.Core; 3 | using FastSQL.Sync.Core.Indexer; 4 | using FastSQL.Sync.Core.Processors; 5 | using FastSQL.Sync.Core.Repositories; 6 | using System; 7 | using System.Collections.Generic; 8 | using System.Text; 9 | 10 | namespace FastSQL.Magento1.Integration.Indexers 11 | { 12 | public class OrderItemIndexer : BaseEntityIndexer 13 | { 14 | public OrderItemIndexer( 15 | OrderItemProcessor processor, 16 | OrderItemIndexerOptionManager optionManager, 17 | FastAdapter adapter) : base(processor, optionManager, adapter) 18 | { 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1.Integration/Indexers/OrderItemIndexerOptionManager.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using FastSQL.Sync.Core.Indexer; 3 | using System; 4 | using System.Collections.Generic; 5 | using System.Linq; 6 | using System.Text; 7 | 8 | namespace FastSQL.Magento1.Integration.Indexers 9 | { 10 | public class OrderItemIndexerOptionManager : EntityIndexerOptionManager 11 | { 12 | public override IEnumerable GetOptionsTemplate() 13 | { 14 | return base.GetOptionsTemplate().Union(new List()); 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1.Integration/Mappers/AttributeSetMapper.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using FastSQL.Sync.Core; 3 | using FastSQL.Sync.Core.Mapper; 4 | using FastSQL.Sync.Core.Processors; 5 | using FastSQL.Sync.Core.Repositories; 6 | using System; 7 | using System.Collections.Generic; 8 | using System.Linq; 9 | using System.Text; 10 | using System.Threading.Tasks; 11 | 12 | namespace FastSQL.Magento1.Integration.Mappers 13 | { 14 | public class AttributeSetMapper : BaseMapper 15 | { 16 | public AttributeSetMapper( 17 | AttributeSetProcessor processor, 18 | AttributeSetMapperOptionManager optionManager, 19 | FastAdapter adapter) : base(processor, optionManager, adapter) 20 | { 21 | } 22 | 23 | public override MapResult Pull(object lastToken = null) 24 | { 25 | throw new NotImplementedException(); 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1.Integration/Mappers/AttributeSetMapperOptionManager.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace FastSQL.Magento1.Integration.Mappers 9 | { 10 | public class AttributeSetMapperOptionManager : BaseOptionManager 11 | { 12 | public override IEnumerable GetOptionsTemplate() 13 | { 14 | return new List(); 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1.Integration/Mappers/ParentCategoryMapperOptionManager.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace FastSQL.Magento1.Integration.Mappers 9 | { 10 | public class ParentCategoryMapperOptionManager : BaseOptionManager 11 | { 12 | public override IEnumerable GetOptionsTemplate() 13 | { 14 | return new List(); 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1.Integration/Mappers/ProductMapper.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using FastSQL.Sync.Core; 3 | using FastSQL.Sync.Core.Mapper; 4 | using FastSQL.Sync.Core.Processors; 5 | using FastSQL.Sync.Core.Repositories; 6 | using System; 7 | using System.Collections.Generic; 8 | using System.Linq; 9 | using System.Text; 10 | using System.Threading.Tasks; 11 | 12 | namespace FastSQL.Magento1.Integration.Mappers 13 | { 14 | public class ProductMapper : BaseMapper 15 | { 16 | public ProductMapper( 17 | ProductProcessor processor, 18 | ProductMapperOptionManager optionManager, 19 | FastAdapter adapter) : base(processor, optionManager, adapter) 20 | { 21 | } 22 | 23 | public override MapResult Pull(object lastToken = null) 24 | { 25 | throw new NotImplementedException(); 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1.Integration/Mappers/ProductMapperOptionManager.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace FastSQL.Magento1.Integration.Mappers 9 | { 10 | public class ProductMapperOptionManager : BaseOptionManager 11 | { 12 | public override IEnumerable GetOptionsTemplate() 13 | { 14 | return new List(); 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1.Integration/Mappers/SubCategoryMapper.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using FastSQL.Sync.Core; 3 | using FastSQL.Sync.Core.Mapper; 4 | using FastSQL.Sync.Core.Processors; 5 | using FastSQL.Sync.Core.Repositories; 6 | using System; 7 | using System.Collections.Generic; 8 | using System.Linq; 9 | using System.Text; 10 | using System.Threading.Tasks; 11 | 12 | namespace FastSQL.Magento1.Integration.Mappers 13 | { 14 | public class SubCategoryMapper : BaseMapper 15 | { 16 | public SubCategoryMapper( 17 | SubCategoryProcessor processor, 18 | SubCategoryMapperOptionManager optionManager, 19 | FastAdapter adapter) : base(processor, optionManager, adapter) 20 | { 21 | } 22 | 23 | public override MapResult Pull(object lastToken = null) 24 | { 25 | throw new NotImplementedException(); 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1.Integration/Mappers/SubCategoryMapperOptionManager.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace FastSQL.Magento1.Integration.Mappers 9 | { 10 | public class SubCategoryMapperOptionManager : BaseOptionManager 11 | { 12 | public override IEnumerable GetOptionsTemplate() 13 | { 14 | return new List(); 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1.Integration/Pullers/CustomerPullerOptionManager.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Text; 5 | 6 | namespace FastSQL.Magento1.Integration.Pullers 7 | { 8 | public class CustomerPullerOptionManager : BaseOptionManager 9 | { 10 | public override IEnumerable GetOptionsTemplate() 11 | { 12 | return new List(); 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1.Integration/Pullers/OrderItemPullerOptionManager.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Text; 5 | 6 | namespace FastSQL.Magento1.Integration.Pullers 7 | { 8 | public class OrderItemPullerOptionManager : BaseOptionManager 9 | { 10 | public override IEnumerable GetOptionsTemplate() 11 | { 12 | return new List(); 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1.Integration/Pullers/OrderPullerOptionManager.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Text; 5 | 6 | namespace FastSQL.Magento1.Integration.Pullers 7 | { 8 | public class OrderPullerOptionManager : BaseOptionManager 9 | { 10 | public override IEnumerable GetOptionsTemplate() 11 | { 12 | return new List(); 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1.Integration/Pushers/AttributeSetPusherOptionManager.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace FastSQL.Magento1.Integration.Pushers 9 | { 10 | public class AttributeSetPusherOptionManager : BaseOptionManager 11 | { 12 | public override IEnumerable GetOptionsTemplate() 13 | { 14 | return new List(); 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1.Integration/Pushers/ProductAttributeOptionPusherOptionManager.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Text; 5 | 6 | namespace FastSQL.Magento1.Integration.Pushers 7 | { 8 | public class ProductAttributeOptionPusherOptionManager : BaseOptionManager 9 | { 10 | public override IEnumerable GetOptionsTemplate() 11 | { 12 | return new List(); 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1.Integration/Pushers/Products/ProductImagePusherOptionManager.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Text; 5 | 6 | namespace FastSQL.Magento1.Integration.Pushers.Products 7 | { 8 | public class ProductImagePusherOptionManager : BaseOptionManager 9 | { 10 | public override IEnumerable GetOptionsTemplate() 11 | { 12 | return new List(); 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1.Integration/Pushers/Products/ProductMultipleAttributePusherOptionManager.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Text; 5 | 6 | namespace FastSQL.Magento1.Integration.Pushers.Products 7 | { 8 | public class ProductMultipleAttributePusherOptionManager : BaseOptionManager 9 | { 10 | public override IEnumerable GetOptionsTemplate() 11 | { 12 | return new List { 13 | new OptionItem 14 | { 15 | Name = "store_ids", 16 | DisplayName = "Store ID", 17 | Value = "0" 18 | }, 19 | }; 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1.Integration/Pushers/Products/ProductParentCategoryPusherOptionManager.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Text; 5 | 6 | namespace FastSQL.Magento1.Integration.Pushers.Products 7 | { 8 | public class ProductParentCategoryPusherOptionManager : BaseOptionManager 9 | { 10 | public override IEnumerable GetOptionsTemplate() 11 | { 12 | return new List(); 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1.Integration/Pushers/Products/ProductPromotionPusherOptionManager.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Text; 5 | 6 | namespace FastSQL.Magento1.Integration.Pushers.Products 7 | { 8 | public class ProductPromotionPusherOptionManager : BaseOptionManager 9 | { 10 | public override IEnumerable GetOptionsTemplate() 11 | { 12 | return new List(); 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1.Integration/Pushers/Products/ProductSingleAttributePusherOptionManager.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Text; 5 | 6 | namespace FastSQL.Magento1.Integration.Pushers.Products 7 | { 8 | public class ProductSingleAttributePusherOptionManager : BaseOptionManager 9 | { 10 | public override IEnumerable GetOptionsTemplate() 11 | { 12 | return new List { 13 | new OptionItem 14 | { 15 | Name = "store_ids", 16 | DisplayName = "Store ID", 17 | Value = "0" 18 | }, 19 | }; 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1.Integration/Pushers/Products/ProductStockPusherOptionManager.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Text; 5 | 6 | namespace FastSQL.Magento1.Integration.Pushers.Products 7 | { 8 | public class ProductStockPusherOptionManager : BaseOptionManager 9 | { 10 | public override IEnumerable GetOptionsTemplate() 11 | { 12 | return new List(); 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1.Integration/Pushers/Products/ProductSubCategoryPusherOptionManager.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Text; 5 | 6 | namespace FastSQL.Magento1.Integration.Pushers.Products 7 | { 8 | public class ProductSubCategoryPusherOptionManager : BaseOptionManager 9 | { 10 | public override IEnumerable GetOptionsTemplate() 11 | { 12 | return new List(); 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1.Integration/Pushers/Products/ProductTierPricePusherOptionManager.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Text; 5 | 6 | namespace FastSQL.Magento1.Integration.Pushers.Products 7 | { 8 | public class ProductTierPricePusherOptionManager : BaseOptionManager 9 | { 10 | public override IEnumerable GetOptionsTemplate() 11 | { 12 | return new List(); 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1/Connected Services/Magento1Soap/FastSQL.Magento1.Magento1Soap.apiEntity.datasource: -------------------------------------------------------------------------------- 1 |  2 | 8 | 9 | FastSQL.Magento1.Magento1Soap.apiEntity, Connected Services.Magento1Soap.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null 10 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1/Connected Services/Magento1Soap/FastSQL.Magento1.Magento1Soap.associativeEntity.datasource: -------------------------------------------------------------------------------- 1 |  2 | 8 | 9 | FastSQL.Magento1.Magento1Soap.associativeEntity, Connected Services.Magento1Soap.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null 10 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1/Connected Services/Magento1Soap/FastSQL.Magento1.Magento1Soap.catalogAssignedProduct.datasource: -------------------------------------------------------------------------------- 1 |  2 | 8 | 9 | FastSQL.Magento1.Magento1Soap.catalogAssignedProduct, Connected Services.Magento1Soap.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null 10 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1/Connected Services/Magento1Soap/FastSQL.Magento1.Magento1Soap.catalogAttributeEntity.datasource: -------------------------------------------------------------------------------- 1 |  2 | 8 | 9 | FastSQL.Magento1.Magento1Soap.catalogAttributeEntity, Connected Services.Magento1Soap.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null 10 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1/Connected Services/Magento1Soap/FastSQL.Magento1.Magento1Soap.catalogAttributeOptionEntity.datasource: -------------------------------------------------------------------------------- 1 |  2 | 8 | 9 | FastSQL.Magento1.Magento1Soap.catalogAttributeOptionEntity, Connected Services.Magento1Soap.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null 10 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1/Connected Services/Magento1Soap/FastSQL.Magento1.Magento1Soap.catalogCategoryAttributeCurrentStoreResponse.datasource: -------------------------------------------------------------------------------- 1 |  2 | 8 | 9 | FastSQL.Magento1.Magento1Soap.catalogCategoryAttributeCurrentStoreResponse, Connected Services.Magento1Soap.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null 10 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1/Connected Services/Magento1Soap/FastSQL.Magento1.Magento1Soap.catalogCategoryCurrentStoreResponse.datasource: -------------------------------------------------------------------------------- 1 |  2 | 8 | 9 | FastSQL.Magento1.Magento1Soap.catalogCategoryCurrentStoreResponse, Connected Services.Magento1Soap.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null 10 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1/Connected Services/Magento1Soap/FastSQL.Magento1.Magento1Soap.catalogCategoryEntityNoChildren.datasource: -------------------------------------------------------------------------------- 1 |  2 | 8 | 9 | FastSQL.Magento1.Magento1Soap.catalogCategoryEntityNoChildren, Connected Services.Magento1Soap.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null 10 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1/Connected Services/Magento1Soap/FastSQL.Magento1.Magento1Soap.catalogCategoryInfo.datasource: -------------------------------------------------------------------------------- 1 |  2 | 8 | 9 | FastSQL.Magento1.Magento1Soap.catalogCategoryInfo, Connected Services.Magento1Soap.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null 10 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1/Connected Services/Magento1Soap/FastSQL.Magento1.Magento1Soap.catalogCategoryTree.datasource: -------------------------------------------------------------------------------- 1 |  2 | 8 | 9 | FastSQL.Magento1.Magento1Soap.catalogCategoryTree, Connected Services.Magento1Soap.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null 10 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1/Connected Services/Magento1Soap/FastSQL.Magento1.Magento1Soap.catalogInventoryStockItemEntity.datasource: -------------------------------------------------------------------------------- 1 |  2 | 8 | 9 | FastSQL.Magento1.Magento1Soap.catalogInventoryStockItemEntity, Connected Services.Magento1Soap.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null 10 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1/Connected Services/Magento1Soap/FastSQL.Magento1.Magento1Soap.catalogProductAttributeCurrentStoreResponse.datasource: -------------------------------------------------------------------------------- 1 |  2 | 8 | 9 | FastSQL.Magento1.Magento1Soap.catalogProductAttributeCurrentStoreResponse, Connected Services.Magento1Soap.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null 10 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1/Connected Services/Magento1Soap/FastSQL.Magento1.Magento1Soap.catalogProductAttributeEntity.datasource: -------------------------------------------------------------------------------- 1 |  2 | 8 | 9 | FastSQL.Magento1.Magento1Soap.catalogProductAttributeEntity, Connected Services.Magento1Soap.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null 10 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1/Connected Services/Magento1Soap/FastSQL.Magento1.Magento1Soap.catalogProductAttributeMediaCurrentStoreResponse.datasource: -------------------------------------------------------------------------------- 1 |  2 | 8 | 9 | FastSQL.Magento1.Magento1Soap.catalogProductAttributeMediaCurrentStoreResponse, Connected Services.Magento1Soap.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null 10 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1/Connected Services/Magento1Soap/FastSQL.Magento1.Magento1Soap.catalogProductAttributeMediaTypeEntity.datasource: -------------------------------------------------------------------------------- 1 |  2 | 8 | 9 | FastSQL.Magento1.Magento1Soap.catalogProductAttributeMediaTypeEntity, Connected Services.Magento1Soap.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null 10 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1/Connected Services/Magento1Soap/FastSQL.Magento1.Magento1Soap.catalogProductAttributeSetEntity.datasource: -------------------------------------------------------------------------------- 1 |  2 | 8 | 9 | FastSQL.Magento1.Magento1Soap.catalogProductAttributeSetEntity, Connected Services.Magento1Soap.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null 10 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1/Connected Services/Magento1Soap/FastSQL.Magento1.Magento1Soap.catalogProductCurrentStoreResponse.datasource: -------------------------------------------------------------------------------- 1 |  2 | 8 | 9 | FastSQL.Magento1.Magento1Soap.catalogProductCurrentStoreResponse, Connected Services.Magento1Soap.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null 10 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1/Connected Services/Magento1Soap/FastSQL.Magento1.Magento1Soap.catalogProductCustomOptionInfoEntity.datasource: -------------------------------------------------------------------------------- 1 |  2 | 8 | 9 | FastSQL.Magento1.Magento1Soap.catalogProductCustomOptionInfoEntity, Connected Services.Magento1Soap.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null 10 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1/Connected Services/Magento1Soap/FastSQL.Magento1.Magento1Soap.catalogProductCustomOptionListEntity.datasource: -------------------------------------------------------------------------------- 1 |  2 | 8 | 9 | FastSQL.Magento1.Magento1Soap.catalogProductCustomOptionListEntity, Connected Services.Magento1Soap.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null 10 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1/Connected Services/Magento1Soap/FastSQL.Magento1.Magento1Soap.catalogProductCustomOptionTypesEntity.datasource: -------------------------------------------------------------------------------- 1 |  2 | 8 | 9 | FastSQL.Magento1.Magento1Soap.catalogProductCustomOptionTypesEntity, Connected Services.Magento1Soap.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null 10 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1/Connected Services/Magento1Soap/FastSQL.Magento1.Magento1Soap.catalogProductCustomOptionValueInfoEntity.datasource: -------------------------------------------------------------------------------- 1 |  2 | 8 | 9 | FastSQL.Magento1.Magento1Soap.catalogProductCustomOptionValueInfoEntity, Connected Services.Magento1Soap.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null 10 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1/Connected Services/Magento1Soap/FastSQL.Magento1.Magento1Soap.catalogProductCustomOptionValueListEntity.datasource: -------------------------------------------------------------------------------- 1 |  2 | 8 | 9 | FastSQL.Magento1.Magento1Soap.catalogProductCustomOptionValueListEntity, Connected Services.Magento1Soap.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null 10 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1/Connected Services/Magento1Soap/FastSQL.Magento1.Magento1Soap.catalogProductDownloadableLinkInfoEntity.datasource: -------------------------------------------------------------------------------- 1 |  2 | 8 | 9 | FastSQL.Magento1.Magento1Soap.catalogProductDownloadableLinkInfoEntity, Connected Services.Magento1Soap.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null 10 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1/Connected Services/Magento1Soap/FastSQL.Magento1.Magento1Soap.catalogProductEntity.datasource: -------------------------------------------------------------------------------- 1 |  2 | 8 | 9 | FastSQL.Magento1.Magento1Soap.catalogProductEntity, Connected Services.Magento1Soap.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null 10 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1/Connected Services/Magento1Soap/FastSQL.Magento1.Magento1Soap.catalogProductImageEntity.datasource: -------------------------------------------------------------------------------- 1 |  2 | 8 | 9 | FastSQL.Magento1.Magento1Soap.catalogProductImageEntity, Connected Services.Magento1Soap.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null 10 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1/Connected Services/Magento1Soap/FastSQL.Magento1.Magento1Soap.catalogProductLinkAttributeEntity.datasource: -------------------------------------------------------------------------------- 1 |  2 | 8 | 9 | FastSQL.Magento1.Magento1Soap.catalogProductLinkAttributeEntity, Connected Services.Magento1Soap.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null 10 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1/Connected Services/Magento1Soap/FastSQL.Magento1.Magento1Soap.catalogProductLinkEntity.datasource: -------------------------------------------------------------------------------- 1 |  2 | 8 | 9 | FastSQL.Magento1.Magento1Soap.catalogProductLinkEntity, Connected Services.Magento1Soap.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null 10 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1/Connected Services/Magento1Soap/FastSQL.Magento1.Magento1Soap.catalogProductListResponse.datasource: -------------------------------------------------------------------------------- 1 |  2 | 8 | 9 | FastSQL.Magento1.Magento1Soap.catalogProductListResponse, Connected Services.Magento1Soap.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null 10 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1/Connected Services/Magento1Soap/FastSQL.Magento1.Magento1Soap.catalogProductReturnEntity.datasource: -------------------------------------------------------------------------------- 1 |  2 | 8 | 9 | FastSQL.Magento1.Magento1Soap.catalogProductReturnEntity, Connected Services.Magento1Soap.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null 10 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1/Connected Services/Magento1Soap/FastSQL.Magento1.Magento1Soap.catalogProductSpecialPriceReturnEntity.datasource: -------------------------------------------------------------------------------- 1 |  2 | 8 | 9 | FastSQL.Magento1.Magento1Soap.catalogProductSpecialPriceReturnEntity, Connected Services.Magento1Soap.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null 10 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1/Connected Services/Magento1Soap/FastSQL.Magento1.Magento1Soap.catalogProductTagInfoEntity.datasource: -------------------------------------------------------------------------------- 1 |  2 | 8 | 9 | FastSQL.Magento1.Magento1Soap.catalogProductTagInfoEntity, Connected Services.Magento1Soap.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null 10 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1/Connected Services/Magento1Soap/FastSQL.Magento1.Magento1Soap.catalogProductTagListEntity.datasource: -------------------------------------------------------------------------------- 1 |  2 | 8 | 9 | FastSQL.Magento1.Magento1Soap.catalogProductTagListEntity, Connected Services.Magento1Soap.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null 10 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1/Connected Services/Magento1Soap/FastSQL.Magento1.Magento1Soap.catalogProductTierPriceEntity.datasource: -------------------------------------------------------------------------------- 1 |  2 | 8 | 9 | FastSQL.Magento1.Magento1Soap.catalogProductTierPriceEntity, Connected Services.Magento1Soap.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null 10 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1/Connected Services/Magento1Soap/FastSQL.Magento1.Magento1Soap.catalogProductTypeEntity.datasource: -------------------------------------------------------------------------------- 1 |  2 | 8 | 9 | FastSQL.Magento1.Magento1Soap.catalogProductTypeEntity, Connected Services.Magento1Soap.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null 10 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1/Connected Services/Magento1Soap/FastSQL.Magento1.Magento1Soap.customerAddressEntityItem.datasource: -------------------------------------------------------------------------------- 1 |  2 | 8 | 9 | FastSQL.Magento1.Magento1Soap.customerAddressEntityItem, Connected Services.Magento1Soap.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null 10 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1/Connected Services/Magento1Soap/FastSQL.Magento1.Magento1Soap.customerCustomerEntity.datasource: -------------------------------------------------------------------------------- 1 |  2 | 8 | 9 | FastSQL.Magento1.Magento1Soap.customerCustomerEntity, Connected Services.Magento1Soap.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null 10 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1/Connected Services/Magento1Soap/FastSQL.Magento1.Magento1Soap.customerGroupEntity.datasource: -------------------------------------------------------------------------------- 1 |  2 | 8 | 9 | FastSQL.Magento1.Magento1Soap.customerGroupEntity, Connected Services.Magento1Soap.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null 10 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1/Connected Services/Magento1Soap/FastSQL.Magento1.Magento1Soap.directoryCountryEntity.datasource: -------------------------------------------------------------------------------- 1 |  2 | 8 | 9 | FastSQL.Magento1.Magento1Soap.directoryCountryEntity, Connected Services.Magento1Soap.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null 10 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1/Connected Services/Magento1Soap/FastSQL.Magento1.Magento1Soap.directoryRegionEntity.datasource: -------------------------------------------------------------------------------- 1 |  2 | 8 | 9 | FastSQL.Magento1.Magento1Soap.directoryRegionEntity, Connected Services.Magento1Soap.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null 10 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1/Connected Services/Magento1Soap/FastSQL.Magento1.Magento1Soap.existsFaltureEntity.datasource: -------------------------------------------------------------------------------- 1 |  2 | 8 | 9 | FastSQL.Magento1.Magento1Soap.existsFaltureEntity, Connected Services.Magento1Soap.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null 10 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1/Connected Services/Magento1Soap/FastSQL.Magento1.Magento1Soap.giftMessageResponse.datasource: -------------------------------------------------------------------------------- 1 |  2 | 8 | 9 | FastSQL.Magento1.Magento1Soap.giftMessageResponse, Connected Services.Magento1Soap.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null 10 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1/Connected Services/Magento1Soap/FastSQL.Magento1.Magento1Soap.magentoInfoEntity.datasource: -------------------------------------------------------------------------------- 1 |  2 | 8 | 9 | FastSQL.Magento1.Magento1Soap.magentoInfoEntity, Connected Services.Magento1Soap.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null 10 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1/Connected Services/Magento1Soap/FastSQL.Magento1.Magento1Soap.salesOrderCreditmemoEntity.datasource: -------------------------------------------------------------------------------- 1 |  2 | 8 | 9 | FastSQL.Magento1.Magento1Soap.salesOrderCreditmemoEntity, Connected Services.Magento1Soap.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null 10 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1/Connected Services/Magento1Soap/FastSQL.Magento1.Magento1Soap.salesOrderEntity.datasource: -------------------------------------------------------------------------------- 1 |  2 | 8 | 9 | FastSQL.Magento1.Magento1Soap.salesOrderEntity, Connected Services.Magento1Soap.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null 10 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1/Connected Services/Magento1Soap/FastSQL.Magento1.Magento1Soap.salesOrderInvoiceEntity.datasource: -------------------------------------------------------------------------------- 1 |  2 | 8 | 9 | FastSQL.Magento1.Magento1Soap.salesOrderInvoiceEntity, Connected Services.Magento1Soap.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null 10 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1/Connected Services/Magento1Soap/FastSQL.Magento1.Magento1Soap.salesOrderListEntity.datasource: -------------------------------------------------------------------------------- 1 |  2 | 8 | 9 | FastSQL.Magento1.Magento1Soap.salesOrderListEntity, Connected Services.Magento1Soap.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null 10 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1/Connected Services/Magento1Soap/FastSQL.Magento1.Magento1Soap.salesOrderShipmentAddCommentResponse.datasource: -------------------------------------------------------------------------------- 1 |  2 | 8 | 9 | FastSQL.Magento1.Magento1Soap.salesOrderShipmentAddCommentResponse, Connected Services.Magento1Soap.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null 10 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1/Connected Services/Magento1Soap/FastSQL.Magento1.Magento1Soap.salesOrderShipmentEntity.datasource: -------------------------------------------------------------------------------- 1 |  2 | 8 | 9 | FastSQL.Magento1.Magento1Soap.salesOrderShipmentEntity, Connected Services.Magento1Soap.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null 10 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1/Connected Services/Magento1Soap/FastSQL.Magento1.Magento1Soap.shoppingCartInfoEntity.datasource: -------------------------------------------------------------------------------- 1 |  2 | 8 | 9 | FastSQL.Magento1.Magento1Soap.shoppingCartInfoEntity, Connected Services.Magento1Soap.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null 10 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1/Connected Services/Magento1Soap/FastSQL.Magento1.Magento1Soap.shoppingCartLicenseEntity.datasource: -------------------------------------------------------------------------------- 1 |  2 | 8 | 9 | FastSQL.Magento1.Magento1Soap.shoppingCartLicenseEntity, Connected Services.Magento1Soap.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null 10 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1/Connected Services/Magento1Soap/FastSQL.Magento1.Magento1Soap.shoppingCartPaymentMethodResponseEntity.datasource: -------------------------------------------------------------------------------- 1 |  2 | 8 | 9 | FastSQL.Magento1.Magento1Soap.shoppingCartPaymentMethodResponseEntity, Connected Services.Magento1Soap.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null 10 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1/Connected Services/Magento1Soap/FastSQL.Magento1.Magento1Soap.shoppingCartShippingMethodEntity.datasource: -------------------------------------------------------------------------------- 1 |  2 | 8 | 9 | FastSQL.Magento1.Magento1Soap.shoppingCartShippingMethodEntity, Connected Services.Magento1Soap.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null 10 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1/Connected Services/Magento1Soap/FastSQL.Magento1.Magento1Soap.shoppingCartTotalsEntity.datasource: -------------------------------------------------------------------------------- 1 |  2 | 8 | 9 | FastSQL.Magento1.Magento1Soap.shoppingCartTotalsEntity, Connected Services.Magento1Soap.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null 10 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1/Connected Services/Magento1Soap/FastSQL.Magento1.Magento1Soap.storeEntity.datasource: -------------------------------------------------------------------------------- 1 |  2 | 8 | 9 | FastSQL.Magento1.Magento1Soap.storeEntity, Connected Services.Magento1Soap.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null 10 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1/FastProvider.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Data; 5 | using System.Data.SqlClient; 6 | 7 | namespace FastSQL.Magento1 8 | { 9 | public class FastProvider : BaseProvider 10 | { 11 | public override string Id => "1064aasfsfekj2kf2k2kk23fa1e7e401a99239f89362"; 12 | public override string Name => "Magento 1 SOAP API"; 13 | 14 | public override string DisplayName => "Magento 1 SOAP API"; 15 | 16 | public override string Description => "Magento 1 SOAP API"; 17 | 18 | 19 | public FastProvider(ProviderOptionManager options): base (options) 20 | { 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1/WindsorInstaller.cs: -------------------------------------------------------------------------------- 1 | using Castle.MicroKernel.Registration; 2 | using Castle.MicroKernel.SubSystems.Configuration; 3 | using Castle.Windsor; 4 | 5 | namespace FastSQL.Magento1 6 | { 7 | public class WindsorInstaller : IWindsorInstaller 8 | { 9 | public void Install(IWindsorContainer container, IConfigurationStore store) 10 | { 11 | var descriptor = container.Resolve(); 12 | container.Register(Component.For().ImplementedBy().LifestyleTransient()); 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento1/FastSQL.Magento1/app.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento2/FastSQL.Magento2.Integration/FastSQL.Magento2.Integration.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | netstandard2.0 5 | 1.0.0 6 | True 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento2/FastSQL.Magento2.Integration/Indexers/CustomerIndexer.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using FastSQL.Sync.Core; 3 | using FastSQL.Sync.Core.Indexer; 4 | using FastSQL.Sync.Core.Processors; 5 | using FastSQL.Sync.Core.Repositories; 6 | using System; 7 | using System.Collections.Generic; 8 | using System.Text; 9 | 10 | namespace FastSQL.Magento2.Integration.Indexers 11 | { 12 | public class CustomerIndexer : BaseEntityIndexer 13 | { 14 | public CustomerIndexer( 15 | CustomerProcessor processor, 16 | CustomerIndexerOptionManager optionManager, 17 | FastAdapter adapter) : base(processor, optionManager, adapter) 18 | { 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento2/FastSQL.Magento2.Integration/Indexers/CustomerIndexerOptionManager.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using FastSQL.Sync.Core.Indexer; 3 | using System; 4 | using System.Collections.Generic; 5 | using System.Linq; 6 | using System.Text; 7 | 8 | namespace FastSQL.Magento2.Integration.Indexers 9 | { 10 | public class CustomerIndexerOptionManager : EntityIndexerOptionManager 11 | { 12 | public override IEnumerable GetOptionsTemplate() 13 | { 14 | return base.GetOptionsTemplate().Union(new List()); 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento2/FastSQL.Magento2.Integration/Indexers/OrderIndexer.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using FastSQL.Sync.Core; 3 | using FastSQL.Sync.Core.Indexer; 4 | using FastSQL.Sync.Core.Processors; 5 | using FastSQL.Sync.Core.Repositories; 6 | using System; 7 | using System.Collections.Generic; 8 | using System.Text; 9 | 10 | namespace FastSQL.Magento2.Integration.Indexers 11 | { 12 | public class OrderIndexer : BaseEntityIndexer 13 | { 14 | public OrderIndexer( 15 | OrderProcessor processor, 16 | OrderIndexerOptionManager optionManager, 17 | FastAdapter adapter) : base(processor, optionManager, adapter) 18 | { 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento2/FastSQL.Magento2.Integration/Indexers/OrderIndexerOptionManager.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using FastSQL.Sync.Core.Indexer; 3 | using System; 4 | using System.Collections.Generic; 5 | using System.Linq; 6 | using System.Text; 7 | 8 | namespace FastSQL.Magento2.Integration.Indexers 9 | { 10 | public class OrderIndexerOptionManager : EntityIndexerOptionManager 11 | { 12 | public override IEnumerable GetOptionsTemplate() 13 | { 14 | return base.GetOptionsTemplate().Union(new List()); 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento2/FastSQL.Magento2.Integration/Indexers/OrderItemIndexer.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using FastSQL.Sync.Core; 3 | using FastSQL.Sync.Core.Indexer; 4 | using FastSQL.Sync.Core.Processors; 5 | using FastSQL.Sync.Core.Repositories; 6 | using System; 7 | using System.Collections.Generic; 8 | using System.Text; 9 | 10 | namespace FastSQL.Magento2.Integration.Indexers 11 | { 12 | public class OrderItemIndexer : BaseEntityIndexer 13 | { 14 | public OrderItemIndexer( 15 | OrderItemProcessor processor, 16 | OrderItemIndexerOptionManager optionManager, 17 | FastAdapter adapter) : base(processor, optionManager, adapter) 18 | { 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento2/FastSQL.Magento2.Integration/Indexers/OrderItemIndexerOptionManager.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using FastSQL.Sync.Core.Indexer; 3 | using System; 4 | using System.Collections.Generic; 5 | using System.Linq; 6 | using System.Text; 7 | 8 | namespace FastSQL.Magento2.Integration.Indexers 9 | { 10 | public class OrderItemIndexerOptionManager : EntityIndexerOptionManager 11 | { 12 | public override IEnumerable GetOptionsTemplate() 13 | { 14 | return base.GetOptionsTemplate().Union(new List()); 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento2/FastSQL.Magento2.Integration/Mappers/AttributeSetMapper.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using FastSQL.Sync.Core; 3 | using FastSQL.Sync.Core.Mapper; 4 | using FastSQL.Sync.Core.Processors; 5 | using FastSQL.Sync.Core.Repositories; 6 | using System; 7 | using System.Collections.Generic; 8 | using System.Linq; 9 | using System.Text; 10 | using System.Threading.Tasks; 11 | 12 | namespace FastSQL.Magento2.Integration.Mappers 13 | { 14 | public class AttributeSetMapper : BaseMapper 15 | { 16 | public AttributeSetMapper( 17 | AttributeSetProcessor processor, 18 | AttributeSetMapperOptionManager optionManager, 19 | FastAdapter adapter) : base(processor, optionManager, adapter) 20 | { 21 | } 22 | 23 | public override MapResult Pull(object lastToken = null) 24 | { 25 | throw new NotImplementedException(); 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento2/FastSQL.Magento2.Integration/Mappers/AttributeSetMapperOptionManager.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace FastSQL.Magento2.Integration.Mappers 9 | { 10 | public class AttributeSetMapperOptionManager : BaseOptionManager 11 | { 12 | public override IEnumerable GetOptionsTemplate() 13 | { 14 | return new List(); 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento2/FastSQL.Magento2.Integration/Mappers/ParentCategoryMapper.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using FastSQL.Sync.Core; 3 | using FastSQL.Sync.Core.Mapper; 4 | using FastSQL.Sync.Core.Processors; 5 | using FastSQL.Sync.Core.Repositories; 6 | using System; 7 | using System.Collections.Generic; 8 | using System.Linq; 9 | using System.Text; 10 | using System.Threading.Tasks; 11 | 12 | namespace FastSQL.Magento2.Integration.Mappers 13 | { 14 | public class ParentCategoryMapper : BaseMapper 15 | { 16 | public ParentCategoryMapper(ParentCategoryProcessor processor, 17 | ParentCategoryMapperOptionManager optionManager, 18 | FastAdapter adapter) : base(processor, optionManager, adapter) 19 | { 20 | } 21 | 22 | public override MapResult Pull(object lastToken = null) 23 | { 24 | throw new NotImplementedException(); 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento2/FastSQL.Magento2.Integration/Mappers/ParentCategoryMapperOptionManager.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace FastSQL.Magento2.Integration.Mappers 9 | { 10 | public class ParentCategoryMapperOptionManager : BaseOptionManager 11 | { 12 | public override IEnumerable GetOptionsTemplate() 13 | { 14 | return new List(); 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento2/FastSQL.Magento2.Integration/Mappers/ProductMapper.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using FastSQL.Sync.Core; 3 | using FastSQL.Sync.Core.Mapper; 4 | using FastSQL.Sync.Core.Processors; 5 | using FastSQL.Sync.Core.Repositories; 6 | using System; 7 | using System.Collections.Generic; 8 | using System.Linq; 9 | using System.Text; 10 | using System.Threading.Tasks; 11 | 12 | namespace FastSQL.Magento2.Integration.Mappers 13 | { 14 | public class ProductMapper : BaseMapper 15 | { 16 | public ProductMapper( 17 | ProductProcessor processor, 18 | ProductMapperOptionManager optionManager, 19 | FastAdapter adapter) : base(processor, optionManager, adapter) 20 | { 21 | } 22 | 23 | public override MapResult Pull(object lastToken = null) 24 | { 25 | throw new NotImplementedException(); 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento2/FastSQL.Magento2.Integration/Mappers/ProductMapperOptionManager.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace FastSQL.Magento2.Integration.Mappers 9 | { 10 | public class ProductMapperOptionManager : BaseOptionManager 11 | { 12 | public override IEnumerable GetOptionsTemplate() 13 | { 14 | return new List(); 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento2/FastSQL.Magento2.Integration/Mappers/SubCategoryMapper.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using FastSQL.Sync.Core; 3 | using FastSQL.Sync.Core.Mapper; 4 | using FastSQL.Sync.Core.Processors; 5 | using FastSQL.Sync.Core.Repositories; 6 | using System; 7 | using System.Collections.Generic; 8 | using System.Linq; 9 | using System.Text; 10 | using System.Threading.Tasks; 11 | 12 | namespace FastSQL.Magento2.Integration.Mappers 13 | { 14 | public class SubCategoryMapper : BaseMapper 15 | { 16 | public SubCategoryMapper( 17 | SubCategoryProcessor processor, 18 | SubCategoryMapperOptionManager optionManager, 19 | FastAdapter adapter) : base(processor, optionManager, adapter) 20 | { 21 | } 22 | 23 | public override MapResult Pull(object lastToken = null) 24 | { 25 | throw new NotImplementedException(); 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento2/FastSQL.Magento2.Integration/Mappers/SubCategoryMapperOptionManager.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace FastSQL.Magento2.Integration.Mappers 9 | { 10 | public class SubCategoryMapperOptionManager : BaseOptionManager 11 | { 12 | public override IEnumerable GetOptionsTemplate() 13 | { 14 | return new List(); 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento2/FastSQL.Magento2.Integration/Pullers/CustomerPullerOptionManager.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Text; 5 | 6 | namespace FastSQL.Magento2.Integration.Pullers 7 | { 8 | public class CustomerPullerOptionManager : BaseOptionManager 9 | { 10 | public override IEnumerable GetOptionsTemplate() 11 | { 12 | return new List(); 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento2/FastSQL.Magento2.Integration/Pullers/OrderItemPullerOptionManager.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Text; 5 | 6 | namespace FastSQL.Magento2.Integration.Pullers 7 | { 8 | public class OrderItemPullerOptionManager : BaseOptionManager 9 | { 10 | public override IEnumerable GetOptionsTemplate() 11 | { 12 | return new List(); 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento2/FastSQL.Magento2.Integration/Pullers/OrderPullerOptionManager.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Text; 5 | 6 | namespace FastSQL.Magento2.Integration.Pullers 7 | { 8 | public class OrderPullerOptionManager : BaseOptionManager 9 | { 10 | public override IEnumerable GetOptionsTemplate() 11 | { 12 | return new List(); 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento2/FastSQL.Magento2.Integration/Pushers/AttributeSetPusherOptionManager.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace FastSQL.Magento2.Integration.Pushers 9 | { 10 | public class AttributeSetPusherOptionManager : BaseOptionManager 11 | { 12 | public override IEnumerable GetOptionsTemplate() 13 | { 14 | return new List(); 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento2/FastSQL.Magento2.Integration/Pushers/ParentCategoryPusherOptionManager.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Text; 5 | 6 | namespace FastSQL.Magento2.Integration.Pushers 7 | { 8 | public class ParentCategoryPusherOptionManager : BaseOptionManager 9 | { 10 | public override IEnumerable GetOptionsTemplate() 11 | { 12 | return new List(); 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento2/FastSQL.Magento2.Integration/Pushers/ProductAttributeOptionPusherOptionManager.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Text; 5 | 6 | namespace FastSQL.Magento2.Integration.Pushers 7 | { 8 | public class ProductAttributeOptionPusherOptionManager : BaseOptionManager 9 | { 10 | public override IEnumerable GetOptionsTemplate() 11 | { 12 | return new List(); 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento2/FastSQL.Magento2.Integration/Pushers/ProductPusherOptionManager.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Text; 5 | 6 | namespace FastSQL.Magento2.Integration.Pushers 7 | { 8 | public class ProductPusherOptionManager : BaseOptionManager 9 | { 10 | public override IEnumerable GetOptionsTemplate() 11 | { 12 | return new List(); 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento2/FastSQL.Magento2.Integration/Pushers/Products/ProductImagePusherOptionManager.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Text; 5 | 6 | namespace FastSQL.Magento2.Integration.Pushers.Products 7 | { 8 | public class ProductImagePusherOptionManager : BaseOptionManager 9 | { 10 | public override IEnumerable GetOptionsTemplate() 11 | { 12 | return new List(); 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento2/FastSQL.Magento2.Integration/Pushers/Products/ProductMultipleAttributePusherOptionManager.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Text; 5 | 6 | namespace FastSQL.Magento2.Integration.Pushers.Products 7 | { 8 | public class ProductMultipleAttributePusherOptionManager : BaseOptionManager 9 | { 10 | public override IEnumerable GetOptionsTemplate() 11 | { 12 | return new List(); 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento2/FastSQL.Magento2.Integration/Pushers/Products/ProductParentCategoryPusherOptionManager.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Text; 5 | 6 | namespace FastSQL.Magento2.Integration.Pushers.Products 7 | { 8 | public class ProductParentCategoryPusherOptionManager : BaseOptionManager 9 | { 10 | public override IEnumerable GetOptionsTemplate() 11 | { 12 | return new List(); 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento2/FastSQL.Magento2.Integration/Pushers/Products/ProductPromotionPusherOptionManager.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Text; 5 | 6 | namespace FastSQL.Magento2.Integration.Pushers.Products 7 | { 8 | public class ProductPromotionPusherOptionManager : BaseOptionManager 9 | { 10 | public override IEnumerable GetOptionsTemplate() 11 | { 12 | return new List(); 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento2/FastSQL.Magento2.Integration/Pushers/Products/ProductSingleAttributePusherOptionManager.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Text; 5 | 6 | namespace FastSQL.Magento2.Integration.Pushers.Products 7 | { 8 | public class ProductSingleAttributePusherOptionManager : BaseOptionManager 9 | { 10 | public override IEnumerable GetOptionsTemplate() 11 | { 12 | return new List(); 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento2/FastSQL.Magento2.Integration/Pushers/Products/ProductStockPusherOptionManager.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Text; 5 | 6 | namespace FastSQL.Magento2.Integration.Pushers.Products 7 | { 8 | public class ProductStockPusherOptionManager : BaseOptionManager 9 | { 10 | public override IEnumerable GetOptionsTemplate() 11 | { 12 | return new List(); 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento2/FastSQL.Magento2.Integration/Pushers/Products/ProductSubCategoryPusherOptionManager.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Text; 5 | 6 | namespace FastSQL.Magento2.Integration.Pushers.Products 7 | { 8 | public class ProductSubCategoryPusherOptionManager : BaseOptionManager 9 | { 10 | public override IEnumerable GetOptionsTemplate() 11 | { 12 | return new List(); 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento2/FastSQL.Magento2.Integration/Pushers/Products/ProductTierPricePusherOptionManager.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Text; 5 | 6 | namespace FastSQL.Magento2.Integration.Pushers.Products 7 | { 8 | public class ProductTierPricePusherOptionManager : BaseOptionManager 9 | { 10 | public override IEnumerable GetOptionsTemplate() 11 | { 12 | return new List(); 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento2/FastSQL.Magento2.Integration/Pushers/SubCategoryPusherOptionManager.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Text; 5 | 6 | namespace FastSQL.Magento2.Integration.Pushers 7 | { 8 | public class SubCategoryPusherOptionManager : BaseOptionManager 9 | { 10 | public override IEnumerable GetOptionsTemplate() 11 | { 12 | return new List(); 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento2/FastSQL.Magento2/FastProvider.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Data; 5 | using System.Data.SqlClient; 6 | 7 | namespace FastSQL.Magento2 8 | { 9 | public class FastProvider : BaseProvider 10 | { 11 | public override string Id => "1064aecb081027138f91e1e7e401a9fjkejk2lj92"; 12 | public override string Name => "Magento 2 REST API"; 13 | 14 | public override string DisplayName => "Magento 2 REST API"; 15 | 16 | public override string Description => "Magento 2 REST API"; 17 | 18 | 19 | public FastProvider(ProviderOptionManager options): base (options) 20 | { 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /src/api/Vendors/Magento2/FastSQL.Magento2/FastSQL.Magento2.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | netstandard2.0 5 | 1.0.0 6 | True 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/api/Vendors/MsAccess/FastSQL.MsAccess.Integration/AttributeIndexer.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using FastSQL.Sync.Core; 3 | using FastSQL.Sync.Core.Indexer; 4 | using FastSQL.Sync.Core.Processors; 5 | using FastSQL.Sync.Core.Repositories; 6 | using System; 7 | using System.Collections.Generic; 8 | using System.Text; 9 | 10 | namespace FastSQL.MsAccess.Integration 11 | { 12 | public class AttributeIndexer : BaseAttributeIndexer 13 | { 14 | public AttributeIndexer( 15 | EntityProcessor entityProcessor, 16 | AttributeProcessor attributeProcessor, 17 | AttributeIndexerOptionManager optionManager, 18 | FastAdapter adapter) : base(entityProcessor, attributeProcessor, optionManager, adapter) 19 | { 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /src/api/Vendors/MsAccess/FastSQL.MsAccess.Integration/EntityIndexer.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using FastSQL.Sync.Core; 3 | using FastSQL.Sync.Core.Indexer; 4 | using FastSQL.Sync.Core.Processors; 5 | using FastSQL.Sync.Core.Repositories; 6 | using System; 7 | using System.Collections.Generic; 8 | using System.Text; 9 | 10 | namespace FastSQL.MsAccess.Integration 11 | { 12 | public class EntityIndexer : BaseEntityIndexer 13 | { 14 | public EntityIndexer( 15 | EntityProcessor processor, 16 | EntityIndexerOptionManager optionManager, 17 | FastAdapter adapter) : base(processor, optionManager, adapter) 18 | { 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/api/Vendors/MsAccess/FastSQL.MsAccess.Integration/FastSQL.MsAccess.Integration.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | netstandard2.0 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/api/Vendors/MsAccess/FastSQL.MsAccess/FastProvider.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | 3 | namespace FastSQL.MsAccess 4 | { 5 | public class FastProvider : BaseProvider 6 | { 7 | public override string Id => "1064aecb081027138f91e1e7e401a99239f8928d"; 8 | public override string Name => "MsAccess"; 9 | 10 | public override string DisplayName => "Microsoft Access"; 11 | 12 | public override string Description => "Microsoft Access"; 13 | 14 | public FastProvider(ProviderOptionManager options) : base(options) 15 | { 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/api/Vendors/MsAccess/FastSQL.MsAccess/FastSQL.MsAccess.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | netstandard2.0 5 | 1.0.0 6 | True 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /src/api/Vendors/MsSql/FastSQL.MsSql.Integration/AttributeIndexer.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using FastSQL.Sync.Core; 3 | using FastSQL.Sync.Core.Indexer; 4 | using FastSQL.Sync.Core.Processors; 5 | using FastSQL.Sync.Core.Repositories; 6 | using System; 7 | using System.Collections.Generic; 8 | using System.Text; 9 | 10 | namespace FastSQL.MsSql.Integration 11 | { 12 | public class AttributeIndexer : BaseAttributeIndexer 13 | { 14 | public AttributeIndexer( 15 | EntityProcessor entityProcessor, 16 | AttributeProcessor attributeProcessor, 17 | AttributeIndexerOptionManager optionManager, 18 | FastAdapter adapter) : base(entityProcessor, attributeProcessor, optionManager, adapter) 19 | { 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /src/api/Vendors/MsSql/FastSQL.MsSql.Integration/EntityIndexer.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using FastSQL.Sync.Core; 3 | using FastSQL.Sync.Core.Indexer; 4 | using FastSQL.Sync.Core.Processors; 5 | using FastSQL.Sync.Core.Repositories; 6 | using System; 7 | using System.Collections.Generic; 8 | using System.Text; 9 | 10 | namespace FastSQL.MsSql.Integration 11 | { 12 | public class EntityIndexer : BaseEntityIndexer 13 | { 14 | public EntityIndexer( 15 | EntityProcessor processor, 16 | EntityIndexerOptionManager optionManager, 17 | FastAdapter adapter) : base(processor, optionManager, adapter) 18 | { 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/api/Vendors/MsSql/FastSQL.MsSql.Integration/FastSQL.MsSql.Integration.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | netstandard2.0 5 | 1.0.0 6 | True 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/api/Vendors/MsSql/FastSQL.MsSql/FastProvider.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Data; 5 | using System.Data.SqlClient; 6 | 7 | namespace FastSQL.MsSql 8 | { 9 | public class FastProvider : BaseProvider 10 | { 11 | public override string Id => "1064aecb081027138f91e1e7e401a99239f89362"; 12 | public override string Name => "MsSql"; 13 | 14 | public override string DisplayName => "Microsoft SQL Server"; 15 | 16 | public override string Description => "Microsoft SQL Server"; 17 | 18 | 19 | public FastProvider(ProviderOptionManager options): base (options) 20 | { 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /src/api/Vendors/MsSql/FastSQL.MsSql/FastSQL.MsSql.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | netstandard2.0 5 | 1.0.0 6 | True 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /src/api/Vendors/MySQL/FastSQL.MySQL.Integration/AttributeIndexer.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using FastSQL.Sync.Core; 3 | using FastSQL.Sync.Core.Indexer; 4 | using FastSQL.Sync.Core.Processors; 5 | using FastSQL.Sync.Core.Repositories; 6 | using System; 7 | using System.Collections.Generic; 8 | using System.Text; 9 | 10 | namespace FastSQL.MySQL.Integration 11 | { 12 | public class AttributeIndexer : BaseAttributeIndexer 13 | { 14 | public AttributeIndexer( 15 | AttributeProcessor attributeProcessor, 16 | EntityProcessor entityProcessor, 17 | FastAdapter adapter, 18 | AttributeIndexerOptionManager optionManager) : base(attributeProcessor, entityProcessor, optionManager, adapter) 19 | { 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /src/api/Vendors/MySQL/FastSQL.MySQL.Integration/EntityIndexer.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using FastSQL.Sync.Core; 3 | using FastSQL.Sync.Core.Indexer; 4 | using FastSQL.Sync.Core.Processors; 5 | using FastSQL.Sync.Core.Repositories; 6 | using System; 7 | using System.Collections.Generic; 8 | using System.Text; 9 | 10 | namespace FastSQL.MySQL.Integration 11 | { 12 | public class EntityIndexer : BaseEntityIndexer 13 | { 14 | public EntityIndexer(EntityProcessor processor, 15 | EntityIndexerOptionManager optionManager, 16 | FastAdapter adapter) : base(processor, optionManager, adapter) 17 | { 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /src/api/Vendors/MySQL/FastSQL.MySQL.Integration/FastSQL.MySQL.Integration.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | netstandard2.0 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /src/api/Vendors/MySQL/FastSQL.MySQL/FastProvider.cs: -------------------------------------------------------------------------------- 1 | using FastSQL.Core; 2 | using MySql.Data.MySqlClient; 3 | using System; 4 | using System.Collections.Generic; 5 | using System.Data; 6 | using System.Data.Odbc; 7 | using System.Data.SqlClient; 8 | using System.IO; 9 | using System.Linq; 10 | using System.Text; 11 | 12 | namespace FastSQL.MySQL 13 | { 14 | public class FastProvider : BaseProvider 15 | { 16 | public override string Id => "1064aecb081027138f91e1e7e401a99239f89283"; 17 | public override string Name => "MySQL"; 18 | 19 | public override string DisplayName => "MySQL"; 20 | 21 | public override string Description => "MySQL"; 22 | 23 | public FastProvider(ProviderOptionManager options): base(options) 24 | { 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /src/api/Vendors/MySQL/FastSQL.MySQL/FastSQL.MySQL.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | netstandard2.0 5 | 1.0.0 6 | True 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /src/index.ejs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | fastSQL 6 | <% if (htmlWebpackPlugin.options.nodeModules) { %> 7 | 8 | 11 | <% } %> 12 | 13 | 14 |
15 | 16 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /src/main/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "api": { 3 | "port": "63923" 4 | } 5 | } -------------------------------------------------------------------------------- /src/main/index.dev.js: -------------------------------------------------------------------------------- 1 | /** 2 | * This file is used specifically and only for development. It installs 3 | * `electron-debug` & `vue-devtools`. There shouldn't be any need to 4 | * modify this file, but it can be used to extend your development 5 | * environment. 6 | */ 7 | 8 | /* eslint-disable */ 9 | 10 | // Set environment for development 11 | process.env.NODE_ENV = 'development' 12 | 13 | // Install `electron-debug` with `devtron` 14 | require('electron-debug')({ showDevTools: true }) 15 | 16 | // Install `vue-devtools` 17 | require('electron').app.on('ready', () => { 18 | let installExtension = require('electron-devtools-installer') 19 | installExtension.default(installExtension.VUEJS_DEVTOOLS) 20 | .then(() => {}) 21 | .catch(err => { 22 | console.log('Unable to install `vue-devtools`: \n', err) 23 | }) 24 | }) 25 | 26 | // Require `main` process to boot app 27 | require('./index') 28 | -------------------------------------------------------------------------------- /src/renderer/assets/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/j4zzlee/fastSQL/20694e116c8a02ca3e4938b09bd660414aba613f/src/renderer/assets/.gitkeep -------------------------------------------------------------------------------- /src/renderer/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/j4zzlee/fastSQL/20694e116c8a02ca3e4938b09bd660414aba613f/src/renderer/assets/logo.png -------------------------------------------------------------------------------- /src/renderer/assets/styles/_btn.scss: -------------------------------------------------------------------------------- 1 | .btn-link { 2 | &*, &:hover, &:active, &:focus { 3 | text-decoration: none; 4 | } 5 | text-decoration: none; 6 | } 7 | -------------------------------------------------------------------------------- /src/renderer/assets/styles/_dropdown.scss: -------------------------------------------------------------------------------- 1 | .show>.dropdown-menu { 2 | display: block; 3 | } 4 | .dropdown-menu { 5 | &.dropdown-menu-right { 6 | right: 0; 7 | left: auto; 8 | } 9 | &.dropdown-menu-left { 10 | left: 0; 11 | right: auto; 12 | } 13 | } -------------------------------------------------------------------------------- /src/renderer/assets/styles/_fileUpload.scss: -------------------------------------------------------------------------------- 1 | div.file-upload { 2 | position: relative; 3 | input.file { 4 | position: absolute; 5 | top: 0; 6 | right: 0; 7 | width: 100%; 8 | height: 100%; 9 | margin: 0; 10 | font-size: 23px; 11 | cursor: pointer; 12 | filter: alpha(opacity=0); 13 | opacity: 0; 14 | direction: ltr; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/renderer/assets/styles/_layout.scss: -------------------------------------------------------------------------------- 1 | html, 2 | body, 3 | #app, 4 | #wrapper, 5 | .vue-codemirror { 6 | height: 100%; 7 | } 8 | 9 | main { 10 | padding: 10px 11 | } 12 | 13 | .codemirror { 14 | border: 1px solid #e9ecef; 15 | } 16 | 17 | -------------------------------------------------------------------------------- /src/renderer/assets/styles/_modal.scss: -------------------------------------------------------------------------------- 1 | .modal.show { 2 | overflow: auto; 3 | } -------------------------------------------------------------------------------- /src/renderer/assets/styles/_nav.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/j4zzlee/fastSQL/20694e116c8a02ca3e4938b09bd660414aba613f/src/renderer/assets/styles/_nav.scss -------------------------------------------------------------------------------- /src/renderer/assets/styles/_padding.scss: -------------------------------------------------------------------------------- 1 | .p-1 { 2 | padding: $spacer !important; 3 | } -------------------------------------------------------------------------------- /src/renderer/assets/styles/_spinner.scss: -------------------------------------------------------------------------------- 1 | .spin { 2 | -webkit-animation: spin 0.5s infinite linear; 3 | -moz-animation: spin 0.5s infinite linear; 4 | -o-animation: spin 0.5s infinite linear; 5 | animation: spin 0.5s infinite linear; 6 | -webkit-transform-origin: 50% 58%; 7 | transform-origin: 50% 58%; 8 | -ms-transform-origin: 50% 58%; /* IE 9 */ 9 | } 10 | 11 | @-moz-keyframes spin { 12 | from { 13 | -moz-transform: rotate(0deg); 14 | } 15 | to { 16 | -moz-transform: rotate(360deg); 17 | } 18 | } 19 | 20 | @-webkit-keyframes spin { 21 | from { 22 | -webkit-transform: rotate(0deg); 23 | } 24 | to { 25 | -webkit-transform: rotate(360deg); 26 | } 27 | } 28 | 29 | @keyframes spin { 30 | from { 31 | transform: rotate(0deg); 32 | } 33 | to { 34 | transform: rotate(360deg); 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /src/renderer/assets/styles/_textarea.scss: -------------------------------------------------------------------------------- 1 | .sql-input{ 2 | height: 100%; 3 | } -------------------------------------------------------------------------------- /src/renderer/assets/styles/main.scss: -------------------------------------------------------------------------------- 1 | $fa-font-path: "~font-awesome/fonts"; 2 | @import './dropdown.scss'; 3 | @import './btn.scss'; 4 | @import './fileUpload.scss'; 5 | @import './nav.scss'; 6 | @import './textarea.scss'; 7 | @import './layout.scss'; 8 | @import './modal.scss'; 9 | @import './spinner.scss'; 10 | @import './padding.scss'; 11 | @import '../../node_modules/font-awesome/scss/font-awesome.scss'; -------------------------------------------------------------------------------- /src/renderer/main.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue'; 2 | import axios from 'axios'; 3 | 4 | import App from './App'; 5 | import router from './router'; 6 | import store from './store'; 7 | import storage from 'vue-localstorage'; 8 | import VueCodemirror from 'vue-codemirror' 9 | import vClickOutside from 'v-click-outside' 10 | 11 | if (!process.env.IS_WEB) Vue.use(require('vue-electron')); 12 | Vue.use(vClickOutside) 13 | Vue.use(storage) 14 | Vue.use(VueCodemirror) 15 | Vue.http = Vue.prototype.$http = axios; 16 | Vue.config.productionTip = false; 17 | 18 | /* eslint-disable no-new */ 19 | new Vue({ 20 | components: { App }, 21 | router, 22 | store, 23 | template: '' 24 | }).$mount('#app') 25 | -------------------------------------------------------------------------------- /src/renderer/store/index.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue' 2 | import Vuex from 'vuex' 3 | 4 | import modules from './modules' 5 | 6 | Vue.use(Vuex) 7 | 8 | export default new Vuex.Store({ 9 | modules, 10 | strict: process.env.NODE_ENV !== 'production' 11 | }) 12 | -------------------------------------------------------------------------------- /src/renderer/store/modules/Modal.js: -------------------------------------------------------------------------------- 1 | const state = { 2 | visible: false, 3 | modalName: null 4 | }; 5 | 6 | const mutations = { 7 | SHOW_MODAL(state, modal) { 8 | state.visible = true; 9 | state.modalName = modal; 10 | }, 11 | HIDE_MODAL(state) { 12 | state.visible = false; 13 | state.modalName = null; 14 | } 15 | }; 16 | 17 | const actions = {}; 18 | 19 | export default { 20 | namespaced: true, 21 | state, 22 | mutations, 23 | actions 24 | }; 25 | -------------------------------------------------------------------------------- /src/renderer/store/modules/index.js: -------------------------------------------------------------------------------- 1 | /** 2 | * The file enables `@/store/index.js` to import all vuex modules 3 | * in a one-shot manner. There should not be any reason to edit this file. 4 | */ 5 | 6 | const files = require.context('.', false, /\.js$/); 7 | const modules = {}; 8 | 9 | files.keys().forEach(key => { 10 | if (key === './index.js') return; 11 | modules[key.replace(/(\.\/|\.js)/g, '')] = files(key).default; 12 | }); 13 | 14 | export default modules; 15 | -------------------------------------------------------------------------------- /static/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/j4zzlee/fastSQL/20694e116c8a02ca3e4938b09bd660414aba613f/static/.gitkeep -------------------------------------------------------------------------------- /test/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "env": { 3 | "mocha": true 4 | }, 5 | "globals": { 6 | "assert": true, 7 | "expect": true, 8 | "should": true, 9 | "__static": true 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /test/e2e/index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | // Set BABEL_ENV to use proper env config 4 | process.env.BABEL_ENV = 'test' 5 | 6 | // Enable use of ES6+ on required files 7 | require('babel-register')({ 8 | ignore: /node_modules/ 9 | }) 10 | 11 | // Attach Chai APIs to global scope 12 | const { expect, should, assert } = require('chai') 13 | global.expect = expect 14 | global.should = should 15 | global.assert = assert 16 | 17 | // Require all JS files in `./specs` for Mocha to consume 18 | require('require-dir')('./specs') 19 | -------------------------------------------------------------------------------- /test/e2e/specs/Launch.spec.js: -------------------------------------------------------------------------------- 1 | import utils from '../utils' 2 | 3 | describe('Launch', function () { 4 | beforeEach(utils.beforeEach) 5 | afterEach(utils.afterEach) 6 | 7 | it('shows the proper application title', function () { 8 | return this.app.client.getTitle() 9 | .then(title => { 10 | expect(title).to.equal('fast-sql') 11 | }) 12 | }) 13 | }) 14 | -------------------------------------------------------------------------------- /test/e2e/utils.js: -------------------------------------------------------------------------------- 1 | import electron from 'electron' 2 | import { Application } from 'spectron' 3 | 4 | export default { 5 | afterEach () { 6 | this.timeout(10000) 7 | 8 | if (this.app && this.app.isRunning()) { 9 | return this.app.stop() 10 | } 11 | }, 12 | beforeEach () { 13 | this.timeout(10000) 14 | this.app = new Application({ 15 | path: electron, 16 | args: ['dist/electron/main.js'], 17 | startTimeout: 10000, 18 | waitTimeout: 10000 19 | }) 20 | 21 | return this.app.start() 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /test/unit/index.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue' 2 | Vue.config.devtools = false 3 | Vue.config.productionTip = false 4 | 5 | // require all test files (files that ends with .spec.js) 6 | const testsContext = require.context('./specs', true, /\.spec$/) 7 | testsContext.keys().forEach(testsContext) 8 | 9 | // require all src files except main.js for coverage. 10 | // you can also change this to match only the subset of files that 11 | // you want coverage for. 12 | const srcContext = require.context('../../src/renderer', true, /^\.\/(?!main(\.js)?$)/) 13 | srcContext.keys().forEach(srcContext) 14 | -------------------------------------------------------------------------------- /test/unit/specs/LandingPage.spec.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue' 2 | import LandingPage from '@/components/LandingPage' 3 | 4 | describe('LandingPage.vue', () => { 5 | it('should render correct contents', () => { 6 | const vm = new Vue({ 7 | el: document.createElement('div'), 8 | render: h => h(LandingPage) 9 | }).$mount() 10 | 11 | expect(vm.$el.querySelector('.title').textContent).to.contain('Welcome to your new project!') 12 | }) 13 | }) 14 | --------------------------------------------------------------------------------