Skip to content

Commit

Permalink
0.10.0 release (#662)
Browse files Browse the repository at this point in the history
* go 0.10.0-develop

* pass PKTVISOR_TAG build arg during make agent

* don't push packages until everything is built

* fix CI step descriptions

* fix CI push step

* fix(orb-ui): unable to edit sinks with no tags

* wip(orb-ui): stop using abstractFormControl for tags

* refactor(orb-ui): rename/split tag pipes into separate files

assume tags are handled as object, use tag-chip and tagcolor pipes

* style(orb-ui): format sink add component codestyle

* feature(fleet): add metrics to api

* fix(orb-ui): agent component tag input

* fix(orb-ui): fix lint issues

* refactor(orb-ui): refactor interfaces for sink backends and improve sink promises resolution

* fix(orb-ui): remove tag fix

* fix

* wip(orb-ui): agent-group tag fixup - not showing matches

* fix(orb-ui): remove tag param

* fix(orb-ui): missing import

* fix(orb-ui): fix creation and edition of agent group tags

* fix(orb-ui): agent groups list display wrong tags

* fix(orb-ui): fix validating tag match when none. fix display expandable match table of tags

* fix(orb-ui): fix condition for validation and retrieval of matching agents

* fix(orb-ui): resolves #485 save label instead of next on last page of agent policy forms

* feat(fleet): remove unecessary push in service metrics

* fix(orb-ui): add company name to register page

* fix(orb-ui): fix typo

* fix(orb-ui): do not allow same key tag insert/edit

* feat(orb-ui): add style to forgot-password page

* feat(fleet): add more labels to service metrics

* feat(fleet): add service name label to service metrics

* feat(fleet): fix label names, change latency from seconds to microseconds and add missing ownerIDs

* feat(fleet): add label group_id to service metrics

* feat(fleet): approach to improve getting ownerID for service metrics

* doc(fleet): update fleet service openapi spec

* doc(fleet): small grammar correction

* Added integration tests in  python for agents (#559)

Co-authored-by: Stéfano de Faria <sfaria@daitan.com>

* added agent groups feature test (#568)

* added agent groups feature test

* 556 (#582)

* added agent groups feature test

* fix(orb-ui): fix show filter configurations for handlers

* todo: look for latest versions of configuration definitions

* wip

* feat(orb-ui): suggest name for handlers

* fix(orb-ui): reset form when backstep

* Fixed recipient value in the password recovery email template (#593)

* feat(fleet): add identify to service metrics implentation

* 557 - python api policies test (#587)

* added integration tests in python for policies

* fix(sinks): fix status code response of sink ceration

* fix(sinks): reformat code

* feat(orb-ui): Add reset-password page and move request-password component to proper folder

* fix(orb-ui): sink list loading bar always reloading

* fix(orb-ui): pages never stop reloading
* fix for agent groups list page
* fix for agents list page
* fix for datasets list page
* fix for agent policies list page

* 558 dataset tests (#597)

* added agent groups feature test

* fix(orb-ui): fix display of agent tags on agent group details view

* fix(orb-ui): fix line break on third step - misaligned select field

* fix(orb-ui): remove dataset view 'tags' field

* fix(orb-ui): remove required * from key/value tag pair in sink add/edit pages

* fix(orb-ui): remove required * from sink details view tag field

* fix(orb-ui): Remove red asterisk '*' required tags for agents in view and details page

* fix(orb-ui): fix error msg

* fix(orb-ui): Remove required asterisk '*' from version field in agent policy detail view

* fix(orb-ui): fix not displaying agent matches on creation

* fix(orb-ui): fix menu items order in navigation menu

* fix(orb-ui): fix agent view copy command button not changing icon after click

* fix(orb-ui): #625 fix order on dashboard page (#637)

* fix(orb-ui): fix order of orb entities on dashboard page

* fix(orb-ui): fix wrong row ordering

* fix(dataset): Fix http patch to put on edition.

Co-authored-by: gpazuch <1490938+gpazuch@users.noreply.github.com>
Co-authored-by: mclcavalcante <mcavalcante@daitan.com>
Co-authored-by: iatdaitan <86745196+iatdaitan@users.noreply.github.com>
Co-authored-by: manrodrigues <78241475+manrodrigues@users.noreply.github.com>
Co-authored-by: Stéfano de Faria <sfaria@daitan.com>
Co-authored-by: Stéfano <93345073+stefano-daitan@users.noreply.github.com>
Co-authored-by: dscabral <dcabral@daitan.com>
Co-authored-by: dscabral <87036053+dscabral@users.noreply.github.com>
  • Loading branch information
9 people authored Dec 20, 2021
1 parent e21866e commit 12af5dd
Show file tree
Hide file tree
Showing 87 changed files with 2,410 additions and 508 deletions.
30 changes: 19 additions & 11 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,26 +126,34 @@ jobs:
- name: Build service containers
run: make dockers

- name: Push service containers
run: |
docker push -a ns1labs/orb-fleet
docker push -a ns1labs/orb-policies
docker push -a ns1labs/orb-sinks
docker push -a ns1labs/orb-sinker
- name: Build + push orb-agent
- name: Build orb-agent
if: steps.filter.outputs.agent == 'true' || env.BRANCH_NAME == 'main'
env:
IMAGE_NAME: ns1labs/orb-agent
PKTVISOR_TAG: ${{ github.event.inputs.pktvisor_tag }}
run: |
make agent
docker push -a ${{ env.IMAGE_NAME }}
- name: Build + push orb-ui
- name: Build orb-ui
if: steps.filter.outputs.ui == 'true' || env.BRANCH_NAME == 'main'
env:
IMAGE_NAME: ns1labs/orb-ui
run: |
make ui
docker push -a ${{ env.IMAGE_NAME }}
- name: Push service containers
run: |
docker push -a ns1labs/orb-fleet
docker push -a ns1labs/orb-policies
docker push -a ns1labs/orb-sinks
docker push -a ns1labs/orb-sinker
- name: Push agent container
if: steps.filter.outputs.agent == 'true' || env.BRANCH_NAME == 'main'
run: |
docker push -a ns1labs/orb-agent
- name: Push ui container
if: steps.filter.outputs.ui == 'true' || env.BRANCH_NAME == 'main'
run: |
docker push -a ns1labs/orb-ui
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,5 @@ orb-agent.db
**node_modules
**tests_output
orb_tests/chromedriver.log
features/steps/__pycache__/*
*.pyc
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.9.0
0.10.0
5 changes: 3 additions & 2 deletions cmd/fleet/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,19 +209,20 @@ func newFleetService(auth mainflux.AuthServiceClient, db *sqlx.DB, logger *zap.L
svc = redisprod.NewEventStoreMiddleware(svc, esClient)
svc = fleethttp.NewLoggingMiddleware(svc, logger)
svc = fleethttp.MetricsMiddleware(
auth,
svc,
kitprometheus.NewCounterFrom(stdprometheus.CounterOpts{
Namespace: "fleet",
Subsystem: "api",
Name: "request_count",
Help: "Number of requests received.",
}, []string{"method"}),
}, []string{"method", "owner_id", "agent_id", "group_id"}),
kitprometheus.NewSummaryFrom(stdprometheus.SummaryOpts{
Namespace: "fleet",
Subsystem: "api",
Name: "request_latency_microseconds",
Help: "Total duration of requests in microseconds.",
}, []string{"method"}),
}, []string{"method", "owner_id", "agent_id", "group_id"}),
)
return svc
}
Expand Down
2 changes: 1 addition & 1 deletion docker/templates/users.tmpl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
To: {{.To}}
To: {{index .To 0}}
From: {{.From}}
Subject: {{.Subject}}
{{.Header}}
Expand Down
1 change: 1 addition & 0 deletions fleet/agent_group_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ func (svc fleetService) ListAgentGroups(ctx context.Context, token string, pm Pa
if err != nil {
return PageAgentGroup{}, err
}

ag, err := svc.agentGroupRepository.RetrieveAllAgentGroupsByOwner(ctx, ownerID, pm)
if err != nil {
return PageAgentGroup{}, err
Expand Down
Loading

0 comments on commit 12af5dd

Please sign in to comment.