benoitdm-oslandia / pg_featureserv

Apache License 2.0
1 stars 0 forks source link

Feature/create feature (mock) - [merged] #92

Closed benoitdm-oslandia closed 1 year ago

benoitdm-oslandia commented 2 years ago

_Merges feature/createfeature -> develop

Ref #19

Reste la création effective dans le mock et dans la base

benoitdm-oslandia commented 1 year ago

added 6 commits

Compare with previous version

benoitdm-oslandia commented 1 year ago

marked this merge request as ready

benoitdm-oslandia commented 1 year ago

added 3 commits

Compare with previous version

benoitdm-oslandia commented 1 year ago

marked this merge request as draft from 4b6e3e56339d3bd405311b0a28a4971e215af356

benoitdm-oslandia commented 1 year ago

In GitLab by @azarz on Aug 30, 2022, 16:36

Commented on internal/service/handler_post_test.go line 40

Ici, ne faudrait-il pas tester plutôt si l'opération Post est possible ?

    equals(t, "postCollectionSchema", path.Post.OperationID, "schema path post present")

pas sûr du tout pour la syntaxe complète...

(https://pkg.go.dev/github.com/getkin/kin-openapi/openapi3?utm_source=godoc#PathItem)

(je suis en train de regarder pour voir comment tester la présence du PUT, si ça se trouve c'est ici que l'on teste le Get et le Post est traité ailleurs, dans ce cas au temps pour moi)

benoitdm-oslandia commented 1 year ago

Ici, ne faudrait-il pas tester plutôt si l'opération Post est possible ?

non en fait ici je vérifie que l'opération pour obtenir le schéma pour faire un create est disponible dans le swagger.

benoitdm-oslandia commented 1 year ago

resolved all threads

benoitdm-oslandia commented 1 year ago

added 3 commits

Compare with previous version

benoitdm-oslandia commented 1 year ago

added 7 commits

Compare with previous version

benoitdm-oslandia commented 1 year ago

added 1 commit

Compare with previous version

benoitdm-oslandia commented 1 year ago

added 1 commit

Compare with previous version

benoitdm-oslandia commented 1 year ago

added 7 commits

Compare with previous version

benoitdm-oslandia commented 1 year ago

added 7 commits

Compare with previous version

benoitdm-oslandia commented 1 year ago

marked this merge request as ready

benoitdm-oslandia commented 1 year ago

In GitLab by @azarz on Sep 1, 2022, 14:57

approved this merge request

benoitdm-oslandia commented 1 year ago

In GitLab by @nrevelant on Sep 1, 2022, 16:13

Commented on internal/data/catalog_db.go line 51

A quoi correspondent les attributs tableIncludes et tableExcludes ici, à filtrer l'accès aux différentes tables ? Inhiber l'accès aux tables "techniques" pour pivilégier uniquements l'accès aux tables contenant des enregistrements/feature métier ?