Skip to content

Commit 11b2efc

Browse files
committed
Merge branch 'TDMET-5-automated-testing' into 'develop'
TDMET-5 Introduce automated testing with TD internal CI system See merge request techdivision-public/m2-content-provisioning!42
2 parents b99f81e + eebdf96 commit 11b2efc

File tree

60 files changed

+607
-541
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+607
-541
lines changed

.gitlab-ci.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
include:
2+
- remote: 'https://gitlab.met.tdintern.de/met-public/gitlab-ci-templates/-/raw/master/module/stages.yml'
3+
- remote: 'https://gitlab.met.tdintern.de/met-public/gitlab-ci-templates/-/raw/master/module/merge-request/2.4.4/static-tests.yml'
4+
#- remote: 'https://gitlab.met.tdintern.de/met-public/gitlab-ci-templates/-/raw/master/module/merge-request/2.4.4/unit-tests.yml'
5+
- remote: 'https://gitlab.met.tdintern.de/met-public/gitlab-ci-templates/-/raw/master/module/merge-request/2.4.4/integration-tests.yml'
6+
- remote: 'https://gitlab.met.tdintern.de/met-public/gitlab-ci-templates/-/raw/master/module/merge-request/2.4.4/semver-tests.yml'
7+
#- remote: 'https://gitlab.met.tdintern.de/met-public/gitlab-ci-templates/-/raw/master/module/nightly-build/2.4/unit-tests.yml'
8+
- remote: 'https://gitlab.met.tdintern.de/met-public/gitlab-ci-templates/-/raw/master/module/nightly-build/2.4/static-tests.yml'
9+
- remote: 'https://gitlab.met.tdintern.de/met-public/gitlab-ci-templates/-/raw/master/module/nightly-build/2.4/integration-tests.yml'
10+
11+
#variables:
12+
# SEMVER_ALLOWED_CHANGE_LEVEL: 3

.travis.yml

Lines changed: 0 additions & 37 deletions
This file was deleted.

Api/ConfigParserInterface.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55

66
use DOMElement;
77

8+
/**
9+
* @api
10+
*/
811
interface ConfigParserInterface
912
{
1013
/**

Api/ConfigurationInterface.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55

66
use Magento\Framework\Config\DataInterface;
77

8+
/**
9+
* @api
10+
*/
811
interface ConfigurationInterface extends DataInterface
912
{
1013
/**

Api/ContentResolverInterface.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55

66
use DOMElement;
77

8+
/**
9+
* @api
10+
*/
811
interface ContentResolverInterface
912
{
1013
/**

Api/Data/BlockEntryInterface.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55

66
use Magento\Cms\Api\Data\BlockInterface;
77

8+
/**
9+
* @api
10+
*/
811
interface BlockEntryInterface extends BlockInterface, EntryInterface
912
{
1013
}

Api/Data/EntryInterface.php

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,16 @@
33

44
namespace Firegento\ContentProvisioning\Api\Data;
55

6+
/**
7+
* @api
8+
*/
69
interface EntryInterface
710
{
8-
const KEY = 'key';
9-
const IS_MAINTAINED = 'is_maintained';
10-
const STORES = 'stores';
11-
const MEDIA_DIRECTORY = 'media_directory';
12-
const MEDIA_FILES = 'media_files';
11+
public const KEY = 'key';
12+
public const IS_MAINTAINED = 'is_maintained';
13+
public const STORES = 'stores';
14+
public const MEDIA_DIRECTORY = 'media_directory';
15+
public const MEDIA_FILES = 'media_files';
1316

1417
/**
1518
* @return string

Api/Data/PageEntryInterface.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55

66
use Magento\Cms\Api\Data\PageInterface;
77

8+
/**
9+
* @api
10+
*/
811
interface PageEntryInterface extends PageInterface, EntryInterface
912
{
1013
}

Api/MediaFilesParserInterface.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33

44
namespace Firegento\ContentProvisioning\Api;
55

6+
/**
7+
* @api
8+
*/
69
interface MediaFilesParserInterface
710
{
811
/**

Api/StoreCodeResolverInterface.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33

44
namespace Firegento\ContentProvisioning\Api;
55

6+
/**
7+
* @api
8+
*/
69
interface StoreCodeResolverInterface
710
{
811
/**

0 commit comments

Comments
 (0)