File

ecosystem/ecosystem.service.ts

Index

Properties
Methods

Constructor

constructor(modal: ModalService, alertService: AlertService, humanizeAppName: HumanizeAppNamePipe, translateService: TranslateService, applicationService: ApplicationService, appStateService: AppStateService, zipService: ZipService, tenantService: TenantService)
Parameters :
Name Type Optional
modal ModalService No
alertService AlertService No
humanizeAppName HumanizeAppNamePipe No
translateService TranslateService No
applicationService ApplicationService No
appStateService AppStateService No
zipService ZipService No
tenantService TenantService No

Methods

cancelAppCreation
cancelAppCreation(app: IApplication)
Parameters :
Name Type Optional
app IApplication No
Returns : void
Async canDeleteApp
canDeleteApp(app: IApplication)
Parameters :
Name Type Optional
app IApplication No
Returns : Promise<boolean>
canOpenAppInBrowser
canOpenAppInBrowser(app: IApplication)
Parameters :
Name Type Optional
app IApplication No
Returns : boolean
Async checkIfSubscribed
checkIfSubscribed(app: IApplication)
Parameters :
Name Type Optional
app IApplication No
Returns : Promise<boolean>
Async createAppForArchive
createAppForArchive(archive, isPackageTypeArchive: boolean)
Parameters :
Name Type Optional Default value
archive No
isPackageTypeArchive boolean No false
createConfig
createConfig(app: IApplication, formGroupValue: FormGroup)
Parameters :
Name Type Optional
app IApplication No
formGroupValue FormGroup No
Returns : Partial<FormGroup>
Async deleteApp
deleteApp(app: IApplication)
Parameters :
Name Type Optional
app IApplication No
Returns : Promise<void>
Async deleteArchive
deleteArchive(archive: IApplicationBinary, app: IApplication)
Parameters :
Name Type Optional
archive IApplicationBinary No
app IApplication No
Returns : Promise<void>
Async downloadArchive
downloadArchive(app: IApplication, archive: IApplicationBinary)
Parameters :
Name Type Optional
app IApplication No
archive IApplicationBinary No
Returns : Promise<void>
getApplication
getApplication(appId: IdReference)
Parameters :
Name Type Optional
appId IdReference No
Returns : IApplication
getApplications
getApplications(customFilter: any)
Parameters :
Name Type Optional Default value
customFilter any No {}
getAppState
getAppState(app: IApplication)
Parameters :
Name Type Optional
app IApplication No
Returns : ApplicationState
Async getFeatureApplications
getFeatureApplications(customFilter: any)
Parameters :
Name Type Optional Default value
customFilter any No {}
getHumanizedAppName
getHumanizedAppName(app: IApplication)
Parameters :
Name Type Optional
app IApplication No
Returns : Promise<string>
Async getMicroservices
getMicroservices()
Async getPackageApplications
getPackageApplications(customFilter: any)
Parameters :
Name Type Optional Default value
customFilter any No {}
getUniqueAppConfig
getUniqueAppConfig(srcApp: IApplication, existingApps: IApplication[])
Parameters :
Name Type Optional
srcApp IApplication No
existingApps IApplication[] No
Returns : IApplication
Async getWebApplications
getWebApplications(customFilter: any)
Parameters :
Name Type Optional Default value
customFilter any No {}
hasExports
hasExports(app: IApplication)
Parameters :
Name Type Optional
app IApplication No
Returns : boolean
Async hasSubscribedAppParent
hasSubscribedAppParent(app: IApplication)
Parameters :
Name Type Optional
app IApplication No
Returns : Promise<boolean>
isApplication
isApplication(app: IApplication)
Parameters :
Name Type Optional
app IApplication No
Returns : boolean
isCustomMicroservice
isCustomMicroservice(app: IApplication)
Parameters :
Name Type Optional
app IApplication No
Returns : boolean
isExternal
isExternal(app: IApplication)
Parameters :
Name Type Optional
app IApplication No
Returns : boolean
isFeature
isFeature(app: IApplication)
Parameters :
Name Type Optional
app IApplication No
Returns : boolean
isMicroservice
isMicroservice(app: IApplication)
Parameters :
Name Type Optional
app IApplication No
Returns : boolean
Async isMicroserviceHostingAllowed
isMicroserviceHostingAllowed()
Returns : Promise<boolean>
Async isOverwrittenByCustomApp
isOverwrittenByCustomApp(app: IApplication)
Parameters :
Name Type Optional
app IApplication No
Returns : Promise<boolean>
isOwner
isOwner(app: IApplication)
Parameters :
Name Type Optional
app IApplication No
Returns : boolean
isPackage
isPackage(app: IApplication)
Parameters :
Name Type Optional
app IApplication No
Returns : boolean
isPackageBlueprint
isPackageBlueprint(app: IApplication)
Parameters :
Name Type Optional
app IApplication No
Returns : boolean
isPluginsPackage
isPluginsPackage(app: IApplication)
Parameters :
Name Type Optional
app IApplication No
Returns : boolean
isUnpacked
isUnpacked(app: IApplication)
Parameters :
Name Type Optional
app IApplication No
Returns : boolean
Async isValidAppType
isValidAppType(archive: File, appType: ApplicationType)
Parameters :
Name Type Optional
archive File No
appType ApplicationType No
Returns : Promise<boolean>
Async listArchives
listArchives(appId: string | number | IApplication)
Parameters :
Name Type Optional
appId string | number | IApplication No
Async reactivateArchive
reactivateArchive(app: IApplication)
Parameters :
Name Type Optional
app IApplication No
Returns : Promise<void>
Async removeOldestArchive
removeOldestArchive(app: IApplication, archives: IApplicationBinary[])
Parameters :
Name Type Optional
app IApplication No
archives IApplicationBinary[] No
Returns : Promise<void>
setAppActiveVersion
setAppActiveVersion(app: IApplication, activeVersionId: string)
Parameters :
Name Type Optional
app IApplication No
activeVersionId string No
Async subscribeApp
subscribeApp(app: IApplication)
Parameters :
Name Type Optional
app IApplication No
Returns : Promise<void>
Async unsubscribeApp
unsubscribeApp(app: IApplication)
Parameters :
Name Type Optional
app IApplication No
Returns : Promise<void>
Async updateApp
updateApp(app: IApplication, deleteOnFailure: boolean)
Parameters :
Name Type Optional Default value
app IApplication No
deleteOnFailure boolean No false
Async updateAppManifest
updateAppManifest(application: IApplication, sourcePackage: IApplication)
Parameters :
Name Type Optional
application IApplication No
sourcePackage IApplication No
Returns : Promise<literal type>
updateUploadProgress
updateUploadProgress(event)
Parameters :
Name Optional
event No
Returns : void
Async uploadArchiveToApp
uploadArchiveToApp(archive: File, app: IApplication)
Parameters :
Name Type Optional
archive File No
app IApplication No

Properties

appDeleted
Default value : new EventEmitter<IApplication>()
progress
Type : BehaviorSubject<number>
Default value : new BehaviorSubject<number>(null)

results matching ""

    No results matching ""