Skip to content

Commit 5f8b2f1

Browse files
committed
MEF W149 CfC#1 v0.1
1 parent 7e43bc4 commit 5f8b2f1

File tree

115 files changed

+12036
-0
lines changed

Some content is hidden

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

115 files changed

+12036
-0
lines changed

‎documentation/serviceApi/sft/MEF W149 - LSO Allegro, LSO Interlude and LSO Legato Service Funvtion Testing API - Developer Guide.md

+5,365
Large diffs are not rendered by default.
Loading
Loading
72.7 KB
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
@startuml TestJobClass
2+
skinparam {
3+
ClassBackgroundColor White
4+
ClassBorderColor Black
5+
ClassBorderColor<<ServicePayloadSpecificAttributes>> FireBrick
6+
ClassBorderColor<<ResultPayload>> FireBrick
7+
}
8+
set namespaceSeparator none
9+
10+
11+
class TestJob {
12+
id: string
13+
href: string
14+
description: string
15+
name: string
16+
startDateTime: date-time
17+
actualStartDateTime: date-time
18+
endDateTime: date-time
19+
actualdateTime: date-time
20+
validFor: date-time
21+
recurencePeriod*: RecurencePeriodType
22+
state*: TestJobStateType
23+
24+
}
25+
26+
27+
class TestAttributeSchema {
28+
@type*: string <<discriminator>>
29+
}
30+
31+
class ServiceRef {
32+
relatedServiceId: string
33+
relatedServiceName: string
34+
}
35+
36+
class TestProfileRef {
37+
relatedTestProfileId: string
38+
}
39+
40+
enum RecurencePeriodType {
41+
NONE
42+
HOURLY
43+
DAILY
44+
WEEKLY
45+
MONTHLY
46+
}
47+
48+
enum TestJobStateType{
49+
ACKNOWLEDGED
50+
CANCELED
51+
COMPLETED
52+
IN_PROGRESS
53+
PENDING
54+
REJECTED
55+
RESOURCE_UNAVAILABLE
56+
SCHEDULED
57+
SUSPENDED
58+
}
59+
60+
61+
class TestAttributesRef{
62+
description: string
63+
creationDateTime: date-time
64+
65+
}
66+
67+
class ServiceSpecificTestProfileAttributes {
68+
@type*: string <<discriminator>>
69+
}
70+
class ServiceSpecificationRef {
71+
relatedServiceSpecificationId: string
72+
}
73+
74+
class RelatedContactRef {
75+
<<... attributes are skipped ...>>
76+
}
77+
78+
TestAttributesRef *-->"0..1" ServiceSpecificTestProfileAttributes : serviceSpecificTestProfileAttributes
79+
TestAttributesRef *-->"0..*" ServiceSpecificationRef : relatedServiceSpecification
80+
TestAttributesRef *-->"0..*" RelatedContactRef : relatedContact
81+
82+
83+
TestJob *-->"0..1" TestAttributeSchema : testAttributeSchema
84+
TestJob *-->"1..1" ServiceRef : relatedService
85+
TestJob *-->"0..1" TestProfileRef : testProfile
86+
TestJob *-->"0..1" TestAttributesRef: testAttributes
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
@startuml TestProfileClass
2+
skinparam {
3+
ClassBackgroundColor White
4+
ClassBorderColor Black
5+
ClassBorderColor<<ServicePayloadSpecificAttributes>> FireBrick
6+
ClassBorderColor<<ResultPayload>> FireBrick
7+
}
8+
set namespaceSeparator none
9+
10+
class TestProfile {
11+
12+
id: string
13+
description: string
14+
creationDateTime: date-time
15+
isBundled: boolean
16+
lifecycleStatus*: TestProfileLifecycleStatusType
17+
state*: TestProfileStateType
18+
name: string
19+
validFor: date-time
20+
lastUpdate: date-time
21+
}
22+
23+
class ServiceSpecificTestProfileAttributes {
24+
@type*: string <<discriminator>>
25+
}
26+
27+
class RelatedContactRef {
28+
<<... attributes are skipped ...>>
29+
}
30+
31+
class TestProfileRef {
32+
relatedTestProfileId: string
33+
}
34+
35+
class ServiceSpecificationRef {
36+
relatedServiceSpecificationId: string
37+
}
38+
enum TestProfileLifecycleStatusType {
39+
EXPERIMENTAL
40+
PENDING
41+
APPROVED
42+
DEPRECATED
43+
}
44+
45+
enum TestProfileStateType {
46+
ACKNOWLEDGED
47+
COMPLETED
48+
REJECTED
49+
}
50+
51+
TestProfile *-->"0..1" ServiceSpecificTestProfileAttributes : serviceSpecificTestProfileAttributes
52+
TestProfile *-->"0..*" TestProfileRef : relatedTestProfile
53+
TestProfile *-->"0..*" ServiceSpecificationRef : relatedServiceSpecification
54+
TestProfile *-->"0..*" RelatedContactRef : relatedContact
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
@startuml cancelTestJobModel
2+
3+
class CancelTestJob {
4+
5+
cancellationDeniedReason: string
6+
creationDate: date-time
7+
href: string
8+
id*: string
9+
state*: TestJobProcessStateType
10+
}
11+
CancelTestJob_Common <|-- CancelTestJob
12+
13+
14+
15+
class CancelTestJob_Common {
16+
17+
cancellationReason: string
18+
}
19+
20+
CancelTestJob_Common *-->"1" TestJobRef : testJob
21+
22+
class CancelTestJob_Find {
23+
creationDate: date-time
24+
id*: string
25+
state*: TestJobProcessStateType
26+
}
27+
CancelTestJob_Find *-->"1" TestJobRef : testJob
28+
29+
30+
class CancelTestJob_Create {
31+
32+
}
33+
CancelTestJob_Common <|-- CancelTestJob_Create
34+
35+
enum TestJobProcessStateType {
36+
37+
accepted
38+
acknowledged
39+
completed
40+
declined
41+
rejected
42+
}
43+
44+
@enduml
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
@startuml cancelTestJobStates
2+
3+
' skinparam Linetype polyline
4+
' skinparam Linetype ortho
5+
skinparam state {
6+
BackgroundColor White
7+
BorderColor Black
8+
}
9+
hide empty description
10+
11+
'''decisions'''
12+
state request_validated <<choice>>
13+
note left of request_validated : Request validation passed?
14+
15+
state request_accepted <<choice>>
16+
note bottom of request_accepted : Request accepted?
17+
18+
''' diagram'''
19+
[*] -d-> acknowledged
20+
21+
acknowledged -d-> request_validated
22+
23+
request_validated -d-> request_accepted: Yes
24+
25+
request_validated -r-> rejected: No
26+
27+
request_accepted -d-> accepted: Yes
28+
29+
request_accepted -r-> declined: No
30+
31+
32+
rejected -d-> [*]
33+
34+
accepted -d-> completed
35+
36+
completed -d-> [*]
37+
38+
declined -d-> [*]
39+
40+
41+
@enduml
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
@startuml errorEntities
2+
3+
class Error {
4+
5+
message: string
6+
reason*: string
7+
referenceError: uri
8+
}
9+
10+
11+
12+
class Error400 {
13+
14+
code*: Error400Code
15+
}
16+
Error <|-- Error400
17+
18+
19+
20+
enum Error400Code {
21+
22+
missingQueryParameter
23+
missingQueryValue
24+
invalidQuery
25+
invalidBody
26+
}
27+
class Error401 {
28+
29+
code*: Error401Code
30+
}
31+
Error <|-- Error401
32+
33+
34+
35+
enum Error401Code {
36+
37+
missingCredentials
38+
invalidCredentials
39+
}
40+
class Error403 {
41+
42+
code*: Error403Code
43+
}
44+
Error <|-- Error403
45+
46+
47+
48+
enum Error403Code {
49+
50+
accessDenied
51+
forbiddenRequester
52+
tooManyUsers
53+
}
54+
class Error404 {
55+
56+
code*: string
57+
}
58+
Error <|-- Error404
59+
60+
class Error408 {
61+
62+
code*: string
63+
}
64+
Error <|-- Error408
65+
66+
class Error409 {
67+
68+
code*: string
69+
}
70+
Error <|-- Error409
71+
72+
73+
74+
class Error422 {
75+
76+
code*: Error422Code
77+
propertyPath: string
78+
}
79+
Error <|-- Error422
80+
81+
82+
83+
enum Error422Code {
84+
85+
missingProperty
86+
invalidValue
87+
invalidFormat
88+
referenceNotFound
89+
unexpectedProperty
90+
tooLargeDataset
91+
tooManyRecords
92+
tooManyRequests
93+
performanceProfileInUse
94+
otherIssue
95+
}
96+
class Error500 {
97+
98+
code*: string
99+
}
100+
Error <|-- Error500
101+
102+
103+
104+
class Error501 {
105+
106+
code*: string
107+
}
108+
Error <|-- Error501
109+
110+
111+
112+
@enduml

0 commit comments

Comments
 (0)