Re: [pgAdmin4][Patch] - RM #7179 - PostgreSQL deployment on EDB BigAnimal - Mailing list pgadmin-hackers

From Khushboo Vashi
Subject Re: [pgAdmin4][Patch] - RM #7179 - PostgreSQL deployment on EDB BigAnimal
Date
Msg-id CAFOhELeUrMVFUCVdHEWK=jsWTCjnHFaEDOpFHnuC1p-Ub2+rFg@mail.gmail.com
Whole thread Raw
In response to Re: [pgAdmin4][Patch] - RM #7179 - PostgreSQL deployment on EDB BigAnimal  (Akshay Joshi <akshay.joshi@enterprisedb.com>)
List pgadmin-hackers


On Mon, Apr 18, 2022 at 12:47 PM Akshay Joshi <akshay.joshi@enterprisedb.com> wrote:
Hi Khushboo

Following are the review comments:
GUI:
  • Facing error in the browser. Please check the below screenshot
             2nd Page.png
I have left some space above as per the comment given in the demo. 
  • Unable to test ahead because 'Regions' are not available to select in the dropdown. Even the code has been verified successfully
                  Code.png.        Region_Error.png
This is working fine for me. 


Code:
  • Jasmine test cases are missing.
  • Documentation is missing.
Documentation is already written and attached with the patch. 
  • Function comments are not present in the new files. Overall very less comments about the code. Add comments in rds.py and io.py
  • Access token gets printed at the backend, it should not or at least should be in the Debug log.
  • Move BASE_URL = 'https://portal.biganimal.com/api/v1to constants.py and remove it from the multiple files.
  • Fixed SonarQube issues from the new files and from existing files if introduced with this patch or previous patch for AWS RDS.
  • Update line "help='Amazon AWS RDS PostgreSQL'" in BigAnimal.py.
  • sid = _create_server({
    'gid': data['db_details']['gid'],
    'name': data['instance_details']['cluster_name'],
    'db': 'edb_admin',
    'username': 'edb_admin',
    'port': 5432,
    'cloud_status': -1
    }). Update Why db, username and port are hard coded?
  • In "misc/cloud/__init__.py" two function with same name "def get_db_versions()"
  • Correct the string "edb_bibanimal_authentication" to "edb_biganimal_authentication" in CloudWizard.jsx and 'VigAnimal Volume Types" to "BigAnimal Volume Types".

On Thu, Apr 14, 2022 at 2:04 PM Khushboo Vashi <khushboo.vashi@enterprisedb.com> wrote:
Hi,

Please find the attached patch for the implementation of the RM #7179 - PostgreSQL deployment on EDB BigAnimal.

Thanks,
Khushboo



--
Thanks & Regards
Akshay Joshi
pgAdmin Hacker | Principal Software Architect
EDB Postgres
Mobile: +91 976-788-8246

Attachment

pgadmin-hackers by date:

Previous
From: Akshay Joshi
Date:
Subject: Re: [pgAdmin][RM6131] Port query tool to React
Next
From: Asmita Thapliyal
Date:
Subject: Re: Azure AD authentication using app registration