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

Adding proto files updates with migration proto #6576

Closed
wants to merge 134 commits into from

Conversation

YashviJain01
Copy link
Collaborator

Signed-off-by: Yashvi Jain Yashvi.jain@progress.com

🔩 Description: What code changed, and why?

Modified the new feature proto files with new protoc version and added the migration proto file structure.

⛓️ Related Resources

Modify the Get Server API to provide active migration id and status #6561

👍 Definition of Done

Updated the old pb.go files using command compile_go_protobuf_component api

👟 How to Build and Test the Change

Run below command in hab.

compile_go_protobuf_component api

✅ Checklist

All PRs must tick these:

With occasional exceptions, all PRs from Progress employees must tick these:

  • Is the code clear? (complicated code or lots of comments--subdivide and use well-named methods, meaningful variable names, etc.)
  • Consistency checked? (user notifications, user prompts, visual patterns, code patterns, variable names)
  • Repeated code blocks eliminated? (adapt and reuse existing components, blocks, functions, etc.)
  • Spelling, grammar, typos checked? (at a minimum use make spell in any component directory)
  • Code well-formatted? (indents, line breaks, etc. improve rather than hinder readability)

All PRs from Progress employees should tick these if appropriate:

  • Tests added/updated? (all new code needs new tests)
  • Docs added/updated? (all customer-facing changes)

Please add a note next to any checkbox above if you are NOT ticking it.

📷 Screenshots, if applicable

sonali523 and others added 30 commits January 11, 2022 13:49
* Script added for table 'users'

Signed-off-by: root <swale@msystechnologies.com>

* updated down script

Signed-off-by: root <swale@msystechnologies.com>

* updated up script

Signed-off-by: root <swale@msystechnologies.com>

* updated up script

Signed-off-by: root <swale@msystechnologies.com>
Signed-off-by: Abdul-Az <aazeez@progress.com>
…hen doing builds (#5741)

Signed-off-by: Rick Marry <rmarry@chef.io>
Signed-off-by: root <swale@msystechnologies.com>
Signed-off-by: Abdul-Az <aazeez@progress.com>
* Storage functions added for users table

Signed-off-by: root <swale@msystechnologies.com>

* Updated with review comments

Signed-off-by: root <swale@msystechnologies.com>
* converted server modal into slider

Signed-off-by: chaitali-mane <cmane@progress.com>

* Updated test cases

Signed-off-by: chaitali-mane <cmane@progress.com>
Signed-off-by: Abdul-Az <aazeez@progress.com>
Signed-off-by: Abdul-Az <aazeez@progress.com>
Signed-off-by: Abdul-Az <aazeez@progress.com>
* converted server modal into slider

Signed-off-by: chaitali-mane <cmane@progress.com>

* Updated test cases

Signed-off-by: chaitali-mane <cmane@progress.com>
Signed-off-by: Abdul-Az <aazeez@progress.com>
Signed-off-by: Abdul-Az <aazeez@progress.com>
* added some changes for the create server slider

Signed-off-by: Vinay Sharma <vsharma@chef.io>

* added some minor changes

Signed-off-by: Vinay Sharma <vsharma@chef.io>
Signed-off-by: Abdul-Az <aazeez@progress.com>
Signed-off-by: Abdul-Az <aazeez@progress.com>
Signed-off-by: Abdul-Az <aazeez@progress.com>
Signed-off-by: root <swale@msystechnologies.com>
* Added Users tab UI

Signed-off-by: chaitali-mane <cmane@progress.com>

* Added enitites api integration

Signed-off-by: chaitali-mane <cmane@progress.com>

* minor changes

Signed-off-by: chaitali-mane <cmane@progress.com>

* Updated minor change

Signed-off-by: chaitali-mane <cmane@progress.com>
Signed-off-by: Himanshi Chhabra <hchhabra@progress.com>
* Shell script added to add the sample infra server users

Signed-off-by: root <swale@msystechnologies.com>

* Minor changes added

Signed-off-by: root <swale@msystechnologies.com>
Signed-off-by: Kallol Roy <karoy@progress.com>
Signed-off-by: Abdul-Az <aazeez@progress.com>
Signed-off-by: Abdul-Az <aazeez@progress.com>
Signed-off-by: Abdul-Az <aazeez@progress.com>
Signed-off-by: Abdul-Az <aazeez@progress.com>
Signed-off-by: Abdul-Az <aazeez@progress.com>
Signed-off-by: Abdul-Az <aazeez@progress.com>
Signed-off-by: Abdul-Az <aazeez@progress.com>
Signed-off-by: Abdul-Az <aazeez@progress.com>
vinay033 and others added 12 commits January 11, 2022 13:50
…ta (#6435)

* changes for the validate webui key on server details page

Signed-off-by: Vinay Sharma <vsharma@chef.io>

* added chanegs for the validate webui key

Signed-off-by: Vinay Sharma <vsharma@chef.io>

* added changes for the specs

Signed-off-by: Vinay Sharma <vsharma@chef.io>

* added changes for the validate webui key error effect

Signed-off-by: Vinay Sharma <vsharma@chef.io>
* Update web ui key API added

Signed-off-by: sonali wale <swale@msystechnologies.com>

* Removed extra files

Signed-off-by: sonali wale <swale@msystechnologies.com>

* Read secret changes added

Signed-off-by: sonali wale <swale@msystechnologies.com>

* Conflicts resolved

Signed-off-by: sonali wale <swale@msystechnologies.com>

* Test cases added

Signed-off-by: sonali wale <swale@msystechnologies.com>

* Commented validate web ui key test cases

Signed-off-by: sonali wale <swale@msystechnologies.com>

* Changes added in mock file

Signed-off-by: sonali wale <swale@msystechnologies.com>

* uncomment validate web ui key test cases

Signed-off-by: sonali wale <swale@msystechnologies.com>
Signed-off-by: Abdul-Az <aazeez@progress.com>
* editor actions added

Signed-off-by: Abdul-Az <aazeez@progress.com>

* infra_editor test cases

Signed-off-by: Abdul-Az <aazeez@progress.com>

* test cases fix

Signed-off-by: Abdul-Az <aazeez@progress.com>
…Policy Files, Policy Groups, Clients (#6457)

* Changes added to use the web ui key

Signed-off-by: sonali wale <swale@msystechnologies.com>

* added minor UI change

Signed-off-by: Chaitali Mane <cmane@progress.com>

Co-authored-by: Chaitali Mane <cmane@progress.com>
* Script added for migration tables

Signed-off-by: sonali wale <sonali.wale@progress.com>

* Insert scripts added for migration type and status

Signed-off-by: sonali wale <sonali.wale@progress.com>

* Server id column added in migration table

Signed-off-by: sonali wale <sonali.wale@progress.com>

* Index added on server_id column in migration table

Signed-off-by: sonali wale <sonali.wale@progress.com>
* editor actions added

Signed-off-by: Abdul-Az <aazeez@progress.com>

* infra_editor test cases

Signed-off-by: Abdul-Az <aazeez@progress.com>

* test cases fix

Signed-off-by: Abdul-Az <aazeez@progress.com>

* infra editor actions update

Signed-off-by: Abdul-Az <aazeez@progress.com>

* editor role fix

Signed-off-by: Abdul-Az <aazeez@progress.com>

* test cases fix

Signed-off-by: Abdul-Az <aazeez@progress.com>
* project owner wip

Signed-off-by: Abdul-Az <aazeez@progress.com>

* project owner actions

Signed-off-by: Abdul-Az <aazeez@progress.com>

* fix

Signed-off-by: Abdul-Az <aazeez@progress.com>

* doc update

Signed-off-by: Abdul-Az <aazeez@progress.com>

* pipeline fix

Signed-off-by: Abdul-Az <aazeez@progress.com>
* Updated cypress tests for web ui key

Signed-off-by: Chaitali Mane <cmane@progress.com>

* Key in uppercase

Signed-off-by: Chaitali Mane <cmane@progress.com>

* Update for minor

Signed-off-by: Chaitali Mane <cmane@progress.com>

* removed unused lines

Signed-off-by: Chaitali Mane <cmane@progress.com>

* removed error unit tests

Signed-off-by: Chaitali Mane <cmane@progress.com>

* removed iam lint error

Signed-off-by: Chaitali Mane <cmane@progress.com>

* Adding Cypress env variable for WebUI key

Signed-off-by: Kallol Roy <karoy@progress.com>

* Updated variable

Signed-off-by: Chaitali Mane <cmane@progress.com>

* removed replace

Signed-off-by: Chaitali Mane <cmane@progress.com>

* Adding variable

Signed-off-by: Chaitali Mane <cmane@progress.com>

* minor change

Signed-off-by: Chaitali Mane <cmane@progress.com>

* removed hard coded values

Signed-off-by: Chaitali Mane <cmane@progress.com>

* Removed hard coded values

Signed-off-by: Chaitali Mane <cmane@progress.com>

* Updated variables

Signed-off-by: Chaitali Mane <cmane@progress.com>

Co-authored-by: Kallol Roy <karoy@progress.com>
* updated docs

Signed-off-by: Abdul-Az <aazeez@progress.com>

* cypress error fix

Signed-off-by: Abdul-Az <aazeez@progress.com>

* test cases fix

Signed-off-by: Abdul-Az <aazeez@progress.com>

* lint fixes

Signed-off-by: Abdul-Az <aazeez@progress.com>

* added infra server get test cases

Signed-off-by: Abdul-Az <aazeez@progress.com>

* updated docs

Signed-off-by: Abdul-Az <aazeez@progress.com>

* cypress error fix

Signed-off-by: Abdul-Az <aazeez@progress.com>

* Added infra client cypress tests

Signed-off-by: Chaitali Mane <cmane@progress.com>

* minor

Signed-off-by: Chaitali Mane <cmane@progress.com>

Co-authored-by: Abdul-Az <aazeez@progress.com>
* Command added to create the orgnisations in chef server

Signed-off-by: sonali wale <sonali.wale@progress.com>

* Minor changes added

Signed-off-by: sonali wale <sonali.wale@progress.com>
Signed-off-by: Yashvi Jain <Yashvi.jain@progress.com>
@YashviJain01 YashviJain01 added Team: Stalwart Migrate Chef Manage, UI bugs, UX improvements, CVE Issues infra-user-mgnt labels Jan 17, 2022
@YashviJain01 YashviJain01 self-assigned this Jan 17, 2022
@vinay033 vinay033 force-pushed the feature/infra_user_management branch from 79c28c0 to 4a1348a Compare January 17, 2022 07:57
Yashvi Jain added 3 commits January 17, 2022 14:13
Signed-off-by: Yashvi Jain <Yashvi.jain@progress.com>
Signed-off-by: Yashvi Jain <Yashvi.jain@progress.com>
Signed-off-by: Yashvi Jain <Yashvi.jain@progress.com>
@sonarcloud
Copy link

sonarcloud bot commented Jan 17, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

0.0% 0.0% Coverage
1.2% 1.2% Duplication

@YashviJain01 YashviJain01 deleted the yashvi/proto_updates branch January 17, 2022 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infra-user-mgnt Team: Stalwart Migrate Chef Manage, UI bugs, UX improvements, CVE Issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants