Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Task - create a test to validate eTag creation #52

Closed
12 of 15 tasks
Tracked by #11
benoitdm-oslandia opened this issue Sep 19, 2022 · 23 comments
Closed
12 of 15 tasks
Tracked by #11

Task - create a test to validate eTag creation #52

benoitdm-oslandia opened this issue Sep 19, 2022 · 23 comments
Assignees
Milestone

Comments

@benoitdm-oslandia
Copy link
Owner

benoitdm-oslandia commented Sep 19, 2022

  • Name of the functions using weak etags
  • Bring AddWeak generic adding parameters
  • etag are interfaces
  • keep in mind the schema/table couple -> https://git.oslandia.net/Client-projects/geoplateforme-ign-pg-featureserv/-/issues/75
  • IsCacheActive ==> cacheType
  • Integrate the weak etag value inside the geojson structure of the feature
  • move the cache structure into the catalogue (data package)
  • tests : verify that the etag value is the same before and after returning it
  • build a specific tests set regarding ETAGs + DB
  • cache is instantiated by the catalog
  • Provide the last-modified value into the response (using now() inside addweakEtag() and adding it inside etag structure)
  • add a REST route to get a weak etag while providing a strong etag value
  • If-Match header implementation
  • If-None-Match header implementation
  • update swagger documentation for If-None-Match and If-Match headers

This issue is the continuation pf the following task: https://git.oslandia.net/Client-projects/geoplateforme-ign-pg-featureserv/-/issues/35

@benoitdm-oslandia
Copy link
Owner Author

cloned from #43

@benoitdm-oslandia
Copy link
Owner Author

marked this issue as related to #43

@benoitdm-oslandia
Copy link
Owner Author

marked #49 as a duplicate of this issue

@benoitdm-oslandia
Copy link
Owner Author

marked this issue as related to #49

@benoitdm-oslandia
Copy link
Owner Author

marked #47 as a duplicate of this issue

@benoitdm-oslandia
Copy link
Owner Author

marked this issue as related to #47

@benoitdm-oslandia
Copy link
Owner Author

In GitLab by @nrevelant on Oct 26, 2022, 15:37

marked this issue as related to #35

@benoitdm-oslandia
Copy link
Owner Author

In GitLab by @nrevelant on Oct 26, 2022, 15:38

marked the task nom des functions avec WeakETAG as completed

@benoitdm-oslandia
Copy link
Owner Author

In GitLab by @nrevelant on Oct 26, 2022, 15:38

marked the task ajouter des parametres à AddWeak ==> rendre générique as completed

@benoitdm-oslandia
Copy link
Owner Author

In GitLab by @nrevelant on Oct 26, 2022, 15:38

marked the task les etag sont des interfaces as completed

@benoitdm-oslandia
Copy link
Owner Author

In GitLab by @nrevelant on Oct 26, 2022, 15:38

marked the task Intégrer la valeur du weak etag dans la strucuture GeoJSON de la feature as completed

@benoitdm-oslandia
Copy link
Owner Author

In GitLab by @nrevelant on Oct 26, 2022, 15:38

marked the task déplacer le cache dans le catalogue (package data) as completed

@benoitdm-oslandia
Copy link
Owner Author

In GitLab by @nrevelant on Oct 26, 2022, 15:38

marked the task dans les tests: tester que l'etag est le mm les 2 fois as completed

@benoitdm-oslandia
Copy link
Owner Author

In GitLab by @nrevelant on Oct 26, 2022, 15:38

marked the task cache instancié par le catalogue as completed

@benoitdm-oslandia
Copy link
Owner Author

In GitLab by @nrevelant on Oct 26, 2022, 15:38

marked the task faire un jeu de tests à part pour les ETAGs + DB as completed

@benoitdm-oslandia
Copy link
Owner Author

In GitLab by @nrevelant on Oct 26, 2022, 15:38

marked the task Fournir le last-modified en réponse (now() lors du addweakEtag à rajouter dans la structure du etag) as completed

@benoitdm-oslandia
Copy link
Owner Author

In GitLab by @nrevelant on Oct 26, 2022, 15:40

marked this issue as related to #73

@benoitdm-oslandia
Copy link
Owner Author

In GitLab by @nrevelant on Oct 26, 2022, 15:40

marked this issue as related to #72

@benoitdm-oslandia
Copy link
Owner Author

In GitLab by @nrevelant on Oct 26, 2022, 15:40

marked this issue as related to #74

@benoitdm-oslandia
Copy link
Owner Author

In GitLab by @nrevelant on Oct 26, 2022, 15:41

marked this issue as related to #75

@benoitdm-oslandia
Copy link
Owner Author

In GitLab by @nrevelant on Oct 30, 2022, 09:35

marked the task ajouter une api REST pour decomposer un strong en weak as completed

@benoitdm-oslandia
Copy link
Owner Author

In GitLab by @nrevelant on Oct 30, 2022, 09:35

marked the task IsCacheActive ==> cacheType as completed

@benoitdm-oslandia
Copy link
Owner Author

marked this issue as related to #10

@nrevelant nrevelant changed the title Task - créer un test pour valider la création d'eTag Task - create a test to validate eTag creation Dec 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

2 participants