Search
Preparing search index...
The search index is not available
pip-services3-facade-node
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
services
MainFacadeService
Class MainFacadeService
Hierarchy
FacadeService
MainFacadeService
Implements
any
any
IFacadeService
any
Index
Constructors
constructor
Properties
_dependency
Resolver
_logger
_partition
_root
Path
Methods
close
configure
get
Connection
get
Credential
get
Root
Path
is
Maintenance
Enabled
is
Open
open
register
Middleware
register
Middleware
For
Path
register
Route
register
Route
With
Auth
set
Maintenance
Enabed
set
References
Constructors
constructor
new
Main
Facade
Service
(
)
:
MainFacadeService
Returns
MainFacadeService
Properties
Protected
_dependency
Resolver
_dependency
Resolver
:
DependencyResolver
= new DependencyResolver()
Protected
_logger
_logger
:
any
= new CompositeLogger()
Protected
_partition
_partition
:
any
= express()
Protected
_root
Path
_root
Path
:
string
= ""
Methods
close
close
(
correlationId
:
string
, callback
?:
function
)
:
void
Parameters
correlationId:
string
Optional
callback:
function
(
err
:
any
)
:
void
Parameters
err:
any
Returns
void
Returns
void
configure
configure
(
config
:
ConfigParams
)
:
void
Parameters
config:
ConfigParams
Returns
void
Protected
get
Connection
get
Connection
(
correlationId
:
string
, callback
:
function
)
:
void
Parameters
correlationId:
string
callback:
function
(
err
:
any
, result
:
ConnectionParams
)
:
void
Parameters
err:
any
result:
ConnectionParams
Returns
void
Returns
void
Protected
get
Credential
get
Credential
(
correlationId
:
string
, connection
:
ConnectionParams
, callback
:
function
)
:
void
Parameters
correlationId:
string
connection:
ConnectionParams
callback:
function
(
err
:
any
, result
:
CredentialParams
)
:
void
Parameters
err:
any
result:
CredentialParams
Returns
void
Returns
void
get
Root
Path
get
Root
Path
(
)
:
string
Returns
string
is
Maintenance
Enabled
is
Maintenance
Enabled
(
)
:
boolean
Returns
boolean
is
Open
is
Open
(
)
:
boolean
Returns
boolean
open
open
(
correlationId
:
string
, callback
?:
function
)
:
void
Parameters
correlationId:
string
Optional
callback:
function
(
err
:
any
)
:
void
Parameters
err:
any
Returns
void
Returns
void
register
Middleware
register
Middleware
(
action
:
function
)
:
void
Parameters
action:
function
(
req
:
any
, res
:
any
, next
:
function
)
:
void
Parameters
req:
any
res:
any
next:
function
(
)
:
void
Returns
void
Returns
void
Returns
void
register
Middleware
For
Path
register
Middleware
For
Path
(
path
:
string
, action
:
function
)
:
void
Parameters
path:
string
action:
function
(
req
:
any
, res
:
any
, next
:
function
)
:
void
Parameters
req:
any
res:
any
next:
function
(
)
:
void
Returns
void
Returns
void
Returns
void
register
Route
register
Route
(
method
:
string
, route
:
string
, action
:
function
)
:
void
Parameters
method:
string
route:
string
action:
function
(
req
:
any
, res
:
any
)
:
void
Parameters
req:
any
res:
any
Returns
void
Returns
void
register
Route
With
Auth
register
Route
With
Auth
(
method
:
string
, route
:
string
, authorize
:
function
, action
:
function
)
:
void
Parameters
method:
string
route:
string
authorize:
function
(
req
:
any
, res
:
any
, next
:
function
)
:
void
Parameters
req:
any
res:
any
next:
function
(
)
:
void
Returns
void
Returns
void
action:
function
(
req
:
any
, res
:
any
)
:
void
Parameters
req:
any
res:
any
Returns
void
Returns
void
set
Maintenance
Enabed
set
Maintenance
Enabed
(
value
:
boolean
)
:
void
Parameters
value:
boolean
Returns
void
set
References
set
References
(
references
:
IReferences
)
:
void
Parameters
references:
IReferences
Returns
void
Globals
auth
build
container
index
operations
routes
services
Facade
Service
Main
Facade
Service
constructor
_dependency
Resolver
_logger
_partition
_root
Path
close
configure
get
Connection
get
Credential
get
Root
Path
is
Maintenance
Enabled
is
Open
open
register
Middleware
register
Middleware
For
Path
register
Route
register
Route
With
Auth
set
Maintenance
Enabed
set
References
Partition
Facade
Service
IFacade
Service
async
connect
Timeout
cors
express
express
fs
getoverride
http
https
os
Generated using
TypeDoc