Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KCL-294 - upgrade to MAPI v2 #67

Closed
wants to merge 91 commits into from
Closed
Show file tree
Hide file tree
Changes from 11 commits
Commits
Show all changes
91 commits
Select commit Hold shift + click to select a range
27da159
remove v1 URL builder and use URL builder v2
Simply007 Jun 2, 2021
d6feb3c
regenerating first batch of req/response
Simply007 Jun 2, 2021
579cd67
first attept fixing upert content language variants tests
Simply007 Jun 2, 2021
a0c608c
Fix of elements but this needs to be re-worked
gormal Jun 4, 2021
970dc29
only 3 failing tests
gormal Jun 11, 2021
ab48abc
POC - strongly typed models
gormal Jun 17, 2021
73fb741
All green tests
gormal Jun 24, 2021
ca19385
Introduce IPropertyProvider
gormal Jun 25, 2021
61072d6
remove unnecessary changes and rename propertyProvider
gormal Jun 25, 2021
3e9f1e3
Merge pull request #68 from gormal/vNext
gormal Jun 25, 2021
b90d4f2
Merge branch 'master' into vNext
Simply007 Jun 25, 2021
47f3142
Minor fixes
gormal Jun 25, 2021
e3c72b3
Add collection identifier to items
gormal Jun 25, 2021
ff73560
use markers for mapping
Simply007 Jul 22, 2021
461e2a1
fix test
Simply007 Jul 22, 2021
62acfcd
Merge remote-tracking branch 'upstream/vNext' into vNext
gormal Jul 23, 2021
dc807bd
fix one last test
Simply007 Jul 23, 2021
4f21103
set extension method internal
Simply007 Jul 23, 2021
3fe4468
add test
Simply007 Jul 23, 2021
894da6a
convert base element to trongly type version vol.1
Simply007 Jul 23, 2021
c97a384
Strongly typed elementMetada and first endpoint for content types
gormal Jul 23, 2021
d9f5229
finish strongly type element for simple values
Simply007 Jul 23, 2021
1d4302b
regenerate mock responses
Simply007 Jul 23, 2021
9d0c13a
adjust class comments
Simply007 Jul 26, 2021
4ba61d3
Ass asset element
Simply007 Jul 26, 2021
2152ff8
add Taxonomy element
Simply007 Jul 26, 2021
799909c
add support for Multiple choice element
Simply007 Jul 26, 2021
0dce13d
Types models
gormal Jul 29, 2021
2971e1b
ContentType
gormal Jul 30, 2021
2525a04
taxonomy groups
gormal Jul 30, 2021
b53fe53
support linked items element
Simply007 Jul 27, 2021
0d6b719
rich text support vol.1
Simply007 Aug 2, 2021
7c03f4b
rich text support vol.2
Simply007 Aug 2, 2021
de68ebc
regenerate tests
Simply007 Aug 2, 2021
0855e72
Webhooks, Language, regenerate tests
gormal Aug 6, 2021
3c49ce1
Unify identifiers, start workflow endpoints
gormal Aug 6, 2021
bfb8004
change workflow step
gormal Aug 6, 2021
b279fac
Merge branch 'master' into vNext
Simply007 Aug 9, 2021
3dc3179
Merge pull request #71 from gormal/vNext
gormal Aug 9, 2021
7be3a00
Update ManagementClientTests.cs
Simply007 Aug 9, 2021
32e1e3e
workflows endpoints
gormal Aug 12, 2021
47901a7
Merge pull request #72 from Kentico/feature/workflow_endpoints
gormal Aug 12, 2021
13ba62a
Update integrate.yml
gormal Aug 12, 2021
0b71a7c
Fix unit tests
gormal Aug 12, 2021
48696e8
Fix unit tests #2
gormal Aug 12, 2021
1e9cf0e
Update release.yml
gormal Aug 12, 2021
71f486d
unify environment for tests
Simply007 Aug 12, 2021
385a558
regenerate with filtering all whitespaces
Simply007 Aug 12, 2021
a2ea2b1
unify tests for linux
Simply007 Aug 12, 2021
2fc68dd
test out altrenative separator
Simply007 Aug 12, 2021
9e1400c
use path combine
Simply007 Aug 12, 2021
33b3ac6
Fix unit tests
gormal Aug 13, 2021
133511a
Merge pull request #73 from Kentico/feature/vNext_fix_test_on_linux
gormal Aug 13, 2021
46d6992
Update release.yml
gormal Aug 13, 2021
7100c17
Refactor unit tests
gormal Aug 13, 2021
3fb0cd1
Snippets endpoints
gormal Aug 19, 2021
83c5f04
Regenerate mock files
gormal Aug 19, 2021
bbdda3b
Project endpoints
gormal Aug 19, 2021
1232e83
Regenarate mock files
gormal Aug 19, 2021
a53a9a8
Merge branch 'master' into vNext
gormal Aug 20, 2021
d80236c
Collections endpoints
gormal Aug 20, 2021
a8b81e1
Regenarate mock files
gormal Aug 20, 2021
17f3b47
Assets endpoints
gormal Aug 20, 2021
a62eeef
remove unused file
gormal Aug 20, 2021
f2121ac
minor change
gormal Aug 20, 2021
9b60842
refactor tests
gormal Aug 27, 2021
d579d77
flaky test
gormal Aug 27, 2021
75626de
Add missing documentation part #1
gormal Aug 27, 2021
74ce5eb
Change language Identifiers
gormal Sep 2, 2021
fec6aee
url builder
gormal Sep 2, 2021
709603e
Clean up
gormal Sep 2, 2021
4bc21d3
internal complex model
gormal Sep 9, 2021
b069609
Add documentation and other minor changes
gormal Sep 16, 2021
64efa6b
Add documentation
gormal Sep 16, 2021
a73bb0e
add vs config files
Sep 16, 2021
7f4fc30
add searchable value and over by tests for custom element
Sep 16, 2021
3dbdfed
Merge branch 'vNext' of https://github.com/Kentico/kontent-management…
gormal Sep 22, 2021
44a2bc0
Unite identifiers
gormal Sep 22, 2021
23f44f3
Fix listing
gormal Sep 23, 2021
4f60406
Fix KontentElementIdAttribute
gormal Sep 24, 2021
ac62e4f
Rename ContentItemVariant to LanguageVariant
gormal Sep 24, 2021
5cefbff
Remove assetIdentifier
gormal Sep 30, 2021
dad5e08
Fix flaky test
gormal Oct 4, 2021
ba2779c
Add forgotten endpoints - list variants by type/component/collection
gormal Oct 4, 2021
e644b0f
Fix warnings and suggestions
gormal Oct 5, 2021
09383cc
Grammar check
gormal Oct 5, 2021
a480e28
set Options property of Multiple choice element to be enumerable
Simply007 Oct 12, 2021
31298b9
Fix unit tests
gormal Oct 12, 2021
9e37e93
some todos
gormal Oct 14, 2021
af1091c
update project backup
Simply007 Oct 18, 2021
d004693
fix typo
Simply007 Oct 18, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 4 additions & 2 deletions Kentico.Kontent.Management.Tests/Data/ComplexTestModel.cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
using System;
using System.Collections.Generic;
using System.Linq;
using Kentico.Kontent.Management.Models.Assets;
using Kentico.Kontent.Management.Models.Items;
using Kentico.Kontent.Management.Models.StronglyTyped;
using Newtonsoft.Json;

namespace Kentico.Kontent.Management.Tests.Data
{
internal class ComplexTestModel
public class ComplexTestModel
gormal marked this conversation as resolved.
Show resolved Hide resolved
{
[JsonProperty("title")]
public string Title { get; set; }
Expand Down Expand Up @@ -36,6 +38,6 @@ internal class ComplexTestModel
public string MetaDescription { get; set; }

[JsonProperty("url_pattern")]
public string UrlPattern { get; set; }
public UrlSlug UrlPattern { get; set; }
}
}

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"Version": "1.1",
"VersionPolicy": 0,
"Content": null,
"Method": {
"Method": "DELETE"
},
"RequestUri": "https://manage.kontent.ai/v2/projects/{PROJECT_ID}/assets/0c398261-2598-4d69-9e96-baa2ae7f1e25",
"Headers": [
{
"Key": "Authorization",
"Value": [
"Bearer {API_KEY}"
]
},
{
"Key": "X-KC-SDKID",
"Value": [
"nuget.org;Kentico.Kontent.Management;{SDK_ID}"
]
}
],
"Properties": {},
"Options": {}
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,16 @@
"keep-alive"
]
},
{
"Key": "Server",
"Value": [
"Microsoft-IIS/10.0"
]
},
{
"Key": "X-Request-ID",
"Value": [
"67acf9e46eda204c"
"d8b04468823e9b4e"
]
},
{
"Key": "X-KC-Backend-Name",
"Value": [
"us-01"
"eu-01"
]
},
{
Expand All @@ -42,12 +36,6 @@
"Request-Context"
]
},
{
"Key": "X-Powered-By",
"Value": [
"ASP.NET"
]
},
{
"Key": "Accept-Ranges",
"Value": [
Expand All @@ -57,7 +45,7 @@
{
"Key": "Date",
"Value": [
"Tue, 23 Feb 2021 10:38:58 GMT"
"Fri, 11 Jun 2021 10:17:12 GMT"
]
},
{
Expand All @@ -69,7 +57,7 @@
{
"Key": "X-Served-By",
"Value": [
"cache-vie21648-VIE"
"cache-hhn4064-HHN"
]
},
{
Expand All @@ -87,7 +75,7 @@
{
"Key": "X-Timer",
"Value": [
"S1614076738.351937,VS0,VE171"
"S1623406632.092658,VS0,VE45"
]
}
],
Expand All @@ -99,7 +87,7 @@
"Method": {
"Method": "DELETE"
},
"RequestUri": "https://manage.kontent.ai/projects/{PROJECT_ID}/items/codename/hooray_",
"RequestUri": "https://manage.kontent.ai/v2/projects/{PROJECT_ID}/assets/0c398261-2598-4d69-9e96-baa2ae7f1e25",
"Headers": [
{
"Key": "Authorization",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"Version": "1.1",
"VersionPolicy": 0,
"Content": null,
"Method": {
"Method": "DELETE"
},
"RequestUri": "https://manage.kontent.ai/v2/projects/{PROJECT_ID}/assets/46f8cb29-47c5-4c15-a71d-327de83ea9b2",
"Headers": [
{
"Key": "Authorization",
"Value": [
"Bearer {API_KEY}"
]
},
{
"Key": "X-KC-SDKID",
"Value": [
"nuget.org;Kentico.Kontent.Management;{SDK_ID}"
]
}
],
"Properties": {},
"Options": {}
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,16 @@
"keep-alive"
]
},
{
"Key": "Server",
"Value": [
"Microsoft-IIS/10.0"
]
},
{
"Key": "X-Request-ID",
"Value": [
"1ed239d0beba484b"
"8c7383d43b7ab740"
]
},
{
"Key": "X-KC-Backend-Name",
"Value": [
"us-01"
"eu-01"
]
},
{
Expand All @@ -42,12 +36,6 @@
"Request-Context"
]
},
{
"Key": "X-Powered-By",
"Value": [
"ASP.NET"
]
},
{
"Key": "Accept-Ranges",
"Value": [
Expand All @@ -57,7 +45,7 @@
{
"Key": "Date",
"Value": [
"Tue, 23 Feb 2021 10:39:12 GMT"
"Fri, 11 Jun 2021 10:25:11 GMT"
]
},
{
Expand All @@ -69,7 +57,7 @@
{
"Key": "X-Served-By",
"Value": [
"cache-vie21625-VIE"
"cache-hhn4048-HHN"
]
},
{
Expand All @@ -87,7 +75,7 @@
{
"Key": "X-Timer",
"Value": [
"S1614076753.739750,VS0,VE173"
"S1623407112.664664,VS0,VE45"
]
}
],
Expand All @@ -99,7 +87,7 @@
"Method": {
"Method": "DELETE"
},
"RequestUri": "https://manage.kontent.ai/projects/{PROJECT_ID}/items/codename/hooray_codename",
"RequestUri": "https://manage.kontent.ai/v2/projects/{PROJECT_ID}/assets/46f8cb29-47c5-4c15-a71d-327de83ea9b2",
"Headers": [
{
"Key": "Authorization",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"file_reference":{"id":"9fb072e2-675d-4c7d-8a8f-ccc70f677d3e","type":"internal"},"descriptions":[]}
Loading