@@ -490,7 +490,8 @@ public boolean storeNodeHistory() {
490
490
private static final String [] JSONNAMES =
491
491
{ "binaryEncoding" , "revisioning" , "revisioningClass" , "numbersOfRevisiontoRestore" , "byteHandlerClasses" ,
492
492
"storageKind" , "hashKind" , "hashFunction" , "compression" , "pathSummary" , "resourceID" , "deweyIDsStored" ,
493
- "persistenter" , "storeDiffs" , "customCommitTimestamps" , "storeNodeHistory" , "storeChildCount" , "awsStoreInfo" };
493
+ "persistenter" , "storeDiffs" , "customCommitTimestamps" , "storeNodeHistory" , "storeChildCount" , "awsStoreInfo" ,
494
+ "awsProfile" ,"awsRegion" ,"bucketName" ,"shouldCreateBucketIfNotExists" };
494
495
495
496
/**
496
497
* Serialize the configuration.
@@ -542,6 +543,15 @@ public static void serialize(final ResourceConfiguration config) throws SirixIOE
542
543
jsonWriter .name (JSONNAMES [15 ]).value (config .storeNodeHistory );
543
544
// Child count.
544
545
jsonWriter .name (JSONNAMES [16 ]).value (config .storeChildCount );
546
+
547
+ jsonWriter .name (JSONNAMES [17 ]);
548
+ jsonWriter .beginObject ();
549
+ jsonWriter .name (JSONNAMES [18 ]).value (config .awsStoreInfo .getAwsProfile ());
550
+ jsonWriter .name (JSONNAMES [19 ]).value (config .awsStoreInfo .getAwsRegion ());
551
+ jsonWriter .name (JSONNAMES [20 ]).value (config .awsStoreInfo .getBucketName ());
552
+ jsonWriter .name (JSONNAMES [21 ]).value (config .awsStoreInfo .shouldCreateBucketIfNotExists ());
553
+ jsonWriter .endObject ();
554
+
545
555
jsonWriter .endObject ();
546
556
} catch (final IOException e ) {
547
557
throw new SirixIOException (e );
0 commit comments