You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by oc...@apache.org on 2023/04/24 21:57:03 UTC
[trafficcontrol-trafficops-types] branch 4.x updated (81df71f -> 5eddb81)
This is an automated email from the ASF dual-hosted git repository.
ocket8888 pushed a change to branch 4.x
in repository https://gitbox.apache.org/repos/asf/trafficcontrol-trafficops-types.git
omit 81df71f Version bump
omit cff5553 Fix missing optional ISO gen request properties
new 3da2f9a Version bump
new c53a2ef Add layered profile support
new 0640496 Missed some props
new 228e350 Remove fields
new c236f8b Didnt mean to remove this
new 5eddb81 Version bump
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (81df71f)
\
N -- N -- N refs/heads/4.x (5eddb81)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
The 6 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
package-lock.json | 4 ++--
package.json | 2 +-
src/iso.ts | 4 ----
src/server.ts | 34 ++++++++--------------------------
4 files changed, 11 insertions(+), 33 deletions(-)
[trafficcontrol-trafficops-types] 02/06: Add layered profile support
Posted by oc...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
ocket8888 pushed a commit to branch 4.x
in repository https://gitbox.apache.org/repos/asf/trafficcontrol-trafficops-types.git
commit c53a2ef977d22be6750e18fb01b2aab1702211f6
Author: shamrickus <sh...@gmail.com>
AuthorDate: Tue Apr 18 10:29:40 2023 -0600
Add layered profile support
---
src/server.ts | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/src/server.ts b/src/server.ts
index dc2264e..de53001 100644
--- a/src/server.ts
+++ b/src/server.ts
@@ -223,7 +223,11 @@ export interface ResponseServer {
* @deprecated In the latest API version, a server's Profile is identified
* only by name, not unique, integral identifier.
*/
- profileId: number;
+ profileId: number | null;
+ /**
+ * An _ordered_ array of strings representing the Profiles used by this server
+ */
+ profileNames: Array<string>;
/** Whether or not revalidations are pending for this Server. */
revalPending: boolean;
/**
@@ -331,7 +335,11 @@ export interface RequestServer {
* @deprecated In the latest API version, a server's Profile is identified
* only by name, not unique, integral identifier.
*/
- profileId: number;
+ profileId: number | null;
+ /**
+ * An _ordered_ array of strings representing the Profiles used by this server
+ */
+ profileNames: Array<string>;
/**
* Legacy field with no purpose.
*
[trafficcontrol-trafficops-types] 01/06: Version bump
Posted by oc...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
ocket8888 pushed a commit to branch 4.x
in repository https://gitbox.apache.org/repos/asf/trafficcontrol-trafficops-types.git
commit 3da2f9a2207d40270dc7f1ec82759b94cdc46532
Author: ocket8888 <oc...@apache.org>
AuthorDate: Wed Feb 22 15:22:04 2023 -0700
Version bump
---
package-lock.json | 4 ++--
package.json | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 25abd6b..96073f8 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "trafficops-types",
- "version": "4.0.6",
+ "version": "4.0.7",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "trafficops-types",
- "version": "4.0.6",
+ "version": "4.0.7",
"license": "Apache-2.0",
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.0.0",
diff --git a/package.json b/package.json
index b186a6f..6c3c3f6 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "trafficops-types",
- "version": "4.0.6",
+ "version": "4.0.7",
"description": "A library for dealing with Apache Traffic Control objects",
"main": "dist/index.js",
"scripts": {
[trafficcontrol-trafficops-types] 06/06: Version bump
Posted by oc...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
ocket8888 pushed a commit to branch 4.x
in repository https://gitbox.apache.org/repos/asf/trafficcontrol-trafficops-types.git
commit 5eddb81eb8010bea7c65693d78795e330aa444fb
Author: ocket8888 <oc...@apache.org>
AuthorDate: Mon Apr 24 15:53:36 2023 -0600
Version bump
---
package-lock.json | 4 ++--
package.json | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 96073f8..f3a7c86 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "trafficops-types",
- "version": "4.0.7",
+ "version": "4.0.8",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "trafficops-types",
- "version": "4.0.7",
+ "version": "4.0.8",
"license": "Apache-2.0",
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.0.0",
diff --git a/package.json b/package.json
index 6c3c3f6..0126918 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "trafficops-types",
- "version": "4.0.7",
+ "version": "4.0.8",
"description": "A library for dealing with Apache Traffic Control objects",
"main": "dist/index.js",
"scripts": {
[trafficcontrol-trafficops-types] 03/06: Missed some props
Posted by oc...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
ocket8888 pushed a commit to branch 4.x
in repository https://gitbox.apache.org/repos/asf/trafficcontrol-trafficops-types.git
commit 06404964d1c615ee245e26bb67e4a7584f4a3c87
Author: shamrickus <sh...@gmail.com>
AuthorDate: Tue Apr 18 15:06:09 2023 -0600
Missed some props
---
src/server.ts | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/server.ts b/src/server.ts
index de53001..e133535 100644
--- a/src/server.ts
+++ b/src/server.ts
@@ -208,7 +208,7 @@ export interface ResponseServer {
*/
physLocationId: number;
/** The Profile used by the Server. */
- profile: string;
+ profile: string | null;
/**
* A description of the Profile used by the Server.
*
@@ -216,7 +216,7 @@ export interface ResponseServer {
* Profile description entirely, as it's trivially deduced from Profile
* identity.
*/
- profileDesc: string;
+ profileDesc: string | null;
/**
* An integral, unique identifier for the Profile used by the Server.
*
@@ -518,10 +518,11 @@ export interface ServerDetails {
mgmtIpNetmask: string;
offlineReason: string;
physLocation: string;
- profile: string;
+ profile: string | null;
/** @deprecated This has been removed from the latest API version. */
- profileDesc: string;
+ profileDesc: string | null;
/** @deprecated this has no known purpose, and you shouldn't invent one. */
+ profileNames: Array<string>;
rack: string;
routerHostName: string;
routerPortName: string;
[trafficcontrol-trafficops-types] 04/06: Remove fields
Posted by oc...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
ocket8888 pushed a commit to branch 4.x
in repository https://gitbox.apache.org/repos/asf/trafficcontrol-trafficops-types.git
commit 228e350b88453e6275169d9ae0cf5568a5dc12a4
Author: shamrickus <sh...@gmail.com>
AuthorDate: Tue Apr 18 15:35:55 2023 -0600
Remove fields
---
src/server.ts | 34 +---------------------------------
1 file changed, 1 insertion(+), 33 deletions(-)
diff --git a/src/server.ts b/src/server.ts
index e133535..01da184 100644
--- a/src/server.ts
+++ b/src/server.ts
@@ -202,28 +202,6 @@ export interface ResponseServer {
offlineReason: string | null;
/** The physical location in which the Server resides. */
physLocation: string;
- /**
- * An integral, unique identifier for the physical location in which the
- * Server resides.
- */
- physLocationId: number;
- /** The Profile used by the Server. */
- profile: string | null;
- /**
- * A description of the Profile used by the Server.
- *
- * @deprecated Future representations of Server objects will drop the
- * Profile description entirely, as it's trivially deduced from Profile
- * identity.
- */
- profileDesc: string | null;
- /**
- * An integral, unique identifier for the Profile used by the Server.
- *
- * @deprecated In the latest API version, a server's Profile is identified
- * only by name, not unique, integral identifier.
- */
- profileId: number | null;
/**
* An _ordered_ array of strings representing the Profiles used by this server
*/
@@ -329,13 +307,6 @@ export interface RequestServer {
* Server resides.
*/
physLocationId: number;
- /**
- * An integral, unique identifier for the Profile used by the Server.
- *
- * @deprecated In the latest API version, a server's Profile is identified
- * only by name, not unique, integral identifier.
- */
- profileId: number | null;
/**
* An _ordered_ array of strings representing the Profiles used by this server
*/
@@ -518,11 +489,8 @@ export interface ServerDetails {
mgmtIpNetmask: string;
offlineReason: string;
physLocation: string;
- profile: string | null;
- /** @deprecated This has been removed from the latest API version. */
- profileDesc: string | null;
- /** @deprecated this has no known purpose, and you shouldn't invent one. */
profileNames: Array<string>;
+ /** @deprecated this has no known purpose, and you shouldn't invent one. */
rack: string;
routerHostName: string;
routerPortName: string;
[trafficcontrol-trafficops-types] 05/06: Didnt mean to remove this
Posted by oc...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
ocket8888 pushed a commit to branch 4.x
in repository https://gitbox.apache.org/repos/asf/trafficcontrol-trafficops-types.git
commit c236f8b68db248576a04e1b5fd1ac547fa5c35f9
Author: shamrickus <sh...@gmail.com>
AuthorDate: Mon Apr 24 15:09:33 2023 -0600
Didnt mean to remove this
---
src/server.ts | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/server.ts b/src/server.ts
index 01da184..83caa25 100644
--- a/src/server.ts
+++ b/src/server.ts
@@ -202,6 +202,11 @@ export interface ResponseServer {
offlineReason: string | null;
/** The physical location in which the Server resides. */
physLocation: string;
+ /**
+ * An integral, unique identifier for the physical location in which the
+ * Server resides.
+ */
+ physLocationId: number;
/**
* An _ordered_ array of strings representing the Profiles used by this server
*/