Commit 2118a424 authored by Xavier Guimard's avatar Xavier Guimard

Move read conf calls into Conf/RESTServer (#970)

parent 1983842f
......@@ -26,6 +26,8 @@ use constant APPLYSECTION => "apply";
our $hashParameters = qr/^(?:(?:l(?:o(?:ca(?:lSessionStorageOption|tionRule)|goutService)|dapExportedVar|wpSslOpt)|(?:(?:d(?:emo|bi)|facebook|webID)ExportedVa|exported(?:Heade|Va))r|ca(?:s(?:StorageOption|Attribute)|ptchaStorageOption)|g(?:r(?:antSessionRule|oup)|lobalStorageOption)|n(?:otificationStorageOption|ginxCustomHandler)|re(?:moteGlobalStorageOption|loadUrl)|CAS_proxiedService|macro)s|o(?:idc(?:RPMetaData(?:(?:Option(?:sExtraClaim)?|ExportedVar)s|Node)|OPMetaData(?:(?:ExportedVar|Option)s|J(?:SON|WKS)|Node)|S(?:erviceMetaDataAuthnContext|torageOptions))|penIdExportedVars)|s(?:aml(?:S(?:PMetaData(?:(?:ExportedAttribute|Option)s|Node|XML)|torageOptions)|IDPMetaData(?:(?:ExportedAttribute|Option)s|Node|XML))|essionDataToRemember|laveExportedVars)|p(?:ersistentStorageOptions|o(?:rtalSkinRules|st))|a(?:uthChoiceModules|pplicationList)|v(?:hostOptions|irtualHost))$/;
sub NO {qr/^(?:off|no|0)?$/i}
our %EXPORT_TAGS = (
'all' => [
qw(
......@@ -43,6 +45,7 @@ our %EXPORT_TAGS = (
MANAGERSECTION
SESSIONSEXPLORERSECTION
APPLYSECTION
NO
$hashParameters
)
]
......
This diff is collapsed.
......@@ -15,7 +15,6 @@ use constant {
NOTICE => 1,
ERROR => 0,
};
our $no = qr/^(?:off|no|0)?$/i;
our %EXPORT_TAGS = ( 'all' => [qw(DEBUG INFO WARN ERROR $no)] );
our @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } );
......
......@@ -302,6 +302,8 @@ use constant SESSIONSEXPLORERSECTION => "sessionsExplorer";
use constant APPLYSECTION => "apply";
$confConstants
sub NO {qr/^(?:off|no|0)?\$/i}
our %EXPORT_TAGS = (
'all' => [
qw(
......@@ -319,6 +321,7 @@ our %EXPORT_TAGS = (
MANAGERSECTION
SESSIONSEXPLORERSECTION
APPLYSECTION
NO
\$hashParameters
)
]
......
......@@ -36,7 +36,8 @@ sub _addRoute {
}
}
};
return $self->p->$type( $word, $subName, $methods, $transform );
$self->p->$type( $word, $subName, $methods, $transform );
return $self;
}
1;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment