diff --git a/.drone.yml b/.drone.yml index 8089210..86e7dde 100644 --- a/.drone.yml +++ b/.drone.yml @@ -64,11 +64,11 @@ steps: - master depends_on: [ build ] - # docker image build + # docker image build - name: docker-build-and-push image: plugins/docker settings: - dockerfile: Sources/APILOL/Dockerfile + dockerfile: Sources/Dockerfile context: Sources/ registry: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dronesonarplugin-dotnet6 repo: hub.codefirst.iut.uca.fr/louis.dufour/EntityFramework @@ -76,7 +76,8 @@ steps: from_secret: SECRET_REGISTRY_USERNAME password: from_secret: SECRET_REGISTRY_PASSWORD - # container deployment + + # container deployment - name: deploy-container image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest environment: @@ -84,6 +85,12 @@ steps: CONTAINERNAME: containerlol COMMAND: create OVERWRITE: true + ADMINS: louisdufour + depends_on: + - docker-build-and-push + when: + branch: + - master volumes: - name: docs diff --git a/Sources/EFManager/DbDataManager.cs b/Sources/EFManager/DbDataManager.cs index 641ea1b..5f83e2b 100644 --- a/Sources/EFManager/DbDataManager.cs +++ b/Sources/EFManager/DbDataManager.cs @@ -1,7 +1,92 @@ -namespace EFManager +using Model; + +namespace EFManager { - public class DbDataManager + public class DbDataManager : IChampionsManager { + public Task AddItem(Champion? item) + { + throw new NotImplementedException(); + } + + public Task DeleteItem(Champion? item) + { + throw new NotImplementedException(); + } + + public Task> GetItems(int index, int count, string? orderingPropertyName = null, bool descending = false) + { + throw new NotImplementedException(); + } + + public Task> GetItemsByCharacteristic(string charName, int index, int count, string? orderingPropertyName = null, bool descending = false) + { + throw new NotImplementedException(); + } + + public Task> GetItemsByClass(ChampionClass championClass, int index, int count, string? orderingPropertyName = null, bool descending = false) + { + throw new NotImplementedException(); + } + + public Task> GetItemsByName(string substring, int index, int count, string? orderingPropertyName = null, bool descending = false) + { + throw new NotImplementedException(); + } + + public Task> GetItemsByRunePage(RunePage? runePage, int index, int count, string? orderingPropertyName = null, bool descending = false) + { + throw new NotImplementedException(); + } + + public Task> GetItemsBySkill(Skill? skill, int index, int count, string? orderingPropertyName = null, bool descending = false) + { + throw new NotImplementedException(); + } + + public Task> GetItemsBySkill(string skill, int index, int count, string? orderingPropertyName = null, bool descending = false) + { + throw new NotImplementedException(); + } + + public Task GetNbItems() + { + throw new NotImplementedException(); + } + + public Task GetNbItemsByCharacteristic(string charName) + { + throw new NotImplementedException(); + } + + public Task GetNbItemsByClass(ChampionClass championClass) + { + throw new NotImplementedException(); + } + + public Task GetNbItemsByName(string substring) + { + throw new NotImplementedException(); + } + + public Task GetNbItemsByRunePage(RunePage? runePage) + { + throw new NotImplementedException(); + } + + public Task GetNbItemsBySkill(Skill? skill) + { + throw new NotImplementedException(); + } + + public Task GetNbItemsBySkill(string skill) + { + throw new NotImplementedException(); + } + public Task UpdateItem(Champion? oldItem, Champion? newItem) + { + throw new NotImplementedException(); + } } } \ No newline at end of file