예제 #1
0
파일: bundles.py 프로젝트: siq/narrative
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'),
)
예제 #2
0
파일: bundles.py 프로젝트: siq/flux
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'),
)
예제 #3
0
파일: __init__.py 프로젝트: siq/harp
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="/")
예제 #4
0
파일: bundles.py 프로젝트: siq-legacy/flux
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'),
)
예제 #5
0
파일: bundles.py 프로젝트: siq/flux
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'),
)
예제 #6
0
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]
예제 #7
0
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]
예제 #8
0
from mesh.standard import Bundle, mount

from narrative import resources

API = Bundle(
    'narrative',
    mount(resources.Entry, 'narrative.controllers.entry.EntryController'),
)
예제 #9
0
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'),
)
예제 #10
0
파일: bundles.py 프로젝트: esho/yabl.keg
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'),
)
예제 #11
0
파일: bundles.py 프로젝트: esho/platoon
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'),
)
예제 #12
0
from mesh.standard import Bundle, mount

from nucleus.resources import *

API = Bundle('nucleus',
    mount(Service, 'nucleus.controllers.service.ServiceController'),
)
예제 #13
0
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')
예제 #14
0
파일: __init__.py 프로젝트: siq-legacy/harp
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='/')
예제 #15
0
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')
예제 #16
0
파일: bundles.py 프로젝트: esho/yabl
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'),
)

예제 #17
0
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'),
)
예제 #18
0
파일: bundles.py 프로젝트: siq-legacy/flux
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'),
)