* tsp-info endpoint added
* different collector services are now implemented
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
<?php
|
||||
|
||||
use \App\Service\TrInfoCollectorService as TrInfo;
|
||||
/**
|
||||
* Local configuration.
|
||||
*
|
||||
@@ -11,6 +12,33 @@ return [
|
||||
'app.config' => [
|
||||
'jira.user' => '...',
|
||||
'jira.password' => '...',
|
||||
'mhweb.user' => '...',
|
||||
'mhweb.password' => '...',
|
||||
|
||||
'pra.baseData' => [
|
||||
'A' => [
|
||||
TrInfo::UNIT_CORE => 0,
|
||||
TrInfo::UNIT_SIG => 0,
|
||||
TrInfo::UNIT_TADE => 0,
|
||||
],
|
||||
'B' => [
|
||||
TrInfo::UNIT_CORE => 27,
|
||||
TrInfo::UNIT_SIG => 3,
|
||||
TrInfo::UNIT_TADE => 0,
|
||||
],
|
||||
'C' => [
|
||||
TrInfo::UNIT_CORE => 212,
|
||||
TrInfo::UNIT_SIG => 56,
|
||||
TrInfo::UNIT_TADE => 9,
|
||||
],
|
||||
],
|
||||
'url.jiraTspExpedites' => [
|
||||
"baseUrl" => "https://jirapducc.mo.ca.am.ericsson.se/rest/api/2/search?jql=filter=%s",
|
||||
"filters" => [
|
||||
"unassigned" => 12768,
|
||||
"all" => 12502,
|
||||
]
|
||||
],
|
||||
'url.jiraKanbanBoard' => [
|
||||
'baseUrl' => 'https://jirapducc.mo.ca.am.ericsson.se/rest/api/2/search?jql=filter=%s&maxResults=1000&fields=%s',
|
||||
'filterId' => 14229,
|
||||
@@ -35,7 +63,15 @@ return [
|
||||
'customfield_11692',
|
||||
],
|
||||
],
|
||||
'url.mhWebPraGoals' => 'https://mhweb.ericsson.se:443/SearchWeb/faces/search/query/resultPage.xhtml?&v=3&queryKey=74023&output=CSV&csvDelimiter=COMMA',
|
||||
'url.mhWebTrProgress' => 'https://mhweb.ericsson.se:443/SearchWeb/faces/search/query/resultPage.xhtml?&v=3&queryKey=68655&output=CSV&csvDelimiter=COMMA',
|
||||
'url.mhWebTrEdit' => 'https://mhweb.ericsson.se/TREditWeb/faces/tredit/tredit.xhtml?eriref=%s',
|
||||
'url.labTemperatureUrl' => 'https://159.107.194.61/public/mapshow_simple.htm?id=3381&mapid=884B46A7-AE59-4523-9981-8E9FEB7C1FCF',
|
||||
'url.vacation' => 'https://rhp.common.hu.eld.ericsson.se/vacation.php?action=groupview&dm_h=2&dm_v=1&group_id=478',
|
||||
'url.jcatTrFlow' => "http://jcat.tsp.eth.ericsson.se:8080/Trweb/trflow/reader.php?query=SELECT+*+FROM+trinfo+where+validationerrors+!=+''",
|
||||
|
||||
'url.eurestCamera2' => 'https://auto:auto@91.82.89.112:8443/mjpg/video.mjpg',
|
||||
|
||||
'http.proxy.enabled' => false,
|
||||
'http.proxy.type' => CURLPROXY_SOCKS5,
|
||||
'http.proxy.url' => "localhost:1080",
|
||||
|
||||
@@ -31,3 +31,5 @@ $app->get('/api/ping', App\Action\PingAction::class, 'api.ping');
|
||||
|
||||
$app->get('/api/kanban', App\Action\KanbanAction::class, 'api.kanban');
|
||||
$app->get('/avatars/{signum}', App\Action\AvatarAction::class, 'user.avatar');
|
||||
|
||||
$app->get('/api/tsp-info', App\Action\TspInfoAction::class, 'api.tsp-info');
|
||||
|
||||
Reference in New Issue
Block a user