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

Feature/iot 126 konfiguration af chirpstack service profiles #6

Merged

Conversation

ghost
Copy link

@ghost ghost commented Sep 3, 2020

No description provided.

Allan Asp Christensen added 11 commits August 25, 2020 13:44
…files' into develop

# Conflicts:
#	package-lock.json
#	src/app/app-routing.module.ts
#	src/app/app.module.ts
#	src/app/my-applications/applications-table/applications-table-row/applications-table-row.component.html
#	src/app/my-applications/applications-table/applications-table.component.html
#	src/app/my-applications/create-application/create-application.component.html
#	src/app/navbar/navbar.component.html
#	src/app/profiles/service-profiles/service-profiles-list/service-profile-item/service-profile-item.component.spec.ts
#	src/app/shared/form/form-body-application/form-body-application.component.ts
#	src/app/shared/form/form-body-iot-devices/form-body-iot-devices.component.ts
#	src/app/shared/services/chirpstack-gateway.service.ts
#	src/app/shared/services/chripstack-gateway.service.spec.ts
#	src/app/shared/services/datatarget.service.spec.ts
#	src/app/shared/services/datatarget.service.ts
#	src/app/shared/top-bar/top-bar.component.ts
#	src/assets/i18n/da.json
@ghost ghost requested a review from VirtualSatai September 3, 2020 23:19
@ncjej ncjej requested review from ncjej and removed request for VirtualSatai September 4, 2020 06:49
import { ProfilesListComponent } from './profiles-list/profiles-list.component';


const routes: Routes = [
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hvorfor laver vi vores egen routes til dette modul?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Til at gøre den klar til Lazy loading....

Copy link
Contributor

@ncjej ncjej left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

QA ok med små kommentarer

return serviceProfileState.serviceProfiles;
}),
switchMap(serviceProfiles => {
if (serviceProfiles.length === 0) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Man kunne overvejer at lave dem statisk når de allievel bare returnere en værdi

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmmm... du siger noget

constructor(public payload: ServiceProfile[]) { }
}

export class FetchServiceProfiles implements Action {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

static class?

export const DELETE_SERVICEPROFILE = '[Service Profile] Delete Service Profile';
export const STORE_SERVICEPROFILES = '[Service Profile] Store Service Profiles';

export class SetServiceProfiles implements Action {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Jeg er generelt modstander af at have flere classes i samme fil.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Du har ret... jeg tror jeg ændrer det til den syntax, som de ngrx introducerede for 2 år siden

@ghost ghost merged commit 7cfbeea into master Sep 4, 2020
@ncjej ncjej deleted the feature/IOT-126-Konfiguration-af-Chirpstack-Service-profiles branch October 20, 2020 06:59
AramAlsabti pushed a commit that referenced this pull request Nov 5, 2021
* IOT-5: Add IoTDevice API and Generic HTTP devices

* IOT-5: E2E tests for IoTDevice API

* fixed error when searching trying to delete application by invalid ID

Co-authored-by: Troels Beck Krøgh <[email protected]>
Co-authored-by: Thomas Rohleder <[email protected]>
This pull request was closed.
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.

1 participant