Skip to content
GitLab
    • Explore Projects Groups Topics Snippets
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • fusiondirectory-orchestrator fusiondirectory-orchestrator
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 25
    • Issues 25
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 6
    • Merge requests 6
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • fusiondirectoryfusiondirectory
  • fusiondirectory-orchestratorfusiondirectory-orchestrator
  • Merge requests
  • !66
An error occurred while fetching the assigned milestone of the selected merge_request.

Resolve "[Orchestrator] - lifeCycle prolongation adds time from date of process and not from resource end date"

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged dockx thibault requested to merge 62-orchestrator-lifecycle-prolongation-adds-time-from-date-of-process-and-not-from-resource-end-date into dev 6 months ago
  • Overview 0
  • Commits 3
  • Pipelines 4
  • Changes 1

Related to #62 (closed)

Viewing commit d1e5755b
Prev
Show latest version
1 file
+ 3
− 3

    Preferences

    File browser
    Compare changes
  • Verified
    d1e5755b
    dockx thibault
    :sparkles: Feat(Orchestrator) - phpcs · d1e5755b
    dockx thibault authored 5 months ago
    PHPCS
plugins/tasks/LifeCycle.php
+ 3
− 3
  • View file @ d1e5755b

  • Edit in single-file editor

  • Open in Web IDE


@@ -238,14 +238,14 @@ class LifeCycle implements EndpointInterface
* @return string|null
* Note : Simple helper method to return the matched resource.
*/
private function findMatchedResource(array $userStateHistory, string $newResourceName): ?string
private function findMatchedResource (array $userStateHistory, string $newResourceName): ?string
{
foreach ($userStateHistory as $value) {
if ($this->returnSupannResourceBetweenBrackets($value) === $newResourceName) {
return $value;
}
}
return null;
return NULL;
}
/**
@@ -253,7 +253,7 @@ class LifeCycle implements EndpointInterface
* @return array
* Simple helper method for readiness.
*/
private function prepareNewEntry(array $lifeCycleBehavior): array
private function prepareNewEntry (array $lifeCycleBehavior): array
{
return [
'Resource' => $lifeCycleBehavior['fdtaskslifecyclepostresource'][0],
Assignee
dockx thibault's avatar
dockx thibault
Assign to
0 Reviewers
None
Request review from
Labels
0
None
0
None
    Assign labels
  • Manage project labels

Milestone
No milestone
None
None
Time tracking
No estimate or time spent
Lock merge request
Unlocked
0
0 Participants
Reference:
Source branch: 62-orchestrator-lifecycle-prolongation-adds-time-from-date-of-process-and-not-from-resource-end-date

Menu

Explore Projects Groups Topics Snippets