-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Moved OAPPType enum from STAR ODK to OASIS.API.Core.
- Moved ICoronalEjection interface from STAR ODK to OASIS.API.Core. - Moved IOAPPDNA from OASIS.API.ONODE.Core to OASIS.API.Core. - Moved CoronalEjection interface from STAR ODK to OASIS.API.Core. - Upgraded all methods in main STAR class in STAR ODK and STAR CLI.Lib to now allow providerType to be passed in. - Added OAPPDesc to all Light and LightAsync methods and removed reundant overloads in STAR in STAR ODK. - Re-wrote some of LightAsync method so now conforms to OASIS best standards (has better error handling/logging etc) and now calls the new CreateOAPPAsync method on the new OAPPManager/OAPP API so new OAPPs generated are now logged in the STARNET lib. - Added SeedAsync, Seed, UnSeedAsync & UnSeed methods to STAR in STAR ODK, which call the new PublishOAPPAsync and UnPublishOAPPAsync methods on the new OAPPManager/OAPP API. - Updated ReadyPlayerOne method in STAR CLI Lib for light command so works with the new OAPPDesc field. - Added a new unseed command to ReadyPlayerOne method and ShowCommands method in STAR CLI. - Updated LightWizard in STAR.CLI.Lib to work with the new OAPPDesc.
- Loading branch information
Showing
21 changed files
with
322 additions
and
228 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
| ||
|
||
namespace NextGenSoftware.OASIS.API.Core.Enums | ||
{ | ||
public enum OAPPType | ||
{ | ||
//CelestialBodies, | ||
GeneratedCodeOnly, | ||
Console, | ||
Blazor, | ||
WebMVC, | ||
MAUI, | ||
Unity, | ||
WinForms, | ||
WPF, | ||
WindowsService, | ||
RESTService, | ||
gRPCService, | ||
GraphQLService, | ||
//ClassLibrary, | ||
Custom | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using NextGenSoftware.OASIS.API.Core.Enums; | ||
using NextGenSoftware.OASIS.API.Core.Interfaces.STAR; | ||
|
||
namespace NextGenSoftware.OASIS.API.Core.Interfaces | ||
{ | ||
public interface IOAPPDNA | ||
{ | ||
ICelestialBody CelestialBody { get; set; } //optional | ||
Guid CelestialBodyId { get; set; } | ||
string CelestialBodyName { get; set; } | ||
HolonType CelestialBodyType { get; set; } | ||
IEnumerable<IZome> Zomes { get; set; } | ||
Guid CreatedByAvatarId { get; set; } | ||
DateTime CreatedOn { get; set; } | ||
string Description { get; set; } | ||
GenesisType GenesisType { get; set; } | ||
Guid OAPPId { get; set; } | ||
string OAPPName { get; set; } | ||
OAPPType OAPPType { get; set; } | ||
Guid PublishedByAvatarId { get; set; } | ||
DateTime PublishedOn { get; set; } | ||
bool PublishedOnSTARNET { get; set; } | ||
string Version { get; set; } | ||
} | ||
} |
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
12 changes: 12 additions & 0 deletions
12
NextGenSoftware.OASIS.API.Core/Interfaces/STAR/ICoronalEjection.cs
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
using System.Collections.Generic; | ||
|
||
namespace NextGenSoftware.OASIS.API.Core.Interfaces.STAR | ||
{ | ||
public interface ICoronalEjection | ||
{ | ||
ICelestialBody CelestialBody { get; set; } | ||
ICelestialSpace CelestialSpace { get; set; } | ||
IOAPPDNA OAPPDNA { get; set; } | ||
IEnumerable<IZome> Zomes { get; set; } | ||
} | ||
} |
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
13 changes: 6 additions & 7 deletions
13
...OASIS.API.Core/Objects/CoronalEjection.cs → ....API.Core/Objects/Star/CoronalEjection.cs
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,14 @@ | ||
| ||
using System.Collections.Generic; | ||
using NextGenSoftware.OASIS.API.Core.Interfaces; | ||
using NextGenSoftware.OASIS.API.Core.Interfaces.STAR; | ||
using System.Collections.Generic; | ||
|
||
namespace NextGenSoftware.OASIS.API.Core.Objects | ||
{ | ||
public class CoronalEjection | ||
public class CoronalEjection : ICoronalEjection | ||
{ | ||
//public string Message { get; set; } | ||
//public bool ErrorOccured { get; set; } | ||
public List<IZome> Zomes { get; set; } //Will only be set if GenesisType is ZomesAndHolonsOnly. | ||
public IEnumerable<IZome> Zomes { get; set; } //Will only be set if GenesisType is ZomesAndHolonsOnly. | ||
public ICelestialBody CelestialBody { get; set; } //Will be null if GenesisType is ZomesAndHolonsOnly. | ||
public ICelestialSpace CelestialSpace { get; set; } //Will be null if GenesisType is ZomesAndHolonsOnly. | ||
public IOAPPDNA OAPPDNA { get; set; } | ||
} | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
| ||
|
||
namespace NextGenSoftware.OASIS.API.ONode.Core.Enums | ||
{ | ||
public enum OAPPType | ||
{ | ||
//CelestialBodies, | ||
GeneratedCodeOnly, | ||
Console, | ||
Blazor, | ||
WebMVC, | ||
MAUI, | ||
Unity, | ||
WinForms, | ||
WPF, | ||
WindowsService, | ||
RESTService, | ||
gRPCService, | ||
GraphQLService, | ||
//ClassLibrary, | ||
Custom | ||
} | ||
} | ||
//namespace NextGenSoftware.OASIS.API.ONode.Core.Enums | ||
//{ | ||
// public enum OAPPType | ||
// { | ||
// //CelestialBodies, | ||
// GeneratedCodeOnly, | ||
// Console, | ||
// Blazor, | ||
// WebMVC, | ||
// MAUI, | ||
// Unity, | ||
// WinForms, | ||
// WPF, | ||
// WindowsService, | ||
// RESTService, | ||
// gRPCService, | ||
// GraphQLService, | ||
// //ClassLibrary, | ||
// Custom | ||
// } | ||
//} |
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
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
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
56 changes: 27 additions & 29 deletions
56
NextGenSoftware.OASIS.API.ONODE.Core/Interfaces/Objects/IOAPPDNA.cs
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,28 @@ | ||
using System; | ||
using System.Collections; | ||
using System.Collections.Generic; | ||
using NextGenSoftware.OASIS.API.Core.Enums; | ||
using NextGenSoftware.OASIS.API.Core.Interfaces.STAR; | ||
using NextGenSoftware.OASIS.API.ONode.Core.Enums; | ||
using NextGenSoftware.OASIS.STAR.CelestialBodies; | ||
//using System; | ||
//using System.Collections.Generic; | ||
//using NextGenSoftware.OASIS.API.Core.Enums; | ||
//using NextGenSoftware.OASIS.API.Core.Interfaces.STAR; | ||
//using NextGenSoftware.OASIS.API.ONode.Core.Enums; | ||
|
||
namespace NextGenSoftware.OASIS.API.ONode.Core.Interfaces.Objects | ||
{ | ||
public interface IOAPPDNA | ||
{ | ||
ICelestialBody CelestialBody { get; set; } //optional | ||
Guid CelestialBodyId { get; set; } | ||
string CelestialBodyName { get; set; } | ||
HolonType CelestialBodyType { get; set; } | ||
IEnumerable<IZome> Zomes { get; set; } | ||
Guid CreatedByAvatarId { get; set; } | ||
DateTime CreatedOn { get; set; } | ||
string Description { get; set; } | ||
GenesisType GenesisType { get; set; } | ||
Guid OAPPId { get; set; } | ||
string OAPPName { get; set; } | ||
OAPPType OAPPType { get; set; } | ||
Guid PublishedByAvatarId { get; set; } | ||
DateTime PublishedOn { get; set; } | ||
bool PublishedOnSTARNET { get; set; } | ||
string Version { get; set; } | ||
} | ||
} | ||
//namespace NextGenSoftware.OASIS.API.ONode.Core.Interfaces.Objects | ||
//{ | ||
// public interface IOAPPDNA | ||
// { | ||
// ICelestialBody CelestialBody { get; set; } //optional | ||
// Guid CelestialBodyId { get; set; } | ||
// string CelestialBodyName { get; set; } | ||
// HolonType CelestialBodyType { get; set; } | ||
// IEnumerable<IZome> Zomes { get; set; } | ||
// Guid CreatedByAvatarId { get; set; } | ||
// DateTime CreatedOn { get; set; } | ||
// string Description { get; set; } | ||
// GenesisType GenesisType { get; set; } | ||
// Guid OAPPId { get; set; } | ||
// string OAPPName { get; set; } | ||
// OAPPType OAPPType { get; set; } | ||
// Guid PublishedByAvatarId { get; set; } | ||
// DateTime PublishedOn { get; set; } | ||
// bool PublishedOnSTARNET { get; set; } | ||
// string Version { get; set; } | ||
// } | ||
//} |
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
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
Oops, something went wrong.