-
Notifications
You must be signed in to change notification settings - Fork 4
Naming harmonization between pyrog and river #634
Comments
I don't see any problem about employing singular, as it may happen that we manipulate several of these objects at once. I also have a suggestion to make, about the |
Great initiative @simonvadee 👍
|
Yes, a |
I suggest to use the same word as airbyte:
In airbyte, the form is updated depending on the choice of db
I agree with you @elsiehoffet-94 and @MiskoG,
👍 |
This is meant to be an open discussion before actually starting to rename stuff across the back and the front.
Problem
We don't use the same terminology to reference the same concepts across the web application and the back-end. I think we can use this discussion to discuss naming in general (where it can be controversial) and use this occasion to harmonize the terminology we use.
Description
Credentials
vsDatabase
: we currently useCredential
to refer to database connection informations (host,port,login,password,database name) but it can be confusing ("credentials of what ? a user ? to what ?").Owner
vsSchema
: a database may contain many "schemas" . I think back in the days @Jasopaum and I were confused between the difference between both terms (and I think that the same word has a different meaning in postgres, mssql and oracle). We currently useOwner
but I thinkDatabaseSchema
or justSchema
would be more accurate.Source
vs something else ?: aSource
has aCrendential
(ie: it is linked to a database) and has manyResource
. It is meant to represent a "source of information" from which we want to be able to extract data in order to create FHIR resources. For now, it can only be an SQL database, and maybe it's fine until the pyrog scope remains unclear. For instance, when the data source is a "flux" (eg: a SFTP server with csv files), do we want pyrog/river to be aware of this ? This comes back to the datalake question and I'm not sure we want to address this here. However, don't hesitate if you have suggestions!Resource
vsMapping
orMappings
: This is the term for which we have the most ambiguity right now. It is calledResource
in the back andMapping
in the webapp (lol what a great idea we had). I think we all agree thatResource
is too vague and refers to too many concepts (even in software engineering in general).Mapping
is a better word for this concept but should we use plural or singular ?Column
: is meant to represent a database column, but it also hastable
andowner
fields. I think this one is fine (until we normalize the schema and use a singleColumn
object for a column of the database) but I mention it anyway.Implementation
First, let's agree on the naming. Then, we can do one PR for a single concept renaming (it means a new database migration in the back and updating the front and back code) at a time.
The text was updated successfully, but these errors were encountered: