Skip to content

Commit

Permalink
Merge pull request #16 from BME-MIT-IET/Performance-testing
Browse files Browse the repository at this point in the history
Performance testing
  • Loading branch information
kolcsong authored May 16, 2024
2 parents fa470a3 + f53459d commit 30f722d
Show file tree
Hide file tree
Showing 66 changed files with 297 additions and 1,882 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@

Gombahaz/.vs/
Gombahaz/obj/
Gombahaz/.vs/Gombahaz/FileContentIndex/
Gombahaz/.vs/Gombahaz/v17/
6 changes: 6 additions & 0 deletions Doc/Teljesítmény-teszt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

## Teljesítmény-teszt

**Szendrey Máté, Kovács Zoltán**

A választott alkalmazás, vizsgálata, a REST APIn keresztül teljesítmény szempontból. Változatos tesztek elvégzése, és ezek dokumentálása egy jegyzőkönyvben. Minden további leírás a munkáról a /Teljesítmény-teszt/Performance-test.md fájlban található.
Binary file removed Gombahaz/.vs/Gombahaz/DesignTimeBuild/.dtbcache.v2
Binary file not shown.
Binary file not shown.
989 changes: 0 additions & 989 deletions Gombahaz/.vs/Gombahaz/config/applicationhost.config

This file was deleted.

Binary file removed Gombahaz/.vs/Gombahaz/v17/.futdcache.v2
Binary file not shown.
Binary file removed Gombahaz/.vs/Gombahaz/v17/.suo
Binary file not shown.
493 changes: 0 additions & 493 deletions Gombahaz/.vs/Gombahaz/v17/DocumentLayout.json

This file was deleted.

Binary file not shown.
Binary file not shown.

This file was deleted.

2 changes: 1 addition & 1 deletion Gombahaz/Gombahaz/Controllers/ResourceController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public async Task<ActionResult<ResourceDTO>> updateResourceById(int resourceId,
return NotFound();

ResourceDTO returnInDTO = ResourceMapper.entityToDTO(updatedResource);
return Ok(resourceToUpdate);
return Ok(returnInDTO);
}
catch(Exception ex)
{
Expand Down
2 changes: 1 addition & 1 deletion Gombahaz/Gombahaz/Mappers/DataSetMapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public static DataSetDTO entityToDTO(DataSetItem dataSetItem)
COLevel= dataSetItem.COLevel,
SoilMoisture = dataSetItem.SoilMoisture,
SoilTemperature = dataSetItem.SoilTemperature,
ResourceId = dataSetItem.Id
ResourceId = dataSetItem.ResourceId
};
}

Expand Down
3 changes: 2 additions & 1 deletion Gombahaz/Gombahaz/Repositories/DataSetRepository.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ public async Task<IEnumerable<DataSetItem>> getDataSetsForDateInterval(ResourceI
else
{
dataSetItemsForDateInterval = await dataContext.DataSets
.Where(ds => ds.DataObserved > dateStart && ds.DataObserved < dateEnd).OrderBy(ds => ds.DataObserved)
.Where(ds => ds.Resource == resourceWithSpecifiedId && ds.DataObserved > dateStart && ds.DataObserved < dateEnd)
.OrderBy(ds => ds.DataObserved)
.ToListAsync();
}

Expand Down
Binary file modified Gombahaz/Gombahaz/bin/Debug/net8.0/Gombahaz.dll
Binary file not shown.
Binary file modified Gombahaz/Gombahaz/bin/Debug/net8.0/Gombahaz.exe
Binary file not shown.
Binary file modified Gombahaz/Gombahaz/bin/Debug/net8.0/Gombahaz.pdb
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
[assembly: System.Reflection.AssemblyCompanyAttribute("Gombahaz")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+1abffd7e183305226098c45eb8c3e858ecac6e7b")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+556ec319fcdc58d3880b589631f979c338e490be")]
[assembly: System.Reflection.AssemblyProductAttribute("Gombahaz")]
[assembly: System.Reflection.AssemblyTitleAttribute("Gombahaz")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
77e57dfbc82b3da8e7d0cc3e04bbf1241053ea768d2e316b260d24389525807e
a6d3067c61eda91ff00ac0f9fb8b3bc275dbd4682521c2deccba65a6e44fb9ae
Binary file modified Gombahaz/Gombahaz/obj/Debug/net8.0/Gombahaz.dll
Binary file not shown.
Binary file modified Gombahaz/Gombahaz/obj/Debug/net8.0/Gombahaz.pdb
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"documents":{"C:\\Users\\Tse\\Desktop\\IET\\iet_hf\\*":"https://raw.githubusercontent.com/BME-MIT-IET/iet-hf-2024-lg_iet_lab/1abffd7e183305226098c45eb8c3e858ecac6e7b/*"}}
{"documents":{"C:\\Users\\Tse\\Desktop\\IET\\iet_hf\\*":"https://raw.githubusercontent.com/BME-MIT-IET/iet-hf-2024-lg_iet_lab/556ec319fcdc58d3880b589631f979c338e490be/*"}}
Binary file modified Gombahaz/Gombahaz/obj/Debug/net8.0/apphost.exe
Binary file not shown.
Binary file modified Gombahaz/Gombahaz/obj/Debug/net8.0/ref/Gombahaz.dll
Binary file not shown.
Binary file modified Gombahaz/Gombahaz/obj/Debug/net8.0/refint/Gombahaz.dll
Binary file not shown.
3 changes: 0 additions & 3 deletions Gombahaz/obj/Docker/CachedComposeConfigFilePaths.cache

This file was deleted.

Empty file.
1 change: 0 additions & 1 deletion Gombahaz/obj/Docker/DockerDevelopmentMode.cache

This file was deleted.

1 change: 0 additions & 1 deletion Gombahaz/obj/Docker/HashOfDockerArtifacts.cache

This file was deleted.

1 change: 0 additions & 1 deletion Gombahaz/obj/Docker/LaunchContext.cache

This file was deleted.

36 changes: 0 additions & 36 deletions Gombahaz/obj/Docker/MergedDockerCompose.cache

This file was deleted.

113 changes: 0 additions & 113 deletions Gombahaz/obj/Docker/MergedDockerCompose1.cache

This file was deleted.

113 changes: 0 additions & 113 deletions Gombahaz/obj/Docker/MergedDockerCompose2.cache

This file was deleted.

1 change: 0 additions & 1 deletion Gombahaz/obj/Docker/TargetOS.cache

This file was deleted.

Loading

0 comments on commit 30f722d

Please sign in to comment.