Skip to content

Commit

Permalink
Adding BYOL changes (#24064)
Browse files Browse the repository at this point in the history
* Adding BYOL changes

* Resolving failing checks

* Reverting lowercase to uppercase change

* Resolving comments

* restoring scenes_list file

* Changing model name from BasicAuthCredentials to OAuthClientCredentials

* adding changest to new apiversion

* Updating examples

* Removing null from the query example in swagger
  • Loading branch information
JatinKhatri03 authored Jun 12, 2023
1 parent 019af9a commit ad1400c
Show file tree
Hide file tree
Showing 198 changed files with 33,583 additions and 1 deletion.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"parameters": {
"partyId": "PARTY123",
"applicationDataId": "ApplicationData123",
"api-version": "2023-06-01-preview",
"jobId": "JOB123"
},
"responses": {
"202": {
"body": {
"id": "JOB123",
"status": "Waiting",
"message": "Created cascade delete job for 'farmoperationapplicationdata' resource with id 'ApplicationData123' and partyId 'PARTY123'.",
"createdDateTime": "2021-04-19T11:31:20Z",
"lastActionDateTime": "2021-04-19T11:31:34Z",
"startTime": "2021-04-19T11:31:19Z",
"partyId": "PARTY123",
"resourceId": "ApplicationData123",
"resourceType": "farmoperationapplicationdata"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,145 @@
{
"parameters": {
"partyId": "PARTY123",
"applicationDataId": "APPLICATION123",
"api-version": "2023-06-01-preview",
"applicationData": {
"source": "Manual",
"name": "Application data for North Farm",
"description": "some description",
"status": "Active",
"operationStartDateTime": "2021-02-25T16:57:04Z",
"operationEndDateTime": "2021-02-27T10:13:06Z",
"operationModifiedDateTime": "2021-02-28T11:12:12Z",
"associatedBoundaryId": "NORTHFARM2021CORNBOUNDARY",
"area": {
"unit": "acre",
"value": 60
},
"totalMaterial": {
"unit": "kilos",
"value": 9
},
"avgMaterial": {
"unit": "kilosperacre",
"value": 0.15
},
"applicationProductDetails": [
{
"productName": "POTASHVAR1",
"isCarrier": false,
"totalMaterial": {
"unit": "kilos",
"value": 4
},
"avgMaterial": {
"unit": "kilosperacre",
"value": 0.2
}
}
],
"properties": {
"Region": "Europe",
"CountyCode": 123
}
}
},
"responses": {
"200": {
"body": {
"partyId": "PARTY123",
"id": "APPLICATION123",
"source": "Manual",
"name": "Application data for North Farm",
"description": "some description",
"status": "Active",
"operationStartDateTime": "2021-02-25T16:57:04Z",
"operationEndDateTime": "2021-02-27T10:13:06Z",
"operationModifiedDateTime": "2021-02-28T11:12:12Z",
"associatedBoundaryId": "NORTHFARM2021CORNBOUNDARY",
"area": {
"unit": "acre",
"value": 60
},
"totalMaterial": {
"unit": "kilos",
"value": 9
},
"avgMaterial": {
"unit": "kilosperacre",
"value": 0.15
},
"applicationProductDetails": [
{
"productName": "POTASHVAR1",
"isCarrier": false,
"totalMaterial": {
"unit": "kilos",
"value": 4
},
"avgMaterial": {
"unit": "kilosperacre",
"value": 0.2
}
}
],
"properties": {
"Region": "Europe",
"CountyCode": 123
},
"attachmentsLink": "https://<resource-name>.farmbeats.azure.net/party/{{partyId}}/attachments?api-version={{apiVersion}}&resourceIds={{applicationDataId}}&resourceTypes=ApplicationData",
"createdDateTime": "2022-05-11T07:00:10.2750191Z",
"modifiedDateTime": "2022-05-11T07:00:10.2750191Z",
"eTag": "cb00a3ac-0000-0100-0000-601d21ec0000"
}
},
"201": {
"body": {
"partyId": "PARTY123",
"id": "APPLICATION123",
"source": "Manual",
"name": "Application data for North Farm",
"description": "some description",
"status": "Active",
"operationStartDateTime": "2021-02-25T16:57:04Z",
"operationEndDateTime": "2021-02-27T10:13:06Z",
"operationModifiedDateTime": "2021-02-28T11:12:12Z",
"associatedBoundaryId": "NORTHFARM2021CORNBOUNDARY",
"area": {
"unit": "acre",
"value": 60
},
"totalMaterial": {
"unit": "kilos",
"value": 9
},
"avgMaterial": {
"unit": "kilosperacre",
"value": 0.15
},
"applicationProductDetails": [
{
"productName": "POTASHVAR1",
"isCarrier": false,
"totalMaterial": {
"unit": "kilos",
"value": 4
},
"avgMaterial": {
"unit": "kilosperacre",
"value": 0.2
}
}
],
"properties": {
"Region": "Europe",
"CountyCode": 123
},
"attachmentsLink": "https://<resource-name>.farmbeats.azure.net/party/{{partyId}}/attachments?api-version={{apiVersion}}&resourceIds={{applicationDataId}}&resourceTypes=ApplicationData",
"createdDateTime": "2022-05-11T07:00:10.2750191Z",
"modifiedDateTime": "2022-05-11T07:00:10.2750191Z",
"eTag": "cb00a3ac-0000-0100-0000-601d21ec0000"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"parameters": {
"partyId": "PARTY123",
"applicationDataId": "APPLICATION123",
"api-version": "2023-06-01-preview"
},
"responses": {
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"parameters": {
"partyId": "PARTY123",
"applicationDataId": "APPLICATION123",
"api-version": "2023-06-01-preview"
},
"responses": {
"200": {
"body": {
"partyId": "PARTY123",
"id": "APPLICATION123",
"source": "Manual",
"name": "Application data for North Farm",
"description": "some description",
"status": "Active",
"operationStartDateTime": "2021-02-25T16:57:04Z",
"operationEndDateTime": "2021-02-27T10:13:06Z",
"operationModifiedDateTime": "2021-02-28T11:12:12Z",
"associatedBoundaryId": "NORTHFARM2021CORNBOUNDARY",
"area": {
"unit": "acre",
"value": 60
},
"totalMaterial": {
"unit": "kilos",
"value": 9
},
"avgMaterial": {
"unit": "kilosperacre",
"value": 0.15
},
"applicationProductDetails": [
{
"productName": "POTASHVAR1",
"isCarrier": false,
"totalMaterial": {
"unit": "kilos",
"value": 4
},
"avgMaterial": {
"unit": "kilosperacre",
"value": 0.2
}
}
],
"properties": {
"Region": "Europe",
"CountyCode": 123
},
"attachmentsLink": "https://<resource-name>.farmbeats.azure.net/party/{{partyId}}/attachments?api-version={{apiVersion}}&resourceIds={{applicationDataId}}&resourceTypes=ApplicationData",
"createdDateTime": "2020-12-31T11:10:21Z",
"modifiedDateTime": "2020-12-31T11:10:21Z",
"eTag": "cb00a3ac-0000-0100-0000-601d21ec0000"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"parameters": {
"api-version": "2023-06-01-preview",
"jobId": "JOB123"
},
"responses": {
"200": {
"body": {
"id": "JOB123",
"status": "Succeeded",
"message": "Job completed successfully.",
"durationInSeconds": 14.7977857,
"createdDateTime": "2021-04-19T11:31:20Z",
"lastActionDateTime": "2021-04-19T11:31:34Z",
"startTime": "2021-04-19T11:31:19Z",
"partyId": "PARTY123",
"resourceId": "ApplicationData123",
"resourceType": "farmoperationapplicationdata"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
{
"parameters": {
"api-version": "2023-06-01-preview"
},
"responses": {
"200": {
"body": {
"value": [
{
"partyId": "PARTY123",
"id": "APPLICATION123",
"source": "Manual",
"name": "Application data for North Farm",
"description": "some description",
"status": "Active",
"operationStartDateTime": "2021-02-25T16:57:04Z",
"operationEndDateTime": "2021-02-27T10:13:06Z",
"operationModifiedDateTime": "2021-02-28T11:12:12Z",
"associatedBoundaryId": "NORTHFARM2021CORNBOUNDARY",
"area": {
"unit": "acre",
"value": 60
},
"totalMaterial": {
"unit": "kilos",
"value": 9
},
"avgMaterial": {
"unit": "kilosperacre",
"value": 0.15
},
"applicationProductDetails": [
{
"productName": "POTASHVAR1",
"isCarrier": false,
"totalMaterial": {
"unit": "kilos",
"value": 4
},
"avgMaterial": {
"unit": "kilosperacre",
"value": 0.2
}
}
],
"properties": {
"Region": "Europe",
"CountyCode": 123
},
"attachmentsLink": "https://<resource-name>.farmbeats.azure.net/party/{{partyId}}/attachments?api-version={{apiVersion}}&resourceIds={{applicationDataId}}&resourceTypes=ApplicationData",
"createdDateTime": "2022-05-11T07:00:10.2750191Z",
"modifiedDateTime": "2022-05-11T07:00:10.2750191Z",
"eTag": "cb00a3ac-0000-0100-0000-601d21ec0000"
}
],
"skipToken": "string",
"nextLink": "https://{{resourceName}}.farmbeats.azure.net/parties/{{partyId}}/seasonalFields/{{seasonalFieldId}}?api-version={{apiVersion}}&skipToken=%5b%7b%22token%22%3a%22%2bRID%3a%7e23TRC%3a10%23ISA%3d%22%2c%22range%22%3a%7b%22min%22%3a%22%22%2c%22max%22%3a%22FF%22%7d%7d%5d"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
{
"parameters": {
"partyId": "PARTY123",
"api-version": "2023-06-01-preview"
},
"responses": {
"200": {
"body": {
"value": [
{
"partyId": "PARTY123",
"id": "APPLICATION123",
"source": "Manual",
"name": "Application data for North Farm",
"description": "some description",
"status": "Active",
"operationStartDateTime": "2021-02-25T16:57:04Z",
"operationEndDateTime": "2021-02-27T10:13:06Z",
"operationModifiedDateTime": "2021-02-28T11:12:12Z",
"associatedBoundaryId": "NORTHFARM2021CORNBOUNDARY",
"area": {
"unit": "acre",
"value": 60
},
"totalMaterial": {
"unit": "kilos",
"value": 9
},
"avgMaterial": {
"unit": "kilosperacre",
"value": 0.15
},
"applicationProductDetails": [
{
"productName": "POTASHVAR1",
"isCarrier": false,
"totalMaterial": {
"unit": "kilos",
"value": 4
},
"avgMaterial": {
"unit": "kilosperacre",
"value": 0.2
}
}
],
"properties": {
"Region": "Europe",
"CountyCode": 123
},
"attachmentsLink": "https://<resource-name>.farmbeats.azure.net/parties/{{partyId}}/attachments?api-version={{apiVersion}}&resourceIds={{applicationDataId}}&resourceTypes=ApplicationData",
"createdDateTime": "2022-05-11T07:00:10.2750191Z",
"modifiedDateTime": "2022-05-11T07:00:10.2750191Z",
"eTag": "cb00a3ac-0000-0100-0000-601d21ec0000"
}
],
"skipToken": "string",
"nextLink": "https://{{resourceName}}.farmbeats.azure.net/parties/{{partytId}}/applicationData/{{applicationDataId}}?api-version={{apiVersion}}&skipToken=%5b%7b%22token%22%3a%22%2bRID%3a%7e23TRC%3a10%23ISA%3d%22%2c%22range%22%3a%7b%22min%22%3a%22%22%2c%22max%22%3a%22FF%22%7d%7d%5d"
}
}
}
}
Loading

0 comments on commit ad1400c

Please sign in to comment.