Skip to content

Commit

Permalink
Federation Registry SQA
Browse files Browse the repository at this point in the history
  • Loading branch information
linathedog committed Nov 26, 2024
1 parent e231b23 commit 7aef91a
Show file tree
Hide file tree
Showing 5 changed files with 4,019 additions and 2,655 deletions.
61 changes: 61 additions & 0 deletions CODE_OF_CONTACT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# Contributor Covenant Code of Conduct

## Our Pledge

In the interest of fostering an open and welcoming environment,
we as contributors and maintainers pledge to making participation
in our project and our community a harassment-free experience for everyone,
regardless of age, body size, disability, ethnicity, gender identity and
expression, level of experience, nationality, personal appearance, race,
religion, or sexual identity and orientation.

## Our Standards

Examples of behavior that contributes to creating a positive environment include:

- Using welcoming and inclusive language
- Being respectful of differing viewpoints and experiences
- Gracefully accepting constructive criticism
- Focusing on what is best for the community
- Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

- The use of sexualized language or imagery and unwelcome sexual attention or advances
- Trolling, insulting/derogatory comments, and personal or political attacks
- Public or private harassment
- Publishing others' private information, such as a physical or electronic address, without explicit permission
- Other conduct which could reasonably be considered inappropriate in a professional setting

## Our Responsibilities

Project maintainers are responsible for clarifying the standards of acceptable behavior
and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.

Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct,
or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.

## Scope

This Code of Conduct applies both within project spaces and in public spaces
when an individual is representing the project or its community.
Examples of representing a project or community include using an official email address, posting via an official social media account, or acting as an appointed representative at an online or offline event.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be reported
by contacting our RCIAM team at GRNET at `[email protected]`.
The project team will review and investigate all complaints and will respond
in a way that it deems appropriate to the circumstances.
The project team is obligated to maintain confidentiality with regard to the reporter of an incident.
Further details of specific enforcement policies may be posted separately.

Project maintainers who do not follow or enforce the Code of Conduct in good faith
may face temporary or permanent repercussions as determined by other members of the project's leadership.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version].

[homepage]: http://contributor-covenant.org
[version]: http://contributor-covenant.org/version/1/4/
37 changes: 37 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Contributing to RCIAM Open Source Software

Thank you for considering contributing to RCIAM Open Source Software.

Please note that we welcome all forms of user feedback and are generally open
to many forms of collaboration, but please read this document carefully before proceeding.

## User Feedback

### Reporting Problems

We welcome all feedback you may have when using any of our tools and services.

If you encounter a problem, please use the **Support** link located in the footer of the **Federation Registry** tool
or open an issue on the respective **GitHub repository**.

### Suggesting Enhancements

To suggest new functionalities and possible future developments,
please use the **Support** link located in the footer of the **Federation Registry** tool
or open an issue on the respective **GitHub repository**,
and specify whether your suggestion is a "New Feature" or an "Improvement."

## Contributing to the Development

Development of all RCIAM tools and services is aligned with our roadmap and any functional requirements we have.

External contributions can be accepted if they provide functionality RCIAM
deems appropriate and are of acceptable quality.
Specific requirements and criteria may apply to specific tools.

If you want to contribute to RCIAM tools and services,
please contact `[email protected]` before proceeding.

### Practical Matters

RCIAM reserves the right to accept or reject any contribution.
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,23 +48,23 @@ If we need to set the project to communicate with deployment agents we will need
- an authorization key for the push endpoint


##### 1) Initialise/Configure Tenant


a) Setup the tenants configuration file.
#### **Initialise/Configure Tenant**

1) Setup the tenants configuration file.
```
federation-registry-backend-api/JavaScript/config.json
```

b) Initialise tenant in the database. An example of an initialisation script can be seen in the **setup_tenant.sql** file
2) Initialise tenant in the database. An example of an initialisation script can be seen in the **setup_tenant.sql** file
- **Authentication:** Configure the Issuer that will be used for authentication providing also the Client Id and Client Secret.
- **User Roles:** Configure the user roles and the entitlements that grant them and associate the with [role actions](#role-actions). (The use of the example roles is recommended)
- **Deployment Agents:** Configure the deployment agents that will be connected to the Federation Registry instance.

\*Note: If you are running federation registry in a development instance consider using a [mock deployer](https://github.com/rciam/rciam-federation-registry-agent/tree/mock-deployer).


##### 1) Backend API


#### **Backend API**

**Configure Environment File**
`federation-registry-backend-api/JavaScript/.env`

Expand All @@ -91,8 +91,8 @@ TOKEN_KEY = token_used_for_encription
}
```

##### 2) Front End


#### **Front End**

For the frontend we need to configure where the backend api is located:
`federation-registry-frontend/src/config.json`

Expand All @@ -104,11 +104,10 @@ For the frontend we need to configure where the backend api is located:
},
"basename": "/",
}

```

##### **3) AMS Agent**


#### **AMS Agent**

Ams Agent is responsible for
- Creating the necessary Topics and Subscriptions in the AMS.
- Pushing Deployment messages from the Federation Registry to the AMS.
Expand Down Expand Up @@ -165,7 +164,8 @@ $ node app.js
Each user role is associated with a set of actions. Here is a list of the supported actions.

##### Simple Actions
- **get_user**: User can has access to it's own personal information.

- **get_user**: User has access to it's own personal information.
- **get_own_services**: User can get a list of their services.
- **get_own_service**: User can view their own services.
- **get_own_petitions**: User can view requests for their services.
Expand Down
34 changes: 34 additions & 0 deletions codemeta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"@context": "https://doi.org/10.5063/schema/codemeta-2.0",
"type": "SoftwareSourceCode",
"author": [
{
"id": "_:author_1",
"type": "Person",
"affiliation": {
"type": "Organization",
"name": "Web Developer at Grnet"
},
"email": "[email protected]",
"familyName": "Kozadinos",
"givenName": "Andreas "
}
],
"codeRepository": "https://github.com/rciam/rciam-federation-registry",
"dateCreated": "2024-11-25",
"datePublished": "2021-01-12",
"description": "The federation registry provides a secure web interface through which service operators can register and manage their OpenID Connect and SAML based service. A federation registry instance can serve multiple tenants and supports different AAI proxy technologies(Keycloak, SimpleSAMLphp, SATOSA (TODO), MITREid Connect). Services can be managed through the portal and are deployed by sending configuration messages to deployment agents that run in parallel with this project. Messages are exchanged using ARGO Messaging Service.",
"keywords": "aai",
"name": "RCIAM Federation Registry ",
"programmingLanguage": [
"Javascript",
"HTML",
"CSS",
"Handlebars"
],
"version": "1.3.7",
"contIntegration": "https://github.com/rciam/rciam-federation-registry/issues",
"codemeta:continuousIntegration": {
"id": "https://github.com/rciam/rciam-federation-registry/issues"
}
}
Loading

0 comments on commit 7aef91a

Please sign in to comment.