dummyOsbGraphQLClient.dvm 8.4 KB
Newer Older
ymir's avatar
ymir committed
1
2
3
4
5
6
7
8
9
<?xml version="1.0" encoding="UTF-8" ?>
<!-- Generated by Oracle DVM Editor version 1.0 at [11/22/18 6:47 PM]. -->
<dvm name="dummyOsbGraphQLClient" xmlns="http://xmlns.oracle.com/dvm">
  <description></description>
  <columns>
    <column name="operation"/>
    <column name="request"/>
  </columns>
  <rows>
ymir's avatar
ymir committed
10
    <!-- WARNING : do not write requests on many lines to avoid escape caracters issues -->
ymir's avatar
ymir committed
11
    <row>
ymir's avatar
ymir committed
12
      <cell>read_addresses</cell>
ymir's avatar
ymir committed
13
      <cell>query($readAddressesInput:ReadAddressesInput!,$withClients:Boolean!,$withPurchaseOrders:Boolean!,$withOrderLines:Boolean!){readAddresses(readAddressesInput:$readAddressesInput,withClients:$withClients,withPurchaseOrders:$withPurchaseOrders,withOrderLines:$withOrderLines){id,houseNumber,street,zipCode,city,clients@include(if:$withClients){id,firstName,lastName,purchaseOrders@include(if:$withPurchaseOrders){id,creationDate,orderLines@include(if:$withOrderLines){id,item{id,name,price},quantity}}}}}</cell>
ymir's avatar
ymir committed
14
    </row>
ymir's avatar
ymir committed
15
16
17
18
    <row>
      <cell>read_clients</cell>
      <cell>query($readClientsInput:ReadClientsInput!,$withAddress:Boolean!,$withPurchaseOrders:Boolean!,$withOrderLines:Boolean!){readClients(readClientsInput:$readClientsInput,withAddress:$withAddress,withPurchaseOrders:$withPurchaseOrders,withOrderLines:$withOrderLines){id,firstName,lastName,address@include(if:$withAddress){id,houseNumber,street,zipCode,city}purchaseOrders@include(if:$withPurchaseOrders){id,creationDate,orderLines@include(if:$withOrderLines){id,item{name,price},quantity}}}}</cell>
    </row>
ymir's avatar
ymir committed
19
20
    <row>
      <cell>read_purchaseOrders</cell>
ymir's avatar
ymir committed
21
      <cell>query($readPurchaseOrdersInput:ReadPurchaseOrdersInput!,$withOrderLines:Boolean!,$withClient:Boolean!,$withAddress:Boolean!){readPurchaseOrders(readPurchaseOrdersInput:$readPurchaseOrdersInput,withOrderLines:$withOrderLines,withClient:$withClient,withAddress:$withAddress){id,creationDate,orderLines@include(if:$withOrderLines){item{id,name,price},quantity},client@include(if:$withClient){id,firstName,lastName,address@include(if:$withAddress){id,houseNumber,street,zipCode,city}}}}</cell>
ymir's avatar
ymir committed
22
23
24
    </row>
    <row>
      <cell>read_items</cell>
ymir's avatar
ymir committed
25
      <cell>query($readItemsInput:ReadItemsInput!,$withClients:Boolean!,$withAddress:Boolean!,$withPurchaseOrders:Boolean!){readItems(readItemsInput:$readItemsInput,withClients:$withClients,withAddress:$withAddress,withPurchaseOrders:$withPurchaseOrders){id,name,price,clients@include(if:$withClients){id,firstName,lastName,purchaseOrders@include(if:$withPurchaseOrders){id,creationDate,quantity},address@include(if:$withAddress){id,houseNumber,street,zipCode,city}}}}</cell>
ymir's avatar
ymir committed
26
27
28
    </row>
    <row>
      <cell>delete_addresses</cell>
ymir's avatar
ymir committed
29
      <cell>mutation($deleteAddressesInput:DeleteAddressesInput!){deleteAddresses(deleteAddressesInput:$deleteAddressesInput){confirmation}}</cell>
ymir's avatar
ymir committed
30
31
32
    </row>
    <row>
      <cell>delete_clients</cell>
ymir's avatar
ymir committed
33
      <cell>mutation($deleteClientsInput:DeleteClientsInput!){deleteClients(deleteClientsInput:$deleteClientsInput){confirmation}}</cell>
ymir's avatar
ymir committed
34
35
36
    </row>
    <row>
      <cell>delete_purchaseOrders</cell>
ymir's avatar
ymir committed
37
      <cell>mutation($deletePurchaseOrdersInput:DeletePurchaseOrdersInput!){deletePurchaseOrders(deletePurchaseOrdersInput:$deletePurchaseOrdersInput){confirmation}}</cell>
ymir's avatar
ymir committed
38
39
40
    </row>
    <row>
      <cell>delete_items</cell>
ymir's avatar
ymir committed
41
      <cell>mutation($deleteItemsInput:DeleteItemsInput!){deleteItems(deleteItemsInput:$deleteItemsInput){confirmation}}</cell>
ymir's avatar
ymir committed
42
43
44
    </row>
    <row>
      <cell>create_addresses</cell>
ymir's avatar
ymir committed
45
      <cell>mutation($createAddressesInput:[CreateAddressesInput!]!){createAddresses(createAddressesInput:$createAddressesInput){readAddresses{id,houseNumber,street,zipCode,city}}}</cell>
ymir's avatar
ymir committed
46
47
48
    </row>
    <row>
      <cell>create_clients</cell>
ymir's avatar
ymir committed
49
      <cell>mutation($createClientsInput:[CreateClientsInput!]!,$withAddress:Boolean!){createClients(createClientsInput:$createClientsInput,withAddress:$withAddress){readClients{id,firstName,lastName,address@include(if:$withAddress){id,houseNumber,street,zipCode,city}}}}</cell>
ymir's avatar
ymir committed
50
51
52
    </row>
    <row>
      <cell>create_purchaseOrders</cell>
ymir's avatar
ymir committed
53
      <cell>mutation($createPurchaseOrdersInput:[CreatePurchaseOrdersInput!]!,$withClient:Boolean!,$withAddress:Boolean!,$withOrderLines:Boolean!){createPurchaseOrders(createPurchaseOrdersInput:$createPurchaseOrdersInput,withClient:$withClient,withAddress:$withAddress,withOrderLines:$withOrderLines){readPurchaseOrders{id,creationDate,client@include(if:$withClient){id,firstName,lastName,address@include(if:$withAddress){id,houseNumber,street,zipCode,city}},orderLines@include(if:$withOrderLines){id,item{id,name,price},quantity}}}}</cell>
ymir's avatar
ymir committed
54
55
56
    </row>
    <row>
      <cell>create_items</cell>
ymir's avatar
ymir committed
57
      <cell>mutation($createItemsInput:[CreateItemsInput!]!){createItems(createItemsInput:$createItemsInput){readItems{id,name,price}}}</cell>
ymir's avatar
ymir committed
58
59
60
    </row>
    <row>
      <cell>update_addresses</cell>
ymir's avatar
ymir committed
61
      <cell>mutation($updateAddressesInput:[UpdateAddressesInput!]!){updateAddresses(updateAddressesInput:$updateAddressesInput){confirmation}}</cell>
ymir's avatar
ymir committed
62
63
64
    </row>
    <row>
      <cell>update_clients</cell>
ymir's avatar
ymir committed
65
      <cell>mutation($updateClientsInput:[UpdateClientsInput!]!){updateClients(updateClientsInput:$updateClientsInput){confirmation}}</cell>
ymir's avatar
ymir committed
66
67
68
    </row>
    <row>
      <cell>update_purchaseOrders</cell>
ymir's avatar
ymir committed
69
      <cell>mutation($updatePurchaseOrdersInput:[UpdatePurchaseOrdersInput!]!){updatePurchaseOrders(updatePurchaseOrdersInput:$updatePurchaseOrdersInput){confirmation}}</cell>
ymir's avatar
ymir committed
70
71
72
    </row>
    <row>
      <cell>update_items</cell>
ymir's avatar
ymir committed
73
      <cell>mutation($updateItemsInput:[UpdateItemsInput!]!){updateItems(updateItemsInput:$updateItemsInput){confirmation}}</cell>
ymir's avatar
ymir committed
74
75
76
    </row>
    <row>
      <cell>subscribe_addresses</cell>
ymir's avatar
ymir committed
77
      <cell>subscription ($readAddressesInput:ReadAddressesInput!,$period:Int!,$occurencesNumber:Int!,$callbackEndpoint:String,$withClients:Boolean!,$withPurchaseOrders:Boolean!,$withOrderLines:Boolean!){readAddresses(readAddressesInput:$readAddressesInput,period:$period,occurencesNumber:$occurencesNumber,callbackEndpoint:$callbackEndpoint,withClients:$withClients,withPurchaseOrders:$withPurchaseOrders,withOrderLines:$withOrderLines){id,houseNumber,street,zipCode,city,clients@include(if:$withClients){id,firstName,lastName,purchaseOrders@include(if:$withPurchaseOrders){id,creationDate,orderLines@include(if:$withOrderLines){id,item{id,name,price},quantity}}}}}</cell>
ymir's avatar
ymir committed
78
79
80
    </row>
    <row>
      <cell>subscribe_clients</cell>
ymir's avatar
ymir committed
81
      <cell>subscription ($readClientsInput:ReadClientsInput!,$period:Int!,$occurencesNumber:Int!,$callbackEndpoint:String,$withAddress:Boolean!,$withPurchaseOrders:Boolean!,$withOrderLines:Boolean!){readClients(readClientsInput:$readClientsInput,period:$period,occurencesNumber:$occurencesNumber,callbackEndpoint:$callbackEndpoint,withAddress:$withAddress,withPurchaseOrders:$withPurchaseOrders,withOrderLines:$withOrderLines){id,firstName,lastName,address@include(if:$withAddress){id,houseNumber,street,zipCode,city}purchaseOrders@include(if:$withPurchaseOrders){id,creationDate,orderLines@include(if:$withOrderLines){id,item{id,name,price},quantity}}}}</cell>
ymir's avatar
ymir committed
82
83
84
    </row>
    <row>
      <cell>subscribe_purchaseOrders</cell>
ymir's avatar
ymir committed
85
      <cell>subscription ($readPurchaseOrdersInput:ReadPurchaseOrdersInput!,$period:Int!,$occurencesNumber:Int!,$callbackEndpoint:String,$withOrderLines:Boolean!,$withClient:Boolean!,$withAddress:Boolean!){readPurchaseOrders(readPurchaseOrdersInput:$readPurchaseOrdersInput,period:$period,occurencesNumber:$occurencesNumber,callbackEndpoint:$callbackEndpoint,withOrderLines:$withOrderLines,withClient:$withClient,withAddress:$withAddress){id,creationDate,orderLines@include(if:$withOrderLines){id,item{id,name,price},quantity},client@include(if:$withClient){id,firstName,lastName,address@include(if:$withAddress){id,houseNumber,street,zipCode,city}}}}</cell>
ymir's avatar
ymir committed
86
87
88
    </row>
    <row>
      <cell>subscribe_items</cell>
ymir's avatar
ymir committed
89
      <cell>subscription ($readItemsInput:ReadItemsInput!,$period:Int!,$occurencesNumber:Int!,$callbackEndpoint:String,$withClients:Boolean!,$withAddress:Boolean!,$withPurchaseOrders:Boolean!){readItems(readItemsInput:$readItemsInput,period:$period,occurencesNumber:$occurencesNumber,callbackEndpoint:$callbackEndpoint,withClients:$withClients,withAddress:$withAddress,withPurchaseOrders:$withPurchaseOrders){name,price,clients@include(if:$withClients){firstName,lastName,purchaseOrders@include(if:$withPurchaseOrders){creationDate,quantity},address@include(if:$withAddress){houseNumber,street,zipCode,city}}}}</cell>
ymir's avatar
ymir committed
90
    </row>
ymir's avatar
ymir committed
91
92
  </rows>
</dvm>