Browse Source
chore: adopt SPDX license headers for files added in lts-4.4
pull/16130/head
Dmytro Skarzhynets
2 days ago
No known key found for this signature in database
GPG Key ID: 2B51652F224037DF
47 changed files with
90 additions and
680 deletions
-
application/src/main/data/upgrade/lts/4.4.0.0/schema_update.sql
-
application/src/main/java/org/thingsboard/server/service/edge/rpc/DownlinkMessageMapper.java
-
application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeUplinkMessageDispatcher.java
-
application/src/main/java/org/thingsboard/server/service/edge/rpc/GrpcServer.java
-
application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/EdgeEventsDispatcher.java
-
application/src/main/java/org/thingsboard/server/service/edge/rpc/processor/PostgresGeneralEdgeEventsDispatcher.java
-
application/src/main/java/org/thingsboard/server/service/edge/rpc/session/DefaultZombieSessionCleanupService.java
-
application/src/main/java/org/thingsboard/server/service/edge/rpc/session/EdgeGrpcSession.java
-
application/src/main/java/org/thingsboard/server/service/edge/rpc/session/EdgeGrpcSessionDelegate.java
-
application/src/main/java/org/thingsboard/server/service/edge/rpc/session/EdgeSession.java
-
application/src/main/java/org/thingsboard/server/service/edge/rpc/session/EdgeSessionsHolder.java
-
application/src/main/java/org/thingsboard/server/service/edge/rpc/session/ZombieSessionCleanupService.java
-
application/src/main/java/org/thingsboard/server/service/edge/rpc/session/manager/AbstractEdgeGrpcSessionManager.java
-
application/src/main/java/org/thingsboard/server/service/edge/rpc/session/manager/EdgeGrpcSessionManager.java
-
application/src/main/java/org/thingsboard/server/service/edge/rpc/session/manager/KafkaBasedEdgeGrpcSessionManager.java
-
application/src/main/java/org/thingsboard/server/service/edge/rpc/session/manager/PostgresBasedEdgeGrpcSessionManager.java
-
application/src/main/java/org/thingsboard/server/service/install/lts/V4_4_0_0Migration.java
-
application/src/main/java/org/thingsboard/server/service/queue/TbMsgPackProcessingContextFactory.java
-
application/src/test/java/org/thingsboard/server/controller/ApiKeyWebSocketApiTest.java
-
application/src/test/java/org/thingsboard/server/service/queue/ruleengine/RuleEngineConsumerLoopTest.java
-
application/src/test/java/org/thingsboard/server/transport/mqtt/sparkplug/connection/MqttV5ClientSparkplugBConnectionDevicesCreatingBeforeTest.java
-
common/data/src/main/java/org/thingsboard/server/common/data/rule/RuleChainDetails.java
-
common/data/src/main/java/org/thingsboard/server/common/data/rule/RuleChainNote.java
-
common/data/src/main/java/org/thingsboard/server/common/data/util/KeyValueEntry.java
-
common/transport/lwm2m/src/main/java/org/thingsboard/server/transport/lwm2m/server/rpc/RpcExecuteRequest.java
-
dao/src/main/java/org/thingsboard/server/dao/model/sql/AbstractRuleChainEntity.java
-
dao/src/main/java/org/thingsboard/server/dao/model/sql/RuleChainDetailsEntity.java
-
dao/src/main/java/org/thingsboard/server/dao/rule/RuleChainDetailsDao.java
-
dao/src/main/java/org/thingsboard/server/dao/sql/rule/JpaRuleChainDetailsDao.java
-
dao/src/main/java/org/thingsboard/server/dao/sql/rule/RuleChainDetailsRepository.java
-
msa/js-executor/queue/oAuthBearerProvider.ts
-
ui-ngx/src/app/core/services/breadcrumb.service.ts
-
ui-ngx/src/app/core/services/home.service.ts
-
ui-ngx/src/app/modules/home/components/dashboard-page/dashboard-page.component.html
-
ui-ngx/src/app/modules/home/components/github-badge/github-badge.module.ts
-
ui-ngx/src/app/modules/home/components/notification/notification-bell.module.ts
-
ui-ngx/src/app/modules/home/components/rule-node/common/kv-list-config.component.ts
-
ui-ngx/src/app/modules/home/components/rule-node/external/rest-api-call-config.component.scss
-
ui-ngx/src/app/modules/home/pages/rulechain/add-note-dialog.component.html
-
ui-ngx/src/app/modules/home/pages/rulechain/add-note-dialog.component.scss
-
ui-ngx/src/app/modules/home/pages/rulechain/rule-note-editor.component.html
-
ui-ngx/src/app/modules/home/pages/rulechain/rule-note-editor.component.ts
-
ui-ngx/src/app/modules/home/pages/rulechain/rulenote.component.html
-
ui-ngx/src/app/modules/home/pages/rulechain/rulenote.component.scss
-
ui-ngx/src/app/modules/home/pages/rulechain/rulenote.component.ts
-
ui-ngx/src/app/modules/home/pages/widget/widget-editor.component.html
-
ui-ngx/src/app/shared/components/markdown-sanitize.helper.ts
|
|
|
@ -1,17 +1,6 @@ |
|
|
|
-- |
|
|
|
-- Copyright © 2016-2026 The Thingsboard Authors |
|
|
|
-- |
|
|
|
-- Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
-- you may not use this file except in compliance with the License. |
|
|
|
-- You may obtain a copy of the License at |
|
|
|
-- |
|
|
|
-- http://www.apache.org/licenses/LICENSE-2.0 |
|
|
|
-- |
|
|
|
-- Unless required by applicable law or agreed to in writing, software |
|
|
|
-- distributed under the License is distributed on an "AS IS" BASIS, |
|
|
|
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
|
|
-- See the License for the specific language governing permissions and |
|
|
|
-- limitations under the License. |
|
|
|
-- SPDX-FileCopyrightText: Copyright The Thingsboard Authors |
|
|
|
-- SPDX-License-Identifier: Apache-2.0 |
|
|
|
-- |
|
|
|
|
|
|
|
-- 4.4 baseline flat DDL, applied by V4_4_0_0Migration during a 4.3.x -> 4.4 offline upgrade. Keep these |
|
|
|
|
|
|
|
@ -1,18 +1,5 @@ |
|
|
|
/** |
|
|
|
* Copyright © 2016-2026 The Thingsboard Authors |
|
|
|
* |
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
* You may obtain a copy of the License at |
|
|
|
* |
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
* |
|
|
|
* Unless required by applicable law or agreed to in writing, software |
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS, |
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
|
|
* See the License for the specific language governing permissions and |
|
|
|
* limitations under the License. |
|
|
|
*/ |
|
|
|
// SPDX-FileCopyrightText: Copyright The Thingsboard Authors
|
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package org.thingsboard.server.service.edge.rpc; |
|
|
|
|
|
|
|
import lombok.RequiredArgsConstructor; |
|
|
|
|
|
|
|
@ -1,18 +1,5 @@ |
|
|
|
/** |
|
|
|
* Copyright © 2016-2026 The Thingsboard Authors |
|
|
|
* |
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
* You may obtain a copy of the License at |
|
|
|
* |
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
* |
|
|
|
* Unless required by applicable law or agreed to in writing, software |
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS, |
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
|
|
* See the License for the specific language governing permissions and |
|
|
|
* limitations under the License. |
|
|
|
*/ |
|
|
|
// SPDX-FileCopyrightText: Copyright The Thingsboard Authors
|
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package org.thingsboard.server.service.edge.rpc; |
|
|
|
|
|
|
|
import com.google.common.util.concurrent.Futures; |
|
|
|
|
|
|
|
@ -1,18 +1,5 @@ |
|
|
|
/** |
|
|
|
* Copyright © 2016-2026 The Thingsboard Authors |
|
|
|
* |
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
* You may obtain a copy of the License at |
|
|
|
* |
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
* |
|
|
|
* Unless required by applicable law or agreed to in writing, software |
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS, |
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
|
|
* See the License for the specific language governing permissions and |
|
|
|
* limitations under the License. |
|
|
|
*/ |
|
|
|
// SPDX-FileCopyrightText: Copyright The Thingsboard Authors
|
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package org.thingsboard.server.service.edge.rpc; |
|
|
|
|
|
|
|
import io.grpc.Server; |
|
|
|
|
|
|
|
@ -1,18 +1,5 @@ |
|
|
|
/** |
|
|
|
* Copyright © 2016-2026 The Thingsboard Authors |
|
|
|
* |
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
* You may obtain a copy of the License at |
|
|
|
* |
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
* |
|
|
|
* Unless required by applicable law or agreed to in writing, software |
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS, |
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
|
|
* See the License for the specific language governing permissions and |
|
|
|
* limitations under the License. |
|
|
|
*/ |
|
|
|
// SPDX-FileCopyrightText: Copyright The Thingsboard Authors
|
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package org.thingsboard.server.service.edge.rpc.processor; |
|
|
|
|
|
|
|
import com.google.common.util.concurrent.ListenableFuture; |
|
|
|
|
|
|
|
@ -1,18 +1,5 @@ |
|
|
|
/** |
|
|
|
* Copyright © 2016-2026 The Thingsboard Authors |
|
|
|
* |
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
* You may obtain a copy of the License at |
|
|
|
* |
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
* |
|
|
|
* Unless required by applicable law or agreed to in writing, software |
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS, |
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
|
|
* See the License for the specific language governing permissions and |
|
|
|
* limitations under the License. |
|
|
|
*/ |
|
|
|
// SPDX-FileCopyrightText: Copyright The Thingsboard Authors
|
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package org.thingsboard.server.service.edge.rpc.processor; |
|
|
|
|
|
|
|
import com.google.common.util.concurrent.FutureCallback; |
|
|
|
|
|
|
|
@ -1,18 +1,5 @@ |
|
|
|
/** |
|
|
|
* Copyright © 2016-2026 The Thingsboard Authors |
|
|
|
* |
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
* You may obtain a copy of the License at |
|
|
|
* |
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
* |
|
|
|
* Unless required by applicable law or agreed to in writing, software |
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS, |
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
|
|
* See the License for the specific language governing permissions and |
|
|
|
* limitations under the License. |
|
|
|
*/ |
|
|
|
// SPDX-FileCopyrightText: Copyright The Thingsboard Authors
|
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package org.thingsboard.server.service.edge.rpc.session; |
|
|
|
|
|
|
|
import jakarta.annotation.PostConstruct; |
|
|
|
|
|
|
|
@ -1,18 +1,5 @@ |
|
|
|
/** |
|
|
|
* Copyright © 2016-2026 The Thingsboard Authors |
|
|
|
* |
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
* You may obtain a copy of the License at |
|
|
|
* |
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
* |
|
|
|
* Unless required by applicable law or agreed to in writing, software |
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS, |
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
|
|
* See the License for the specific language governing permissions and |
|
|
|
* limitations under the License. |
|
|
|
*/ |
|
|
|
// SPDX-FileCopyrightText: Copyright The Thingsboard Authors
|
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package org.thingsboard.server.service.edge.rpc.session; |
|
|
|
|
|
|
|
import com.datastax.oss.driver.api.core.uuid.Uuids; |
|
|
|
|
|
|
|
@ -1,18 +1,5 @@ |
|
|
|
/** |
|
|
|
* Copyright © 2016-2026 The Thingsboard Authors |
|
|
|
* |
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
* You may obtain a copy of the License at |
|
|
|
* |
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
* |
|
|
|
* Unless required by applicable law or agreed to in writing, software |
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS, |
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
|
|
* See the License for the specific language governing permissions and |
|
|
|
* limitations under the License. |
|
|
|
*/ |
|
|
|
// SPDX-FileCopyrightText: Copyright The Thingsboard Authors
|
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package org.thingsboard.server.service.edge.rpc.session; |
|
|
|
|
|
|
|
import org.thingsboard.server.common.data.edge.EdgeEvent; |
|
|
|
|
|
|
|
@ -1,18 +1,5 @@ |
|
|
|
/** |
|
|
|
* Copyright © 2016-2026 The Thingsboard Authors |
|
|
|
* |
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
* You may obtain a copy of the License at |
|
|
|
* |
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
* |
|
|
|
* Unless required by applicable law or agreed to in writing, software |
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS, |
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
|
|
* See the License for the specific language governing permissions and |
|
|
|
* limitations under the License. |
|
|
|
*/ |
|
|
|
// SPDX-FileCopyrightText: Copyright The Thingsboard Authors
|
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package org.thingsboard.server.service.edge.rpc.session; |
|
|
|
|
|
|
|
import com.google.common.util.concurrent.ListenableFuture; |
|
|
|
|
|
|
|
@ -1,18 +1,5 @@ |
|
|
|
/** |
|
|
|
* Copyright © 2016-2026 The Thingsboard Authors |
|
|
|
* |
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
* You may obtain a copy of the License at |
|
|
|
* |
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
* |
|
|
|
* Unless required by applicable law or agreed to in writing, software |
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS, |
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
|
|
* See the License for the specific language governing permissions and |
|
|
|
* limitations under the License. |
|
|
|
*/ |
|
|
|
// SPDX-FileCopyrightText: Copyright The Thingsboard Authors
|
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package org.thingsboard.server.service.edge.rpc.session; |
|
|
|
|
|
|
|
import lombok.Data; |
|
|
|
|
|
|
|
@ -1,18 +1,5 @@ |
|
|
|
/** |
|
|
|
* Copyright © 2016-2026 The Thingsboard Authors |
|
|
|
* |
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
* You may obtain a copy of the License at |
|
|
|
* |
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
* |
|
|
|
* Unless required by applicable law or agreed to in writing, software |
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS, |
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
|
|
* See the License for the specific language governing permissions and |
|
|
|
* limitations under the License. |
|
|
|
*/ |
|
|
|
// SPDX-FileCopyrightText: Copyright The Thingsboard Authors
|
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package org.thingsboard.server.service.edge.rpc.session; |
|
|
|
|
|
|
|
import org.thingsboard.server.service.edge.rpc.session.manager.EdgeGrpcSessionManager; |
|
|
|
|
|
|
|
@ -1,18 +1,5 @@ |
|
|
|
/** |
|
|
|
* Copyright © 2016-2026 The Thingsboard Authors |
|
|
|
* |
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
* You may obtain a copy of the License at |
|
|
|
* |
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
* |
|
|
|
* Unless required by applicable law or agreed to in writing, software |
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS, |
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
|
|
* See the License for the specific language governing permissions and |
|
|
|
* limitations under the License. |
|
|
|
*/ |
|
|
|
// SPDX-FileCopyrightText: Copyright The Thingsboard Authors
|
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package org.thingsboard.server.service.edge.rpc.session.manager; |
|
|
|
|
|
|
|
import io.grpc.stub.StreamObserver; |
|
|
|
|
|
|
|
@ -1,18 +1,5 @@ |
|
|
|
/** |
|
|
|
* Copyright © 2016-2026 The Thingsboard Authors |
|
|
|
* |
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
* You may obtain a copy of the License at |
|
|
|
* |
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
* |
|
|
|
* Unless required by applicable law or agreed to in writing, software |
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS, |
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
|
|
* See the License for the specific language governing permissions and |
|
|
|
* limitations under the License. |
|
|
|
*/ |
|
|
|
// SPDX-FileCopyrightText: Copyright The Thingsboard Authors
|
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package org.thingsboard.server.service.edge.rpc.session.manager; |
|
|
|
|
|
|
|
import io.grpc.stub.StreamObserver; |
|
|
|
|
|
|
|
@ -1,18 +1,5 @@ |
|
|
|
/** |
|
|
|
* Copyright © 2016-2026 The Thingsboard Authors |
|
|
|
* |
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
* You may obtain a copy of the License at |
|
|
|
* |
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
* |
|
|
|
* Unless required by applicable law or agreed to in writing, software |
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS, |
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
|
|
* See the License for the specific language governing permissions and |
|
|
|
* limitations under the License. |
|
|
|
*/ |
|
|
|
// SPDX-FileCopyrightText: Copyright The Thingsboard Authors
|
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package org.thingsboard.server.service.edge.rpc.session.manager; |
|
|
|
|
|
|
|
import lombok.Getter; |
|
|
|
|
|
|
|
@ -1,18 +1,5 @@ |
|
|
|
/** |
|
|
|
* Copyright © 2016-2026 The Thingsboard Authors |
|
|
|
* |
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
* You may obtain a copy of the License at |
|
|
|
* |
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
* |
|
|
|
* Unless required by applicable law or agreed to in writing, software |
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS, |
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
|
|
* See the License for the specific language governing permissions and |
|
|
|
* limitations under the License. |
|
|
|
*/ |
|
|
|
// SPDX-FileCopyrightText: Copyright The Thingsboard Authors
|
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package org.thingsboard.server.service.edge.rpc.session.manager; |
|
|
|
|
|
|
|
import com.google.common.util.concurrent.FutureCallback; |
|
|
|
|
|
|
|
@ -1,18 +1,5 @@ |
|
|
|
/** |
|
|
|
* Copyright © 2016-2026 The Thingsboard Authors |
|
|
|
* |
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
* You may obtain a copy of the License at |
|
|
|
* |
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
* |
|
|
|
* Unless required by applicable law or agreed to in writing, software |
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS, |
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
|
|
* See the License for the specific language governing permissions and |
|
|
|
* limitations under the License. |
|
|
|
*/ |
|
|
|
// SPDX-FileCopyrightText: Copyright The Thingsboard Authors
|
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package org.thingsboard.server.service.install.lts; |
|
|
|
|
|
|
|
import org.springframework.stereotype.Component; |
|
|
|
|
|
|
|
@ -1,18 +1,5 @@ |
|
|
|
/** |
|
|
|
* Copyright © 2016-2026 The Thingsboard Authors |
|
|
|
* |
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
* You may obtain a copy of the License at |
|
|
|
* |
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
* |
|
|
|
* Unless required by applicable law or agreed to in writing, software |
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS, |
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
|
|
* See the License for the specific language governing permissions and |
|
|
|
* limitations under the License. |
|
|
|
*/ |
|
|
|
// SPDX-FileCopyrightText: Copyright The Thingsboard Authors
|
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package org.thingsboard.server.service.queue; |
|
|
|
|
|
|
|
import org.springframework.stereotype.Component; |
|
|
|
|
|
|
|
@ -1,18 +1,5 @@ |
|
|
|
/** |
|
|
|
* Copyright © 2016-2026 The Thingsboard Authors |
|
|
|
* |
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
* You may obtain a copy of the License at |
|
|
|
* |
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
* |
|
|
|
* Unless required by applicable law or agreed to in writing, software |
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS, |
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
|
|
* See the License for the specific language governing permissions and |
|
|
|
* limitations under the License. |
|
|
|
*/ |
|
|
|
// SPDX-FileCopyrightText: Copyright The Thingsboard Authors
|
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package org.thingsboard.server.controller; |
|
|
|
|
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
|
|
|
|
@ -1,18 +1,5 @@ |
|
|
|
/** |
|
|
|
* Copyright © 2016-2026 The Thingsboard Authors |
|
|
|
* |
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
* You may obtain a copy of the License at |
|
|
|
* |
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
* |
|
|
|
* Unless required by applicable law or agreed to in writing, software |
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS, |
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
|
|
* See the License for the specific language governing permissions and |
|
|
|
* limitations under the License. |
|
|
|
*/ |
|
|
|
// SPDX-FileCopyrightText: Copyright The Thingsboard Authors
|
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package org.thingsboard.server.service.queue.ruleengine; |
|
|
|
|
|
|
|
import com.google.common.util.concurrent.MoreExecutors; |
|
|
|
|
|
|
|
@ -1,18 +1,5 @@ |
|
|
|
/** |
|
|
|
* Copyright © 2016-2026 The Thingsboard Authors |
|
|
|
* |
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
* You may obtain a copy of the License at |
|
|
|
* |
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
* |
|
|
|
* Unless required by applicable law or agreed to in writing, software |
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS, |
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
|
|
* See the License for the specific language governing permissions and |
|
|
|
* limitations under the License. |
|
|
|
*/ |
|
|
|
// SPDX-FileCopyrightText: Copyright The Thingsboard Authors
|
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package org.thingsboard.server.transport.mqtt.sparkplug.connection; |
|
|
|
|
|
|
|
import org.eclipse.paho.mqttv5.common.MqttException; |
|
|
|
|
|
|
|
@ -1,18 +1,5 @@ |
|
|
|
/** |
|
|
|
* Copyright © 2016-2026 The Thingsboard Authors |
|
|
|
* |
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
* You may obtain a copy of the License at |
|
|
|
* |
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
* |
|
|
|
* Unless required by applicable law or agreed to in writing, software |
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS, |
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
|
|
* See the License for the specific language governing permissions and |
|
|
|
* limitations under the License. |
|
|
|
*/ |
|
|
|
// SPDX-FileCopyrightText: Copyright The Thingsboard Authors
|
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package org.thingsboard.server.common.data.rule; |
|
|
|
|
|
|
|
import com.fasterxml.jackson.annotation.JsonInclude; |
|
|
|
|
|
|
|
@ -1,18 +1,5 @@ |
|
|
|
/** |
|
|
|
* Copyright © 2016-2026 The Thingsboard Authors |
|
|
|
* |
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
* You may obtain a copy of the License at |
|
|
|
* |
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
* |
|
|
|
* Unless required by applicable law or agreed to in writing, software |
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS, |
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
|
|
* See the License for the specific language governing permissions and |
|
|
|
* limitations under the License. |
|
|
|
*/ |
|
|
|
// SPDX-FileCopyrightText: Copyright The Thingsboard Authors
|
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package org.thingsboard.server.common.data.rule; |
|
|
|
|
|
|
|
import com.fasterxml.jackson.annotation.JsonInclude; |
|
|
|
|
|
|
|
@ -1,18 +1,5 @@ |
|
|
|
/** |
|
|
|
* Copyright © 2016-2026 The Thingsboard Authors |
|
|
|
* |
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
* You may obtain a copy of the License at |
|
|
|
* |
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
* |
|
|
|
* Unless required by applicable law or agreed to in writing, software |
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS, |
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
|
|
* See the License for the specific language governing permissions and |
|
|
|
* limitations under the License. |
|
|
|
*/ |
|
|
|
// SPDX-FileCopyrightText: Copyright The Thingsboard Authors
|
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package org.thingsboard.server.common.data.util; |
|
|
|
|
|
|
|
public record KeyValueEntry<K, V>(K key, V value) {} |
|
|
|
|
|
|
|
@ -1,18 +1,5 @@ |
|
|
|
/** |
|
|
|
* Copyright © 2016-2026 The Thingsboard Authors |
|
|
|
* |
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
* You may obtain a copy of the License at |
|
|
|
* |
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
* |
|
|
|
* Unless required by applicable law or agreed to in writing, software |
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS, |
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
|
|
* See the License for the specific language governing permissions and |
|
|
|
* limitations under the License. |
|
|
|
*/ |
|
|
|
// SPDX-FileCopyrightText: Copyright The Thingsboard Authors
|
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package org.thingsboard.server.transport.lwm2m.server.rpc; |
|
|
|
|
|
|
|
import lombok.Data; |
|
|
|
|
|
|
|
@ -1,18 +1,5 @@ |
|
|
|
/** |
|
|
|
* Copyright © 2016-2026 The Thingsboard Authors |
|
|
|
* |
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
* You may obtain a copy of the License at |
|
|
|
* |
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
* |
|
|
|
* Unless required by applicable law or agreed to in writing, software |
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS, |
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
|
|
* See the License for the specific language governing permissions and |
|
|
|
* limitations under the License. |
|
|
|
*/ |
|
|
|
// SPDX-FileCopyrightText: Copyright The Thingsboard Authors
|
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package org.thingsboard.server.dao.model.sql; |
|
|
|
|
|
|
|
import com.fasterxml.jackson.databind.JsonNode; |
|
|
|
|
|
|
|
@ -1,18 +1,5 @@ |
|
|
|
/** |
|
|
|
* Copyright © 2016-2026 The Thingsboard Authors |
|
|
|
* |
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
* You may obtain a copy of the License at |
|
|
|
* |
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
* |
|
|
|
* Unless required by applicable law or agreed to in writing, software |
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS, |
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
|
|
* See the License for the specific language governing permissions and |
|
|
|
* limitations under the License. |
|
|
|
*/ |
|
|
|
// SPDX-FileCopyrightText: Copyright The Thingsboard Authors
|
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package org.thingsboard.server.dao.model.sql; |
|
|
|
|
|
|
|
import com.fasterxml.jackson.core.type.TypeReference; |
|
|
|
|
|
|
|
@ -1,18 +1,5 @@ |
|
|
|
/** |
|
|
|
* Copyright © 2016-2026 The Thingsboard Authors |
|
|
|
* |
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
* You may obtain a copy of the License at |
|
|
|
* |
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
* |
|
|
|
* Unless required by applicable law or agreed to in writing, software |
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS, |
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
|
|
* See the License for the specific language governing permissions and |
|
|
|
* limitations under the License. |
|
|
|
*/ |
|
|
|
// SPDX-FileCopyrightText: Copyright The Thingsboard Authors
|
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package org.thingsboard.server.dao.rule; |
|
|
|
|
|
|
|
import org.thingsboard.server.common.data.rule.RuleChainDetails; |
|
|
|
|
|
|
|
@ -1,18 +1,5 @@ |
|
|
|
/** |
|
|
|
* Copyright © 2016-2026 The Thingsboard Authors |
|
|
|
* |
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
* You may obtain a copy of the License at |
|
|
|
* |
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
* |
|
|
|
* Unless required by applicable law or agreed to in writing, software |
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS, |
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
|
|
* See the License for the specific language governing permissions and |
|
|
|
* limitations under the License. |
|
|
|
*/ |
|
|
|
// SPDX-FileCopyrightText: Copyright The Thingsboard Authors
|
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package org.thingsboard.server.dao.sql.rule; |
|
|
|
|
|
|
|
import lombok.RequiredArgsConstructor; |
|
|
|
|
|
|
|
@ -1,18 +1,5 @@ |
|
|
|
/** |
|
|
|
* Copyright © 2016-2026 The Thingsboard Authors |
|
|
|
* |
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
* You may obtain a copy of the License at |
|
|
|
* |
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
* |
|
|
|
* Unless required by applicable law or agreed to in writing, software |
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS, |
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
|
|
* See the License for the specific language governing permissions and |
|
|
|
* limitations under the License. |
|
|
|
*/ |
|
|
|
// SPDX-FileCopyrightText: Copyright The Thingsboard Authors
|
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package org.thingsboard.server.dao.sql.rule; |
|
|
|
|
|
|
|
import org.springframework.data.jpa.repository.JpaRepository; |
|
|
|
|
|
|
|
@ -1,19 +1,5 @@ |
|
|
|
///
|
|
|
|
/// Copyright © 2016-2026 The Thingsboard Authors
|
|
|
|
///
|
|
|
|
/// Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
/// you may not use this file except in compliance with the License.
|
|
|
|
/// You may obtain a copy of the License at
|
|
|
|
///
|
|
|
|
/// http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
///
|
|
|
|
/// Unless required by applicable law or agreed to in writing, software
|
|
|
|
/// distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
/// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
/// See the License for the specific language governing permissions and
|
|
|
|
/// limitations under the License.
|
|
|
|
///
|
|
|
|
|
|
|
|
// SPDX-FileCopyrightText: Copyright The Thingsboard Authors
|
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
import { AccessToken, ClientCredentials } from 'simple-oauth2'; |
|
|
|
import { _logger } from '../config/logger'; |
|
|
|
|
|
|
|
|
|
|
|
@ -1,19 +1,5 @@ |
|
|
|
///
|
|
|
|
/// Copyright © 2016-2026 The Thingsboard Authors
|
|
|
|
///
|
|
|
|
/// Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
/// you may not use this file except in compliance with the License.
|
|
|
|
/// You may obtain a copy of the License at
|
|
|
|
///
|
|
|
|
/// http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
///
|
|
|
|
/// Unless required by applicable law or agreed to in writing, software
|
|
|
|
/// distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
/// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
/// See the License for the specific language governing permissions and
|
|
|
|
/// limitations under the License.
|
|
|
|
///
|
|
|
|
|
|
|
|
// SPDX-FileCopyrightText: Copyright The Thingsboard Authors
|
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
import { Injectable } from '@angular/core'; |
|
|
|
import { BehaviorSubject, merge, shareReplay, Subject, Subscription } from 'rxjs'; |
|
|
|
import { BreadCrumb, BreadCrumbConfig } from '@shared/components/breadcrumb'; |
|
|
|
|
|
|
|
@ -1,19 +1,5 @@ |
|
|
|
///
|
|
|
|
/// Copyright © 2016-2026 The Thingsboard Authors
|
|
|
|
///
|
|
|
|
/// Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
/// you may not use this file except in compliance with the License.
|
|
|
|
/// You may obtain a copy of the License at
|
|
|
|
///
|
|
|
|
/// http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
///
|
|
|
|
/// Unless required by applicable law or agreed to in writing, software
|
|
|
|
/// distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
/// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
/// See the License for the specific language governing permissions and
|
|
|
|
/// limitations under the License.
|
|
|
|
///
|
|
|
|
|
|
|
|
// SPDX-FileCopyrightText: Copyright The Thingsboard Authors
|
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
import { EventEmitter, Injectable } from '@angular/core'; |
|
|
|
import { ActiveComponentService } from '@core/services/active-component.service'; |
|
|
|
import { BehaviorSubject, Observable, shareReplay, Subject } from 'rxjs'; |
|
|
|
|
|
|
|
@ -4,7 +4,6 @@ |
|
|
|
SPDX-License-Identifier: Apache-2.0 |
|
|
|
|
|
|
|
--> |
|
|
|
|
|
|
|
<ng-template #dashboardBreadcrumbsTpl> |
|
|
|
<tb-states-component class="lt-md:flex-1" |
|
|
|
[statesControllerId]="dashboardConfiguration.settings.stateControllerId" |
|
|
|
|
|
|
|
@ -1,19 +1,5 @@ |
|
|
|
///
|
|
|
|
/// Copyright © 2016-2026 The Thingsboard Authors
|
|
|
|
///
|
|
|
|
/// Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
/// you may not use this file except in compliance with the License.
|
|
|
|
/// You may obtain a copy of the License at
|
|
|
|
///
|
|
|
|
/// http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
///
|
|
|
|
/// Unless required by applicable law or agreed to in writing, software
|
|
|
|
/// distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
/// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
/// See the License for the specific language governing permissions and
|
|
|
|
/// limitations under the License.
|
|
|
|
///
|
|
|
|
|
|
|
|
// SPDX-FileCopyrightText: Copyright The Thingsboard Authors
|
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
import { NgModule } from '@angular/core'; |
|
|
|
import { CommonModule } from '@angular/common'; |
|
|
|
import { SharedModule } from '@app/shared/shared.module'; |
|
|
|
|
|
|
|
@ -1,19 +1,5 @@ |
|
|
|
///
|
|
|
|
/// Copyright © 2016-2026 The Thingsboard Authors
|
|
|
|
///
|
|
|
|
/// Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
/// you may not use this file except in compliance with the License.
|
|
|
|
/// You may obtain a copy of the License at
|
|
|
|
///
|
|
|
|
/// http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
///
|
|
|
|
/// Unless required by applicable law or agreed to in writing, software
|
|
|
|
/// distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
/// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
/// See the License for the specific language governing permissions and
|
|
|
|
/// limitations under the License.
|
|
|
|
///
|
|
|
|
|
|
|
|
// SPDX-FileCopyrightText: Copyright The Thingsboard Authors
|
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
import { NgModule } from '@angular/core'; |
|
|
|
import { CommonModule } from '@angular/common'; |
|
|
|
import { SharedModule } from '@app/shared/shared.module'; |
|
|
|
|
|
|
|
@ -1,19 +1,5 @@ |
|
|
|
///
|
|
|
|
/// Copyright © 2016-2026 The Thingsboard Authors
|
|
|
|
///
|
|
|
|
/// Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
/// you may not use this file except in compliance with the License.
|
|
|
|
/// You may obtain a copy of the License at
|
|
|
|
///
|
|
|
|
/// http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
///
|
|
|
|
/// Unless required by applicable law or agreed to in writing, software
|
|
|
|
/// distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
/// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
/// See the License for the specific language governing permissions and
|
|
|
|
/// limitations under the License.
|
|
|
|
///
|
|
|
|
|
|
|
|
// SPDX-FileCopyrightText: Copyright The Thingsboard Authors
|
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
import { Component, forwardRef, OnInit } from '@angular/core'; |
|
|
|
import { |
|
|
|
AbstractControl, |
|
|
|
|
|
|
|
@ -1,18 +1,5 @@ |
|
|
|
/** |
|
|
|
* Copyright © 2016-2026 The Thingsboard Authors |
|
|
|
* |
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
* You may obtain a copy of the License at |
|
|
|
* |
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0 |
|
|
|
* |
|
|
|
* Unless required by applicable law or agreed to in writing, software |
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS, |
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
|
|
* See the License for the specific language governing permissions and |
|
|
|
* limitations under the License. |
|
|
|
*/ |
|
|
|
// SPDX-FileCopyrightText: Copyright The Thingsboard Authors |
|
|
|
// SPDX-License-Identifier: Apache-2.0 |
|
|
|
:host ::ng-deep { |
|
|
|
.mat-expansion-panel-content { |
|
|
|
.mat-expansion-panel-body { |
|
|
|
|
|
|
|
@ -1,18 +1,7 @@ |
|
|
|
<!-- |
|
|
|
|
|
|
|
Copyright © 2016-2026 The Thingsboard Authors |
|
|
|
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
you may not use this file except in compliance with the License. |
|
|
|
You may obtain a copy of the License at |
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0 |
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software |
|
|
|
distributed under the License is distributed on an "AS IS" BASIS, |
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
|
|
See the License for the specific language governing permissions and |
|
|
|
limitations under the License. |
|
|
|
SPDX-FileCopyrightText: Copyright The Thingsboard Authors |
|
|
|
SPDX-License-Identifier: Apache-2.0 |
|
|
|
|
|
|
|
--> |
|
|
|
<mat-toolbar class="tb-dialog-header"> |
|
|
|
|
|
|
|
@ -1,19 +1,5 @@ |
|
|
|
/** |
|
|
|
* Copyright © 2016-2026 The Thingsboard Authors |
|
|
|
* |
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
* You may obtain a copy of the License at |
|
|
|
* |
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0 |
|
|
|
* |
|
|
|
* Unless required by applicable law or agreed to in writing, software |
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS, |
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
|
|
* See the License for the specific language governing permissions and |
|
|
|
* limitations under the License. |
|
|
|
*/ |
|
|
|
|
|
|
|
// SPDX-FileCopyrightText: Copyright The Thingsboard Authors |
|
|
|
// SPDX-License-Identifier: Apache-2.0 |
|
|
|
:host { |
|
|
|
display: grid; |
|
|
|
width: 650px; |
|
|
|
|
|
|
|
@ -1,18 +1,7 @@ |
|
|
|
<!-- |
|
|
|
|
|
|
|
Copyright © 2016-2026 The Thingsboard Authors |
|
|
|
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
you may not use this file except in compliance with the License. |
|
|
|
You may obtain a copy of the License at |
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0 |
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software |
|
|
|
distributed under the License is distributed on an "AS IS" BASIS, |
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
|
|
See the License for the specific language governing permissions and |
|
|
|
limitations under the License. |
|
|
|
SPDX-FileCopyrightText: Copyright The Thingsboard Authors |
|
|
|
SPDX-License-Identifier: Apache-2.0 |
|
|
|
|
|
|
|
--> |
|
|
|
<form [formGroup]="noteForm" class="tb-form-panel no-border"> |
|
|
|
|
|
|
|
@ -1,19 +1,5 @@ |
|
|
|
///
|
|
|
|
/// Copyright © 2016-2026 The Thingsboard Authors
|
|
|
|
///
|
|
|
|
/// Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
/// you may not use this file except in compliance with the License.
|
|
|
|
/// You may obtain a copy of the License at
|
|
|
|
///
|
|
|
|
/// http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
///
|
|
|
|
/// Unless required by applicable law or agreed to in writing, software
|
|
|
|
/// distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
/// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
/// See the License for the specific language governing permissions and
|
|
|
|
/// limitations under the License.
|
|
|
|
///
|
|
|
|
|
|
|
|
// SPDX-FileCopyrightText: Copyright The Thingsboard Authors
|
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
import { Component, DestroyRef, inject, Input, OnChanges, OnInit, SimpleChanges, ViewChild } from '@angular/core'; |
|
|
|
import { takeUntilDestroyed } from '@angular/core/rxjs-interop'; |
|
|
|
import { MatExpansionPanel } from '@angular/material/expansion'; |
|
|
|
|
|
|
|
@ -1,18 +1,7 @@ |
|
|
|
<!-- |
|
|
|
|
|
|
|
Copyright © 2016-2026 The Thingsboard Authors |
|
|
|
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
you may not use this file except in compliance with the License. |
|
|
|
You may obtain a copy of the License at |
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0 |
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software |
|
|
|
distributed under the License is distributed on an "AS IS" BASIS, |
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
|
|
See the License for the specific language governing permissions and |
|
|
|
limitations under the License. |
|
|
|
SPDX-FileCopyrightText: Copyright The Thingsboard Authors |
|
|
|
SPDX-License-Identifier: Apache-2.0 |
|
|
|
|
|
|
|
--> |
|
|
|
@if (modelservice.isEditable() && !note.readonly && edit) { |
|
|
|
|
|
|
|
@ -1,19 +1,5 @@ |
|
|
|
/** |
|
|
|
* Copyright © 2016-2026 The Thingsboard Authors |
|
|
|
* |
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
* You may obtain a copy of the License at |
|
|
|
* |
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0 |
|
|
|
* |
|
|
|
* Unless required by applicable law or agreed to in writing, software |
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS, |
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
|
|
* See the License for the specific language governing permissions and |
|
|
|
* limitations under the License. |
|
|
|
*/ |
|
|
|
|
|
|
|
// SPDX-FileCopyrightText: Copyright The Thingsboard Authors |
|
|
|
// SPDX-License-Identifier: Apache-2.0 |
|
|
|
:host { |
|
|
|
display: block; |
|
|
|
width: 100%; |
|
|
|
|
|
|
|
@ -1,19 +1,5 @@ |
|
|
|
///
|
|
|
|
/// Copyright © 2016-2026 The Thingsboard Authors
|
|
|
|
///
|
|
|
|
/// Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
/// you may not use this file except in compliance with the License.
|
|
|
|
/// You may obtain a copy of the License at
|
|
|
|
///
|
|
|
|
/// http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
///
|
|
|
|
/// Unless required by applicable law or agreed to in writing, software
|
|
|
|
/// distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
/// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
/// See the License for the specific language governing permissions and
|
|
|
|
/// limitations under the License.
|
|
|
|
///
|
|
|
|
|
|
|
|
// SPDX-FileCopyrightText: Copyright The Thingsboard Authors
|
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
import { Component, OnChanges, OnInit, SimpleChanges } from '@angular/core'; |
|
|
|
import { FcNoteComponent } from 'ngx-flowchart'; |
|
|
|
import cssjs from '@core/css/css'; |
|
|
|
|
|
|
|
@ -4,7 +4,6 @@ |
|
|
|
SPDX-License-Identifier: Apache-2.0 |
|
|
|
|
|
|
|
--> |
|
|
|
|
|
|
|
<ng-template #widgetTitleTpl> |
|
|
|
<div class="flex flex-row items-center justify-start gap-2"> |
|
|
|
@if ((breadcrumbs$ | async).length > 1) { |
|
|
|
|
|
|
|
@ -1,19 +1,5 @@ |
|
|
|
///
|
|
|
|
/// Copyright © 2016-2026 The Thingsboard Authors
|
|
|
|
///
|
|
|
|
/// Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
/// you may not use this file except in compliance with the License.
|
|
|
|
/// You may obtain a copy of the License at
|
|
|
|
///
|
|
|
|
/// http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
///
|
|
|
|
/// Unless required by applicable law or agreed to in writing, software
|
|
|
|
/// distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
/// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
/// See the License for the specific language governing permissions and
|
|
|
|
/// limitations under the License.
|
|
|
|
///
|
|
|
|
|
|
|
|
// SPDX-FileCopyrightText: Copyright The Thingsboard Authors
|
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
/** Block keywords: @keyword (...) { body } */ |
|
|
|
const BLOCK_KEYWORDS = [ |
|
|
|
'if', 'else if', 'else', 'for', 'empty', 'switch', 'case', |
|
|
|
|