Looking for sample PASOE config
 
Forums / SmartComponent Library - Developer Forum / Looking for sample PASOE config

Looking for sample PASOE config

2 posts, 0 answered
  1. Carl Verbiest
    Carl Verbiest avatar
    67 posts
    Registered:
    12 Oct 2018
    09 Dec 2019
    Link to this post
    I'm trying to create a basic SCL setup to reproduce an issue.

    I want to have a basic setup with just SmartDB + sports2000 and none our our code.

    Is there a standard out-of-the-box PASOE configuration available ?
    I looked for PASOE on the documentation site.

  2. Daniel van Doorn
    Daniel van Doorn avatar
    17 posts
    Registered:
    18 Jun 2018
    09 Dec 2019 in reply to Carl Verbiest
    Link to this post
    Hi Carl,

    I am not sure for which case exactly you need the PASOE. You can just create a new PASOE with tcman create. You need some startup and connection procedures, a PROPATH and if you test something web/rest related you'll need the webhandlers specified on OpenEdge.properties. 
    The most important configuration is the "Agent" configuration.

    [AppServer.Agent.smartpas]
        numInitialSessions=2
        sessionShutdownProc=
        sessionDeactivateProc=Consultingwerk/Framework/Server/as_deactivate.p
        sessionStartupProcParam=Consultingwerk/SmartComponentsDemo/Web2/startup_common_appserver.json
        sessionStartupProc=Consultingwerk/Framework/Server/ccs_startup.p
        PROPATH=.\CustomFramework,.\SmartComponentLibrary,.\SmartComponentLibrary\src,${CATALINA_BASE}/webapps/ROOT/WEB-INF/openedge,${CATALINA_BASE}/openedge,${DLC}/tty,${DLC}/tty/netlib/OpenEdge.Net.pl
       
        sessionConnectProc=Consultingwerk/Framework/Server/as_connect.p

    The SessionManager configuration is mostly used to supply a .pf file (for DB connections, etc)

    [AppServer.SessMgr.smartpas]
        agentLogEntryTypes=ASPlumbing,DB.Connects,QryInfo:2
        agentLogFile=${catalina.base}/logs/smartpas.agent.log
        agentStartupParam=-pf .\appserver.pf -T ".\temp" -reusableObjects 10000 -debugalert



    if you would need the webhandlers, this is the list:

        defaultHandler=OpenEdge.Web.CompatibilityHandler
        handler1=Consultingwerk.OERA.JsdoGenericService.WebHandler.CatalogWebHandler: /Catalog/{EntityName}
        handler2=Consultingwerk.OERA.JsdoGenericService.WebHandler.CatalogsWebHandler: /Catalogs/{PackageName}
        handler3=Consultingwerk.OERA.JsdoGenericService.WebHandler.CountWebHandler: /Resource/{EntityName}/count
        handler4=Consultingwerk.OERA.JsdoGenericService.WebHandler.ResourceSubmitWebHandler: /Resource/{EntityName}/SubmitData
        handler5=Consultingwerk.OERA.JsdoGenericService.WebHandler.InvokeMethodWebHandler: /Resource/{EntityName}/{MethodName}
        handler6=Consultingwerk.OERA.JsdoGenericService.WebHandler.ResourceWebHandler: /Resource/{EntityName}
        handler7=Consultingwerk.OERA.JsdoGenericService.WebHandler.BusinessServicesWebHandler: /BusinessServices/{OutputFormat}/{PackageName}
        handler8=Consultingwerk.Web2.WebHandler.SmartMenuWebHandler: /SmartMenu/{MenuStructureId}
        handler9=Consultingwerk.Web2.WebHandler.SmartMenuStructureWebHandler: /SmartMenuStructure
        handler10=Consultingwerk.Web2.WebHandler.SmartRoutesWebHandler: /SmartRoutes
        handler11=Consultingwerk.Web2.Services.SmartViewsHandler.SmartGridWebHandler: /SmartViews/Grid/{EntityName}/{ViewName}/{DetailTemplate}
        handler12=Consultingwerk.Web2.Services.SmartViewsHandler.SmartGridWebHandler: /SmartViews/Grid/{EntityName}/{ViewName}
        handler13=Consultingwerk.Web2.Services.SmartViewsHandler.SmartGridWebHandler: /SmartViews/Grid/{CustomViewName}
        handler14=Consultingwerk.Web2.Services.SmartViewsHandler.SmartViewerWebHandler: /SmartViewer/Viewer/{EntityName}/{ViewName}
        handler15=Consultingwerk.Web2.Services.SmartViewsHandler.SmartViewerWebHandler: /SmartViewer/Viewer/{ObjectName}
        handler16=Consultingwerk.Web2.Services.SmartViewsHandler.SmartFormWebHandler: /SmartForm/{FormTemplate}/{EntityName}/{ViewName}
        handler17=Consultingwerk.Web2.Services.SmartViewsHandler.SmartFormWebHandler: /SmartForm/{FormTemplate}/{ObjectName}
        handler18=Consultingwerk.Web2.WebHandler.SmartMessageWebHandler: /SmartMessage/{MessageGroup}/{MessageNumber}
        handler19=Consultingwerk.Web2.WebHandler.GetImageWebHandler: /Image/{FileName}
        handler20=Consultingwerk.Web2.WebHandler.SmartValueListWebHandler: /ValueList/{ValueList}
        handler21=Consultingwerk.Web2.WebHandler.SmartAttachmentsWebHandler: /Attachments/{Table}/{KeyValues}
        handler22=Consultingwerk.Web2.WebHandler.SmartAttachmentWebHandler: /Attachment/{Guid}
        handler23=Consultingwerk.Web2.WebHandler.SessionContextWebHandler: /SessionContext
        handler24=Consultingwerk.Web2.WebHandler.ContextPropertiesWebHandler: /ContextProperties/{PropertyName}
        handler25=Consultingwerk.Web2.WebHandler.ContextPropertiesWebHandler: /ContextProperties
        handler26=Consultingwerk.Web2.WebHandler.SessionInfoWebHandler: /SessionInfo
        handler27=Consultingwerk.Web2.WebHandler.FileSearchWebHandler: /FileSearch/{FileName}
        handler28=Consultingwerk.Web2.WebHandler.ExecuteAblWebHandler: /ExecuteAbl
        handler29=Consultingwerk.Web2.WebHandler.SmartLanguagesWebHandler: /Languages
        handler30=Consultingwerk.OERA.RestResource.RestEntitiesWebHandler: /Entities
        handler31=Consultingwerk.OERA.Swagger.SwaggerWebHandler: /Swagger/{EntityName}
        handler32=Consultingwerk.OERA.Swagger.SwaggerRestEntitiesWebHandler: /SwaggerEntities/{OutputType}
        handler33=Consultingwerk.Web2.WebHandler.SmartTokenSecurityCheckWebHandler: /TokenSecurityCheck/{ObjectName}
        handler34=Consultingwerk.Web2.WebHandler.SmartTokenSecurityCheckWebHandler: /TokenSecurityCheck
        handler35=Consultingwerk.Web2.WebHandler.SmartEntityTableMappingHandler: /EntityTableMapping/{EntityName}/{TableName}/{UiTypeCodes}
        handler36=Consultingwerk.Web2.WebHandler.SmartTreeRootNodeWebHandler: /SmartViews/TreeRootNode/{rootnodeid}
        handler37=Consultingwerk.Web2.WebHandler.SmartTreeChildNodesWebHandler: /SmartViews/TreeChildNodes/{parentnodeid}
        handler38=Consultingwerk.Web2.WebHandler.SmartSecurityCheckWebHandler: /IsRestricted/{SecurityRealmCode}/{SecurityItemGuid}
        handler39=Consultingwerk.Web2.WebHandler.SmartFieldSecurityCheckWebHandler: /RestrictedFields/{TableName}

    BR Daniel



2 posts, 0 answered