Skip to content

Commit

Permalink
UHF-9833: Removed support for environment specific metadata, removed …
Browse files Browse the repository at this point in the history
…azure devops link from project metadata
  • Loading branch information
tuutti committed Apr 25, 2024
1 parent 253b206 commit 2aa3e32
Show file tree
Hide file tree
Showing 11 changed files with 27 additions and 300 deletions.
4 changes: 0 additions & 4 deletions documentation/environment-resolver.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ $resolver = \Drupal::service('helfi_api_base.environment_resolver');
$project = $resolver->getProject($projectName);
/** @var \Drupal\helfi_api_base\Environment\ProjectMetadata $projectMetadata */
$projectMetadata = $project->getMetadata();
// A link to the Azure DevOps service.
$projectMetadata->getAzureDevopsLink(); // 'https://dev.azure.com/City-of-Helsinki/asuminen'.
// A link to the Git repository.
$projectMetadata->getRepositoryUrl(); // 'https://github.com/City-of-Helsinki/drupal-helfi-asuminen'.

Expand All @@ -31,8 +29,6 @@ $domain = $environment->getDomain(); // 'nginx-asuminen-dev.agw.arodevtest.hel.f
$baseUrl = $environment->getBaseUrl(); // 'https://nginx-asuminen-dev.agw.arodevtest.hel.fi'
/** @var \Drupal\helfi_api_base\Environment\EnvironmentMetadata $environmentMetadata */
$environmentMetadata = $environment->getMetadata();
// A link to the OpenShift service.
$environmentMetadata->getOpenshiftConsoleLink(); // 'https://console-openshift-console.apps.arodevtest.hel.fi/k8s/cluster/projects/hki-kanslia-asuminen-test'
```

### Active environment
Expand Down
Loading

0 comments on commit 2aa3e32

Please sign in to comment.