remove redundantt folder
This commit is contained in:
committed by
Daniel Hutzel
parent
e7be207911
commit
7a0e8fdba6
@@ -36,52 +36,52 @@ entity Albums {
|
|||||||
artist : Association to Artists;
|
artist : Association to Artists;
|
||||||
}
|
}
|
||||||
|
|
||||||
// entity Employees : ContactInfoAspect {
|
entity Employees : ContactInfoAspect {
|
||||||
// reportsTo : Association to Employees;
|
reportsTo : Association to Employees;
|
||||||
// title : String(20);
|
title : String(20);
|
||||||
// birthDate : DateTime;
|
birthDate : DateTime;
|
||||||
// hireDate : DateTime;
|
hireDate : DateTime;
|
||||||
// }
|
}
|
||||||
|
|
||||||
// entity Customers : ContactInfoAspect {
|
entity Customers : ContactInfoAspect {
|
||||||
// company : String(80);
|
company : String(80);
|
||||||
// supportRep : Association to Employees;
|
supportRep : Association to Employees;
|
||||||
// }
|
}
|
||||||
|
|
||||||
// keep columns order for importing data
|
// keep columns order for importing data
|
||||||
entity Employees {
|
// entity Employees {
|
||||||
key ID : Integer;
|
// key ID : Integer;
|
||||||
lastName : String(20);
|
// lastName : String(20);
|
||||||
firstName : String(40);
|
// firstName : String(40);
|
||||||
title : String(20);
|
// title : String(20);
|
||||||
reportsTo : Association to Employees;
|
// reportsTo : Association to Employees;
|
||||||
birthDate : DateTime;
|
// birthDate : DateTime;
|
||||||
hireDate : DateTime;
|
// hireDate : DateTime;
|
||||||
adress : String(70);
|
// adress : String(70);
|
||||||
city : String(40);
|
// city : String(40);
|
||||||
state : String(40);
|
// state : String(40);
|
||||||
country : String(40);
|
// country : String(40);
|
||||||
postalCode : String(10);
|
// postalCode : String(10);
|
||||||
phone : String(24);
|
// phone : String(24);
|
||||||
fax : String(24);
|
// fax : String(24);
|
||||||
email : String(60);
|
// email : String(60);
|
||||||
}
|
// }
|
||||||
|
|
||||||
entity Customers {
|
// entity Customers {
|
||||||
key ID : Integer;
|
// key ID : Integer;
|
||||||
firstName : String(40);
|
// firstName : String(40);
|
||||||
lastName : String(20);
|
// lastName : String(20);
|
||||||
company : String(80);
|
// company : String(80);
|
||||||
adress : String(70);
|
// adress : String(70);
|
||||||
city : String(40);
|
// city : String(40);
|
||||||
state : String(40);
|
// state : String(40);
|
||||||
country : String(40);
|
// country : String(40);
|
||||||
postalCode : String(10);
|
// postalCode : String(10);
|
||||||
phone : String(24);
|
// phone : String(24);
|
||||||
fax : String(24);
|
// fax : String(24);
|
||||||
email : String(60);
|
// email : String(60);
|
||||||
supportRep : Association to Employees;
|
// supportRep : Association to Employees;
|
||||||
}
|
// }
|
||||||
|
|
||||||
entity Invoices {
|
entity Invoices {
|
||||||
key ID : Integer;
|
key ID : Integer;
|
||||||
|
|||||||
63
media-store/test/test.http
Normal file
63
media-store/test/test.http
Normal file
@@ -0,0 +1,63 @@
|
|||||||
|
@media-store-service = http://localhost:4004/media
|
||||||
|
|
||||||
|
### ------------------------------------------------------------------------
|
||||||
|
# Get service
|
||||||
|
GET {{media-store-service}}
|
||||||
|
|
||||||
|
### ------------------------------------------------------------------------
|
||||||
|
# Get $metadata document
|
||||||
|
GET {{media-store-service}}/$metadata
|
||||||
|
|
||||||
|
### ------------------------------------------------------------------------
|
||||||
|
# Get Artists
|
||||||
|
GET {{media-store-service}}/Artists
|
||||||
|
|
||||||
|
### ------------------------------------------------------------------------
|
||||||
|
# Get Albums
|
||||||
|
GET {{media-store-service}}/Albums
|
||||||
|
?$expand=artist&$top=10
|
||||||
|
|
||||||
|
### ------------------------------------------------------------------------
|
||||||
|
# Get Customers
|
||||||
|
GET {{media-store-service}}/Customers
|
||||||
|
?$expand=supportRep&$top=10
|
||||||
|
|
||||||
|
### ------------------------------------------------------------------------
|
||||||
|
# Get Employees
|
||||||
|
GET {{media-store-service}}/Employees
|
||||||
|
?$expand=reportsTo&$top=10
|
||||||
|
|
||||||
|
### ------------------------------------------------------------------------
|
||||||
|
# Get Genres
|
||||||
|
GET {{media-store-service}}/Genres
|
||||||
|
?$top=10
|
||||||
|
|
||||||
|
### ------------------------------------------------------------------------
|
||||||
|
# Get InvoiceItems
|
||||||
|
GET {{media-store-service}}/InvoiceItems
|
||||||
|
?$expand=track,invoice&$top=10
|
||||||
|
|
||||||
|
### ------------------------------------------------------------------------
|
||||||
|
# Get Invoices
|
||||||
|
GET {{media-store-service}}/Invoices
|
||||||
|
?$top=10&$expand=customer
|
||||||
|
|
||||||
|
### ------------------------------------------------------------------------
|
||||||
|
# Get MediaTypes
|
||||||
|
GET {{media-store-service}}/MediaTypes
|
||||||
|
?$top=10
|
||||||
|
|
||||||
|
### ------------------------------------------------------------------------
|
||||||
|
# Get PlaylistTrack
|
||||||
|
GET {{media-store-service}}/PlaylistTrack
|
||||||
|
?$top=10&$expand=track,playlist
|
||||||
|
|
||||||
|
### ------------------------------------------------------------------------
|
||||||
|
# Get Playlists
|
||||||
|
GET {{media-store-service}}/Playlists
|
||||||
|
?$top=10
|
||||||
|
|
||||||
|
### ------------------------------------------------------------------------
|
||||||
|
# Get Playlists
|
||||||
|
GET {{media-store-service}}/Tracks
|
||||||
|
?$top=10&$expand=genre,mediaType,album
|
||||||
Reference in New Issue
Block a user