Skip to content

Commit 481392a

Browse files
authored
Merge pull request #52 from PTCInc/chore-doc-cleanup
chore(doc): Update readmes
2 parents 4300819 + 9f60c50 commit 481392a

5 files changed

Lines changed: 28 additions & 51 deletions

File tree

.github/workflows/nuget-test-and-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ on:
1717
# - 'Kepware.Api.Sample/**'
1818
# - 'KepwareSync.Service/**'
1919
# - '.github/workflows/nuget-test-and-build.yml'
20-
- '!*.md' # Exclude markdown files
20+
- '!**/*.md' # Exclude markdown files
2121

2222
jobs:
2323
draft-release:

Kepware.Api.Sample/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ The `Kepware.Api.Sample` project demonstrates how to use the `Kepware.Api` libra
1111

1212
## Prerequisites
1313
- A running Kepware server with the Configuration API enabled.
14-
- .NET SDK x.0 or later.
14+
- .NET SDK 8.0 or later.
1515
- Basic understanding of C# programming.
1616

1717
## Usage
@@ -28,7 +28,7 @@ The `Kepware.Api.Sample` project demonstrates how to use the `Kepware.Api` libra
2828
name: "sample",
2929
baseUrl: "https://localhost:57512",
3030
apiUserName: "Administrator",
31-
apiPassword: "InrayTkeDocker2024!",
31+
apiPassword: "StrongAdminPassword2025!",
3232
disableCertificateValidation: true
3333
);
3434
})
@@ -60,7 +60,7 @@ static async Task Main(string[] args)
6060
name: "sample",
6161
baseUrl: "https://localhost:57512",
6262
apiUserName: "Administrator",
63-
apiPassword: "InrayTkeDocker2024!",
63+
apiPassword: "StrongAdminPassword2025!",
6464
disableCertificateValidation: true
6565
);
6666
})
@@ -92,6 +92,6 @@ static async Task Main(string[] args)
9292
This sample project is provided "as is" under the MIT License. See the [LICENSE](../LICENSE.txt) file for details.
9393

9494
## Support
95-
For any issues, please open an Issue within the repository. For questions or feature requests, please open a Discussion thread within the repository.
95+
For any issues, please open an Issue within the repository. For questions or feature requests, please open a Discussion thread within the repository.
9696

9797
See [Repository Guidelines](../docs/repo-guidelines.md) for more information.

Kepware.Api/README.md

Lines changed: 10 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -6,30 +6,30 @@
66
## Overview
77
The `Kepware.Api` library provides a robust client implementation to interact with the Kepware Configuration API. It supports managing channels, devices, tags, and other configurations programmatically while ensuring secure and efficient communication.
88

9-
This package is designed to work with all versions of Kepware that support the Configuration API including Thingworx Kepware Server (TKS), Thingworx Kepware Edge (TKE) and KEPServerEX (KEP). For reference, Kepware Server in this documentation will refer to both TKS and KEP versions.
9+
This package is designed to work with all versions of Kepware that support the Configuration API including Kepware Server (KS), and Kepware Edge (KE). For reference, Kepware Server in this documentation will also imply Thingworx Kepware Server and KEPServerEX versions prior to v7.0 when v6.x is referenced.
1010

1111
## Features
1212
1. Connect to Kepware Configuration APIs securely with HTTPS and optional certificate validation.
1313
2. Perform CRUD operations for the following Kepware configuration objects:
1414

15-
| Features | TKS/KEP | TKE |
15+
| Features | KS | KE |
1616
| :----------: | :----------: | :----------: |
1717
| **Project Properties** <br /> *(Get Only)* | Y | Y |
1818
| **Connectivity** <br /> *(Channel, Devices, Tags, Tag Groups)* | Y | Y |
1919
| **Administration** <br /> *(User Groups, Users, UA Endpoints, Local License Server)* | Y[^1] | Y |
20-
| **Product Info and Health Status[^4]** | Y | Y |
21-
| **Export Project[^2]**| Y | Y |
20+
| **Product Info and Health Status** | Y[^4] | Y |
21+
| **Export Project**| Y[^2] | Y |
2222
| **Import Project (via CompareAndApply)[^3]**| Y | Y |
23-
| **Import Project (via JsonProjectLoad Service)[^2]**| N | N |
23+
| **Import Project (via JsonProjectLoad Service)**| N[^2] | N |
2424

2525
[^1]: UA Endpoints and Local License Server supported for Kepware Edge only
26-
[^2]: JsonProjectLoad was added to Kepware Server v6.17 / Kepware Edge v1.10 and later builds, the SDK detects the server version and uses the appropriate service or loads the project by multiple requests if using KepwareApiClient.LoadProject.
26+
[^2]: JsonProjectLoad was added to Kepware Server v6.17 and later builds, the SDK detects the server version and uses the appropriate service or loads the project by multiple requests if using KepwareApiClient.LoadProject.
2727
[^3]: CompareAndApply is handled by the SDK, it compares the source project with the server project and applies the changes. The JsonProjectLoad service is a direct call to the server to load a project.
28-
[^4]: Added to Kepware Server v6.13 / Kepware Edge v1.5 and later builds
28+
[^4]: Added to Kepware Server v6.13 and later builds
2929

3030
3. Configuration API *Services* implemented:
3131

32-
| Services | TKS/KEP | TKE |
32+
| Services | KS | KE |
3333
| :----------: | :----------: | :----------: |
3434
| **TagGeneration** <br /> *(for supported drivers)* | Y | Y |
3535
| **ReinitializeRuntime** | Y* | Y |
@@ -42,25 +42,7 @@ This package is designed to work with all versions of Kepware that support the C
4242

4343
## Installation
4444

45-
To install the package via the GitHub NuGet feed, you need to configure your project to use the GitHub Packages repository.
46-
47-
### Add the GitHub NuGet source
48-
49-
Add the following configuration to your `NuGet.config` file in the root of your project or in the global configuration directory:
50-
51-
```xml
52-
<configuration>
53-
<packageSources>
54-
<add key="GitHub" value="https://nuget.pkg.github.com/YourUsername/index.json" />
55-
</packageSources>
56-
<packageSourceCredentials>
57-
<GitHub>
58-
<add key="Username" value="YourUsername" />
59-
<add key="ClearTextPassword" value="YOUR_PERSONAL_ACCESS_TOKEN" />
60-
</GitHub>
61-
</packageSourceCredentials>
62-
</configuration>
63-
```
45+
Kepware.Api NuGet package is available from NuGet repository.
6446

6547
1. Add the `Kepware.Api` library to your project as a reference.
6648
```bash
@@ -73,7 +55,7 @@ Add the following configuration to your `NuGet.config` file in the root of your
7355
name: "default",
7456
baseUrl: "https://localhost:57512",
7557
apiUserName: "Administrator",
76-
apiPassword: "password",
58+
apiPassword: "StrongAdminPassword2025!",
7759
disableCertificateValidation: true
7860
);
7961
```

KepwareSync.Service/README.md

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ docker run -d \
202202
-e KEPWARE__PRIMARY__USERNAME=Administrator \
203203
-e KEPWARE__PRIMARY__PASSWORD=StrongAdminPassword2025! \
204204
-e KEPWARE__PRIMARY__HOST=https://localhost:57512 \
205-
ghcr.io/bobiene/kepware-sync-service:latest
205+
kepware-sync-service:latest
206206
```
207207

208208
This command:
@@ -223,28 +223,26 @@ version: '3.8'
223223
224224
services:
225225
kepware:
226-
image: inrayhub.azurecr.io/kepware_edge:1.9-beta
226+
image: kepedge:<version>
227227
pull_policy: always
228228
networks:
229-
- tke_network
229+
- ke_network
230230
ports:
231231
- "57513:57513"
232232
- "49330:49330"
233233
environment:
234234
- EDGEADMINPW=StrongAdminPassword2025!
235-
- LICENSE_SERVER_ADDRESS=192.168.189.81
236-
- TZ=UTC
237235
volumes:
238236
- ./data/config:/opt/tkedge/v1/.config
239237
restart: unless-stopped
240238
241239
kepware-sync:
242-
image: ghcr.io/bobiene/kepware-sync-service:latest
240+
image: kepware-sync-service:latest
243241
pull_policy: always
244242
depends_on:
245243
- kepware
246244
networks:
247-
- tke_network
245+
- ke_network
248246
volumes:
249247
- config_volume:/app/config
250248
environment:
@@ -260,7 +258,7 @@ services:
260258
depends_on:
261259
- kepware-sync
262260
networks:
263-
- tke_network
261+
- ke_network
264262
environment:
265263
- GIT_SYNC_REPO=https://your-repo.git
266264
- GIT_SYNC_BRANCH=main
@@ -273,7 +271,7 @@ volumes:
273271
config_volume:
274272
275273
networks:
276-
tke_network:
274+
ke_network:
277275
driver: bridge
278276
```
279277

@@ -286,6 +284,6 @@ networks:
286284
This tool is provided "as is" under the MIT License. See the [LICENSE](../LICENSE.txt) file for details.
287285

288286
## Support
289-
For any issues, please open an Issue within the repository. For questions or feature requests, please open a Discussion thread within the repository.
287+
For any issues, please open an Issue within the repository. For questions or feature requests, please open a Discussion thread within the repository.
290288

291289
See [Repository Guidelines](../docs/repo-guidelines.md) for more information.

README.md

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
# Kepware Configuration API SDK for .NET (Currently in Beta)
22

3-
[![Build Status](https://github.com/PTCInc/Kepware-ConfigAPI-SDK-dotnet/actions/workflows/dotnet.yml/badge.svg)](https://github.com/PTCInc/Kepware-ConfigAPI-SDK-dotnet/actions)
3+
[![Build Status](https://github.com/PTCInc/Kepware-ConfigAPI-SDK-dotnet/actions/workflows/nuget-test-and-build.yml/badge.svg)](https://github.com/PTCInc/Kepware-ConfigAPI-SDK-dotnet/actions)
44
[![Build Status](https://github.com/PTCInc/Kepware-ConfigAPI-SDK-dotnet/actions/workflows/docker-build-and-push.yml/badge.svg)](https://github.com/PTCInc/Kepware-ConfigAPI-SDK-dotnet/actions)
5+
[![Build Status](https://github.com/PTCInc/Kepware-ConfigAPI-SDK-dotnet/actions/workflows/syncservice-build.yml/badge.svg)](https://github.com/PTCInc/Kepware-ConfigAPI-SDK-dotnet/actions)
56
[![NuGet](https://img.shields.io/nuget/v/Kepware.Api.svg)](https://www.nuget.org/packages/Kepware.Api/)
67

78

89
## Overview
910
The Kepware Configuration API SDK for .NET provides tools and libraries to interact with the Kepware Configuration REST API, enabling configuration management for Kepware servers. This repository includes examples and utilities to streamline development for deployment tools, including a service for continuous synchronization and an API client library.
1011

11-
This package is designed to work with all versions of Kepware that support the Configuration API including Thingworx Kepware Server (TKS), Thingworx Kepware Edge (TKE) and KEPServerEX (KEP). For reference, Kepware Server in this documentation will refer to both TKS and KEP versions.
12+
This package is designed to work with all versions of Kepware that support the Configuration API including Kepware Server (KS), Kepware Edge (KE), Thingworx Kepware Server (TKS), and KEPServerEX (KEP). For reference, Kepware Server in this documentation will also imply Thingworx Kepware Server and KEPServerEX versions prior to v7.0 when v6.x is referenced.
1213

1314
## Features
1415
- [**API Client Library**](./Kepware.Api/README.md): Simplify interaction with the Kepware Configuration API.
@@ -26,7 +27,7 @@ A .NET library providing an easy-to-use client for interacting with the Kepware
2627

2728
[Readme for Kepware.Api](./Kepware.Api/README.md)
2829

29-
**API reference documentation is available on [TBD]()**
30+
**API reference documentation is available on [Github Pages](https://ptcinc.github.io/Kepware-ConfigAPI-SDK-dotnet/api/Kepware.Api.html)**
3031

3132
### 2. `KepwareSync.Service`
3233
A service application for synchronizing configurations between Kepware servers and the local filesystem. It supports monitoring and synchronization in real time.
@@ -89,10 +90,6 @@ See [Repository Guidelines](./docs/repo-guidelines.md) for more information.
8990

9091
**Visit:**
9192

92-
- [Kepware.Api API Documentation on Github Pages]()
93+
- [Kepware.Api API Documentation on Github Pages](https://ptcinc.github.io/Kepware-ConfigAPI-SDK-dotnet/)
9394
- [Kepware.com](https://www.kepware.com/)
9495
- [PTC.com](https://www.ptc.com/)
95-
96-
---
97-
Ready to dive in? Check out the project-specific Readmes for detailed information on how to get started!
98-

0 commit comments

Comments
 (0)