from mesh.standard import Bundle, mount from narrative import resources API = Bundle('narrative', mount(resources.Entry, 'narrative.controllers.entry.EntryController'), mount(resources.Notification, 'narrative.controllers.notification.NotificationController'), )
from mesh.standard import Bundle, mount from flux.resources import * API = Bundle( 'flux', mount(Execution, 'flux.controllers.execution.ExecutionController'), mount(Message, 'flux.controllers.message.MessageController'), mount(Operation, 'flux.controllers.operation.OperationController'), mount(Request, 'flux.controllers.request.RequestController'), mount(Run, 'flux.controllers.run.RunController'), mount(Workflow, 'flux.controllers.workflow.WorkflowController'), )
from mesh.standard import Bundle, mount from scheme import Text from spire.core import Component, Configuration from spire.mesh import MeshServer import harp.models from harp import resources API = Bundle( "harp", mount(resources.ACL, "harp.controllers.ACLController"), mount(resources.Backend, "harp.controllers.BackendController"), mount(resources.Configuration, "harp.controllers.ConfigurationController"), mount(resources.Frontend, "harp.controllers.FrontendController"), mount(resources.Rule, "harp.controllers.RuleController"), mount(resources.Server, "harp.controllers.ServerController"), ) class APIServer(MeshServer): pass class Harp(Component): api = APIServer.deploy(bundles=[API], path="/")
from mesh.standard import Bundle, mount from flux.resources import * API = Bundle( 'flux', mount(Execution, 'flux.controllers.execution.ExecutionController'), mount(Operation, 'flux.controllers.operation.OperationController'), mount(Run, 'flux.controllers.run.RunController'), mount(Workflow, 'flux.controllers.workflow.WorkflowController'), )
from mesh.standard import Bundle, mount from flux.resources import * API = Bundle('flux', mount(Execution, 'flux.controllers.execution.ExecutionController'), mount(Message, 'flux.controllers.message.MessageController'), mount(Operation, 'flux.controllers.operation.OperationController'), mount(Request, 'flux.controllers.request.RequestController'), mount(Run, 'flux.controllers.run.RunController'), mount(Workflow, 'flux.controllers.workflow.WorkflowController'), )
from mesh.standard import Bundle, mount from docket.resources import * API = Bundle( 'docket', mount(Archetype, 'docket.controllers.archetype.ArchetypeController'), mount(Association, 'docket.controllers.association.AssociationController'), mount(Concept, 'docket.controllers.concept.ConceptController'), mount(DocumentType, 'docket.controllers.documenttype.DocumentTypeController'), mount(Entity, 'docket.controllers.entity.EntityController'), mount(Intent, 'docket.controllers.intent.IntentController'), mount(Package, 'docket.controllers.package.PackageController'), mount(Registration, 'docket.controllers.registration.RegistrationController'), ) ENTITY_API = Bundle('docket.entity') INSTANCE_API = Bundle('docket.instance') CONCEPT_API = Bundle('docket.concept') DOCUMENT_API = Bundle('docket.document') BUNDLES = [API, CONCEPT_API, DOCUMENT_API, ENTITY_API, INSTANCE_API]
from mesh.standard import Bundle, mount from docket.resources import * API = Bundle('docket', mount(Archetype, 'docket.controllers.archetype.ArchetypeController'), mount(Association, 'docket.controllers.association.AssociationController'), mount(Concept, 'docket.controllers.concept.ConceptController'), mount(DocumentType, 'docket.controllers.documenttype.DocumentTypeController'), mount(Entity, 'docket.controllers.entity.EntityController'), mount(Intent, 'docket.controllers.intent.IntentController'), mount(Package, 'docket.controllers.package.PackageController'), mount(Registration, 'docket.controllers.registration.RegistrationController'), ) ENTITY_API = Bundle('docket.entity') INSTANCE_API = Bundle('docket.instance') CONCEPT_API = Bundle('docket.concept') DOCUMENT_API = Bundle('docket.document') BUNDLES = [API, CONCEPT_API, DOCUMENT_API, ENTITY_API, INSTANCE_API]
from mesh.standard import Bundle, mount from narrative import resources API = Bundle( 'narrative', mount(resources.Entry, 'narrative.controllers.entry.EntryController'), )
from mesh.standard import Bundle, mount from yabl.tap.resources import * API = Bundle( 'tap', mount(User, 'yabl.tap.controllers.user.UserController'), mount(Credential, 'yabl.tap.controllers.credential.CredentialController'), mount(Group, 'yabl.tap.controllers.group.GroupController'), mount(GroupPermission, 'yabl.tap.controllers.grouppermission.GroupPermissionController'), mount(Permission, 'yabl.tap.controllers.permission.PermissionController'), mount(ResourceRegistry, 'yabl.tap.controllers.resourceregistry.ResourceRegistryController'), mount(UserGroup, 'yabl.tap.controllers.usergroup.UserGroupController'), )
from mesh.standard import Bundle, mount from keg.resources import * API = Bundle('keg', mount(Beer, 'keg.controllers.beer.BeerController'), mount(Brewery, 'keg.controllers.brewery.BreweryController'), mount(Pob, 'keg.controllers.pob.PobController'), mount(Tab, 'keg.controllers.tab.TabController'), )
from mesh.standard import Bundle, mount from platoon import resources API = Bundle('platoon', mount(resources.Event, 'platoon.controllers.event.EventController'), mount(resources.Executor, 'platoon.controllers.executor.ExecutorController'), mount(resources.Process, 'platoon.controllers.process.ProcessController'), mount(resources.Queue, 'platoon.controllers.queue.QueueController'), mount(resources.Schedule, 'platoon.controllers.schedule.ScheduleController'), mount(resources.RecurringTask, 'platoon.controllers.recurringtask.RecurringTaskController'), mount(resources.ScheduledTask, 'platoon.controllers.scheduledtask.ScheduledTaskController'), mount(resources.SubscribedTask, 'platoon.controllers.subscribedtask.SubscribedTaskController'), )
from mesh.standard import Bundle, mount from nucleus.resources import * API = Bundle('nucleus', mount(Service, 'nucleus.controllers.service.ServiceController'), )
from mesh.standard import Bundle, mount from spire.core import Component from spire.mesh import MeshServer import lattice.server.models from lattice.server import resources bundle = Bundle( 'lattice', mount(resources.Component, 'lattice.server.controllers.component.ComponentController'), mount(resources.Product, 'lattice.server.controllers.product.ProductController'), mount(resources.Profile, 'lattice.server.controllers.profile.ProfileController'), mount(resources.Project, 'lattice.server.controllers.project.ProjectController'), ) class Lattice(Component): api = MeshServer.deploy(bundles=[bundle], path='/api')
from mesh.standard import Bundle, mount from scheme import Text from spire.core import Component, Configuration from spire.mesh import MeshServer import harp.models from harp import resources API = Bundle('harp', mount(resources.ACL, 'harp.controllers.ACLController'), mount(resources.Backend, 'harp.controllers.BackendController'), mount(resources.Configuration, 'harp.controllers.ConfigurationController'), mount(resources.Frontend, 'harp.controllers.FrontendController'), mount(resources.Rule, 'harp.controllers.RuleController'), mount(resources.Server, 'harp.controllers.ServerController')) class APIServer(MeshServer): pass class Harp(Component): api = APIServer.deploy( bundles=[API], path='/')
from mesh.standard import Bundle, mount from spire.core import Component from spire.mesh import MeshServer import lattice.server.models from lattice.server import resources bundle = Bundle('lattice', mount(resources.Component, 'lattice.server.controllers.component.ComponentController'), mount(resources.Product, 'lattice.server.controllers.product.ProductController'), mount(resources.Profile, 'lattice.server.controllers.profile.ProfileController'), mount(resources.Project, 'lattice.server.controllers.project.ProjectController'), ) class Lattice(Component): api = MeshServer.deploy( bundles=[bundle], path='/api')
from mesh.standard import Bundle, mount from yabl.tap.resources import * API = Bundle('tap', mount(User, 'yabl.tap.controllers.user.UserController'), mount(Credential, 'yabl.tap.controllers.credential.CredentialController'), mount(Group, 'yabl.tap.controllers.group.GroupController'), mount(GroupPermission, 'yabl.tap.controllers.grouppermission.GroupPermissionController'), mount(Permission, 'yabl.tap.controllers.permission.PermissionController'), mount(ResourceRegistry, 'yabl.tap.controllers.resourceregistry.ResourceRegistryController'), mount(UserGroup, 'yabl.tap.controllers.usergroup.UserGroupController'), )
from mesh.standard import Bundle, mount from platoon import resources API = Bundle( 'platoon', mount(resources.Event, 'platoon.controllers.event.EventController'), mount(resources.Executor, 'platoon.controllers.executor.ExecutorController'), mount(resources.Process, 'platoon.controllers.process.ProcessController'), mount(resources.Queue, 'platoon.controllers.queue.QueueController'), mount(resources.Schedule, 'platoon.controllers.schedule.ScheduleController'), mount(resources.RecurringTask, 'platoon.controllers.recurringtask.RecurringTaskController'), mount(resources.ScheduledTask, 'platoon.controllers.scheduledtask.ScheduledTaskController'), mount(resources.SubscribedTask, 'platoon.controllers.subscribedtask.SubscribedTaskController'), )
from mesh.standard import Bundle, mount from flux.resources import * API = Bundle('flux', mount(Execution, 'flux.controllers.execution.ExecutionController'), mount(Operation, 'flux.controllers.operation.OperationController'), mount(Run, 'flux.controllers.run.RunController'), mount(Workflow, 'flux.controllers.workflow.WorkflowController'), )