BotLino / BotLino/Lino

Trocar links dos serviços utilizados por variáveis de ambiente

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
10
Forks
2
PR merge metrics
No merged PRs in 30d

Description

**Descrição**

É necessário trocar os links dos nossos serviços externos, pois não é correto colocar os _links_ de forma _hardcoded_ no código que estamos usando. Além disso, a proposta é dificultar o acesso ao _link_ direto desses nossos serviços, a fim de não correr o risco de uma sobrecarga intencional de outros usuários em nossos serviços, fazendo múltiplas requisições simultaneamente em pouco tempo.

Exemplo:
![image](https://user-images.githubusercontent.com/26308278/54780615-fcfe2f00-4bf8-11e9-8c08-a6b402091835.png)

**Tarefas**

- [ ] Tirar todos os links onde o webcrawler do RU é apresentado e transformar em variável de ambiente.
- [ ] Tirar todos os links onde o webcrawler de matrícula é apresentado e transformar em variável de ambiente.

**Critérios de Aceitação**

- [ ] Todos os links dos nossos serviços trocados por variáveis de ambiente.
- [ ] Código passando nos testes Flake8.

Contributor guide

Open the contributing guide

Research direction

Locate the code paths where the RU and enrollment webcrawlers expose or use external service links, then identify every hardcoded service URL. Review how this Python project loads environment variables before updating both crawler configurations. Done means all service links use environment variables and Flake8 passes.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.