Skip to content
This repository has been archived by the owner on Jun 26, 2023. It is now read-only.

[Iam policy] rebase PR #1726

Open
wants to merge 92 commits into
base: main
Choose a base branch
from
Open

[Iam policy] rebase PR #1726

wants to merge 92 commits into from

Conversation

shalakadharap
Copy link
Contributor

Problem Statement

  • Problem statement

Design

  • For Bug, Describe the fix here.
  • For Feature, Post the link for design

Coding

Checklist for Author

  • Coding conventions are followed and code is consistent

Testing

Checklist for Author

  • Unit and System Tests are added
  • Test Cases cover Happy Path, Non-Happy Path and Scalability
  • Testing was performed with RPM

Impact Analysis

Checklist for Author/Reviewer/GateKeeper

  • Interface change (if any) are documented
  • Side effects on other features (deployment/upgrade)
  • Dependencies on other component(s)

Review Checklist

Checklist for Author

  • JIRA number/GitHub Issue added to PR
  • PR is self reviewed
  • Jira and state/status is updated and JIRA is updated with PR link
  • Check if the description is clear and explained

Documentation

Checklist for Author

  • Changes done to WIKI / Confluence page / Quick Start Guide

vimalraghwani20 and others added 30 commits November 28, 2021 23:08
…ework (#1090)

* EOS-23396: Added module name to framework
Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: Fixed test phase module name
Signed-off-by: Vimal Raghwani <[email protected]>
* logger changes for K8S

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* further changes

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* undo rpm changes

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* further changes

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* copied s3cluster config file

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* compatibility with shahids changes

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* haproxy and slapd changes

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* reset head

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* reset head

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* support bundle script minor change

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

Co-authored-by: nileshgovande <[email protected]>
* EOS-23396: Added module name to framework
Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: Fixed test phase module name
Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: [k8s] Added module name parameter to mini provisioner framework (#1090)

* EOS-23396: Added module name to framework
Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: Fixed test phase module name
Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: [k8s] Added module name parameter to mini provisioner framework (#1090)

* EOS-23396: Added module name to framework
Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: Fixed test phase module name
Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: template and sample file updated
Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: Introduce the config keys in to template and sample files
Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: reverted bgdelete changes
Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: Minor change

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: copy config files from /opt/seagate/cortx to /etc/cortx

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: Added log and config file in to mini provisioner sample and template files

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: [k8s] Added module name parameter to mini provisioner framework (#1090)

* EOS-23396: Added module name to framework
Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: Fixed test phase module name
Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: replaced /opt/seagate/cortx to /etc/cortx for config file

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: resolved conflicts

Signed-off-by: Vimal Raghwani <[email protected]>

* Minor changes

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: merge logic using config pathwq

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: indentation fixed.

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: compile error fixed

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: Fixed the validation

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: cluster id file path fixed

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: Cluster id fixed

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: cluster id class fixed

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: changed the authserver config file path in to setup_ldap.sh

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: bgdelete config file issue fixed

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: minor issue

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: authserver config issue fixed

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: fixed s3authserver cipher issue

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: [k8s] Added module name parameter to mini provisioner framework (#1090)

* EOS-23396: Added module name to framework
Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: Fixed test phase module name
Signed-off-by: Vimal Raghwani <[email protected]>

* [EOS-21417] : [K8S] Adopt to Kubernetes (Logging) (#1103)

* logger changes for K8S

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* further changes

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* undo rpm changes

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* further changes

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* copied s3cluster config file

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* compatibility with shahids changes

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* haproxy and slapd changes

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* reset head

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* reset head

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* support bundle script minor change

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

Co-authored-by: nileshgovande <[email protected]>

* EOS-23396: ecrypt password script fix

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: deleted config file in upgrade

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: addressed review comments

Signed-off-by: Vimal Raghwani <[email protected]>

* authserver reverted

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: config validation cahnge for config phase

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: Addressed review comments

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: [k8s] Added module name parameter to mini provisioner framework (#1090)

* EOS-23396: Added module name to framework
Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: Fixed test phase module name
Signed-off-by: Vimal Raghwani <[email protected]>

* [EOS-21417] : [K8S] Adopt to Kubernetes (Logging) (#1103)

* logger changes for K8S

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* further changes

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* undo rpm changes

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* further changes

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* copied s3cluster config file

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* compatibility with shahids changes

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* haproxy and slapd changes

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* reset head

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* reset head

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* support bundle script minor change

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

Co-authored-by: nileshgovande <[email protected]>

* EOS-23396: Shared path changes

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: base config path passed as argument

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: Fixed shared log and config path

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: suffle copy config and update config

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: Fixed cluster path

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: fixed the setup_ldap script

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: fixed syntax error

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: fix s3 config file path

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: Authserver start issue fixed

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: Removed authserver crash due to logger

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: remove ipv4 from auth

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: Authserver ip compile issye fix

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: Fixed coe check format

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: Fixed IPV4 for auth server

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: copy authserver resource to /etc/cortx

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: fixed auth ipv4

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: Fixed authserver st's
Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: Fixed /etc/cortx path in authserver tests

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: path typo fixed

Signed-off-by: Vimal Raghwani <[email protected]>

Co-authored-by: Pranav Diliprao Pawar <[email protected]>
Co-authored-by: nileshgovande <[email protected]>
* EOS-23396: [k8s] Added module name parameter to mini provisioner framework (#1090)

* EOS-23396: Added module name to framework
Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: Fixed test phase module name
Signed-off-by: Vimal Raghwani <[email protected]>

* [EOS-21417] : [K8S] Adopt to Kubernetes (Logging) (#1103)

* logger changes for K8S

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* further changes

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* undo rpm changes

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* further changes

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* copied s3cluster config file

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* compatibility with shahids changes

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* haproxy and slapd changes

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* reset head

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* reset head

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* support bundle script minor change

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

Co-authored-by: nileshgovande <[email protected]>

* EOS-24813:S3:workaround step for k8s producer issue

Signed-off-by: Sachitanand Shelake <[email protected]>

Co-authored-by: vimalraghwani20 <[email protected]>
Co-authored-by: Pranav Diliprao Pawar <[email protected]>
Co-authored-by: nileshgovande <[email protected]>
…es (#1252)

* EOS-23396: [k8s] Added module name parameter to mini provisioner framework (#1090)

* EOS-23396: Added module name to framework
Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: Fixed test phase module name
Signed-off-by: Vimal Raghwani <[email protected]>

* [EOS-21417] : [K8S] Adopt to Kubernetes (Logging) (#1103)

* logger changes for K8S

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* further changes

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* undo rpm changes

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* further changes

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* copied s3cluster config file

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* compatibility with shahids changes

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* haproxy and slapd changes

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* reset head

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* reset head

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* support bundle script minor change

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

Co-authored-by: nileshgovande <[email protected]>

* Fixed code check format on K8S branch (#1239)

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: [K8S] Config file changes   (#1102)

* EOS-23396: Added module name to framework
Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: Fixed test phase module name
Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: [k8s] Added module name parameter to mini provisioner framework (#1090)

* EOS-23396: Added module name to framework
Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: Fixed test phase module name
Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: [k8s] Added module name parameter to mini provisioner framework (#1090)

* EOS-23396: Added module name to framework
Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: Fixed test phase module name
Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: template and sample file updated
Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: Introduce the config keys in to template and sample files
Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: reverted bgdelete changes
Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: Minor change

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: copy config files from /opt/seagate/cortx to /etc/cortx

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: Added log and config file in to mini provisioner sample and template files

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: [k8s] Added module name parameter to mini provisioner framework (#1090)

* EOS-23396: Added module name to framework
Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: Fixed test phase module name
Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: replaced /opt/seagate/cortx to /etc/cortx for config file

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: resolved conflicts

Signed-off-by: Vimal Raghwani <[email protected]>

* Minor changes

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: merge logic using config pathwq

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: indentation fixed.

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: compile error fixed

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: Fixed the validation

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: cluster id file path fixed

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: Cluster id fixed

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: cluster id class fixed

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: changed the authserver config file path in to setup_ldap.sh

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: bgdelete config file issue fixed

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: minor issue

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: authserver config issue fixed

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: fixed s3authserver cipher issue

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: [k8s] Added module name parameter to mini provisioner framework (#1090)

* EOS-23396: Added module name to framework
Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: Fixed test phase module name
Signed-off-by: Vimal Raghwani <[email protected]>

* [EOS-21417] : [K8S] Adopt to Kubernetes (Logging) (#1103)

* logger changes for K8S

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* further changes

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* undo rpm changes

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* further changes

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* copied s3cluster config file

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* compatibility with shahids changes

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* haproxy and slapd changes

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* reset head

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* reset head

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* support bundle script minor change

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

Co-authored-by: nileshgovande <[email protected]>

* EOS-23396: ecrypt password script fix

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: deleted config file in upgrade

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: addressed review comments

Signed-off-by: Vimal Raghwani <[email protected]>

* authserver reverted

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: config validation cahnge for config phase

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: Addressed review comments

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: [k8s] Added module name parameter to mini provisioner framework (#1090)

* EOS-23396: Added module name to framework
Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: Fixed test phase module name
Signed-off-by: Vimal Raghwani <[email protected]>

* [EOS-21417] : [K8S] Adopt to Kubernetes (Logging) (#1103)

* logger changes for K8S

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* further changes

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* undo rpm changes

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* further changes

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* copied s3cluster config file

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* compatibility with shahids changes

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* haproxy and slapd changes

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* reset head

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* reset head

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* support bundle script minor change

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

Co-authored-by: nileshgovande <[email protected]>

* EOS-23396: Shared path changes

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: base config path passed as argument

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: Fixed shared log and config path

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: suffle copy config and update config

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: Fixed cluster path

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: fixed the setup_ldap script

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: fixed syntax error

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: fix s3 config file path

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: Authserver start issue fixed

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: Removed authserver crash due to logger

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: remove ipv4 from auth

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: Authserver ip compile issye fix

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: Fixed coe check format

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: Fixed IPV4 for auth server

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: copy authserver resource to /etc/cortx

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: fixed auth ipv4

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: Fixed authserver st's
Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: Fixed /etc/cortx path in authserver tests

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: path typo fixed

Signed-off-by: Vimal Raghwani <[email protected]>

Co-authored-by: Pranav Diliprao Pawar <[email protected]>
Co-authored-by: nileshgovande <[email protected]>

* [K8S] EOS-24813:S3: workaround step for bgdelete producer (#1238)

* EOS-23396: [k8s] Added module name parameter to mini provisioner framework (#1090)

* EOS-23396: Added module name to framework
Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: Fixed test phase module name
Signed-off-by: Vimal Raghwani <[email protected]>

* [EOS-21417] : [K8S] Adopt to Kubernetes (Logging) (#1103)

* logger changes for K8S

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* further changes

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* undo rpm changes

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* further changes

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* copied s3cluster config file

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* compatibility with shahids changes

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* haproxy and slapd changes

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* reset head

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* reset head

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* support bundle script minor change

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

Co-authored-by: nileshgovande <[email protected]>

* EOS-24813:S3:workaround step for k8s producer issue

Signed-off-by: Sachitanand Shelake <[email protected]>

Co-authored-by: vimalraghwani20 <[email protected]>
Co-authored-by: Pranav Diliprao Pawar <[email protected]>
Co-authored-by: nileshgovande <[email protected]>

* EOS-23396: Fixed FI enable in authserver (#1243)

Signed-off-by: Vimal Raghwani <[email protected]>

* Changes for k8s branch to adhere with latest function (#1248)

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* EOS-24038: log dir changes with machine id for s3server and bgdelete

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-24038: Updated all config value with function pointer

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-24038: Added log to debug

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-24038: fixed authserver log4j2 path

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-24038: Fixed copy authserver resources

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-24038: Fixed jenkins job issue

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-24038: Fixed the conflicts

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-24038: Fixed s3 start issue where daemon working dir

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-24038: Updated auth server log4j file using xml parser

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-24038: fixed the authserver path

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-24038: Updated authserver log4j config file path in authserver

Signed-off-by: Vimal Raghwani <[email protected]>

Co-authored-by: Pranav Diliprao Pawar <[email protected]>
Co-authored-by: nileshgovande <[email protected]>
Co-authored-by: Sachitanand Shelake <[email protected]>
* EOS-23396: [k8s] Added module name parameter to mini provisioner framework (#1090)

* EOS-23396: Added module name to framework
Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: Fixed test phase module name
Signed-off-by: Vimal Raghwani <[email protected]>

* [EOS-21417] : [K8S] Adopt to Kubernetes (Logging) (#1103)

* logger changes for K8S

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* further changes

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* undo rpm changes

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* further changes

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* copied s3cluster config file

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* compatibility with shahids changes

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* haproxy and slapd changes

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* reset head

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* reset head

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* support bundle script minor change

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

Co-authored-by: nileshgovande <[email protected]>

* Fixed code check format on K8S branch (#1239)

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: [K8S] Config file changes   (#1102)

* EOS-23396: Added module name to framework
Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: Fixed test phase module name
Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: [k8s] Added module name parameter to mini provisioner framework (#1090)

* EOS-23396: Added module name to framework
Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: Fixed test phase module name
Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: [k8s] Added module name parameter to mini provisioner framework (#1090)

* EOS-23396: Added module name to framework
Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: Fixed test phase module name
Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: template and sample file updated
Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: Introduce the config keys in to template and sample files
Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: reverted bgdelete changes
Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: Minor change

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: copy config files from /opt/seagate/cortx to /etc/cortx

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: Added log and config file in to mini provisioner sample and template files

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: [k8s] Added module name parameter to mini provisioner framework (#1090)

* EOS-23396: Added module name to framework
Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: Fixed test phase module name
Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: replaced /opt/seagate/cortx to /etc/cortx for config file

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: resolved conflicts

Signed-off-by: Vimal Raghwani <[email protected]>

* Minor changes

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: merge logic using config pathwq

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: indentation fixed.

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: compile error fixed

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: Fixed the validation

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: cluster id file path fixed

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: Cluster id fixed

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: cluster id class fixed

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: changed the authserver config file path in to setup_ldap.sh

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: bgdelete config file issue fixed

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: minor issue

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: authserver config issue fixed

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: fixed s3authserver cipher issue

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: [k8s] Added module name parameter to mini provisioner framework (#1090)

* EOS-23396: Added module name to framework
Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: Fixed test phase module name
Signed-off-by: Vimal Raghwani <[email protected]>

* [EOS-21417] : [K8S] Adopt to Kubernetes (Logging) (#1103)

* logger changes for K8S

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* further changes

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* undo rpm changes

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* further changes

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* copied s3cluster config file

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* compatibility with shahids changes

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* haproxy and slapd changes

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* reset head

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* reset head

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* support bundle script minor change

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

Co-authored-by: nileshgovande <[email protected]>

* EOS-23396: ecrypt password script fix

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: deleted config file in upgrade

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: addressed review comments

Signed-off-by: Vimal Raghwani <[email protected]>

* authserver reverted

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: config validation cahnge for config phase

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: Addressed review comments

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: [k8s] Added module name parameter to mini provisioner framework (#1090)

* EOS-23396: Added module name to framework
Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: Fixed test phase module name
Signed-off-by: Vimal Raghwani <[email protected]>

* [EOS-21417] : [K8S] Adopt to Kubernetes (Logging) (#1103)

* logger changes for K8S

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* further changes

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* undo rpm changes

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* further changes

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* copied s3cluster config file

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* compatibility with shahids changes

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* haproxy and slapd changes

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* reset head

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* reset head

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* support bundle script minor change

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

Co-authored-by: nileshgovande <[email protected]>

* EOS-23396: Shared path changes

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: base config path passed as argument

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: Fixed shared log and config path

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: suffle copy config and update config

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: Fixed cluster path

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: fixed the setup_ldap script

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: fixed syntax error

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: fix s3 config file path

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: Authserver start issue fixed

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: Removed authserver crash due to logger

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: remove ipv4 from auth

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: Authserver ip compile issye fix

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: Fixed coe check format

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: Fixed IPV4 for auth server

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: copy authserver resource to /etc/cortx

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: fixed auth ipv4

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: Fixed authserver st's
Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: Fixed /etc/cortx path in authserver tests

Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: path typo fixed

Signed-off-by: Vimal Raghwani <[email protected]>

Co-authored-by: Pranav Diliprao Pawar <[email protected]>
Co-authored-by: nileshgovande <[email protected]>

* [K8S] EOS-24813:S3: workaround step for bgdelete producer (#1238)

* EOS-23396: [k8s] Added module name parameter to mini provisioner framework (#1090)

* EOS-23396: Added module name to framework
Signed-off-by: Vimal Raghwani <[email protected]>

* EOS-23396: Fixed test phase module name
Signed-off-by: Vimal Raghwani <[email protected]>

* [EOS-21417] : [K8S] Adopt to Kubernetes (Logging) (#1103)

* logger changes for K8S

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* further changes

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* undo rpm changes

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* further changes

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* copied s3cluster config file

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* compatibility with shahids changes

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* haproxy and slapd changes

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* reset head

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* reset head

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* support bundle script minor change

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

Co-authored-by: nileshgovande <[email protected]>

* EOS-24813:S3:workaround step for k8s producer issue

Signed-off-by: Sachitanand Shelake <[email protected]>

Co-authored-by: vimalraghwani20 <[email protected]>
Co-authored-by: Pranav Diliprao Pawar <[email protected]>
Co-authored-by: nileshgovande <[email protected]>

* EOS-23396: Fixed FI enable in authserver (#1243)

Signed-off-by: Vimal Raghwani <[email protected]>

* Changes for k8s branch to adhere with latest function (#1248)

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* Changes to config parameters

Signed-off-by: Nilesh Govande <[email protected]>

* Changes to template and sample files

Signed-off-by: Nilesh Govande <[email protected]>

* Updated with setup_type

Signed-off-by: Nilesh Govande <[email protected]>

* Fixed syntax errors

Signed-off-by: Nilesh Govande <[email protected]>

* Fixing issues

Signed-off-by: Nilesh Govande <[email protected]>

* Fixes

* Workaround for now

Signed-off-by: Nilesh Govande <[email protected]>

* Fix for filename issue

Signed-off-by: Nilesh Govande <[email protected]>

* Fixes indentation

Signed-off-by: Nilesh Govande <[email protected]>

* Haproxy Debug

Signed-off-by: Nilesh Govande <[email protected]>

* HAPROXY cfg fix

Signed-off-by: Nilesh Govande <[email protected]>

* HAPROXY cfg fix

Signed-off-by: Nilesh Govande <[email protected]>

* Final changes with DI disable

Signed-off-by: Nilesh Govande <[email protected]>

* Fix for init cmd

Signed-off-by: Nilesh Govande <[email protected]>

* reset fix, s3deployment logger fix

Signed-off-by: Vimal Raghwani <[email protected]>

* fixed logger dir path

Signed-off-by: Vimal Raghwani <[email protected]>

Co-authored-by: vimalraghwani20 <[email protected]>
Co-authored-by: Pranav Diliprao Pawar <[email protected]>
Co-authored-by: Sachitanand Shelake <[email protected]>
Co-authored-by: Vimal Raghwani <[email protected]>
…r s3 component (P2) (#1255)

* disabling reset and cleanup for kubernetes branch

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* added comments

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

Co-authored-by: nileshgovande <[email protected]>
Signed-off-by: Nilesh Govande <[email protected]>
Signed-off-by: Nilesh Govande <[email protected]>
…re keys for K8S (#1262)

* EOS-24042: added new keys to s3_prov_conf file

Signed-off-by: Vimal Raghwani <[email protected]>

* adding new confstore keys with Mandatory n optional param seperation

Signed-off-by: Sachitanand Shelake <[email protected]>

* Changes for Keys

Signed-off-by: Nilesh Govande <[email protected]>

* Prov cfg file updates

Signed-off-by: Nilesh Govande <[email protected]>

* 1 node config file

Signed-off-by: Sachitanand Shelake <[email protected]>

* New conf key

Signed-off-by: Nilesh Govande <[email protected]>

* Removed indirects as they are mandatory

Signed-off-by: Nilesh Govande <[email protected]>

* Updating config file to latest (#1265)

* latest config file changes

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* new key added

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* EOS-24042: add convertor functions for bg delete port, and auth host and ports (#1266)

Signed-off-by: Ivan Tishchenko <[email protected]>

* added actual values to ldap servers, endpoint and internal endpoint (#1267)

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* [EOS-24361] : Mini prov Fix (#1268)

* mini prov fixes

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* removed comments

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* EOS-24042: add one more function for bgdelete endpoint; fix some mistakes; address TBD questions. (#1269)

Signed-off-by: Ivan Tishchenko <[email protected]>

* Mini prov fix. (#1270)

* mini prov fixes

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* removed comments

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* Fixed the template

* Init template file changes (#1272)

* init tmpl file changes

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* init tmpl file changes

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* haproxy fix

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

* mini prov fix

Signed-off-by: Pranav Diliprao Pawar <[email protected]>

Co-authored-by: Vimal Raghwani <[email protected]>
Co-authored-by: Nilesh Govande <[email protected]>
Co-authored-by: Pranav Diliprao Pawar <[email protected]>
Co-authored-by: Ivan Tishchenko <[email protected]>
Co-authored-by: nileshgovande <[email protected]>
Signed-off-by: Sachitanand Shelake <[email protected]>
* EOS-24655 - Kubernetes haproxy micro-provisioner code changes.

Signed-off-by: Mohammed Shahid <[email protected]>

* Codacy warning fix.

Signed-off-by: Mohammed Shahid <[email protected]>

* EOS-24655: Update for the logic; add 5 s3 instances.

Signed-off-by: Ivan Tishchenko <[email protected]>

* Add s3 bgdelete contents to haproxy config.

Signed-off-by: Mohammed Shahid <[email protected]>

* EOS-24655: remove unneeded import

Signed-off-by: Ivan Tishchenko <[email protected]>

* EOS-24655 - Instead of hard-coding, update the s3 server instances
            based on confstore value.

Signed-off-by: Mohammed Shahid <[email protected]>

* EOS-24655 - Fix codacy bug.

Signed-off-by: Mohammed Shahid <[email protected]>

* EOS-24655: fix error in success condition on PEM copying

Signed-off-by: Ivan Tishchenko <[email protected]>

Co-authored-by: Ivan Tishchenko <[email protected]>
Signed-off-by: Nilesh Govande <[email protected]>
* EOS23401- Handling for --service parameter in s3 provisioning

* Fixed

Signed-off-by: Nilesh Govande <[email protected]>

* Fixed

Signed-off-by: Nilesh Govande <[email protected]>

* Fixed

Signed-off-by: Nilesh Govande <[email protected]>

Co-authored-by: Nilesh Govande <[email protected]>
* EOS23401- Handling for --service parameter in s3 provisioning

* Fixed

Signed-off-by: Nilesh Govande <[email protected]>

* Fixed

Signed-off-by: Nilesh Govande <[email protected]>

* Fixed

Signed-off-by: Nilesh Govande <[email protected]>

* Fixed

Signed-off-by: Nilesh Govande <[email protected]>

Co-authored-by: Shalaka Dharap <[email protected]>
Co-authored-by: Nilesh Govande <[email protected]>
* Haproxy port numbers should not be hard-coded, reading from confstore.

Signed-off-by: Mohammed Shahid <[email protected]>

* Included changes for fetching port numbers dynamically.

Signed-off-by: Mohammed Shahid <[email protected]>

* Updating ssl cert path and fixing write call error.

Signed-off-by: Mohammed Shahid <[email protected]>

* Addressing codacy issues.

Signed-off-by: Mohammed Shahid <[email protected]>

* More codacy fixes.

Signed-off-by: Mohammed Shahid <[email protected]>
Signed-off-by: Sachitanand Shelake <[email protected]>
* enable remote ldap entry to ldapaccountaction class

Signed-off-by: Sachitanand Shelake <[email protected]>

* more fixes

Signed-off-by: Sachitanand Shelake <[email protected]>
Signed-off-by: Nilesh Govande <[email protected]>
* EOS-24857: add kubernetes installation script

Signed-off-by: Ivan Tishchenko <[email protected]>

* EOS-24857: add script to fetch cortx-all image

Signed-off-by: Ivan Tishchenko <[email protected]>

* EOS-24857: add script to provision OpenLDAP

Signed-off-by: Ivan Tishchenko <[email protected]>

* EOS-24857: add script to create IO POD

Signed-off-by: Ivan Tishchenko <[email protected]>

* EOS-24857: add validation of VM stats

Signed-off-by: Ivan Tishchenko <[email protected]>

* EOS-24857: fix bug - node label command used wrong variable

Signed-off-by: Ivan Tishchenko <[email protected]>

* EOS-24857: Fix error in haproxy startup -- it was overwriting logs on every start

Signed-off-by: Ivan Tishchenko <[email protected]>

* EOS-24857: Add haproxy configuration steps

Signed-off-by: Ivan Tishchenko <[email protected]>

* EOS-24857: minimize user interaction

Signed-off-by: Ivan Tishchenko <[email protected]>

* EOS-24857: add PV and PVC definitions for /etc/cortx, /var/log/cortx, /var/data/cortx

Signed-off-by: Ivan Tishchenko <[email protected]>

* EOS-24857: Add separate configuration for motr image and s3 image.

Signed-off-by: Ivan Tishchenko <[email protected]>

* EOS-24857: Add script for AuthServer container config&start

Signed-off-by: Ivan Tishchenko <[email protected]>

* EOS-24857: Add script for Motr container config&start

Signed-off-by: Ivan Tishchenko <[email protected]>

* EOS-24857: Add script for S3 Server container config&start

Signed-off-by: Ivan Tishchenko <[email protected]>

* EOS-24857: Add scripts to configure aws s3 client and do basic IO test.

Signed-off-by: Ivan Tishchenko <[email protected]>

* EOS-24974: Move S3 containers configuration outside the container

Signed-off-by: Ivan Tishchenko <[email protected]>
* K8: python fix for mini-provisioner failure

Signed-off-by: Sachitanand Shelake <[email protected]>

* auth start script fix

Signed-off-by: Sachitanand Shelake <[email protected]>
Signed-off-by: Nilesh Govande <[email protected]>
shrimetta and others added 13 commits December 6, 2021 02:38
* EOS-25710:IAM policy validations added

Signed-off-by: rohitkolapkar <[email protected]>

* EOS-25710: Made policy version configurable

Signed-off-by: rohitkolapkar <[email protected]>

* EOS-25710: Seperate out validations in methods for each field

Signed-off-by: rohitkolapkar <[email protected]>

* EOS-25710: Minor modifications

Signed-off-by: rohitkolapkar <[email protected]>

* EOS-25710: Minor modifications

Signed-off-by: rohitkolapkar <[email protected]>

* EOS-25710: Formatting fixed

Signed-off-by: rohitkolapkar <[email protected]>

* EOS-25710: UT Failures fixed

Signed-off-by: rohitkolapkar <[email protected]>

* EOS-25710: UTs and STs failure fix

Signed-off-by: rohitkolapkar <[email protected]>

* EOS-25710: Added UTs

Signed-off-by: rohitkolapkar <[email protected]>

* EOS-25710: Covered negative STs

Signed-off-by: rohitkolapkar <[email protected]>

* EOS-25710: Addressing PR comments

Signed-off-by: rohitkolapkar <[email protected]>

* EOS-25710: Codacy Fix

Signed-off-by: rohitkolapkar <[email protected]>
* EOS-25961: Added more UTs with negative scenarios

Signed-off-by: rohitkolapkar <[email protected]>

* EOS-25961: Formatting Fix

Signed-off-by: rohitkolapkar <[email protected]>

* EOS-25961: Checking error response in UTs

Signed-off-by: rohitkolapkar <[email protected]>

* EOS-25961: Formatting Fix

Signed-off-by: rohitkolapkar <[email protected]>

* EOS-25961: Minor fix

Signed-off-by: rohitkolapkar <[email protected]>

* EOS-25961: Policy Validation STs Added

Signed-off-by: rohitkolapkar <[email protected]>

* EOS-25961: SID validation added

Signed-off-by: rohitkolapkar <[email protected]>

* EOS-25961: Added STs for duplicate SIDs

Signed-off-by: rohitkolapkar <[email protected]>

* EOS-25961: Addressing PR comments

Signed-off-by: rohitkolapkar <[email protected]>

* EOS-25961: Formatting fix

Signed-off-by: rohitkolapkar <[email protected]>

* EOS-25961: Improved IAM ARN Parser

Signed-off-by: rohitkolapkar <[email protected]>

* EOS-25961: UTs failure fix

Signed-off-by: rohitkolapkar <[email protected]>

* EOS-25961: Formatting Fix

Signed-off-by: rohitkolapkar <[email protected]>
* Attach policy to user complete implementation.

Signed-off-by: Shri Metta <[email protected]>

* Fixed codacy issue.

Signed-off-by: Shri Metta <[email protected]>

* Code formatting changes.

Signed-off-by: Shri Metta <[email protected]>

* Fixed UserImplTest unit tests.

Signed-off-by: Shri Metta <[email protected]>

* Implemented review comments. Update attachment count on attach/detach.

Signed-off-by: Shri Metta <[email protected]>

* Implemented review comments.

Signed-off-by: Shri Metta <[email protected]>
…API (#1651)

* EOS-26732: Missing Parameter Validators Added

Signed-off-by: rohitkolapkar <[email protected]>

* EOS-26732: Support for optional params added

Signed-off-by: rohitkolapkar <[email protected]>

* EOS-26732: Support for optional params added_1

Signed-off-by: rohitkolapkar <[email protected]>

* EOS-26732: Code Refined

Signed-off-by: rohitkolapkar <[email protected]>

* EOS-26732: UTs failure fix

Signed-off-by: rohitkolapkar <[email protected]>

* EOS-26732: Formatting Fix

Signed-off-by: rohitkolapkar <[email protected]>

* EOS-26732:Codacy Fix

Signed-off-by: rohitkolapkar <[email protected]>

* EOS-26732: Added old schema file temporarily for Pre Merge Job

Signed-off-by: rohitkolapkar <[email protected]>

* removed temp schema file

Signed-off-by: rohitkolapkar <[email protected]>

* EOS-26732: Addressing PR Comments

Signed-off-by: rohitkolapkar <[email protected]>

* Formatting Fix

Signed-off-by: rohitkolapkar <[email protected]>

* EOS-26732: Making Codacy Happy

Signed-off-by: rohitkolapkar <[email protected]>

* Formatting Fix

Signed-off-by: rohitkolapkar <[email protected]>
* EOS-25958: List attached user policies

Added API for list attached user policies

* clang formatting

* handled for no attached user policies

* Revert "handled for no attached user policies"

This reverts commit 293552e.

* handled for no attached user policies

* clang formatting

* STs for attach, detach, list user policies

* Update PolicyLdapStore.java

* Code refactored

* clang formatting

* refactored system test cases.

* Detach policy exception fix

* clang formatting

* clang formatting

Signed-off-by: Soniya Moholkar <[email protected]>

* List attached user policies controller UTs

* Revert "List attached user policies controller UTs"

This reverts commit 365e610.

* List attached user policies controller UTs

Signed-off-by: Soniya <[email protected]>

* clang formatting for userpolicycontrollertest

Signed-off-by: Soniya Moholkar <[email protected]>

* clang formatting for userpolicycontrollertest

Signed-off-by: Soniya Moholkar <[email protected]>

* clang formatting for userpolicycontrollertest

Signed-off-by: Soniya Moholkar <[email protected]>

* Addressed review comments to make common method

Signed-off-by: Soniya <[email protected]>

* Clang formatting for policyldapstore

Signed-off-by: Soniya Moholkar <[email protected]>

* clang formatting after iam-policy merge

Signed-off-by: Soniya Moholkar <[email protected]>

* Changes after iam-policy merge

Signed-off-by: Soniya <[email protected]>

* list policy test cases and clang formatting

Signed-off-by: Soniya Moholkar <[email protected]>

* bug fix - marker from request body

Signed-off-by: Soniya Moholkar <[email protected]>
…1665)

* Added UserPolicyLdapStoreTest.

Signed-off-by: Shri Metta <[email protected]>

* Fixed codacy issues.

Signed-off-by: Shri Metta <[email protected]>

* Formatting changes 2.

Signed-off-by: Shri Metta <[email protected]>

* Fixed codacy issues.

Signed-off-by: Shri Metta <[email protected]>
* EOS-25958: List attached user policies

Added API for list attached user policies

* clang formatting

* handled for no attached user policies

* Revert "handled for no attached user policies"

This reverts commit 293552e.

* handled for no attached user policies

* clang formatting

* STs for attach, detach, list user policies

* Update PolicyLdapStore.java

* Code refactored

* clang formatting

* refactored system test cases.

* Detach policy exception fix

* clang formatting

* clang formatting

Signed-off-by: Soniya Moholkar <[email protected]>

* List attached user policies controller UTs

* Revert "List attached user policies controller UTs"

This reverts commit 365e610.

* List attached user policies controller UTs

Signed-off-by: Soniya <[email protected]>

* clang formatting for userpolicycontrollertest

Signed-off-by: Soniya Moholkar <[email protected]>

* clang formatting for userpolicycontrollertest

Signed-off-by: Soniya Moholkar <[email protected]>

* clang formatting for userpolicycontrollertest

Signed-off-by: Soniya Moholkar <[email protected]>

* Addressed review comments to make common method

Signed-off-by: Soniya <[email protected]>

* Clang formatting for policyldapstore

Signed-off-by: Soniya Moholkar <[email protected]>

* clang formatting after iam-policy merge

Signed-off-by: Soniya Moholkar <[email protected]>

* Changes after iam-policy merge

Signed-off-by: Soniya <[email protected]>

* list policy test cases and clang formatting

Signed-off-by: Soniya Moholkar <[email protected]>

* bug fix - marker from request body

Signed-off-by: Soniya Moholkar <[email protected]>

* Delete policy validation for attached policies

* delete attached policy validation

Signed-off-by: Soniya Moholkar <[email protected]>

* addressed review comments

Signed-off-by: Soniya <[email protected]>

* clang formatting

Signed-off-by: Soniya Moholkar <[email protected]>
* EOS-25958: List attached user policies

Added API for list attached user policies

* clang formatting

* handled for no attached user policies

* Revert "handled for no attached user policies"

This reverts commit 293552e.

* handled for no attached user policies

* clang formatting

* STs for attach, detach, list user policies

* Update PolicyLdapStore.java

* Code refactored

* clang formatting

* refactored system test cases.

* Detach policy exception fix

* clang formatting

* clang formatting

Signed-off-by: Soniya Moholkar <[email protected]>

* List attached user policies controller UTs

* Revert "List attached user policies controller UTs"

This reverts commit 365e610.

* List attached user policies controller UTs

Signed-off-by: Soniya <[email protected]>

* clang formatting for userpolicycontrollertest

Signed-off-by: Soniya Moholkar <[email protected]>

* clang formatting for userpolicycontrollertest

Signed-off-by: Soniya Moholkar <[email protected]>

* clang formatting for userpolicycontrollertest

Signed-off-by: Soniya Moholkar <[email protected]>

* Addressed review comments to make common method

Signed-off-by: Soniya <[email protected]>

* Clang formatting for policyldapstore

Signed-off-by: Soniya Moholkar <[email protected]>

* clang formatting after iam-policy merge

Signed-off-by: Soniya Moholkar <[email protected]>

* Changes after iam-policy merge

Signed-off-by: Soniya <[email protected]>

* list policy test cases and clang formatting

Signed-off-by: Soniya Moholkar <[email protected]>

* bug fix - marker from request body

Signed-off-by: Soniya Moholkar <[email protected]>

* Delete policy validation for attached policies

* delete attached policy validation

Signed-off-by: Soniya Moholkar <[email protected]>

* Get policy version API

Signed-off-by: Soniya <[email protected]>

* clang formatting

Signed-off-by: Soniya Moholkar <[email protected]>

* get policy version api

Signed-off-by: Soniya Moholkar <[email protected]>

* UTs for get policy version

Signed-off-by: Soniya <[email protected]>

* clag formatting in policy controller test

Signed-off-by: Soniya Moholkar <[email protected]>

* bug fix

Signed-off-by: Soniya Moholkar <[email protected]>

* addressed review comments

Signed-off-by: Soniya Moholkar <[email protected]>
shalakadharap and others added 2 commits December 23, 2021 15:34
* EOS-27006: Initial Check-in

Signed-off-by: rohitkolapkar <[email protected]>

* EOS-27006: Formatting Fix

Signed-off-by: rohitkolapkar <[email protected]>

* EOS-27006: Minor

Signed-off-by: rohitkolapkar <[email protected]>

* EOS-27006: Formatting Fix

Signed-off-by: rohitkolapkar <[email protected]>

* EOS-27006: Max policy limit enabled

Signed-off-by: rohitkolapkar <[email protected]>

* EOS-27006: Formatting Fix

Signed-off-by: rohitkolapkar <[email protected]>

* EOS-27006: STs Failure Fix

Signed-off-by: rohitkolapkar <[email protected]>

* EOS-27006: Added STs for max policy creation limit

Signed-off-by: rohitkolapkar <[email protected]>

* EOS-27006: Codacy Fix- whitespace

Signed-off-by: rohitkolapkar <[email protected]>
@nileshgovande nileshgovande changed the title Iam policy rebase PR [Iam policy] rebase PR Dec 24, 2021
rohitkolapkar and others added 3 commits December 24, 2021 14:56
* External access and secret key while create iam user

Signed-off-by: Soniya <[email protected]>

* bug fix for existing access key and UTs

Signed-off-by: Soniya <[email protected]>

* clang formatting

Signed-off-by: Soniya Moholkar <[email protected]>

* Parameter validation bug fix

Signed-off-by: Soniya <[email protected]>

* clang formatting

Signed-off-by: Soniya Moholkar <[email protected]>

* Bug fix

Signed-off-by: Soniya <[email protected]>

* clang formatting

Signed-off-by: Soniya Moholkar <[email protected]>

* EOS-25963: Bug fix

Signed-off-by: rohitkolapkar <[email protected]>

* EOS-25963: UT failure Fix

Signed-off-by: rohitkolapkar <[email protected]>

* EOS-25963: clang formatting

Signed-off-by: rohitkolapkar <[email protected]>

Co-authored-by: Soniya <[email protected]>
Signed-off-by: rohitkolapkar <[email protected]>
@stale
Copy link

stale bot commented Jan 2, 2022

This issue/pull request has been marked as needs attention as it has been left pending without new activity for 4 days. Tagging @nileshgovande @bkirunge7 @knrajnambiar76 @t7ko-seagate for appropriate assignment. Sorry for the delay & Thank you for contributing to CORTX. We will get back to you as soon as possible.

@stale stale bot added the needs-attention label Jan 2, 2022
@cortx-admin
Copy link

Can one of the admins verify this patch?

@stale stale bot removed the needs-attention label Mar 7, 2022
@stale
Copy link

stale bot commented Mar 12, 2022

This issue/pull request has been marked as needs attention as it has been left pending without new activity for 4 days. Tagging @nileshgovande @bkirunge7 @knrajnambiar76 @t7ko-seagate for appropriate assignment. Sorry for the delay & Thank you for contributing to CORTX. We will get back to you as soon as possible.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.