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

Mywork #2

Open
wants to merge 54 commits into
base: mywork1
Choose a base branch
from
Open

Mywork #2

wants to merge 54 commits into from

Conversation

sailajakommineni
Copy link
Owner

No description provided.

sownak and others added 21 commits September 15, 2023 09:50
[quorum] Upgrade and Add support for Ambassador v3
This pull request enables one Prometheus server to be used for all organizations in a network.

Changes:
 • The Prometheus code has been migrated to the setup-k8s-environment.yaml playbook in the shared platform.
 • Unwanted variables have been removed from the Prometheus Ansible role.
 • The Prometheus code has been modified to first fetch all the targets from different organizations and then deploy Prometheus in the default namespace with the same fetched targets.
 • Introduced "prometheus-routing.tpl" file to create Ambassador routing rules dynamically for prometheus server.

Benefits:
 • This feature reduces the complexity of managing Prometheus by eliminating the need to deploy separate Prometheus servers for each organization.
 • It also improves the efficiency of Prometheus by allowing it to collect metrics from all organizations in a single place.

fixes hyperledger-bevel#1416

Signed-off-by: saurabhkumarkardam <[email protected]>
…u-1416

[besu] enable one prometheus for all organizations of a network
[fabric] update docs regarding using sequence in network.yaml
[fabric] Added 'node' option to fabric_chaincode network schema
…el#2379)

This PR will provide the support of using latest ambassador edge-stack

changes:
 • Updated all services to use the latest Ambassador Edge Stack routing rules.

fixes hyperledger-bevel#2359

Signed-off-by: saurabhkumarkardam <[email protected]>
changes:
• Updated all services to use the latest Ambassador Edge Stack routing rules.

fixes hyperledger-bevel#2359

Signed-off-by: saikumarbommakanti <[email protected]>
Signed-off-by: suvajit-sarkar <[email protected]>
update(docs): add readthedocs config file
…orda-2359

feat(r3-corda): enable latest ambassador edge-stack
Primary Changes
--------------
 1. Updated confitx.yaml
 2. Updated genesis file creation command.
 3. Updatded orderer node
 4. Created channel using the osnadmin commands
 5. Updated anchorpeer job using configtxlator
 6. Tested that version 2.2.2 still works.

Modifications in charts
-----------------------
platforms/hyperledger-fabric/charts/anchorpeer
platforms/hyperledger-fabric/charts/create_channel
platforms/hyperledger-fabric/charts/orderernode
platforms/hyperledger-fabric/charts/osn_create_channel

Modifications in roles and tpl files
-----------------------
platforms/hyperledger-fabric/configuration/deploy-network.yaml
platforms/hyperledger-fabric/configuration/roles/create/channels_join
platforms/hyperledger-fabric/configuration/roles/create/configtx
platforms/hyperledger-fabric/configuration/roles/create/genesis
platforms/hyperledger-fabric/configuration/roles/create/osnchannels
platforms/hyperledger-fabric/configuration/roles/helm_component/templates/anchorpeer_job.tpl
platforms/hyperledger-fabric/configuration/roles/helm_component/templates/create_channel_job.tpl
platforms/hyperledger-fabric/configuration/roles/helm_component/templates/orderernode.tpl
platforms/hyperledger-fabric/configuration/roles/helm_component/templates/osn_create_channel_job.tpl platforms/hyperledger-fabric/configuration/roles/helm_component/vars/main.yaml platforms/shared/configuration/roles/helm_lint/vars/main.yaml

Others Modifications
----------------------------------------
platforms/network-schema.json
platforms/hyperledger-fabric/configuration/samples/network-fabricv2_5.yaml

fixes hyperledger-bevel#2357

Signed-off-by: mgCepeda <[email protected]>
[fabric] Channel creation with osnadmin commands
fix:(corda-ent, shared) chart liniting errors, aes host ns hardcoding
@sailajakommineni sailajakommineni force-pushed the mywork branch 2 times, most recently from 9ad0549 to 467a1d2 Compare October 19, 2023 07:48
This PR improves the handling of OS-specific commands within Helm charts.

Changes:
- Introduced a script to check the Operating System and its supporting package manager for efficient package installation.
- Added a ConfigMap object to insert the same above-mentioned script into the container, improving flexibility and compatibility.

Additional change:
- Updated the StorageClass Helm chart to resolve the node affinity issue.

There are only 3 platforms that are currently using OS-Specific Command in Helm Charts directly, and this PR is also made for these 3 platforms only:
- Quorum
- Hyperledger-Fabric
- Substrate

fixes hyperledger-bevel#2366

Signed-off-by: saurabhkumarkardam <[email protected]>
…elm charts

Description:
- In the PR titled "feat(shared): enable OS-specific command handling in Helm charts," I forgot to include certain files.
- I thought that changing the name of the Helm chart would override the updated file only, not the entire chart, but I was wrong.
- This PR will address the missing file and fulfill the purpose of the original PR.

fixes #quick-fix

Signed-off-by: saurabhkumarkardam <[email protected]>
sailajakommineni and others added 4 commits October 23, 2023 16:14
…work reset (hyperledger-bevel#2393)

This pull request addresses the need to delete HashiCorp Vault access and policies when performing a network reset.

changes made in:
1. platforms/r3-corda-ent/configuration/cleanup.yaml
2. platforms/r3-corda-ent/configuration/roles/delete/vault_secrets/tasks/main.yaml

fixes:hyperledger-bevel#2390

Signed-off-by: sailajakommineni <[email protected]>
Primary Changes
--------------
 1. Updated  chaincode charts
 2. Fixed a bug that occurred when creating the genesis file with an incorrect channel name
 3. Removed $NAME variables from charts due to conflicts

Modifications in docs
-----------------------
docs/source/_static/TopLevelClass-Fabric.png
docs/source/operations/fabric_networkyaml.md

Modifications in charts
-----------------------
platforms/hyperledger-fabric/charts/commit_chaincode/templates/commit_chaincode.yaml platforms/hyperledger-fabric/charts/install_chaincode/templates/install_chaincode.yaml

Modifications in roles and tpl files
-----------------------
platforms/hyperledger-fabric/configuration/chaincode-ops.yaml platforms/hyperledger-fabric/configuration/deploy-network.yaml platforms/hyperledger-fabric/configuration/roles/helm_component/templates/commit_chaincode_job.tpl

Others Modifications
----------------------------------------
platforms/hyperledger-fabric/configuration/samples/network-fabricv2.yaml

fixes hyperledger-bevel#2385

Signed-off-by: mgCepeda <[email protected]>
Primary Changes
--------------
 1. Updated README and values.yaml files with more realistic values than those currently used on the network
 2. Added new values that weren't described

fixes hyperledger-bevel#2391

Signed-off-by: mgCepeda <[email protected]>
…yperledger-bevel#2396)

This PR enhances the readability and understanding of our roles by adding comment messages throughout the code.

Changes:
- Added clear and concise comment messages in ansible roles.
- Maintained proper code indentation for increased code reliability.
- Removed the roles' Readme.md if it existed.

Additional changes:
- Added comments to all the Besu Helm chart's bash code.
- Deleted the entire storageclass role along with its tpl as we have already migrated it to the shared platform.

fixes hyperledger-bevel#2326

Signed-off-by: saurabhkumarkardam <[email protected]>
saurabhkumarkardam and others added 8 commits November 2, 2023 10:48
…ments (hyperledger-bevel#2404)

This PR enhances the readability and understanding of our roles by adding comment messages throughout the code.

Changes:
- Added clear and concise comment messages in ansible roles.
- Maintained proper code indentation for increased code reliability.
- Removed the roles' Readme.md if it existed.

Additional changes:
- Deleted entire storageclass ansible role along with its tpl as we have already migrated it to the shared platform.

fixes hyperledger-bevel#2326

Signed-off-by: saurabhkumarkardam <[email protected]>
Changes:
- Added clear and concise comment messages in ansible roles.
- Maintained proper code indentation for increased code reliability.
- Removed the roles' Readme.md \ if it existed.

Additional changes:
- Deleted storageclass ansible role as we already migrated it to the shared platform.

fixes hyperledger-bevel#2326

Signed-off-by: saurabhkumarkardam <[email protected]>
This PR enhances the readability and understanding of our roles by adding comment messages throughout the code.

Changes:
- Added clear and concise comment messages in ansible roles.
- Maintained proper code indentation for increased code reliability.
- Removed the roles' Readme.md if it existed.

fixes hyperledger-bevel#2326

Signed-off-by: saurabhkumarkardam <[email protected]>
…ts (hyperledger-bevel#2413)

This PR enhances the readability and understanding of our roles by adding comment messages throughout the code.

Changes:
- Added clear and concise comment messages in ansible roles.
- Maintained proper code indentation for increased code reliability.
- Removed the roles' Readme.md if it existed.

fixes hyperledger-bevel#2326

Signed-off-by: saurabhkumarkardam <[email protected]>
hyperledger-bevel#2410)

changes:
• Updated all services to use the latest Ambassador Edge Stack routing rules.

fixes hyperledger-bevel#2359

Signed-off-by: saikumarbommakanti <[email protected]>
mgCepeda and others added 4 commits November 7, 2023 20:22
Primary Changes
--------------
 1. All tpl have been modified so that all images are under the same registry
 2. All image references in the roles have been removed
 3. Fixed an error that occurs in Fabric deployment 1.4.8
 4. The values.yaml and readme files have been updated with the new values of the images

fixes hyperledger-bevel#2386

Signed-off-by: mgCepeda <[email protected]>
A when condition has been added to ensure that elasticIp is only fetched when it is actually available.

fixes: quick-fix

Signed-off-by: saurabhkumarkardam <[email protected]>
* chart name and version update
Signed-off-by: suvajit-sarkar <[email protected]>
saurabhkumarkardam and others added 4 commits November 9, 2023 18:57
Fixed the chart name at following locations:
- Ansible role.
- Template file (.tpl) file.
- Helm Chart name itself.

Linting issue:
-Fixed for the "corda-ent-node" Helm chart.

fixes: quick-fixes

Signed-off-by: saurabhkumarkardam <[email protected]>
Signed-off-by: suvajit-sarkar <[email protected]>
Primary Changes
--------------
Removed the platforms/hyperledger-fabric/configuration/roles/create/new_organization/syschannel_block role. Since this playbook is used to add a peer organization. To set up an orderer type organization, the add-orderer-organization.yaml playbook will be executed. Therefore it never runs.

Modifications
-----------------------
platforms/hyperledger-fabric/configuration/add-organization.yaml
platforms/hyperledger-fabric/configuration/roles/k8_component/templates/existing_peer_cli.tpl

fixes hyperledger-bevel#2399

Signed-off-by: mgCepeda <[email protected]>
…l request.

This pull request implements the GitHub Spellcheck feature to automatically check the spelling and grammar in commit messages for all Pull Requests (PRs).

Changes Made:
- Added GitHub Spellcheck and grammar linting integration to the repository
- Configured the spellcheck tool to check commit messages in PRs
- Configured the language tool for grammar linting.

Fixes: hyperledger-bevel#2327

Signed-off-by: sailajakommineni <[email protected]>
suvajit-sarkar and others added 2 commits November 17, 2023 21:11
feat(shared): Implement GitHub Spellcheck and grammar linting for Pull request.
suvajit-sarkar and others added 5 commits November 28, 2023 17:14
Signed-off-by: suvajit-sarkar <[email protected]>
Changes:
- 'Node' and 'Notary' nodes have been upgraded to version 4.10 (specifically, version 4.10.3) from 4.7.
- Introduced a new Dockerfile, named node4.10.dockerfile, to build the version 4.10 image.
- Updated the codebase to fetch the latest version 4.10 properly when the user defines it in the network configuration file.

Additional changes:
- Added the missing vault delete commands.
- Fixed the code to delete the vault policy correctly.
- Updated sample network configuration files to facilitate smooth deployment.

fixes hyperledger-bevel#2398

Signed-off-by: saurabhkumarkardam <[email protected]>
…2431)

Primary Changes
--------------
1.add_peer updated for version 2.5.4
2.add_orderer updated for version 2.5.4

Modifications
-----------------------
platforms/hyperledger-fabric/charts/fabric-orderernode
platforms/hyperledger-fabric/charts/fabric-osnadmin-channel-create
platforms/hyperledger-fabric/configuration/add-orderer.yaml
platforms/hyperledger-fabric/configuration/add-peer.yaml
platforms/hyperledger-fabric/configuration/roles/create/new_orderer/create_appchannel_block/templates/update_channel_script.tpl
platforms/hyperledger-fabric/configuration/roles/create/orderers/tasks/main.yaml
platforms/hyperledger-fabric/configuration/roles/create/osnchannels/tasks/valuefile.yaml
platforms/hyperledger-fabric/configuration/roles/create/peers/tasks/main.yaml
platforms/hyperledger-fabric/configuration/roles/create/peers/tasks/nested_main.yaml
platforms/hyperledger-fabric/configuration/roles/helm_component/templates/orderernode.tpl
platforms/hyperledger-fabric/configuration/roles/helm_component/templates/osn_create_channel_job.tpl

fixes hyperledger-bevel#2430

Signed-off-by: mgCepeda <[email protected]>
…l request.

This pull request implements the GitHub Spellcheck feature to automatically check the spelling and grammar in commit messages for all Pull Requests (PRs).

Changes Made:
- modified the code to check the grammar errors at exact line numbers.
-In docs/README.md file corrected the grammar errors.

Fixes: hyperledger-bevel#2327

Signed-off-by: sailajakommineni <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants