{
"globally_mastered_persons":[
{
"EventInfo":{
"Type":"Create",
"SubmissionID":1,
"PersonEventID":1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"context" | |
"net/http" | |
"time" | |
"ib/mdm-admin/datamodel" | |
"ib/mdm-admin/redis" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE MATERIALIZED VIEW merged_mastered_persons_log_mv | |
ON CLUSTER default | |
TO merged_mastered_persons_log | |
AS | |
WITH shared AS ( | |
SELECT distinct | |
nm.*, | |
arrayJoin(arrayConcat([nm.new_tenant_id], dictGetOrDefault('data_sharing_policy_dict', 'tenant_id', nm.new_tenant_id, []))) as shared_tenant_id | |
FROM newly_mastered_persons AS nm | |
), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DROP VIEW if exists merged_mastered_persons_log_mv ON CLUSTER default; | |
CREATE MATERIALIZED VIEW merged_mastered_persons_log_mv | |
ON CLUSTER default | |
TO merged_mastered_persons_log | |
AS | |
WITH shared AS ( | |
SELECT distinct | |
nm.*, | |
arrayJoin(arrayConcat([nm.new_tenant_id], dictGetOrDefault('data_sharing_policy_dict', 'tenant_id', nm.new_tenant_id, []))) as shared_tenant_id |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Define a custom validation function to check if a field is equal to "test" | |
func isStringEqual(field reflect.Value) bool { | |
if field.Kind() == reflect.String { | |
return field.String() == "test" | |
} | |
return false | |
} | |
// Register the custom validation function with the validator | |
validator.RegisterCustomTypeFunc("isStringEqual", isStringEqual) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
------------------------------------------------------------------------ | |
Building jclouds OneAndOne REST api 2.2.0-SNAPSHOT | |
------------------------------------------------------------------------ | |
--- maven-surefire-plugin:2.17:test (default-cli) @ oneandone --- | |
Surefire report directory: D:\Repos\oneandone\jclouds-labs\oneandone\target\surefire-reports | |
file.encoding cannot be set as system property, use <argLine>-Dfile.encoding=...<argLine> instead | |
------------------------------------------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
------------------------------------------------------------------------ | |
Building jclouds OneAndOne REST api 2.1.0-SNAPSHOT | |
------------------------------------------------------------------------ | |
--- maven-surefire-plugin:2.17:test (default-cli) @ oneandone --- | |
Surefire report directory: D:\Work2\OAO\jclouds-labs\oneandone\target\surefire-reports | |
file.encoding cannot be set as system property, use <argLine>-Dfile.encoding=...<argLine> instead | |
------------------------------------------------------- | |
T E S T S |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
------------------------------------------------------------------------ | |
Building jclouds ProfitBricks REST api 2.1.0-SNAPSHOT | |
------------------------------------------------------------------------ | |
--- maven-surefire-plugin:2.17:test (default-cli) @ profitbricks-rest --- | |
Surefire report directory: D:\Work2\ProfitBricks\jclouds-labs\profitbricks-rest\target\surefire-reports | |
file.encoding cannot be set as system property, use <argLine>-Dfile.encoding=...<argLine> instead | |
------------------------------------------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
==> Checking that code complies with gofmt requirements... | |
TF_ACC=1 go test ./profitbricks/ -v -timeout 120m | |
=== RUN TestAccDataSourceDatacenter_matching | |
--- PASS: TestAccDataSourceDatacenter_matching (14.48s) | |
=== RUN TestAccDataSourceImage_basic | |
--- PASS: TestAccDataSourceImage_basic (9.13s) | |
=== RUN TestAccDataSourceLocation_basic | |
--- PASS: TestAccDataSourceLocation_basic (1.26s) | |
=== RUN TestAccResource_basic | |
--- PASS: TestAccResource_basic (15.31s) |
NewerOlder