Skip to content

Commit

Permalink
checkin
Browse files Browse the repository at this point in the history
  • Loading branch information
evisdrenova committed Dec 1, 2023
1 parent e1ce9a5 commit a58c0be
Show file tree
Hide file tree
Showing 4 changed files with 2,036 additions and 756 deletions.
72 changes: 36 additions & 36 deletions backend/services/mgmt/v1alpha1/transformers-service/transformers.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func (s *Service) GetSystemTransformers(
return connect.NewResponse(&mgmtv1alpha1.GetSystemTransformersResponse{
Transformers: []*mgmtv1alpha1.Transformer{
{
Id: "",
Id: "80e35b16-d2bc-415a-b63b-e558ad20e5ea",
Name: "Generate Email",
Description: "Generates a new randomized email address.",
DataType: "string",
Expand All @@ -82,7 +82,7 @@ func (s *Service) GetSystemTransformers(
UpdatedAt: timestampNow,
},
{
Id: "",
Id: "7c2a7496-4ab3-45af-9917-22731edd14b8",
Name: "Generate Realistic Email",
Description: "Generates a new realistic email address.",
DataType: "string",
Expand All @@ -96,7 +96,7 @@ func (s *Service) GetSystemTransformers(
UpdatedAt: timestampNow,
},
{
Id: "",
Id: "063d57f4-674b-44f6-a5e1-acbca0d3031f",
Name: "Transform Email",
Description: "Transforms an existing email address.",
DataType: "string",
Expand All @@ -113,7 +113,7 @@ func (s *Service) GetSystemTransformers(
UpdatedAt: timestampNow,
},
{
Id: "",
Id: "97793059-6f23-4494-b382-5004f0a3e5ca",
Name: "Generate Boolean",
Description: "Generates a boolean value at random.",
DataType: "boolean",
Expand All @@ -127,7 +127,7 @@ func (s *Service) GetSystemTransformers(
UpdatedAt: timestampNow,
},
{
Id: "",
Id: "3da613e5-cefb-42cb-b5b1-e58e9cfc47d3",
Name: "Generate Card Number",
Description: "Generates a card number.",
DataType: "int64",
Expand All @@ -143,7 +143,7 @@ func (s *Service) GetSystemTransformers(
UpdatedAt: timestampNow,
},
{
Id: "",
Id: "e7633214-9bc7-4615-8ccd-cf69440294b9",
Name: "Generate City",
Description: "Randomly selects a city from a list of predfined US cities.",
DataType: "string",
Expand All @@ -157,7 +157,7 @@ func (s *Service) GetSystemTransformers(
UpdatedAt: timestampNow,
},
{
Id: "",
Id: "d43cf610-58cc-4792-94c7-c6a90c3fc212",
Name: "Generate E164 Phone Number",
Description: "Generates a Generate phone number in e164 format.",
DataType: "string",
Expand All @@ -173,7 +173,7 @@ func (s *Service) GetSystemTransformers(
UpdatedAt: timestampNow,
},
{
Id: "",
Id: "3cb1c828-2b1e-4ce4-8402-9e8c70feb84b",
Name: "Generate First Name",
Description: "Generates a random first name. ",
DataType: "string",
Expand All @@ -187,7 +187,7 @@ func (s *Service) GetSystemTransformers(
UpdatedAt: timestampNow,
},
{
Id: "",
Id: "ff371ab8-89f8-4308-bdd9-099842a68bb5",
Name: "Generate Float64",
Description: "Generates a random float64 value.",
DataType: "float64",
Expand All @@ -205,7 +205,7 @@ func (s *Service) GetSystemTransformers(
UpdatedAt: timestampNow,
},
{
Id: "",
Id: "e2b73154-f90f-4ef4-bf36-870b123e4192",
Name: "Generate Full Address",
Description: "Randomly generates a street address in the format: {street_num} {street_addresss} {street_descriptor} {city}, {state} {zipcode}. For example, 123 Main Street Boston, Massachusetts 02169.",
DataType: "string",
Expand All @@ -219,7 +219,7 @@ func (s *Service) GetSystemTransformers(
UpdatedAt: timestampNow,
},
{
Id: "",
Id: "f9c36ccb-53ff-4c77-960b-c2e18bec1617",
Name: "Generate Full Name",
Description: "Generates a new full name consisting of a first and last name",
DataType: "string",
Expand All @@ -233,7 +233,7 @@ func (s *Service) GetSystemTransformers(
UpdatedAt: timestampNow,
},
{
Id: "",
Id: "c0028c26-25b9-4366-953f-2b6e20e420cc",
Name: "Generate Gender",
Description: "Randomly generates one of the following genders: female, male, undefined, nonbinary.",
DataType: "string",
Expand All @@ -249,7 +249,7 @@ func (s *Service) GetSystemTransformers(
UpdatedAt: timestampNow,
},
{
Id: "",
Id: "20a63adc-34ba-4845-b354-587791749595",
Name: "Generate int64 Phone Number",
Description: "Generates a new phone number of type int64 with a default length of 10.",
DataType: "int64",
Expand All @@ -263,7 +263,7 @@ func (s *Service) GetSystemTransformers(
UpdatedAt: timestampNow,
},
{
Id: "",
Id: "0b591b7c-859d-4d55-9a52-9d3526ee1345",
Name: "Generate Random Int64",
Description: "Generates a random integer value with a default length of 4 unless the Integer Length or Preserve Length paramters are defined.", DataType: "int64",
Source: string(GenerateInt),
Expand All @@ -279,7 +279,7 @@ func (s *Service) GetSystemTransformers(
UpdatedAt: timestampNow,
},
{
Id: "",
Id: "2e28df1d-3809-4b8b-aaf9-80723cc1c939",
Name: "Generate Last Name",
Description: "Generates a random last name.", DataType: "int64",
Source: string(GenerateLastName),
Expand All @@ -292,7 +292,7 @@ func (s *Service) GetSystemTransformers(
UpdatedAt: timestampNow,
},
{
Id: "",
Id: "3f54ef47-8415-4ea5-ab9a-bd2777c64a72",
Name: "Generate SHA256 Hash",
Description: "SHA256 hashes a randomly generated value.",
DataType: "string",
Expand All @@ -306,7 +306,7 @@ func (s *Service) GetSystemTransformers(
UpdatedAt: timestampNow,
},
{
Id: "",
Id: "5e6bb23b-5ea7-4feb-a204-5fe7c84e57e3",
Name: "Generate SSN",
Description: "Generates a completely random social security numbers including the hyphens in the format <xxx-xx-xxxx>",
DataType: "string",
Expand All @@ -320,7 +320,7 @@ func (s *Service) GetSystemTransformers(
UpdatedAt: timestampNow,
},
{
Id: "",
Id: "b67e04c8-a550-4864-a6e4-c17e79882df1",
Name: "Generate State",
Description: "Randomly selects a US state and returns the two-character state code.",
DataType: "string",
Expand All @@ -334,7 +334,7 @@ func (s *Service) GetSystemTransformers(
UpdatedAt: timestampNow,
},
{
Id: "",
Id: "e0d1b3eb-ac98-42a7-935d-f2d02ad1767b",
Name: "Generate Street Address",
Description: "Randomly generates a street address in the format: {street_num} {street_addresss} {street_descriptor}. For example, 123 Main Street.",
DataType: "string",
Expand All @@ -348,7 +348,7 @@ func (s *Service) GetSystemTransformers(
UpdatedAt: timestampNow,
},
{
Id: "",
Id: "bcc99015-49d9-46eb-9040-32bf9e0a711a",
Name: "Generate String Phone Number",
Description: "Generates a Generate phone number and returns it as a string.",
DataType: "string",
Expand Down Expand Up @@ -381,7 +381,7 @@ func (s *Service) GetSystemTransformers(
UpdatedAt: timestampNow,
},
{
Id: "",
Id: "d4df826a-767e-4f32-beeb-fed309162ac6",
Name: "Generate Unix Timestamp",
Description: "Randomly generates a Unix timestamp",
DataType: "int64",
Expand All @@ -395,7 +395,7 @@ func (s *Service) GetSystemTransformers(
UpdatedAt: timestampNow,
},
{
Id: "",
Id: "bc3b1394-239d-4e98-ba6a-60f68b2023a6",
Name: "Generate Username",
Description: "Randomly generates a username in the format<first_initial><last_name>.",
DataType: "string",
Expand All @@ -409,7 +409,7 @@ func (s *Service) GetSystemTransformers(
UpdatedAt: timestampNow,
},
{
Id: "",
Id: "012e5683-1669-4190-b0d3-0173ce1561d4",
Name: "Generate UTC Timestamp",
Description: "Randomly generates a UTC timestamp.",
DataType: "time",
Expand All @@ -423,7 +423,7 @@ func (s *Service) GetSystemTransformers(
UpdatedAt: timestampNow,
},
{
Id: "",
Id: "a9d384ee-1095-4a8d-9668-bcc3aaf4291f",
Name: "Generate UUID",
Description: "Generates a new UUIDv4 id.",
DataType: "uuid",
Expand All @@ -439,7 +439,7 @@ func (s *Service) GetSystemTransformers(
UpdatedAt: timestampNow,
},
{
Id: "",
Id: "ddbf48b2-02da-409a-83c4-6e5cd6317079",
Name: "Generate Zipcode",
Description: "Randomly selects a zip code from a list of predefined US zipcodes.",
DataType: "string",
Expand All @@ -452,7 +452,7 @@ func (s *Service) GetSystemTransformers(
CreatedAt: timestampNow,
UpdatedAt: timestampNow},
{
Id: "",
Id: "5d8a6030-fed5-42af-b70f-fc40825e0df6",
Name: "Transform E164 Phone Number",
Description: "Transforms an existing E164 formatted phone number.",
DataType: "string",
Expand All @@ -468,7 +468,7 @@ func (s *Service) GetSystemTransformers(
UpdatedAt: timestampNow,
},
{
Id: "",
Id: "cf4230f8-d8fd-450f-8829-10b8643362ac",
Name: "Transform First Name",
Description: "Transforms an existing first name",
DataType: "string",
Expand All @@ -484,7 +484,7 @@ func (s *Service) GetSystemTransformers(
UpdatedAt: timestampNow,
},
{
Id: "",
Id: "5dc13fc2-349c-497a-ba52-e0880a9bce1d",
Name: "Transform Float64",
Description: "Transforms an existing float value.",
DataType: "float64",
Expand All @@ -501,7 +501,7 @@ func (s *Service) GetSystemTransformers(
UpdatedAt: timestampNow,
},
{
Id: "",
Id: "5c9ef9e2-4753-4603-9d68-397e92dd943f",
Name: "Transform Full Name",
Description: "Transforms an existing full name.",
DataType: "string",
Expand All @@ -517,7 +517,7 @@ func (s *Service) GetSystemTransformers(
UpdatedAt: timestampNow,
},
{
Id: "",
Id: "b8688369-f3b3-40d7-9b47-d9e8fcbed91e",
Name: "Transform Int64 Phone Number",
Description: "Transforms an existing phone number that is typed as an integer",
DataType: "int64",
Expand All @@ -533,7 +533,7 @@ func (s *Service) GetSystemTransformers(
UpdatedAt: timestampNow,
},
{
Id: "",
Id: "7375aece-16ba-4f32-8629-e88f3430631d",
Name: "Transform Int64",
Description: "Transforms an existing integer value.",
DataType: "int64",
Expand All @@ -550,7 +550,7 @@ func (s *Service) GetSystemTransformers(
UpdatedAt: timestampNow,
},
{
Id: "",
Id: "5b53b065-eb1c-451c-aa74-d04a3dafc286",
Name: "Transform Last Name",
Description: "Transforms an existing last name.",
DataType: "string",
Expand All @@ -566,7 +566,7 @@ func (s *Service) GetSystemTransformers(
UpdatedAt: timestampNow,
},
{
Id: "",
Id: "0265c84e-bfd5-4a15-a747-890faaa85e7e",
Name: "Transform Phone Number",
Description: "Transforms an existing phone number that is typed as a string.",
DataType: "string",
Expand All @@ -583,7 +583,7 @@ func (s *Service) GetSystemTransformers(
UpdatedAt: timestampNow,
},
{
Id: "",
Id: "de7db429-5cf1-465a-b76b-ec2c9c77cafe",
Name: "Transform String",
Description: "Transforms an existing string value.",
DataType: "string",
Expand All @@ -599,7 +599,7 @@ func (s *Service) GetSystemTransformers(
UpdatedAt: timestampNow,
},
{
Id: "",
Id: "d5a1492a-9d4e-40c8-b482-6ab04c7ce096",
Name: "Passthrough",
Description: "Passes the input value through to the desination with no changes.",
DataType: "string",
Expand All @@ -609,7 +609,7 @@ func (s *Service) GetSystemTransformers(
UpdatedAt: timestampNow,
},
{
Id: "",
Id: "4b77908f-591c-40df-bf4f-e124eb1a00a2",
Name: "Null",
Description: "Inserts a <null> string instead of the source value.",
DataType: "string",
Expand Down
Loading

0 comments on commit a58c0be

Please sign in to comment.