Skip to content

Commit

Permalink
Merge pull request #290 from lchudinov/feature/chtag-options-for-uri-…
Browse files Browse the repository at this point in the history
…broker

Chtag options for URI Broker
  • Loading branch information
1000TurquoisePogs authored Oct 8, 2020
2 parents 8a6f9f5 + 2d12428 commit 3f3e663
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bootstrap/src/uri/dsm-uri.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export class DsmUri implements ZLUX.UriBroker {
_sourceEncodingOrOptions?: string|ZLUX.UnixFileUriOptions, _targetEncoding?: string,
_newName?: string, _forceOverwrite?: boolean, _sessionID?: number,
_lastChunk?: boolean, _responseType?: string, _mode?: string, _recursive?: boolean,
_user?: string, _group?: string): string {
_user?: string, _group?: string, _type?: ZLUX.TagType, _codeset?: number): string {
return "";
}
omvsSegmentUri(): string {
Expand Down
7 changes: 5 additions & 2 deletions bootstrap/src/uri/mvd-uri.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export class MvdUri implements ZLUX.UriBroker {
sourceEncodingOrOptions?: string|ZLUX.UnixFileUriOptions, targetEncoding?: string,
newName?: string, forceOverwrite?: boolean, sessionID?: number,
lastChunk?: boolean, responseType?: string, mode?: string, recursive?: boolean,
user?: string, group?: string): string {
user?: string, group?: string, type?: ZLUX.TagType, codeset?: number): string {
let options;
if (typeof sourceEncodingOrOptions == 'object') {
options = sourceEncodingOrOptions;
Expand All @@ -38,7 +38,10 @@ export class MvdUri implements ZLUX.UriBroker {
mode,
recursive,
user,
group };
group,
type,
codeset,
};
}
if (!options.responseType) {
options.responseType = 'raw';
Expand Down
2 changes: 1 addition & 1 deletion bootstrap/web/iframe-adapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ var ZoweZLUX = {
return translateFunction('ZoweZLUX.uriBroker.VSAMdatasetContentsUri', Array.prototype.slice.call(arguments))
},
unixFileUri(route, absPath, sourceEncodingOrOptions, targetEncoding, newName, forceOverwrite, sessionID,
lastChunk, responseType, mode, recursive, user, group){
lastChunk, responseType, mode, recursive, user, group, type, codeset){
return translateFunction('ZoweZLUX.uriBroker.unixFileUri', Array.prototype.slice.call(arguments))
},
omvsSegmentUri(){
Expand Down

0 comments on commit 3f3e663

Please sign in to comment.